in reply to perl socket doesn't work anymore

What's the error message?

If you're on SELinux and you get the problem when running the code from a CGI script, read Re^3: Can't call method... works locally, but not on webserver..

Replies are listed 'Best First'.
Re^2: perl socket doesn't work anymore
by Anonymous Monk on Nov 30, 2006 at 16:29 UTC
    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
      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