[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] OS Restore - Internal Server Error



On Wed, 2 Jan 2002 15:01:57 -0800, Mike Fritsch mumbled something 
like:
>We just finished doing an OS restore and full install of patches on
>a RaQ4r and now we get an internal server error when we go to the
>site list.
>The error in /var/log/httpd/adm_error is:
>
>Can't call method "exec" on an undefined value at
>/usr/lib/perl5/site_perl/5.005/Cobalt/Meta.pm line 770.
>[Wed Jan  2 14:58:18 2002] [error] [client 169.127.1.198] Premature
>end of script headers: /usr/admserv/cgi
>-bin/.cobalt/siteList/siteList.cgi
>
>Does anyone know what the problem is caused by?

The script siteList.cgi is trying to show you the list of sites on 
the server, but when it tries to use the 'exec' command, it's butting 
heads with Meta.pm (specifically, line 770 of Meta.pm). Something on 
that line isn't working.

Line 770 of my Meta.pm reads as such:
   &commit_txn("SQL");

So I'd say that your PostgreSQL database (where all of the info is 
about the sites on the machine) isn't working. Go in through a 
command line and make sure that the postgres daemon is running. I 
think I remember Jeff once mentioning something about the postgres 
not firing up on its own after a fresh restore. You can either fire 
it up by hand
(probably something like /etc/rc.d/init.d/postgres start) or try 
rebooting the machine and seeing if it comes up on its own from the 
startup scripts.

Just my .02 cents - could be something different all together. 


--
CarrieB