12-05-2008
Or instead of using tcp port 514, you could use udp port 514
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
how do I start or stop the network interfaces in Solaris 9
I have tried "/etc/init.d/network stop" but it doesn't work
thanks (1 Reply)
Discussion started by: eldiego
1 Replies
2. Solaris
Hello everyOne
My OS is Soraris 9. I can't find how I can execute script when OS start up. Namely, where is stored "Start up" such as in Window?
Best Regards Anar (1 Reply)
Discussion started by: anar_s2001
1 Replies
3. Solaris
Hi,
I have installed oracle 9i on solaris 10 sucessfully. I have configured listener & tnsname.ora file sucessfuly. Even i can start database manully by starting listener first and from sqlplus promt data base sucessfully. Now i want to start the database automatically after system reboots.
I... (2 Replies)
Discussion started by: Sachin Vaidya
2 Replies
4. Solaris
I've configured the copy of samba that ships with solaris 10. when i try to start the samba services, i get the following errors
sundb01 root > svcs -vx nmbd
svc:/application/nmbd:default (Samba)
State: online since 9 December 2008 15:47:38 GMT
See:... (4 Replies)
Discussion started by: soliberus
4 Replies
5. Solaris
hello, my problem is the one of the title , as I press enter on Solaris voice in the grub, my computer reboots , is there an option, a flag ,I can add to the Solaris voice , that allow me to see where is the problem ? something that avoid the computer reboot on error? I can't find a way to know... (7 Replies)
Discussion started by: freeware
7 Replies
6. Solaris
Hello,
We have machines running Solaris 2.8
These are part of a process control system. A selection menu after the launch of Solaris can be selected whether the Solaris desktop or Leitsoftware to start.
VNC server is up and running when the Solaris user interface is started or when the... (1 Reply)
Discussion started by: eckart.t
1 Replies
7. Solaris
I have configured three zones on Solaris-11. These are non-global zones contain Solaris-11 only. One of the zone is not booting up, complaining about IP address in use, while it is not.
root@tdpdmsp02 # zoneadm list -icv
ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: solaris_1977
3 Replies
8. Solaris
Hi everyone,
I have a Solaris machine:
SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
After reboot, I can't ssh to this machine. Error message:
ssh: connect to host xxxx port 22: Connection refused
It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies
9. Solaris
Hi everyone,
I hope you are doing well..
I am having the following issue that need your advice.
I am configuring syslog on Solaris 10. I have edited the /etc/syslog.conf by adding the following entry:
*.err;kern.debug;daemon.notice;mail.crit;auth.debug;user.debug;local6.info @<IP Address of... (7 Replies)
Discussion started by: michael_hoang
7 Replies
10. Solaris
Hi,
This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies
LEARN ABOUT CENTOS
lwres_getnameinfo
LWRES_GETNAMEINFO(3) BIND9 LWRES_GETNAMEINFO(3)
NAME
lwres_getnameinfo - lightweight resolver socket address structure to hostname and service name
SYNOPSIS
#include <lwres/netdb.h>
int lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags);
DESCRIPTION
This function is equivalent to the getnameinfo(3) function defined in RFC2133. lwres_getnameinfo() returns the hostname for the struct
sockaddr sa which is salen bytes long. The hostname is of length hostlen and is returned via *host. The maximum length of the hostname is
1025 bytes: NI_MAXHOST.
The name of the service associated with the port number in sa is returned in *serv. It is servlen bytes long. The maximum length of the
service name is NI_MAXSERV - 32 bytes.
The flags argument sets the following bits:
NI_NOFQDN
A fully qualified domain name is not required for local hosts. The local part of the fully qualified domain name is returned instead.
NI_NUMERICHOST
Return the address in numeric form, as if calling inet_ntop(), instead of a host name.
NI_NAMEREQD
A name is required. If the hostname cannot be found in the DNS and this flag is set, a non-zero error code is returned. If the hostname
is not found and the flag is not set, the address is returned in numeric form.
NI_NUMERICSERV
The service name is returned as a digit string representing the port number.
NI_DGRAM
Specifies that the service being looked up is a datagram service, and causes getservbyport() to be called with a second argument of
"udp" instead of its default of "tcp". This is required for the few ports (512-514) that have different services for UDP and TCP.
RETURN VALUES
lwres_getnameinfo() returns 0 on success or a non-zero error code if an error occurs.
SEE ALSO
RFC2133(), getservbyport(3), lwres(3), lwres_getnameinfo(3), lwres_getnamebyaddr(3). lwres_net_ntop(3).
BUGS
RFC2133 fails to define what the nonzero return values of getnameinfo(3) are.
COPYRIGHT
Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2000, 2001 Internet Software Consortium.
BIND9 Jun 30, 2000 LWRES_GETNAMEINFO(3)