optikfiberz

Member
Nov 2, 2006
8
0
151
Hi everyone,

About 10 hours ago I began the installation process of cpanel.

At first this seemed to be going as expected.. i.e. a long series of dots displayed on the console for about 10 mins (while it downloaded files i guess), and then it downloaded some perl packages with more verbose output (looked like wget). There were a few questions which I answer the default values to.

Anyway, after the questions stopped, it was stuck downloading a mysql package at a slow speed.. so I left it and went to bed, and woke up 8 hours later to find the console printing "........" on a new line, every 1 second.

God knows how long its been doing this for.. but the question is, do I pressume it has failed or ?

Anyone seen this before?

I'm performing the install on a Debian 3.1 using a 64bit SMP kernel - Yes I know this is not an officially supported OS, but it did say Debian support was in Beta.. so I don't see why it wouldn't work..

If I can confirm it fails, I might do a clean format with Fedora..

Any advise/suggestions would be much appreciated.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
you may open another ssh session and check the files in /var/log/cpanel-install-thread*.log to see if anything is running behind.
 

optikfiberz

Member
Nov 2, 2006
8
0
151
Hey tweakservers, thanks for the prompt reply.

I had a look at the logfile, and it hasn't been modified since a few hours after I started the install.. Tail output of cpanel-install-thread0.log below:
Code:
Thu Nov  2 23:48:07 2006 die [DNSLib]: Unable to locate Bind configuration file.
Thu Nov  2 23:48:07 2006 die [DNSLib]:  at /scripts/cPScript/DNSLib.pm line 87
        cPScript::DNSLib::init('cPScript::DNSLib=HASH(0x504280)') called at /scripts/cPScript/DNSLib.pm line 63
        cPScript::DNSLib::new() called at /scripts/fixrndc line 33
Attempting to locate /etc/bind/named.confno bind configuration presentUnable to locate Bind configuration file.open3: exec of /sbin/chkconfig --level 35 proftpd on failed at ./install line 675
open3: exec of /sbin/chkconfig --level 35 exim on failed at ./install line 675
open3: exec of /sbin/chkconfig --level 35 cpanel on failed at ./install line 675
open3: exec of /sbin/chkconfig --level 35 bandmin on failed at ./install line 675
open3: exec of /sbin/chkconfig --level 35 mysql on failed at ./install line 675
open3: exec of /sbin/chkconfig --level 35 sshd on failed at ./install line 675
open3: exec of /etc/init.d/sshd start failed at ./install line 675
Looks pretty stuffed to me..

Anyway.. I'm downloading CentOS 4.4 x86_64 edition now.. so going to install that later and give it a go with CPanel.. Reading the other threads.. it sounds like CentOS is the way to go.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
looks like the log is showing multiple failing, I havent tried on installing on Debian before ;) , but Centos looks happy for most of the servers I have went through :)
 

optikfiberz

Member
Nov 2, 2006
8
0
151
Ok, so I installed CentOS 4.4 x86_64 with SELinux off, and Firewall off, and a yum update, which updated about 20 packages.

With this clean install, I proceeded with the "cd /home; wget *latest; sh latest". The installation took a while but it got stuck with the continuous "......\n" scrolling down the screen every 1 second.

