| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-08-2010, 05:58 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2010
Location: Delhi
Posts: 16
Rep:
|
syslog problem
Hi to all
Kindly help,,actually i m using redhat5 and this is syslog server where i get my all device log file in /var/log/messagge...and i want to create separate log file for each device....so it can be through syslog
|
|
|
|
09-08-2010, 06:52 AM
|
#2
|
|
Member
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638
Rep: 
|
Quote:
Originally Posted by life008
Hi to all
Kindly help,,actually i m using redhat5 and this is syslog server where i get my all device log file in /var/log/messagge...and i want to create separate log file for each device....so it can be through syslog
|
Device log?? As i know in redhat /var/log/message file store info log messages.
Can you elaborate more?
|
|
|
|
09-08-2010, 06:56 AM
|
#3
|
|
Member
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638
Rep: 
|
If you want to store every clients log in separate dir/file you can use syslog-ng or rsyslog server on log server.
Regards,
|
|
|
|
09-10-2010, 03:16 AM
|
#4
|
|
LQ Newbie
Registered: Jul 2010
Location: Delhi
Posts: 16
Original Poster
Rep:
|
syslog server issue
Thanks to all for replying
can this possible into this syslog server becoz its not possible to install any package in my organization. only i can work on syslog server.
NOTE:I Want that each device log file should be on separate file on servers only throw syslog server.becoz i dont have rights to install any other package.
|
|
|
|
09-10-2010, 11:28 PM
|
#5
|
|
Member
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638
Rep: 
|
Quote:
Originally Posted by life008
Thanks to all for replying
can this possible into this syslog server becoz its not possible to install any package in my organization. only i can work on syslog server.
NOTE:I Want that each device log file should be on separate file on servers only throw syslog server.becoz i dont have rights to install any other package.
|
This facility is not available in syslog. so you have to install rsyslog or syslog-ng on syslog server (client can work with standard syslog ) to store logs in separate files.
|
|
|
|
09-13-2010, 02:25 AM
|
#6
|
|
LQ Newbie
Registered: Sep 2010
Posts: 5
Rep:
|
yes you can do it in REDHAT 5
on server side you should enables -r option in /etc/sysconfig/syslog under
SYSLOGD_OPTIONS="-r -m 0"
on client side you just have to redirect the logs to the log server
e.g
/etc/syslog.conf
*.* @Serverip
all the logs will go to /var/log/messages on the server
you can also create seperate file for specific log types
mail.info /var/log/email
cron.info /var/log/crontab
Hope this will help you
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|