- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syslog.log not logging anymore ...
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
06-05-2006 02:51 AM
06-05-2006 02:51 AM
How can I make them work again ? I hope not to reboot the server.
Thanks,
Chushia
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 02:59 AM
06-05-2006 02:59 AM
Re: Syslog.log not logging anymore ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:00 AM
06-05-2006 03:00 AM
Re: Syslog.log not logging anymore ...
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
For mail.log:
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
wtmp and btmp should start logging again automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:03 AM
06-05-2006 03:03 AM
Re: Syslog.log not logging anymore ...
the first thing you should do is stop/start the syslogd daemon
There are several ways to stop/start the syslog daemon listed in the man page for syslogd
I prefer to issue the commands
/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start
to stop/start the daemon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:13 AM
06-05-2006 03:13 AM
Re: Syslog.log not logging anymore ...
Now syslog and mail log are all functioning.
For wtmp and btmp, I can see the time stamp did show current. But "last" command didn't show any new login information. How to fix this, please ?
Thanks,
Chushia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:35 AM
06-05-2006 03:35 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:36 AM
06-05-2006 03:36 AM
Re: Syslog.log not logging anymore ...
request, it will "log in" the user by validating the
user name and password, returning the corresponding
user ID, group IDs, home directory, and umask. It
will also append a record to the wtmp data base
(see wtmp(4)). If you do not want PC "logins"
recorded in this way, add a line to the /etc/pcnfsd.conf
file in the form:
wtmp off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 03:40 AM
06-05-2006 03:40 AM
Re: Syslog.log not logging anymore ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 04:06 AM
06-05-2006 04:06 AM
Re: Syslog.log not logging anymore ...
The wtmp file is corrupted.
I used fwtmp to translate the file to ASCII to edit and then fwtmp to translate it back to wtmp format. Now the "last" gives account information ...
Greatly appreciated!
Chushia