directadmin start failed

mamadletsgo

Verified User
Joined
Mar 2, 2015
Messages
69
Location
iran,tehran
hello

my directadmin cannot to start


service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [ OK ]


show this error to /var/log/directadmin/error.log


2017:10:23-09:58:38: Cannot create the pid file
2017:10:23-10:00:45: Cannot create the pid file
2017:10:23-10:03:04: Cannot create the pid file
2017:10:23-10:05:42: Cannot create the pid file
2017:10:23-10:07:58: Cannot create the pid file
2017:10:23-10:09:40: Cannot create the pid file
2017:10:23-10:10:19: Cannot create the pid file
2017:10:23-10:12:20: Cannot create the pid file
2017:10:23-12:41:41: Cannot create the pid file
2017:10:23-12:44:36: Cannot create the pid file
2017:10:23-12:50:00: Cannot create the pid file


please help me for solve this problem

thanks
 
The partition Directadmin is trying to create the pid-file on might be full. Could you check with the command:

df -h
 
The partition Directadmin is trying to create the pid-file on might be full. Could you check with the command:

df -h

[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_server-lv_root
44G 25G 18G 58% /
tmpfs 2.9G 28K 2.9G 1% /dev/shm
/dev/sda1 477M 40M 412M 9% /boot
[root@server ~]#

The problem is not partition
Please tell me the right solution

thanks
 
Last edited:
You're on Centos? I don't know for others.
But check for an existing /var/run/directadmin.pid if it's there.
If it is, then that one is probably blocking a new one. Remove it from there:
rm -f /var/run/directadmin.pid
and then try to start directadmin again with service directadmin start (not restart) or /etc/rc.d/init.d/directadmin start if you like that more.

If that works, then try a directadmin restart to check if the problem is gone or occuring again.
 
Back
Top