Hostprofil

Member
Sep 10, 2013
17
0
1
cPanel Access Level
Root Administrator
I get this error and does not start the server, why?

Code:
MySQL server PID file could not be found!                  [FAILED]Starting MySQL.....The server quit without updating PID fil[FAILED]lib/mysql/gazduire.mydomain.ro.pid).touch: cannot touch `/var/lock/subsys/mysql': No space left on device
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Try rebuilding the Apache configuration file via:

Code:
/scripts/rebuildhttpdconf
Let us know if you receive any specific error messages.

Thank you.
 

Hostprofil

Member
Sep 10, 2013
17
0
1
cPanel Access Level
Root Administrator
Try rebuilding the Apache configuration file via:

Code:
/scripts/rebuildhttpdconf
Let us know if you receive any specific error messages.

Thank you.
Code:
[email protected] [~]# /scripts/rebuildhttpdconf
[2013-10-31 20:37:09 +0200] warn [rebuildhttpdconf] Failed to create a temp file using get_tmp_file_by_name using templatefile: /usr/local/apache/conf/httpd.conf at /usr/local/cpanel/Cpanel/Rand.pm line 91
        Cpanel::Rand::get_tmp_file_by_name('/usr/local/apache/conf/httpd.conf') called at /scripts/rebuildhttpdconf line 47
        BuildHttpdConf::run() called at /scripts/rebuildhttpdconf line 97
warn [rebuildhttpdconf] Failed to create a temp file using get_tmp_file_by_name using templatefile: /usr/local/apache/conf/httpd.conf
Failed to get a temporary working file! at /scripts/rebuildhttpdconf line 48.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Are you sure no other partitions are at 100% disk space or inode usage? You can check that with commands such as:

Code:
df -h
df -i
Thank you.
 

brovine

Registered
Jul 9, 2015
4
0
1
USA
cPanel Access Level
Root Administrator
Hi. I know this thread is old but the OP stopped replying and I'm having this same exact issue.

[email protected] [/home]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ploop18773p1 493G 7.9G 460G 2% /
none 7.9G 4.0K 7.9G 1% /dev
none 7.9G 0 7.9G 0% /dev/shm

[email protected] [/home]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/ploop18773p1 32768000 171005 32596995 1% /
none 2048000 150 2047850 1% /dev
none 2048000 1 2047999 1% /dev/shm

Please advise
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

There are two separate issues listed in this thread. Could you verify which specific issue you are facing at this time?

Thank you.