Setting up the Webinterface - errors
Marc Powell
marc at ena.com
Fri Jan 23 16:40:04 CET 2004
On Friday, January 23, 2004 8:37 AM, az shared with us:
> hi,
>
> i can't get the cgi-scripts to work: i get these errors in apache:
>
> [Fri Jan 23 13:41:53 2004] [error] [client 2xx.xx.xx.xx] (2)No such
> file or directory: getpwuid: invalid userid -1 [Fri Jan 23 13:41:53
> 2004] [error] (2)No such file or directory: exec of
> /usr/lib/nagios/cgi/tac.cgi failed [Fri Jan 23 13:41:53 2004] [error]
> [client 2xx.xx.xx.xx] Premature end of script headers:
> /usr/lib/nagios/cgi/tac.cgi [Fri Jan 23 13:41:55 2004] [error]
> [client 2xx.xx.xx.xx] getpwuid: invalid userid -1 [Fri Jan 23
> 13:41:55 2004] [error] exec of /usr/lib/nagios/cgi/status.cgi failed
> [Fri Jan 23 13:41:55 2004] [error] [client 2xx.xx.xx.xx] Premature
> end of script headers: /usr/lib/nagios/cgi/status.cgi ... and so on
>
> what does this error ( getpwuid: invalid userid -1 ) mean ?
It seems to be indicating that the scripts are trying to get the uid for
a user, probably the nagios user you specified during compile time, and
that user doesn't exist. Did you create the user that you specified when
compiling nagios or the user 'nagios' if you didn't specify one?
http://216.239.51.104/search?q=cache:4x2j2aAkYUgJ:www.opengroup.org/onli
nepubs/007908799/xsh/getpwuid.html+getpwuid&hl=en&ie=UTF-8
--
marc
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list