- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Syslogd info !!!
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
тАО08-14-2010 08:17 AM
тАО08-14-2010 08:17 AM
Required your Input regarding Syslogd in debug mode.
our DBA team requested the system log files in debug mode, as the requirement from oracle after raising SR with oracle. they want to run the syslogd for 1 day and also a s/w called OS watcher.
Pls confirm the below procedure is correct.
1. kill the existing syslogd process
2. start the syslogd process in debug mode
"/usr/sbin/syslogd -d & to run in back ground.
3. after a day kill the process for syslogd -d
4.star the syslogd in normal mode.
/sbin/init.d/syslogd start
zip the syslog.log file and mail to our account.
If any other input will be apprecitaed...
Thanks
ALi
Solved! Go to Solution.
- Tags:
- syslogd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2010 12:19 PM
тАО08-15-2010 12:19 PM
Solutionkill $(cat /var/run/syslog.pid)
> 2. start the syslogd process in debug mode
"/usr/sbin/syslogd -d & to run in back ground.
Use -Dd since you don't want the kernel messages sent to the console. Also, & is not necessary. syslogd is a proper daemon and will place itself in the background automatically.
> 3. after a day kill the process for syslogd -d
You can use the same technique:
kill $(cat /var/run/syslog.pid)
syslogd automatically puts its PID in the above file when it starts.
> 4.star the syslogd in normal mode.
/sbin/init.d/syslogd start
Correct.
If you need to see the syslogd priority and facility values, add -v to the command line (syslogd -Ddv) and to permanently enable these two numbers in syslog files, add the option to the startup config script in /edtc/rc.config.d/syslogd.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2010 11:27 PM
тАО08-15-2010 11:27 PM
Re: Syslogd info !!!
1 last thing, After capturing from debug mode. if i restart the syslogd in normal mode. does the syslog.log file gets overwritten.
Thanks to confirm
Regards
Ali.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 12:07 AM
тАО08-16-2010 12:07 AM
Re: Syslogd info !!!
The proccess /sbin/init.d/syslogd with 'start' option, swithc the syslog file.
# cat /sbin/init.d/syslogd
... mv /var/adm/syslog/syslog.log /var/adm/syslog/OLDsyslog.log
...
rgs,
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 03:59 AM
тАО08-16-2010 03:59 AM
Re: Syslogd info !!!
No, the current syslog.log file will be moved (not appended) to OLDsyslog.log and a new syslog.log is started. To prevent this, just start syslogd from the command line.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2010 11:59 PM
тАО08-17-2010 11:59 PM