After an hour of waiting, I did one 'Ctrl-C' and it interrupted what it was doing and continued on with the following outputs:
Code:
........
........
............Securing the /tmp and /var/tmp directories....Securing /tmp & /var/tmp
No seperate partition for tmp!
Building /usr/tmpDSK...512000+0 records in
512000+0 records out
mke2fs 1.35 (28-Feb-2004)
/usr/tmpDSK is not a block special device.
Proceed anyway? (y,n) Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
128016 inodes, 512000 blocks
25600 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
63 block groups
8192 blocks per group, 8192 fragments per group
2032 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.35 (28-Feb-2004)
Creating journal inode: done
This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done
Setting up /tmp... Done
Setting up /var/tmp... Done
Process Complete
...Done
Cleaning Up.........Done
[[email protected] home]#
Looking at the /var/log/cpanel-install-thread0.log the following can be seen:
Code:
Shutting down system logger: [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
open3: exec of /etc/rc.d/init.d/antirelayd start failed at ./install line 675
sendmail: no process killed
open3: exec of /etc/rc.d/init.d/exim stop failed at ./install line 675
open3: exec of /etc/rc.d/init.d/exim start failed at ./install line 675
open3: exec of /etc/rc.d/init.d/proftpd start failed at ./install line 675
open3: exec of /etc/rc.d/init.d/antirelayd start failed at ./install line 675
If you are getting an "undefined catalog error", please run:
/scripts/rebuildinterchangecfg; /usr/local/cpanel/bin/startinterchange
Found hostname to be localhost.localdomain, which resolves to 10.0.0.20
initfpsuexec: using apache 1.x support
error reading information on service proftpd: No such file or directory
error reading information on service exim: No such file or directory
error reading information on service cpanel: No such file or directory
error reading information on service bandmin: No such file or directory
Starting sshd:[  OK  ]
error reading information on service chkservd: No such file or directory
error reading information on service chkservd: No such file or directory
cp: cannot create regular file `/etc/chkserv.d/cpsrvd': No such file or directory
open3: exec of /etc/init.d/chkservd restart failed at ./install line 675
Found hostname to be localhost.localdomain, which resolves to 10.0.0.20
Hostname Virtual Host is already setup
cPanel install finished at: Fri Nov  3 18:35:34 2006 (127.366666666667 minutes)!
When I try to visit http://10.0.0.20:2086/ I am unable to connect.

I can access http://10.0.0.20/ fine though, get a " Hey, it worked !" page.

Would having this server (for trial/testing) behind a NAT firewall (which the public IP has been licensed for) have any affect on the install process ?

Any help would be greatly appreciated.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
the installation looks to be incomplete, try running /scripts/upcp --force and check out the output and make sure it runs to complete
 

TheNetway

Member
Oct 28, 2004
6
0
151
I am also having issues installing cPanel on CentOS 4.4. I think something is wrong with the cPanel installation process.

EDIT: We have also installed cPanel on other servers yesterday which it worked fine, but today none of our installs are working and in turn it is delaying our orders.
 

Israel.lopez

Member
Mar 4, 2003
16
0
151
Were having the same problem here:

It looks to be an error with how perl was installed.

Code:
(internal warning) Fri Nov  3 12:05:46 2006 [31475] 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 50
        Cpanel::Lang::loadlang('english') called at whostmgr/bin/whostmgr.pl line 58
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-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
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 Nov  3 12:06:08 2006 [31480] 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 50
        Cpanel::Lang::loadlang('english') called at whostmgr/bin/whostmgr2.pl line 58
[email protected] [~/perl587installer]#

Upon more investigation, it looks like the GD Perl Module is the culprit.

I tried downloading the perl installer from layer1.cpanel.net and that didnt help.

Heres the loop of errors that I saw while trying to reinstall CPanel

Code:
GD.xs: At top level:
GD.xs:431: error: syntax error before '*' token
GD.xs: In function `newDynamicCtx':
GD.xs:434: error: syntax error before ')' token
GD.xs:434: error: syntax error before ')' token
GD.xs:436: error: dereferencing pointer to incomplete type
GD.xs:437: error: dereferencing pointer to incomplete type
GD.xs:438: error: dereferencing pointer to incomplete type
GD.xs:440: error: dereferencing pointer to incomplete type
GD.xs:441: error: dereferencing pointer to incomplete type
GD.xs:442: error: dereferencing pointer to incomplete type
GD.xs:443: error: dereferencing pointer to incomplete type
GD.xs:444: error: dereferencing pointer to incomplete type
GD.xs:445: error: dereferencing pointer to incomplete type
GD.xs:446: error: dereferencing pointer to incomplete type
GD.xs:447: error: `gdIOCtx' undeclared (first use in this function)
GD.xs:447: error: syntax error before ')' token
GD.xs: At top level:
GD.xs:452: error: syntax error before "gd_cloneDim"
GD.xs:452: error: syntax error before "src"
GD.xs: In function `gd_cloneDim':
GD.xs:453: error: syntax error before "dst"
GD.xs:454: error: `src' undeclared (first use in this function)
GD.xs:455: error: `dst' undeclared (first use in this function)
GD.xs:455: error: syntax error before "gdImageCreateTrueColor"
GD.xs:458: error: syntax error before "gdImageCreatePalette"
GD.xs:460: error: `gdMaxColors' undeclared (first use in this function)
GD.xs: At top level:
GD.xs:476: error: syntax error before "src"
GD.xs: In function `get_xformbounds':
GD.xs:479: error: `x' undeclared (first use in this function)
GD.xs:479: error: `src' undeclared (first use in this function)
GD.xs:480: error: `y' undeclared (first us
GD.xs:341: error: syntax error before "GD__Font"
GD.xs:341: warning: data definition has no type or storage class
GD.xs:383: error: syntax error before "gdIOCtx"
GD.xs:383: warning: no semicolon at end of struct or union
GD.xs:387: error: syntax error before '}' token
GD.xs:387: warning: data definition has no type or storage class
GD.xs:391: error: syntax error before "ctx"
GD.xs: In function `bufGetC':
GD.xs:392: error: `ctx' undeclared (first use in this function)
GD.xs:392: error: (Each undeclared identifier is reported only once
GD.xs:392: error: for each function it appears in.)
GD.xs:394: error: dereferencing pointer to incomplete type
GD.xs:394: error: dereferencing pointer to incomplete type
GD.xs:395: error: dereferencing pointer to incomplete type
GD.xs:395: error: dereferencing pointer to incomplete type
GD.xs: At top level:
GD.xs:398: error: syntax error before "ctx"
GD.xs: In function `bufGetBuf':
Anyone got any ideas.

Im running: CentOS release 4.4 (Final)

CPanel Reps? Ill be sending in a support request I guess.

-IL
 

VN-Ken

Registered
PartnerNOC
Nov 3, 2006
3
0
151
They fixed it. You should now be able to install cPanel without issues.
 

Israel.lopez

Member
Mar 4, 2003
16
0
151
Code:
These perl installer issues were stemming from updates to the Compress::Zlib
module, which effectively broke Expect, and in turn broke the perl installer. 

downgraded Compress::Zlib, patched checkperlmodules, and was
successfully able to install all requisite perl modules after doing so. I am
currently monitoring the status of a forced upcp on this server, and will
update this ticket shortly once completed.
Looks like that was it... stupid Zlib.
 

optikfiberz

Member
Nov 2, 2006
8
0
151
Lots of a reponses, great to see..

Given Israel.lopez response, i just ran `/scripts/upcp`, without the --force, tweakservers, and it seemed to update everything.. and now its working!!..

Wooohoo... cpanel - I'm excited..

Thanks a lot guys!

I'm sure I'll be making some more posts in the future..
 

VN-Ken

Registered
PartnerNOC
Nov 3, 2006
3
0
151
Is anyone having install problems again?

As well, I am trying to submit a ticket but I am getting the 500 Internal Server Error and there is no other way to reach cPanel support it seems.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
Is anyone having install problems again?

As well, I am trying to submit a ticket but I am getting the 500 Internal Server Error and there is no other way to reach cPanel support it seems.
Got the same troubles when installing a brand new server this morning.

Code:
wget http://layer2.cpanel.net/perl587installer.tar.gz
tar xzfv perl587installer.tar.gz
cd perl587installer
./install
and killing a bunch of stalled processes fixed the issue and the installation did complete.
 

badawi

Member
Jan 27, 2004
11
0
151
Is any one from CPanel going to answer here?? We had a new server installed Monday and had nothing but troubles because of these issues. Cmon guys, you have been long enough in this market and you should act a bit more professional than just ignoring everyone until you figure it out.

I'm very unhappy :mad:
 

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
It took me several upcp force and apache rebuild but I finally got it working and everything looks good now.
Hopefully this issue is fixed when I install the next server next week :p