On 08/11/2007, Chet Luther <[EMAIL PROTECTED]> wrote:
<SNIP>

> I also noticed that zenhub isn't running.
> > I figured out how it runs it and tried it (if it helps) and got this
> > error which i don't know if it's the problem or I just didn't launch
> > it correctly.
> >
> > Code:
> > [EMAIL PROTECTED]:/var/www/zenoss # /var/www/zenoss/bin/python /var/www/
> > zenoss/Products/ZenHub/zenhub.py --configfile /var/www/zenoss/etc/
> > zenhub.conf --cycle
> > Traceback (most recent call last):
> >  File "/var/www/zenoss/Products/ZenHub/zenhub.py", line 28, in ?
> >    from twisted.cred import portal, checkers, error, credentials
> > ImportError: No module named twisted.cred
>
> You should never run any of the zenoss commands as root. Switch to the
> zenoss user first. If zenhub is failing to run you should invoke it
> with "zenhub run -v 10" as the zenoss user. This will cause it to stay
> in the foreground and log verbosely. This can be a great help when
> troubleshooting problems.
>


Is it possible to make the commands check for being run as root?  This seems
to come up a lot.

-- 
Regards,

Graham Bloice
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to