(and my nsswitch.conf defaults to dns then ldap)
Best regards,
Ole Christian Rynning
*proof*
[EMAIL PROTECTED]:~# cat mongo.pl
#!/usr/bin/perl
use IO::Socket;
my($a)=inet_ntoa((gethostbyname($ARGV[0]))[4]);
print "$a\n";
[EMAIL PROTECTED]:~# ./mongo.pl mongo.pl
Usage: Socket:
/etc/nsswitch.conf
hosts: dns ldap
So I can't get this to add up.
Suggestions?
Ole Christian Rynning wrote:
>I don't know where to direct this problem in fact, google gives me
>nothing of value. Nor do I know what cause it.
>InetAddress won't resolve hostnames as root.
I don't know where to direct this problem in fact, google gives me
nothing of value. Nor do I know what cause it.
InetAddress won't resolve hostnames as root. => UnknownHostExceptions
and MessageExceptions && so on.
Is this a *security feature*? I wan't to be able to run java as root in
a developm
3 matches
Mail list logo