Hoyt <[EMAIL PROTECTED]> wrote:
> On Wednesday 16 May 2001 10:55 am, you wrote:
> > Hoyt <[EMAIL PROTECTED]> wrote:
> > > I using Mandrake 8.0 and the junkbuster rpm from contribs. It worked fine
> > > until this morning. Now I get:
> > >
> > > [root@wind hoyt]# service junkbuster restart
> > > Shutting down junkbuster:                                  [FAILED]
> > > Starting junkbuster:/usr/sbin/junkbuster: can't open logfile
> > > '/var/log/junkbuster/junkbuster': Permission denied
> > >
> > > Nothing in /var/log/mesages to speak of.
> > >
> > > Any ideas?
> > >
> > > Hoyt
> >
> > who owns /var/log/junkbuster and /var/log/junkbuster/junkbuster?
> 
> drw-------    2 root     root          176 May 14 04:02 junkbuster/

oops.  At the very least this should be

drwx------  2 root root 176 May 14 04:02 junkbuster/

so you need to do 'chmod 700 junkbuster', as a minimum.

> -rw-r--r--    1 nobody   nobody          0 May 14 04:02 junkbuster     
> 
> > What userid does junkbuster run as?  (junkbuster, as I recall, but...)
> 
> user nobody

There's the problem.  user nobody needs to be able to get TO junkbuster/junkbuster.

One way to do that is to 'chmod 711 /var/log/junkbuster' (I think its 711),
hopefully you won't have to chmod 755 it!  However, I think this and the
next thing will involve different changes, so:

Also, you may not want junkbuster running as nobody.  I don't remember exactly
what the instructions said, but I'm sure someone here on the list can pass that
along...

And your changes for making nobody have access :-) to the log will be different
than what you'd do to make junkbuster not run as nobody....  So I'd shoot for
changing userid of junkbuster - assuming others here have real info about
what the install instructions said (shoot - you could probably go look too ;-)

rc


Rusty Carruth          Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W

Reply via email to