LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2012, 05:07 PM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question No /var/log/messages , syslog , kern.log -but cat /var/spool/octopussy/octo_fifo


Hi,

I made some changes in my nginx and apache web server and all logging stopped work.
If i use
cat /var/spool/octopussy/octo_fifo
I can see some messages which supposed to be stored in messages,kern.log,syslog,mail.err,cron.log,auth.log ... .
rsyslogd runs , octopussy runs , apache runs , nginx runs ... .
Could please anybody help me to fix it ?

thank you,
kind regards,
M.


P.S. how is it about syslog , rsyslog , inetutils-syslogd and systemd in ubuntu 12.04 - any documentation please ?
should be systemd superseded rsyslog in future - as rsyslog superseded syslog ... ?
 
Old 06-07-2012, 04:53 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by masuch View Post
I made some changes in my nginx and apache web server and all logging stopped work.
Well, undo your changes and see if it fixes that.
Then post the proposed changes and what you want to achieve for comments.


Quote:
Originally Posted by masuch View Post
how is it about syslog , rsyslog , inetutils-syslogd and systemd in ubuntu 12.04 - any documentation please ?
You mean commands like 'man rsyslog' or 'ls /usr/share/doc/rsyslog*' don't yield anything?


Quote:
Originally Posted by masuch View Post
should be systemd superseded rsyslog in future - as rsyslog superseded syslog ... ?
No, rsyslog superseded syslog and systemd (the horror, the horror) superseded init.
 
1 members found this post helpful.
Old 06-08-2012, 05:47 PM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Thank you for help and explanation.

Well, I made changes back in configs and it started to logging again.

(Documentation is usually about one soft - is not saying about reliability , configure-ability , complexity , weaknesses and ... . I did not find any yet :-)). I had in mind to read some article from highly experienced user/admin where I can find comparison (init vs. init.d vs. systemd) (syslog vs.rsyslog vs. some another) of those software - benefits , weaknesses and so on.

I had many problems with rsyslog before (no logging many times) - it was difficult for me , linux newcomer, to solve it. I went through many documentations/forums and tried different configuration/s but from my point of view I just thought that I can use some more reliable software than rsyslog. That is just my bad experience with this important soft.

About systemd: I have just read https://wiki.ubuntu.com/systemd and wanted to give it a try.
I am curious why are you saying that systemd is horror :-) ? Do you have some bad experience within configuration or running or something else ?

Thanks for info,
Regards,
M.
 
Old 06-09-2012, 06:31 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by masuch View Post
I had many problems with rsyslog before (no logging many times)
Problems are there to be solved. Rsyslog has pretty good documentation: see the web site.
Else, like I said before, post what you need to do and what changes to make and we'll comment.


Quote:
Originally Posted by masuch View Post
I just thought that I can use some more reliable software than rsyslog.
As long as I've used rsyslog I found it to be reliable.


Quote:
Originally Posted by masuch View Post
am curious why are you saying that systemd is horror :-) ? Do you have some bad experience within configuration or running or something else ?
No, it's something else. I'm still getting accustomed to its "all eggs in one basket" vs the old "one tool one purpose" approach.
 
1 members found this post helpful.
Old 06-13-2012, 08:05 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
FWIW / FUP: The H featured a nice expl on systemd recently: Control Centre: The systemd Linux init system.
 
  


Reply

Tags
dmesg, kernel, mail, messages, rsyslog, systemd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dumping /var/log./messages using 'cat' is failing greplinux Linux - Newbie 2 11-16-2010 12:48 PM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 08:34 AM
getting syslog to write to other file than /var/log/messages c_mitulescu Linux - Enterprise 6 04-02-2008 10:17 AM
/var/log/syslog messages. gbowden Slackware 2 02-25-2006 05:00 PM
No output to /var/log/messages or ~syslog eelriver Slackware 5 07-18-2004 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration