You are not logged in.

#1 2012-11-06 18:13:01

dahankzter
Member
Registered: 2009-03-12
Posts: 38

/var/log/messages.log not created after reinstall

I had to reinstall and used the latest media of course.

The process had changed a lot since last I did it so perhaps this is an artifact of that.

The issue is that I can't find any logs with anything reasonable in them.

I have read about syslogd but perhaps naively assumed that /var/log/messages.log should still retain its function?

What do I have to do to get my logs back? Not too many reason to lock at it but occasionally...

Thx!

/ Hank

Offline

#2 2012-11-06 18:17:32

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: /var/log/messages.log not created after reinstall

Offline

#3 2012-11-06 18:22:27

dahankzter
Member
Registered: 2009-03-12
Posts: 38

Re: /var/log/messages.log not created after reinstall

I am filling in a little more info. Quite a few seemingly important files are missing. Manually restarting syslog gives:

/etc/rc.d/syslog-ng: line 3: /etc/rc.conf: No such file or directory
/etc/rc.d/syslog-ng: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/syslog-ng: line 3: /etc/rc.conf: No such file or directory
/etc/rc.d/syslog-ng: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/syslog-ng: line 37: stat_busy: command not found
/etc/rc.d/syslog-ng: line 42: stat_fail: command not found
/etc/rc.d/syslog-ng: line 3: /etc/rc.conf: No such file or directory
/etc/rc.d/syslog-ng: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/syslog-ng: line 26: stat_busy: command not found
/etc/rc.d/syslog-ng: line 29: add_daemon: command not found
/etc/rc.d/syslog-ng: line 30: stat_done: command not found

This cant be good... They are really missing its not just permissions.
The thing is that the system seems to be running really nice despite these missing.

Can I just mount an install image and copy them or is there some better way to restore/create them?

Offline

#4 2012-11-06 18:40:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: /var/log/messages.log not created after reinstall

Read the systemd wiki page linked above - all of it, not just the Journal section. Also all recent Arch News articles.

Offline

#5 2012-11-06 21:10:05

dahankzter
Member
Registered: 2009-03-12
Posts: 38

Re: /var/log/messages.log not created after reinstall

Yep i got it. Thx!

Loads have happened since I was active it seems. Well more to learn is a good thing! smile

Offline

Board footer

Powered by FluxBB