:: Re: [DNG] Missing syslog
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Hendrik Boom
日付:  
To: dng
題目: Re: [DNG] Missing syslog
On Tue, Jul 27, 2021 at 12:50:36PM -0400, tempforever wrote:
> Question: do you have /var mounted on a separate partition?  I
> encountered some weird behavior when I attempted to do so.  That is,
> there were files opened before the mount command was issued, resulting
> in some weird things like that.


No. /var is in the root partition, just like /
and their file system is /dev/mapper/VG1-jessie--root
This partition is the root partition.

/usr is a separate partition, /dev/VG1/jessie-usr

And /boot is also separate, /dev/md2

-- hendrik

>
>
> Hendrik Boom wrote:
> > well, by syslog isn't exactly missing, but ...
> >
> > Today my server was mysteriously unresponsive; that is, ssh to its IP
> > address did not work.
> >
> > So I went over to it, and found the screen blanl.
> > I tried directly into its keyboard (and yes, at this point I had checked
> > that that power was on and the relevant cables were connected.
> > No luck.
> >
> > I finally rebooted it. (A convenience that's easy to do when it's
> > physically in your living room).
> >
> > It rebooted cleanly, recovered its file systems (quite easy 'cause the
> > ones I use are EXT4, although there is a Reiser filesystem lurking
> > somewhere too), and requested a login on its console screen.
> >
> > And after that, ssh'ing into it worked again.
> >
> > Now this has happened before, about a month ago.
> >
> > I decided to investigate and started by looking into /var/log/syslog.
> >
> > Which was full of entried from May, none from this month.
> > And yes, it knows the date is Tue Jul 27 12:19:45 EDT 2021.
> >
> > I did a ls -l on syslog*
> >
> > april:~# ls -l /var/log/syslog*
> > -rw-r----- 1 root adm 734459 May 17 2013 /var/log/syslog
> > -rw-r----- 1 root adm 1197017 May 17 2013 /var/log/syslog.0
> > -rw-r----- 1 root adm 79876 May 13 2013 /var/log/syslog.1.gz
> > -rw-r----- 1 root adm 127547 May 12 2013 /var/log/syslog.2.gz
> > -rw-r----- 1 root adm 51821 May 10 2013 /var/log/syslog.3.gz
> > -rw-r----- 1 root adm 44679 May 9 2013 /var/log/syslog.4.gz
> > -rw-r----- 1 root adm 46240 May 8 2013 /var/log/syslog.5.gz
> > -rw-r----- 1 root adm 41297 May 7 2013 /var/log/syslog.6.gz
> > april:~#
> >
> > It looks like nothing has been written to syslog for the last eight
> > years!
> >
> > And in all that time I hadn't noticed.
> >
> > It is still running ascii, by the way. I'm pretty sure ascii wasn't
> > around yet in 2013, back when I was still running Debian.
> >
> > So why no system log?
> >
> > And, while I'm asking anyway, why no /var/log/mail* since 2013 either?
> >
> > What has changed?
> > What might have changed?
> >
> > -- hendrik
> > _______________________________________________
> > Dng mailing list
> > Dng@???
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng