Rehan_1990

Member
Feb 25, 2017
23
3
3
Pakistan
cPanel Access Level
Root Administrator
Hi,

I have updated my cPanel from easy apache 3 to easy apache 4. Now my HTTP is stuck and it does not start/restart by giving the error:

---------------------------
warn [safeapacherestart] safelock: waited for lock (/etc/apache2/conf/httpd.conf.lock) 90 times Cpanel::Exception::IO::FileCreateError/(XID 8mm7xu) The system failed to create the file “/etc/apache2/conf/httpd.conf.lock” (as EUID: 0, EGID: 0) because of the following error: No such file or directory at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336. Cpanel::Exception::create("IO::FileCreateError", ARRAY(0xd04dd0)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46 Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, ARRAY(0xd04dd0)) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 371 Cpanel::SafeFile::_safelock("/etc/apache2/conf/httpd.conf") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 546 Cpanel::SafeFile::_safe_open(GLOB(0x8538d8), "<", "/etc/apache2/conf/httpd.conf", CODE(0x873408), "safeopen") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 107 Cpanel::SafeFile::safeopen(GLOB(0x8538d8), "<", "/etc/apache2/conf/httpd.conf") called at /usr/local/cpanel/Cpanel/HttpUtils/ApRestart.pm line 113 Cpanel::HttpUtils::ApRestart::safeaprestart(1) called at bin/safeapacherestart.pl line 27
----------------------------
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Can you open a support ticket using the link in my signature so we can take a closer look?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @mark golding,

There's no support ticket number to reference, but this error can often indicate the system is out of available disk space or inodes. You can check to see if that's the case on your system with commands such as this:

Code:
df -h
df -i
If you're not near 100% usage for space or inodes, then feel free to open a support ticket so we can take a closer look at your system. You can post the ticket number here and we'll link this thread to it.

Thank you.