in reply to Re: perl socket doesn't work anymore
in thread perl socket doesn't work anymore

ok, this $@ is cool: Program: /var/opt/FirePower/bin/fireclient.pl Version: 2.0.0 Message: Can't start client: IO::Socket::INET: Bad protocol 'tcp' Usage: Why would tcp all of a sudden be a bad protocol? This is on solaris 8

Replies are listed 'Best First'.
Re^3: perl socket doesn't work anymore
by ikegami (Patriarch) on Nov 30, 2006 at 16:48 UTC
    The protocol name is converted to a protocol number using getprotobyname, which serves as an interface to /etc/protocols. Maybe it changed? Maybe you're running under chroot and there's no etc/protocols under your virtual root?
      I see getent protocols doesn't have a tcp in it ... It must of before the nis->ldap migration. How can I get it back? It's in /etc/protocols