The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by rastoma, Feb 9, 2002.

  1. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    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 ]
     
  2. bdraco

    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]
     
  3. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  4. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  5. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  6. bdraco

    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..
     
  7. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    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:

    root@localhost [/usr/local/cpanel/bin]# ./updatephpmyadmin
    grep: /root/.my.cnf: No such file or directory
    root@localhost [/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:

    root@localhost [/usr/local/cpanel/bin]# ls
    ./ cppop* listadmin* popadmin*
    ../ cpwrap* listwrap@ poppass*
    adduser* CVS/ logrunner* popsh*
    a.out* domainadmin* makeindex* popwrap@
    autorespond* domainwrap@ mkvhostspasswd* proftpd_passwd*
    bwlimit* edcron* movetmp* proftpdvhosts*
    cartadmin* fpadmin* mxadmin* reset_mailman_passwd*
    cartwrap@ fpwrap@ mxwrap@ sqllimit*
    chpass* ftpadmin* mysqladmin* startinterchange*
    convertemail* ftpupdate* mysqlkludge* startmelange*
    cpimap* ftpwrap@ mysqlwrap@ updatephpmyadmin*
    cp_mailman* initvfilt* newpop*
    cp_mailman_suexec* installmod* noshell*
    root@localhost [/usr/local/cpanel/bin]#
     
  8. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    Make sure the pass= in /root/.my.cnf is matching your new MySQL password.
     
  9. bdraco

    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:

    root@localhost [/usr/local/cpanel/bin]# ./updatephpmyadmin
    grep: /root/.my.cnf: No such file or directory
    root@localhost [/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:

    root@localhost [/usr/local/cpanel/bin]# ls
    ./ cppop* listadmin* popadmin*
    ../ cpwrap* listwrap@ poppass*
    adduser* CVS/ logrunner* popsh*
    a.out* domainadmin* makeindex* popwrap@
    autorespond* domainwrap@ mkvhostspasswd* proftpd_passwd*
    bwlimit* edcron* movetmp* proftpdvhosts*
    cartadmin* fpadmin* mxadmin* reset_mailman_passwd*
    cartwrap@ fpwrap@ mxwrap@ sqllimit*
    chpass* ftpadmin* mysqladmin* startinterchange*
    convertemail* ftpupdate* mysqlkludge* startmelange*
    cpimap* ftpwrap@ mysqlwrap@ updatephpmyadmin*
    cp_mailman* initvfilt* newpop*
    cp_mailman_suexec* installmod* noshell*
    root@localhost [/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..
     
  10. Kylecool

    Kylecool Well-Known Member

    Joined:
    Aug 17, 2001
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Nick is sooo dedicated!! ;)

    -Kyle
     
  11. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    [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?
     
  12. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
     
  13. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [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. ;)
     
  14. bdraco

    bdraco Guest

    New Feature :)

    Mysql Functions -&amp; Reset Mysql Root Password
     
Loading...

Share This Page