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


Groups > linux.debian.user > #211766

Re: awstats problem

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: awstats problem
Date 2019-07-26 17:50 +0200
Message-ID <yoaDL-6Gg-9@gated-at.bofh.it> (permalink)
References <ynOad-1ch-3@gated-at.bofh.it> <ynOjT-1fw-3@gated-at.bofh.it> <yo73c-4n4-5@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Friday 26 July 2019 07:21:46 Peter Wiersig wrote:

> Greg Wooledge <wooledg@eeg.ccf.org> writes:
>
> Thu, Jul 25, 2019 at 11:48:46AM -0400, Gene Heskett wrote:
> >> root@coyote:~$ su www-data
> >> This account is currently not available.
> >
> > If you want a shell as a system account, use sudo instead.
> >
> > sudo -s -u www-data
>
> or set the shell using su:
> su -s /bin/bash -u www-data
>
> This behaviour is caused due to the shell in /etc/passwd:
>
> $ getent passwd www-data
> www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
>
> Peter
I changed the MailTo to gene so I could maybe see the error message, 
which was that the config hadn't a proper domain name so I 
edited /etc/awstats/awstats.conf to define the domain name that the 
world addresses me by, in the sig below. According to the log, its still 
running at 10 minute intervals, but its not emailing me any error 
messages now, but also in not  updateing anything in 
the /var/www/awstats directory.

And spamd is dumping 20 lines of debug crap to the syslog, causing it to 
be rotated out from under a tail on it so I can see whats going on, in 
less than a days time. So when something happens that should still be 
onscreen via the tail, the onscreen is out of date by 2 or 3 days.

So as a log, thats worthless, and its logging SHOULD be going to 
~/log/mail.log, so something has broken that, where to I find that. 
procmail is launching that for every incoming email, using this recipe:
SPAMBOX = "/home/gene/Mail/spam/new"
:O
* SPAM=| spamd --stfout -
$SPAMBOX

And I just found the awstats failure message is being sent to www-data. 
Put a tail on that puppy.

I'm going to need some headache powders. Now if folks would actually 
write a man page.  And to top that off, my coffee is cold...

Thanks all;

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

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


Thread

awstats problem Gene Heskett <gheskett@shentel.net> - 2019-07-25 17:50 +0200
  Re: awstats problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-25 18:00 +0200
    Re: awstats problem Peter Wiersig <peter@friesenpeter.de> - 2019-07-26 14:00 +0200
      Re: awstats problem Gene Heskett <gheskett@shentel.net> - 2019-07-26 17:50 +0200
        Re: awstats problem David Wright <deblis@lionunicorn.co.uk> - 2019-07-26 19:00 +0200
          Re: awstats problem Gene Heskett <gheskett@shentel.net> - 2019-07-26 20:40 +0200
        Re: awstats problem Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-26 20:50 +0200
          Re: awstats problem Gene Heskett <gheskett@shentel.net> - 2019-07-26 21:10 +0200

csiph-web