cpanel is failing to load.... <ARGH>.. PLEASE help again :)

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
cpanel is failing to load.... <ARGH>.. PLEASE help aga

Thanks to all who have been helping me get this cpanel installation running.... now everything is close but cpanel won't run... when trying to restart cpanel3, i get these error messages:

Stopping Cpanel4 services: [FAILED]
Stopping Cpanel4 log services: [FAILED]
Stopping Cpanel4 Chat services: [ OK ]
Stopping Melange Chat services: [ OK ]
Stopping InterChange services: [FAILED]
Stopping Cpanel3 ssl services: [ OK ]
Stopping Web Host Manger services: [FAILED]
Stopping Cluster Management services: [ OK ]
Starting Cpanel4 services: /usr/local/cpanel/cpaneld: error while loading shared libraries: /usr/local/cpanel/perl/Fcntl/Fcntl.so: cannot open shared object file: No such file or directory
[FAILED]
Starting WebMail services: [ OK ]
Starting pop3 services: /usr/local/cpanel/bin/cppop: error while loading shared libraries: /usr/local/cpanel/perl/IO/IO.so: cannot open shared object file: No such file or directory
[FAILED]
Starting Cpanel4 Chat services: [ OK ]
Starting Melange Chat services: [ OK ]
Starting InterChange services: [ OK ]
Starting Cpanel4 ssl services: [ OK ]
Starting Web Host Manager services: /usr/local/cpanel/whostmgr/bin/whostmgrd: error while loading shared libraries: /usr/local/cpanel/perl/Fcntl/Fcntl.so: cannot open shared object file: No such file or directory
[FAILED]
Starting Cluster Management services: [ OK ]
 
B

bdraco

Guest
Looks like your perl dir is missing ???

cd /usr/local/cpanel/
rsync -av rsync://rsync.cpanel.net/perl perl

[quote:9287035a26][i:9287035a26]Originally posted by rastoma[/i:9287035a26]

Thanks to all who have been helping me get this cpanel installation running.... now everything is close but cpanel won't run... when trying to restart cpanel3, i get these error messages:

Stopping Cpanel4 services: [FAILED]
Stopping Cpanel4 log services: [FAILED]
Stopping Cpanel4 Chat services: [ OK ]
Stopping Melange Chat services: [ OK ]
Stopping InterChange services: [FAILED]
Stopping Cpanel3 ssl services: [ OK ]
Stopping Web Host Manger services: [FAILED]
Stopping Cluster Management services: [ OK ]
Starting Cpanel4 services: /usr/local/cpanel/cpaneld: error while loading shared libraries: /usr/local/cpanel/perl/Fcntl/Fcntl.so: cannot open shared object file: No such file or directory
[FAILED]
Starting WebMail services: [ OK ]
Starting pop3 services: /usr/local/cpanel/bin/cppop: error while loading shared libraries: /usr/local/cpanel/perl/IO/IO.so: cannot open shared object file: No such file or directory
[FAILED]
Starting Cpanel4 Chat services: [ OK ]
Starting Melange Chat services: [ OK ]
Starting InterChange services: [ OK ]
Starting Cpanel4 ssl services: [ OK ]
Starting Web Host Manager services: /usr/local/cpanel/whostmgr/bin/whostmgrd: error while loading shared libraries: /usr/local/cpanel/perl/Fcntl/Fcntl.so: cannot open shared object file: No such file or directory
[FAILED]
Starting Cluster Management services: [ OK ]
[/quote:9287035a26]
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
yes.. i guess that was it.... now whm is running.... when i did a restart i got only one error message... interchange didn't start.

i'm getting close! :)

thanks for your help
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
Well guess i spoke too soon.... i opened whm and when it asked for the name and password.. I ASSUMED it was working... when the page finally loads.. all I get on the entire page is:


Content-type: text/plain Invalid Lisc File
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
WHOOOHOOO.. it LOOKS like it's working now.

THANK YOU!


but.. still have the same problem with cpanel that i did before:

Account Information
SubDomains 0
Mysql Databases ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0
 
B

bdraco

Guest
[quote:9f406201f3][i:9f406201f3]Originally posted by rastoma[/i:9f406201f3]

WHOOOHOOO.. it LOOKS like it's working now.

THANK YOU!


but.. still have the same problem with cpanel that i did before:

Account Information
SubDomains 0
Mysql Databases ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0
[/quote:9f406201f3]

You need to reset your mysql password..
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
thank you again bdraco for all your help and patience.

resetting password didn't work.. but i just rebooted the server and mysql started working... ???? don't understand it. i assume it's working.. no more error messages in cpanel.

But yes... you guessed.. i have yet another issue.... I'm about ready to have the server wiped and start over :(


in cpanel i select mysql and add a user and database and it looks good... but when i click on phpmyadmin i just get a blank white page.

I tried updating phpmyadmin but get this error:

[email protected] [/usr/local/cpanel/bin]# ./updatephpmyadmin
grep: /root/.my.cnf: No such file or directory
[email protected] [/usr/local/cpanel/bin]#


any suggestions for the new problem?

and it shows updatephpmyadmin there... here is a list of files in the bin directory:

[email protected] [/usr/local/cpanel/bin]# ls
./ cppop* listadmin* popadmin*
../ cpwrap* [email protected] poppass*
adduser* CVS/ logrunner* popsh*
a.out* domainadmin* makeindex* [email protected]
autorespond* [email protected] mkvhostspasswd* proftpd_passwd*
bwlimit* edcron* movetmp* proftpdvhosts*
cartadmin* fpadmin* mxadmin* reset_mailman_passwd*
[email protected] [email protected] [email protected] sqllimit*
chpass* ftpadmin* mysqladmin* startinterchange*
convertemail* ftpupdate* mysqlkludge* startmelange*
cpimap* [email protected] [email protected] updatephpmyadmin*
cp_mailman* initvfilt* newpop*
cp_mailman_suexec* installmod* noshell*
[email protected] [/usr/local/cpanel/bin]#
 
B

bdraco

Guest
[quote:a810418ad6][i:a810418ad6]Originally posted by rastoma[/i:a810418ad6]

thank you again bdraco for all your help and patience.

resetting password didn't work.. but i just rebooted the server and mysql started working... ???? don't understand it. i assume it's working.. no more error messages in cpanel.

But yes... you guessed.. i have yet another issue.... I'm about ready to have the server wiped and start over :(


in cpanel i select mysql and add a user and database and it looks good... but when i click on phpmyadmin i just get a blank white page.

I tried updating phpmyadmin but get this error:

[email protected] [/usr/local/cpanel/bin]# ./updatephpmyadmin
grep: /root/.my.cnf: No such file or directory
[email protected] [/usr/local/cpanel/bin]#


any suggestions for the new problem?

and it shows updatephpmyadmin there... here is a list of files in the bin directory:

[email protected] [/usr/local/cpanel/bin]# ls
./ cppop* listadmin* popadmin*
../ cpwrap* [email protected] poppass*
adduser* CVS/ logrunner* popsh*
a.out* domainadmin* makeindex* [email protected]
autorespond* [email protected] mkvhostspasswd* proftpd_passwd*
bwlimit* edcron* movetmp* proftpdvhosts*
cartadmin* fpadmin* mxadmin* reset_mailman_passwd*
[email protected] [email protected] [email protected] sqllimit*
chpass* ftpadmin* mysqladmin* startinterchange*
convertemail* ftpupdate* mysqlkludge* startmelange*
cpimap* [email protected] [email protected] updatephpmyadmin*
cp_mailman* initvfilt* newpop*
cp_mailman_suexec* installmod* noshell*
[email protected] [/usr/local/cpanel/bin]#
[/quote:a810418ad6]


I'll see if I can put something together for you to reset your mysql password ...

Give me a couple of hours..
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
[quote:41e0d22f21][i:41e0d22f21]Originally posted by moronhead[/i:41e0d22f21]

Make sure the pass= in /root/.my.cnf is matching your new MySQL password.[/quote:41e0d22f21]

If the passwords didn't match would I still be able to setup databases through the cpanel directly? Or would it affect just myphpadmin?
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
[i:679f0137cf]Originally posted by bdraco[/i:679f0137cf]

[quote:679f0137cf][i:679f0137cf]Originally posted by rastoma[/i:679f0137cf]

I'll see if I can put something together for you to reset your mysql password ...

Give me a couple of hours..[/quote:679f0137cf]


Thanks a bunch.. I REALLY appreciate your help.
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:48737e51ee][i:48737e51ee]Originally posted by rastoma[/i:48737e51ee]

[quote:48737e51ee][i:48737e51ee]Originally posted by moronhead[/i:48737e51ee]

Make sure the pass= in /root/.my.cnf is matching your new MySQL password.[/quote:48737e51ee]

If the passwords didn't match would I still be able to setup databases through the cpanel directly? Or would it affect just myphpadmin?

[/quote:48737e51ee]

Good question. Unmatched root passwords can sometimes create problems, e.g. you may get an error when doing MySQL tasks that requires the root user. It may be worth trying. ;)
 
B

bdraco

Guest
New Feature :)

Mysql Functions -&amp; Reset Mysql Root Password