- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- log file for services
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 04:53 AM
08-08-2003 04:53 AM
Ron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:04 AM
08-08-2003 05:04 AM
Re: log file for services
In such
cases, inetd refuses the connection from the same service invocation
five times. This is visible in the system log if inetd connection
logging and syslogd logging for the daemon facility are both enabled
(see syslogd(1M)).
-l By default, inetd starts with connection logging disabled.
If no inetd is running, the -l option causes the inetd to
start with connection logging enabled. Otherwise the -l
option causes inetd to send the signal SIGQUIT to the inetd
that is already running, which causes it to toggle the state
of connection logging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:06 AM
08-08-2003 05:06 AM
Re: log file for services
And it looks like this
....
Jun 3 15:35:26 polonium inetd[1353]: shell/tcp: Added service, server /usr/lbin
/remshd
Jun 3 15:35:26 polonium inetd[1353]: spc/tcp: Added service, server /usr/bms/bi
n/softspcd
Jun 3 15:35:26 polonium inetd[1353]: telnet/tcp: Added service, server /usr/lbi
n/telnetd
Jun 3 15:35:26 polonium inetd[1353]: time/udp: Added service, server internal
Jun 3 15:35:26 polonium inetd[1353]: time/tcp: Added service, server internal
Jun 3 15:35:26 polonium inetd[1353]: rpc.cmsd/udp: Added service, server /usr/d
....
look at the beginning of syslog.log
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:07 AM
08-08-2003 05:07 AM
Re: log file for services
by default services of /etc/inetd.conf logs store in /var/adm/syslog/syslog.log file
for all the services trace the log u have to enable the logging service inetd daemon using command
inetd -l
it will enable the logging service
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:07 AM
08-08-2003 05:07 AM
Re: log file for services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:13 AM
08-08-2003 05:13 AM
Re: log file for services
INETD is your "super-daemon" that controls startup of "server" programs on a UNIX host's end. Along with /etc/services - it serves as a director which "service" needs to be launched based on the properties of the connection -- ie. tcp or udp.. and the port number.
If you want explicit logging of when these listed services in /etc/inetd are called and from where -- you can use TCP wrappers (or the tcpd) program. By the use of "tcp wrappers" you can log and control who has acccess to which services and makes your system a little bit secure... Most newer inetd programs already incorporate the features of tcp wrappers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:15 AM
08-08-2003 05:15 AM
Re: log file for services
the service will start if you need it. So start a telnet session to your system and then grep for telnetd.
Ot start a ftp session to your system and then grep for the ftpd. You will see it is running.
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:17 AM
08-08-2003 05:17 AM
Re: log file for services
If you install TCP wrappers and explicit logging (you may tweak your syslog.conf so you control system logging...) - you may monitor inetd connections by doing a:
telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2003 05:17 AM
08-08-2003 05:17 AM