Current time: 05-04-2024, 05:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Error 500 on Cpanel Missing Packages?? (ubuntu > lucid)
Author Message
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #6
RE: Error 500 on Cpanel Missing Packages??
Well unfortunately it turns out suexec for apache wasnt even installed.... hence no log file

Code:
ls -la /usr/sbin/suexec

told me so...

so i then did:

Code:
apt-get install apache2-suexec
service apache2 restart

but still got the error 500 and here is the contents of

the newly create /var/log/apache2/suexec.log

[2012-01-12 10:14:24]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter

I guess by missing all these packages ill have a more stable secure server with less code for vulnerabilities but getting all the package dependancies figured out has been a little troulesome. Back in the VHCS2 days they had in their howto a list of all the packages you needed and you could just apt-get install the whole multitude. ISP Omega had an article like that (has an article) but its out of date with php4 and other out of date packages. Do you think i could still just be missing a lot of packages?

also here are the new log contents of /var/log/apache2/

[12/Jan/2012:10:14:24 -0500] "GET / HTTP/1.1" 500 375 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"

my default-error.log has a great error though:
exec: 17: /usr/bin/php5-cgi: not found
[Thu Jan 12 10:31:36 2012] [warn] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Jan 12 10:31:36 2012] [error] Premature end of script headers: index.php

so..... apt-get install php5-cgi LOL and now my 500s are gone obviously because my server now knows what how to process .php files....

Now the admin control panel shows me the ispomega theme and its all good except it errors out with a red msg:
An error occured! Please, contact your administrator!

which log file should i check for this one?

[Big UPDATE]
Ok so i just couldn't help shake the nagging feeling that i was missing a million packages so i went back to the how to and saw the list of packages is in the /docs/Ubuntu directory of the tarball so i opened it up to look at it. I figured i would just manually apt-get them and then so i manually ran this line from the howto again:

Code:
aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-'lsb_release -cs')

this showed no packages to upgrade Sad

so i manually went into docs/Ubuntu

Code:
cd /usr/local/src/ispcp/ispcp-omega-1.0.7/docs/Ubuntu/

Then i ran:

Code:
aptitude install $(cat ubuntu-packages-lucid)

thus manually specifying the file name that had all the packages.

<Borat>GREAT SUCCESS!<Borat/>

a swath of packages installed and my admin control panel error 500 is gone!

Thanks for all your help joximu you got me thinking in the right direction! Now the question is I don't think the Ubuntu howto will work in its current state because of this error i have seen multiple people with this 1.07 install woes and i made this a little lengthy so people can fix this problem if they dilligently search the forum like I do when I have problems Smile, I hope this helps someone because ISPCP helps me every day!

David
(This post was last modified: 01-13-2012 02:39 AM by ShinZan.)
01-13-2012 01:23 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Error 500 on Cpanel Missing Packages?? - ShinZan - 01-13-2012 01:23 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)