services won't restart

noxtras

Verified User
Joined
Nov 11, 2010
Messages
39
Hello,

services in DA won't restart.
proftpd does not start at all (Starting proftpd: - Fatal: ScoreboardFile: : unable to use '/var/run/proftpd/proftpd.pid': No such file or directory on line 13 of '/etc/proftpd.conf')

named does not restart when i add NS entry in DA, not from service monitor
directadmin and mysql the same (in service monitor DA only says: an error has occured).

Can anyone help?

Thank you.
 
Guess your install is corrupt. You'd best let a server admin take a look at your problem. If you need my services, contact me. support{at}realwebsolutions{dot}nl.
 
Make sure you have proftpd installed from custombuild and not via apt-get.

Proftpd:
Code:
apt-get remove proftpd
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build proftpd d

You might need to run:
Code:
mkdir -p /var/run/proftpd

if it still complains it cannot create the pid file.

Named:

Make sure that crond is running on your server.

Type:
Code:
/etc/init.d/cron restart

If it doesnt exist do:

Code:
apt-get install cron

Then:

Check if there is a directadmin cron file in /etc/cron.d/directadmin

or check if there are lines in the bottom of /etc/crontab for directadmin

You can find the cron lines in the following file:
Code:
/usr/local/directadmin/scripts/directadmin_cron

If they are missing just put them in the bottom of /etc/crontab

After you do all that go onto directadmin and into the services monitor and issue a restart on services so that they are set to auto restart.

You will know they are set to auto restart by looking at:

/usr/local/directadmin/data/admin/services.status

There will be lines like:

httpd=ON

ON = auto restart
OFF = do not restart
 
Last edited:
Hello again scsi, thanks for all your help.

- proftpd build returns
Code:
Done proftpd.
Restarting ProFTPd.
./build: line 7078: /etc/init.d/proftpd: No such file or directory
- i have cron and it was started, and I have a file 'directadmin_cron ' in that directory
- in crontab there are 3 lines of code like this one below, no mention of directadmin
Code:
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
- in /usr/local/directadmin/data/admin/services.status everything is set to on
- i clicked restart directadmin in service monitor, not it won't start again. I had to manually start it, but it started with no error.
 
I can not reinstall a fresh OS on the server as it's hundreds of miles away, but can I remove everything to get a clean os and then start DA install all over again?
Is there a way to stop and remove all services?
 
scsi, how much would you charge to fix my problems with DA, if I gave you root access.
 
Send me a private message if you want me to login and fix things.

You might have to do the dpkg thing again to fix the init file...

cd /usr/local/src
wget -O proftpd-1.3.2.deb "http://files.directadmin.com/services/debian_5.0/proftpd-1.3.2.deb"
dpkg -i proftpd-1.3.2.deb

Then just update it with custombuild later.

For cron you can just put all the lines from

/usr/local/directadmin/scripts/directadmin_cron inside of /etc/crontab

But if you want me to ssh in and look over things I will do it for you for free.

I will be here till 12am est or so tonight...

not sure about the rest of the weekend :P
 
Hello,

I don't know if you're here, but now sshd stopped and it doesn't come up again, even if I reboot the server.
Strange thing, I enter the root password to reboot the server and it's working, but in the process monitor it won't accept it so I can't start sshd....
 
Hello,

I don't know if you're here, but now sshd stopped and it doesn't come up again, even if I reboot the server.
Strange thing, I enter the root password to reboot the server and it's working, but in the process monitor it won't accept it so I can't start sshd....

You'd best ask for some remote hands then..
 
Back
Top