My debian5 install story --> not finished yet

remcohn

Verified User
Joined
Jun 19, 2007
Messages
5
--- 2010-02-02 ---
I am trying to install a new machine with DA myself. its a Xen virtualserver, and i used the Xen Debian 5 template to install.
in the installer, i deselected everything, including 'standard system'.
When the installer was done, i installed openssh-server, make, gcc and g++

after a while, the installer completed OK.
but, not all services are running: exim, proftpd and mysql are down. the problem is the same: cannot find /etc/init.d/mysql || proftpd || exim

when i for example reinstall proftpd with `./build proftpd`, all completes ok, then this at the end:
/usr/bin/install -c -o ftp -g ftp -m 0644 proftpd.pc /usr/lib/pkgconfig/proftpd.pc
test -z """" || (cd locale/ && make install)
Done proftpd.
Restarting ProFTPd.
./build: line 6959: /etc/init.d/proftpd: No such file or directory

How can i solve this? doesnt setup.sh have installed these things?

remco
 
Last edited:
Is there a /etc/init.d folder?

You should just be able to do:

cd /usr/local/directadmin/custombuild
./build update
./build clean
./build proftpd d
 
yes, /etc/init.d/ exists
and i did your steps, still no result.

Remco
 
Note carefully the files that trigger the error. Are they there?

Run the permissions.sh script.

Then rerun custombuild.

Jeff
 
sorry, but what do you mean?
i cannot find a permission.sh script anywhere in the DA install directory.
only a set_permissions.sh. i can it with etc_configs, but it did not do anything in init.d as far as i can see.
also, i run the build script as root, so permissions should not be a problem.

Remco
 
I meant the set_permissions.sh script.

I was taking a wild guess. I'd suggest that you contact DirectAdmin Support.

Jeff
 
Hello,

That sounds like it might be a corrupted services.tar.gz file.
Check the following:
Code:
cd /usr/local/directadmin/scripts/packages
ls -la
you should see a services.tar.gz file.. and several packages in the same directory.
Try:
Code:
tar xvzf services.tar.gz
to see if the services file is ok or not.
If it's not, then tar will throw some errors.
If you need to download it again, type:
Code:
cd /usr/local/directadmin/scripts/packages
wget -O services.tar.gz http://files.directadmin.com/services/services_debian50.tar.gz
tar xvzf services.tar.gz
cd ..
install.sh
which will install DA again, with the services.. to clear up anything that was missing.

John
 
its a virtual machine, so easy enough to make snapshots and retry.
While installing, i did notice its downloading the debian31.tgz services file. it does detect it as 5.0.4 properly at the beginning.

will try your suggestion later today.

Remco
 
If it's getting the 31.tar.gz, then it's not seeing your OS version. Can you paste the output of:
Code:
cat /etc/debian_version
John
 
hi,
the issue is generated by not update setup.sh file

Please open it and go to line as:
5|5.0|5.0.1|5.0.2|5.0.3|5.1) SERVICES=services_debian50.tar.gz

and change it to:
5|5.0|5.0.1|5.0.2|5.0.3|5.0.4|5.1) SERVICES=services_debian50.tar.gz

and launch the installation

King Regards
 
Back
Top