Linux - ServerThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Very strange. When you log in a message should be put into the messages file. Your syslog.conf looks okay. No reason the syslog daemon should not write to messages.
Here is output from one of my RH boxes, just in case it might help shed some light on this:
# chkconfig --list | grep syslog
syslog 0-off 1-off 2-on 3-on 4-on 5-on 6-off
**note- had to change output from 1colon off to 1-off etc ..vb thought they were images and would not take my post.
Hello micxz if u will put *.* then all the facilities with all the levels will log to /var/log/messages
I was comparing my syslog.conf with yours and GlennsPref.
I think it actually means if not previously mentioned above in syslog.conf then log to this file or in other words save the rest in this file. But this still does not solve your issue of the messages file being empty.
Very strange. When you log in a message should be put into the messages file. Your syslog.conf looks okay. No reason the syslog daemon should not write to messages.
Here is output from one of my RH boxes, just in case it might help shed some light on this:
# chkconfig --list | grep syslog
syslog 0-off 1-off 2-on 3-on 4-on 5-on 6-off
**note- had to change output from 1colon off to 1-off etc ..vb thought they were images and would not take my post.
I'm stumped at this point.
Your permissions for the messages files are just like mine (rw for root).
Owner and group is the same root.root
syslogd is running with the same options.
It 'should' be writing.
Are any of the logs in /var/log being written to?
Would you post a ls -l of /var/log?
Have you rebooted lately? If not reboot and see if that changes things. Something is hosed but I can't put my finger on it.
I'm stumped at this point.
Your permissions for the messages files are just like mine (rw for root).
Owner and group is the same root.root
syslogd is running with the same options.
It 'should' be writing.
Are any of the logs in /var/log being written to?
Would you post a ls -l of /var/log?
Have you rebooted lately? If not reboot and see if that changes things. Something is hosed but I can't put my finger on it.
You know a lot more about those things than I do, but there is a vsftp.log. Might be in there.
Else, if you remember (part of) the message, grep for it.
You know a lot more about those things than I do, but there is a vsftp.log. Might be in there.
Else, if you remember (part of) the message, grep for it.
I knew some one will tell about vsftpd.log,but the vsftpd.log and xferlog logs only about transaction (dnld and upld) related issues..as mentioned below..
Code:
# cat vsftpd.log
Thu Jun 18 05:00:15 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:00:22 2009 1 ::ffff:127.0.0.1 0 /incoming b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:00:24 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:00:26 2009 1 ::ffff:127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:00:30 2009 3 ::ffff:127.0.0.1 603035 /pub/1stftp.txt b _ o a mozilla@example.com ftp 0 * c
Thu Jun 18 05:00:48 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:01:59 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:02:01 2009 1 ::ffff:127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:02:03 2009 1 ::ffff:127.0.0.1 0 /pub/RH5 b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:02:15 2009 1 ::ffff:127.0.0.1 0 /pub/ b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:17:40 2009 1 ::ffff:127.0.0.1 0 /pub/RH5 b _ o a mozilla@example.com ftp 0 * i
Thu Jun 18 05:18:12 2009 1 ::ffff:127.0.0.1 0 /pub/RH5/Server b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 10:56:26 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 10:56:29 2009 1 ::ffff:127.0.0.1 0 /incoming b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 10:56:33 2009 1 ::ffff:127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 10:56:35 2009 1 ::ffff:127.0.0.1 0 /pub/RH5 b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 11:00:33 2009 1 ::ffff:127.0.0.1 951 /pub/RH5/Server/repodata/repomd.xml b _ o a anonymous@ ftp 0 * c
Fri Jun 19 11:00:33 2009 1 ::ffff:127.0.0.1 745268 /pub/RH5/Server/repodata/primary.xml.gz b _ o a anonymous@ ftp 0 * c
Fri Jun 19 11:13:05 2009 1 ::ffff:127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 11:13:08 2009 1 ::ffff:127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 11:13:11 2009 1 ::ffff:127.0.0.1 0 /pub/RH5 b _ o a mozilla@example.com ftp 0 * i
Fri Jun 19 11:13:20 2009 1 ::ffff:127.0.0.1 0 /pub/RH5/Server b _ o a mozilla@example.com ftp 0 * i
Sat Jun 20 02:39:50 2009 1 ::ffff:127.0.0.1 951 /pub/RH5/Server/repodata/repomd.xml b _ o a anonymous@ ftp 0 * c
Sat Jun 20 02:39:55 2009 1 ::ffff:127.0.0.1 282184 /pub/RH5/Server/dhcp-3.0.5-3.el5.i386.rpm b _ o a anonymous@ ftp 0 * i
Sat Jun 20 02:40:00 2009 1 ::ffff:127.0.0.1 894675 /pub/RH5/Server/dhcp-3.0.5-3.el5.i386.rpm b _ o a anonymous@ ftp 0 * c
Sat Jun 20 02:41:58 2009 1 ::ffff:127.0.0.1 1164 /pub/RH5/RPM-GPG-KEY-redhat-release b _ o a lftp@ ftp 0 * c
[root@localhost log]# cat xferlog
Mon Jun 15 13:02:16 2009 1 127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Mon Jun 15 13:02:21 2009 1 127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Mon Jun 15 13:02:23 2009 1 127.0.0.1 0 / b _ o a mozilla@example.com ftp 0 * i
Mon Jun 15 13:03:16 2009 1 127.0.0.1 0 /pub b _ o a mozilla@example.com ftp 0 * i
Mon Jun 15 13:03:22 2009 5 127.0.0.1 603035 /pub/1stftp.txt b _ o a mozilla@example.com ftp 0 * c
Mon Jun 15 13:04:41 2009 1 122.50.139.175 0 / b _ o a mozilla@example.com ftp 0 * i
Mon Jun 15 13:04:49 2009 1 122.50.139.175 0 /pub b _ o a mozilla@example.com ftp 0 * i
Tue Jun 16 13:24:09 2009 7 ::ffff:127.0.0.1 113788806 /home/manan/testRH5/lftp.txt b _ i r manan ftp 0 * c
You can remove the syslog package and install syslog-ng.
I had a similar problem once with a Suse box and the only way to solve it was the above.
BTW, syslog was logging if it was ran in debug mode, but not if ran as a daemon!!!
You can remove the syslog package and install syslog-ng.
I had a similar problem once with a Suse box and the only way to solve it was the above.
BTW, syslog was logging if it was ran in debug mode, but not was it was ran as a daemon!!!
Yeah, I had problem with samba authentication. I don't know what was exactly but to remove then reinstall the package helped. (just like on M$ box)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.