Am 10.09.2014 20:12, schrieb chris hermansen:
Martin and list;

On Wed, Sep 10, 2014 at 9:28 AM, Martin Fernau <martin.fer...@fernausoft.de <mailto:martin.fer...@fernausoft.de>> wrote:

    Am Mittwoch, 10. September 2014, 08:07:58 schrieb chris hermansen:

    > Martin and list;

    >

    > On Wed, Sep 10, 2014 at 7:58 AM, Martin Fernau
    <martin.fer...@fernausoft.de <mailto:martin.fer...@fernausoft.de>>

    > wrote:

    > > Am Mittwoch, 10. September 2014, 07:48:47 schrieb chris hermansen:

    > > > Martin and list;

    > > >

    > > > 2014-09-10 6:11 GMT-07:00 Martin Fernau
    <martin.fer...@fernausoft.de <mailto:martin.fer...@fernausoft.de>>:

    > > > > Hi all,

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > > I need some help to get the logs to work. I've voyage
    linux v0.9 and

    > > > > my

    > > > >

    > > > > /var/log/ directory is nearly empty. All I see in
    /var/log/syslog is

    > >

    > > the

    > >

    > > > > following:

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > > -- cut

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:42 voyage voyage-sync: Stop tmpfs...

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:42 voyage voyage-sync: Synchronizing tmpfs
    changed

    > >

    > > files...

    > >

    > > > > Sep 10 14:58:42 voyage voyage-sync: Sync'ing /var/log to
    /.sync/var

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:44 voyage voyage-sync: Unmount'ing /var/tmp

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:44 voyage voyage-sync: Sync'ing
    /.sync/var/tmp to /var

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:44 voyage voyage-sync: Wait until all sync
    complete.

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:58:44 voyage voyage-sync: Stop tmpfs completed

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:59:12 voyage voyage-sync: Start tmpfs...

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:59:12 voyage voyage-sync: Copying /ro to /tmp

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:59:12 voyage voyage-sync: Setting up tmpfs for
    changed

    > >

    > > files...

    > >

    > > > > Sep 10 14:59:12 voyage voyage-sync: tmpfs: mount back
    /tmp/var/tmp to

    > > > >

    > > > > /var/tmp

    > > > >

    > > > >

    > > > >

    > > > > Sep 10 14:59:12 voyage voyage-sync: Start tmpfs completed

    > > > >

    > > > >

    > > > >

    > > > > -- cut

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > >

    > > > > that's all. Do I need to install a syslog manager by my
    own or is

    > > > > there

    > > > >

    > > > > somethine wrong?

    > > >

    > > > Is syslogd running (ps -ef | grep log)?

    > > >

    > > >

    > > >

    > > > Seems odd to me you don't have any cron stuff in there.

    > >

    > > Obviously not:

    > >

    > > -- cut

    > >

    > > # ps -ef | grep log

    > >

    > > root 3288 3007 0 16:52 pts/0 00:00:00 grep --colour=auto log

    > >

    > > -- cut

    > >

    > >

    > >

    > > Which service is responsible for syslogd?

    > >

    > >

    > >

    > > -- cut

    > >

    > > # l /etc/init.d | grep log

    > >

    > > -rwxr-xr-x 1 root root 2.4K Jan 1 2011 bootlogd

    > >

    > > -rwxr-xr-x 1 root root 1.3K Oct 15 2012 bootlogs

    > >

    > > -rwxr-xr-x 1 root root 1.5K Sep 10 2010 klogd

    > >

    > > -rwxr-xr-x 1 root root 1.1K Jan 1 2011 rmnologin

    > >

    > > -rwxr-xr-x 1 root root 567 Jan 1 2011 stop-bootlogd

    > >

    > > -rwxr-xr-x 1 root root 1.2K Jan 1 2011 stop-bootlogd-single

    > >

    > > -rwxr-xr-x 1 root root 2.7K Sep 10 2010 sysklogd

    > >

    > > -- cut

    >

    > In my /etc/init.d I have inetutils-syslogd to provide syslogd. I've

    > attached mine for your inspection.

    Great, thanks! Because of your script I found out that I had no
    syslogd binary on my system. I needed to (re)install
    inetutils-syslogd.

    Now all my logs are there again.

    Thanks ans greetings

    Martin


Martin, that's great news! I'm really glad to have been of assistance. If you ever figure out why you didn't have syslogd - which seems really odd to me - maybe let us all know?

--
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
For sure, but this box is on customer side since many months and it can't be ruled out that this was my fault.. But if I'm ever in such situation again and I can figure out why this happens, I will let you know.
_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to