- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logging syslog messages to a remote server
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
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
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
тАО01-22-2008 08:39 AM
тАО01-22-2008 08:39 AM
Logging syslog messages to a remote server
I have added the line: '*.debug
I had added the entry '/usr/lbin/ftpd -d -l' to the ftp line in /etc/inetd.conf
I have run inetd -c to re-read the syslog.conf file
I have run inetd -l to enable logging as well as checked syslog to verify it is enabled.
I have stopped & restarted syslog daemon with S220syslogd stop/start
I can ftp to the syslog server... well at least to get a login prompt
The syslog server is configure to accept any IP, plus several AIX systems have been configured with no problems, since.
lsof output:
lsof | grep syslog# syslogd 11203 root 13u IPv6 0xe000000143df8ac0 0t0 UDP *:55176 (Idle)
The system(s) 'appears' to be configured exactly like the systems that are working.
Any thought? :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 08:46 AM
тАО01-22-2008 08:46 AM
Re: Logging syslog messages to a remote server
*.info;mail.none @mylogserver.here.com
to /etc/syslog.conf
then sending SIGHUP ( kill -1 syslogd_pid )
Should do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 08:50 AM
тАО01-22-2008 08:50 AM
Re: Logging syslog messages to a remote server
like
10.10.10.1 system1
10.10.10.2 system2 loghost
System1 is your machine and system2 is the machine you want to send log.
in /etc/syslog.conf add
*.info;mail.none @loghost
restart syslog daemon. Log should be going to the second server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 09:50 AM
тАО01-22-2008 09:50 AM
Re: Logging syslog messages to a remote server
I also added the IP's of the system and the server to the ./etc/hosts file.
Unfortunately, its still not sending logs :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 10:00 AM
тАО01-22-2008 10:00 AM
Re: Logging syslog messages to a remote server
# ./S220syslogd stop
# ./S220syslogd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 10:14 AM
тАО01-22-2008 10:14 AM
Re: Logging syslog messages to a remote server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 10:19 AM
тАО01-22-2008 10:19 AM
Re: Logging syslog messages to a remote server
-------------------------------------------
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
*.debug @10.xx3.74.xx0
*.debug @10.xx3.74.xx1
-------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 10:33 AM
тАО01-22-2008 10:33 AM
Re: Logging syslog messages to a remote server
*.info;mail.none @10.xx3.74.xx1
( yes, it can be in there twice and not affect the line before)...
Then restart the syslog server (as before in other post).
And then issue the command:
$> logger "This is a test for syslog redirect"
You should see the "This is ..." on the other server. Have you tried using the "logger" command to write to both log files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 11:15 AM
тАО01-22-2008 11:15 AM
Re: Logging syslog messages to a remote server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 12:16 PM
тАО01-22-2008 12:16 PM
Re: Logging syslog messages to a remote server
So, add this to you syslog.conf file:
*.notice @10.xx3.74.xx1
Then try the logger command as suggested before.