Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184266

Re: Empty logs on VPS server

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Empty logs on VPS server
Date 2017-07-26 14:30 +0200
Message-ID <u7tBV-e9-35@gated-at.bofh.it> (permalink)
References <u7i3M-1pC-7@gated-at.bofh.it> <u7poC-5Va-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 26, 2017 at 09:50:03AM +0200, Sven Hartge wrote:
> Hubert Hauser <hubot@mail.com> wrote:
> > I wanted out of curiosity to see what is in /var/log/auth.log and I
> > seen empty file. All files in /var/log/ except files in /var/log/nginx
> > are empty.
> 
> Probably the template from your VPS provider lacks the package rsyslog,
> cause the logs only to be available via journald.
> 
> Try "journalctl -f" to see if there is any activity there.
> 
> To get the default logs back, just install rsyslogd.

The actual package name is "rsyslog".

This issue (missing rsyslog) may also happen when upgrading to wheezy from
an older system (squeeze).  The rsyslog package was new and optional in
squeeze, and most systems still continued using the original syslogd+klogd
packages instead of replacing them with the new/experimental rsyslog
package.  Then, upon upgrading to wheezy, syslogd and klogd get removed,
but rsyslog does NOT get installed.

Had that happen to me on two systems, at which point I documented
it on the wiki under "Upgrade Issues"
<https://wiki.debian.org/NewInWheezy#Upgrade_issues>.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Empty logs on VPS server Hubert Hauser <hubot@mail.com> - 2017-07-26 02:10 +0200
  Re: Empty logs on VPS server Sven Hartge <sven@svenhartge.de> - 2017-07-26 10:00 +0200
    Re: Empty logs on VPS server Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-26 14:30 +0200

csiph-web