New install keeps failing? Please help.

FunkyJMan

Registered
Oct 15, 2006
1
0
151
Hi everyone,

This is my second attempt at installing WHM/Cpanel and im not having much luck so wondering if anybody knows what I am doing wrong? I will explain exactly what I have done so far...

I have installed a fresh copy of Debian 3.1 (Sarge) with the 2.6 kernel, I installed this from a netinst cd and when it asked how I wanted to set it up ie webserver, mail server etc I didn't select anything so only the core system was installed which I think was the right thing to do?

After that I logged in via my normal computer through ssh as root and did the following...

Code:
cd /home
wget http://layer1.cpanel.net/latest
sh latest
After doing that the installation started and shortly after came up with this error but continued to install anyway...

Code:
cp: cannot create regular file `/etc/rc.d/init.d/functions': No such file or directory
While it carried on installing I checked the log files for the installation thread1 and thread0 and they contain the following..

Thread1
Code:
[email protected]:/var/log$ tail -f cpanel-install-thread1.log
<fieldset><legend>httpd status</legend>
    <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr>
        <td><font size="-1"><pre>
</pre></font></td>
        </tr>
    </table>
</fieldset>
<br>
httpd has failed, please contact the sysadmin.
Thread0
Code:
[email protected]:/var/log$ tail -f cpanel-install-thread0.log
Sun Oct 15 19:50:08 2006 die [DNSLib]:  at /scripts/cPScript/DNSLib.pm line 87
        cPScript::DNSLib::init('cPScript::DNSLib=HASH(0x812f180)') 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
The installer is actually still running at the minute but this is what happened the first time as well, I was able to log into WHM but I couldn't get apache or mysql etc running.

If anybody could help me out here I would really appreciate it as I am eager to get my server moved into the datacentre, I realise that the CPanel guys maybe able to install WHM/CPanel for me but if they do that I won't learn anything from whatever mistakes i've made and if it goes wrong at sometime i'll be screwed.

Thanks a lot
Jamie