10 More Discussions You Might Find Interesting
1. Solaris
Hi
I tried to boot as single-user mode on my sunfire t1000 to change my root password since the guy has left the company without give us the root password.
anyhow since this machine not have attached with cd/dvd/usb so the only think that to do it through Jumpstart
now i tried to... (8 Replies)
Discussion started by: jmishal
8 Replies
2. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
3. SCO
Hi,
I'm a new user of unix sco open server.
In my work place i had to recover a sco openserver backup into another PC but when i'm trying to do that i got this error message ::wall:
dparm: write ioctl failed: No such device or address
Invalid entry
mit_hdpart0 failed
Fatal Error: A critical... (20 Replies)
Discussion started by: mammut3d
20 Replies
4. Solaris
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies
5. Solaris
Hi All
My Server is doing a very intense netowrk traffic operations and the cards are under very high pressure.
I need to call NETSTAT on the shell. Do you know whether this command, under high pressure, might have some impact on the server traffic or can I proceed without any problem? (2 Replies)
Discussion started by: manustone
2 Replies
6. Solaris
We have sun solaris server v440 and when we do netat -a | wc , it takes more than 5 minutes to complete. Do you think its a network problem or server load issue? (1 Reply)
Discussion started by: mokkan
1 Replies
7. Solaris
Dear All,
I have server with SunOS 5.10 Generic_127111-06 sun4v sparc SUNW,SPARC-Enterprise-T5120, always coming out error message like this :
May 25 10:37:26 sshd: fatal: Read from socket failed: Connection reset by peer
So what happend with my server..???
Best Regards
Bejo :D (2 Replies)
Discussion started by: mbah_jiman
2 Replies
8. UNIX for Dummies Questions & Answers
# netstat -a > /test/a
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
command is working fine (as i get output in file /test/a)
# dig -x 10.xxx.xxx.xxx
; <<>> DiG 9.3.3rc2 <<>> -x 10.203.xxx.xxx
;; global... (4 Replies)
Discussion started by: crackthehit007
4 Replies
9. HP-UX
Hi,
I have installed automake in one of HP-UX boxes using swinstall command. But when i issue automake it gives the following error message.
Can't locate loadable object for module IO in @INC (@INC contains: /usr/local/share/automake-1.10 /usr/local/lib/perl5/5.8.8/PA-RISC2.0... (1 Reply)
Discussion started by: chrisanto_2000
1 Replies
10. Solaris
Hi Guys,
Anybody come across this error when formating a harddisk. "Reserved Failed"
Supected hardisk failure, is my assumption correct.
Thanks (5 Replies)
Discussion started by: bigmoon
5 Replies
Socket::GetAddrInfo::Strict(3pm) User Contributed Perl Documentation Socket::GetAddrInfo::Strict(3pm)
NAME
"Socket::GetAddrInfo::Strict" - Provide Socket::GetAddrInfo functions which throw exceptions
SYNOPSIS
use Socket qw( SOCK_STREAM );
use Socket::GetAddrInfo::Strict qw( getaddrinfo getnameinfo );
use IO::Socket;
my $sock;
my %hints = ( socktype => SOCK_STREAM );
my @res = getaddrinfo( "www.google.com", "www", \%hints );
while( my $ai = shift @res ) {
$sock = IO::Socket->new();
$sock->socket( $ai->{family}, $ai->{socktype}, $ai->{protocol} ) or
undef $sock, next;
$sock->connect( $ai->{addr} ) or undef $sock, next;
last;
}
if( $sock ) {
my ( $host, $service ) = getnameinfo( $sock->peername );
print "Connected to $host:$service
";
}
DESCRIPTION
Socket::GetAddrInfo provides the functions of "getaddrinfo" and "getnameinfo", which return lists whose first element is error value, or
false indicating no error occured.
This module wraps the functions provided by "Socket::GetAddrInfo" to check this error value, and throw an exception (using "die") if an
error occured. If not, then the remaining values are returned as normal. This can simplify the logic of a program which otherwise simply
throws its own exception on failure anyway.
FUNCTIONS
@res = getaddrinfo( $host, $service, $hints )
After a successful lookup, returns the list of address structures, as documented in Socket::GetAddrInfo. If the lookup fails, an exception
containing the string form of the error is thrown instead.
( $host, $service ) = getnameinfo( $addr, $flags, $xflags )
After a successful lookup, returns the host and service name, as documented in Socket::GetAddrInfo. If the lookup fails, an exception
containing the string form of the error is thrown instead.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.14.2 2012-06-08 Socket::GetAddrInfo::Strict(3pm)