Just installed cPanel - Its pretty messed up, need help bad

mbd5882

Well-Known Member
Apr 30, 2005
63
0
156
United Kingdom
cPanel Access Level
Root Administrator
Hey, i just installed cPanel on a new server and its messed up bad.
I used the http://layer1.cpanel.net/latest to install it and its done.
When i try to login to:
http://88.191.38.196:2086
WHM and use the correct user and pass it doesnt log me in, instead it sometimes times out and so does apache or it gives me a file download.
With teh contents:

Code:
[an error occurred while processing this directive]HTTP/1.0 200 OK
Connection: close
Server: whostmgr/10.8.0
Content-type: text/html
Content-Encoding: gzip

‹      EŽ±
1D{¿b‰6	¶’K)Úû›\4Üî‘ìÜßtªÇÃŒM2g=øgàÂuPûËGÊÙtr7Z±ä®Ü„pŠ÷”`¼@Ç°ÔIÊĸb.èKÔGýk5˜ð&ÁL
ÚŒ¡û\AÐ7mM³©:‹j|*‰ÌgcÂŒ‹¦(ÊýÙt½ò~¿{s=süÅ
Anyone know why this happens? Some other things dont work or time out also like MySQL.
please help :confused:
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
76
308
cPanel Access Level
Root Administrator
Look in /usr/local/cpanel/logs/error_log for anything helpful.

Sorry, I'm kind of wrapped up in things right now. Your best bet is likely to open a support request with your license provider.
 

mbd5882

Well-Known Member
Apr 30, 2005
63
0
156
United Kingdom
cPanel Access Level
Root Administrator
Here is the contents of my error_log file, i dont really get what any off it is. i know perl but cpanel just confuses me

Code:
Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-l$
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11.
(internal warning) Fri Dec  8 16:31:37 2006 [16656] warn: Missing english cache at /usr/local/cpanel/Cpanel/TieLang.pm line 23.
        Cpanel::TieLang::TIEHASH('Cpanel::TieLang', 'english') called at /usr/local/cpanel/Cpanel/Lang.pm line 46
        Cpanel::Lang::loadlang('english') called at whostmgr/bin/whostmgr.pl line 59
 

mbd5882

Well-Known Member
Apr 30, 2005
63
0
156
United Kingdom
cPanel Access Level
Root Administrator
/scripts/perlinstaller version

That should resolve that problem
It doesnt work, this is what i get :(

Code:
[email protected] [~]# /scripts/perlinstaller version
Fetching http://cpan.cpanel.net/cPCPAN/modules.versions (0)[email protected]                                                                             ..connected......receiving...100%......Done
Method: System Expect
spawn /scripts/realperlinstaller version
Fetching CPAN timestamp...Done
Testing connection speed...(this could take a while)...Done
Ping:1.466 Testing connection speed to cpan.mirrors.easynet.fr using pureperl...(316100.00 bytes/s)...Done
Ping:1.129 Testing connection speed to cpan.numericable.fr using pureperl...(313000.00 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for cpan.mirrors.easynet.fr (/index.html)
commit: wrote /usr/lib/perl5/5.8.7/CPAN/Config.pm
CPAN: Storable loaded ok
Going to read /home/.cpan/Metadata
  Database was generated on Mon, 31 Oct 2005 02:01:04 GMT
Running install for module version
Running make for J/JP/JPEACOCK/version-0.49.tar.gz
LWP not available
LWP not available

Trying with "/usr/bin/wget -O -" to get
    http://cpan.mirrors.easynet.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz
--17:30:21--  http://cpan.mirrors.easynet.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz
           => `-'
Resolving cpan.mirrors.easynet.fr... 212.180.1.29
Connecting to cpan.mirrors.easynet.fr|212.180.1.29|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:30:21 ERROR 404: Not Found.


System call "/usr/bin/wget -O - "http://cpan.mirrors.easynet.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz"  > /home/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.49.tar"
returned status 1 (wstat 256)
Warning: expected file [/home/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz] doesn't exist


Trying with "/usr/bin/wget -O -" to get
    http://cpan.numericable.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz
--17:30:21--  http://cpan.numericable.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz
           => `-'
Resolving cpan.numericable.fr... 81.220.255.20
Connecting to cpan.numericable.fr|81.220.255.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:30:21 ERROR 404: Not Found.


System call "/usr/bin/wget -O - "http://cpan.numericable.fr/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz"  > /home/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.49.tar"
returned status 1 (wstat 256)
Warning: expected file [/home/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz] doesn't exist

Please check, if the URLs I found in your configuration file
(http://cpan.mirrors.easynet.fr/, http://cpan.numericable.fr/) are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch authors/id/J/JP/JPEACOCK/version-0.49.tar.gz
Giving up on '/home/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.49.tar.gz'
Note: Current database in memory was generated on Mon, 31 Oct 2005 02:01:04 GMT

expect: spawn id exp4 not open
    while executing
"expect -nobrace {*perlmod--Install done*} {
                        exit
                } {*Apache source not found*} {
                        send "q\r"
                } {*Which OpenSSL build path*} {
                        send "/usr\r..."
    invoked from within
"expect {
                "*perlmod--Install done*" {
                        exit
                }
                "*Apache source not found*" {
                        send "q\r"
                }
                "*Which OpenSSL build path*" {
                        send "/usr\r"..."
    ("while" body line 2)
    invoked from within
"while {1} {
        expect {
                "*perlmod--Install done*" {
                        exit
                }
                "*Apache source not found*" {
                        send "q\r"
                }
                "*Which OpenSSL build path*" {
                ..."
    (file "/scripts/expectperlinstaller" line 9)
[email protected] [~]#
 

speckados

Well-Known Member
Code:
wget http://layer1.cpanel.net/perl587installer.tar.gz
tar xvfz perl587installer.tar.gz
cd perl587...
After execute install.

After edit your update package system for denied update for perl package.

After compiling and installling perl

Execute
Code:
/usr/local/cpanel/bin/checkperlmodules
 

mbd5882

Well-Known Member
Apr 30, 2005
63
0
156
United Kingdom
cPanel Access Level
Root Administrator
Thanks man, i really appriciate it. Looks like perl wasnt installed properly :)
running the following command fixed it,
Code:
/usr/local/cpanel/bin/checkperlmodules