- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configuring of syslog.conf
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
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
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
тАО11-18-2010 09:26 AM
тАО11-18-2010 09:26 AM
Solved! Go to Solution.
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 10:00 AM
тАО11-18-2010 10:00 AM
Re: configuring of syslog.conf
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=750918
That forum thread has the configuration you need.
As to whether it will work, you will need to see the specifications for the windows box. You need to know what port it expects the information on.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Tags:
- broken URL link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2010 04:34 PM
тАО11-18-2010 04:34 PM
Re: configuring of syslog.conf
*.info;mail.none @windows-hostnameIP
Now, about your windows box. Windows ain't Unix so you'll have to find a syslog program for your windows box before this will work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 02:52 AM
тАО11-19-2010 02:52 AM
Re: configuring of syslog.conf
mail.debug @102.25.10.10
*.info;mail.none @102.25.10.10
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
where 102.25.10.10 is the IP for the windows server on which the kiwi syslog server is running. This is the setting on all my hpux boxes but only one is sending its messages to the syslog server and no entry to /var/adm/syslog/syslog.log Please can some help?
Theo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 04:13 AM
тАО11-19-2010 04:13 AM
Re: configuring of syslog.conf
the way to send syslog entries to a remote server is the already mentioned by Steven and Bill, if it's already configured in such way and working for just a system then I'd check if there is a space or a TAB between fields in the file. It's important they are TAB, otherwise syslogd couldn't work as expected.
HTH.
Best regards,
Fabio
NOTE: I wouldn't give 0 points to Steven and Bill (two of the best contributors of ITRC forums), they have given the right and perfect procedure to achieve what you requested, if it doesn't work in your case then you should find the reason (I gave a my thought about the possible reason).
Of course everyone is free to assign points as desired but giving 0 points means (to me) that it's not appreciated at all the effort of people to give help. It's just a my personal note...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 05:01 AM
тАО11-19-2010 05:01 AM
Re: configuring of syslog.conf
Thanks for your concern and education. I want to say sorry to Steven and Bill. I'm new to the forum and really did know how the points assignment works. Once again thank you very much.
However, back to my problem. The space or
NB: Steven and Bill am sorry. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 06:45 AM
тАО11-19-2010 06:45 AM
Solutionso welcome to ITRC forums :)
About space or TAB I meant you must have TAB between fields, for example:
mail.debug
*.info;mail.none
[...]
and so on for all rows.
Be sure the file is so configured.
Enjoy using ITRC forums.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 07:26 AM
тАО11-19-2010 07:26 AM
Re: configuring of syslog.conf
# vi /etc/syslog.conf
In vi hit the escape key and type
: set list
Then you will see all the TAB characters as ^I. You must *delete all* spaces in this file and put TAB characters instead. Then save the file and restart the syslog daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 07:27 AM
тАО11-19-2010 07:27 AM
Re: configuring of syslog.conf
ANY line with a space ANYWHERE on the line becomes a comment. To make sure your syslog.conf file is correct, use this command:
cat -tv /etc/syslog.conf
Every line that is used to configure syslog must have ^I between items and no spaces. In vi, you can turn on the visible display of special characters with this command:
:set list
Then turn it off with:
:set nolist
As far as I know, this is the only file in HP-UX with such bizarre requirements.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 08:11 AM
тАО11-19-2010 08:11 AM
Re: configuring of syslog.conf
I have got it working now. Thanks to you all.
Theo