Home > Permission Denied > Permission Denied Cannot Create Sslmutex With File

Permission Denied Cannot Create Sslmutex With File

Now we're down to this minimalist error: $ service httpd start Starting httpd: [FAILED] The error log contained this line: [Mon Mar 19 14:11:14 2012] [error] (2)No such file or directory: If I then use the ./ctlscript.sh script in the terminal with sudo, I can start Apache. apache-2.2 ssl selinux centos6.4 share|improve this question edited Oct 18 '13 at 6:05 David Houde 2,5221717 asked Oct 18 '13 at 4:42 ddjammin 184 -1 purely for lack of Why are wavelengths shorter than visible light neglected by new telescopes? have a peek here

but GID 33 is already taken in CentOS. All Rights Reserved. Login to your cPanel server via SSH as root and rename the above file. [[email protected] ~]# mv /usr/local/apache/logs/ssl_mutex /usr/local/apache/logs/ssl_mutex.bakkk Now try to start apache [[email protected] ~]# service httpd start OR [[email protected] Ciao, Dino. http://serverfault.com/questions/546888/apache-will-not-stop-start-gracefully

Specializzazioni: linux, architettura [...] Linkedin RecommendationsQ&A Stack Overflow Total Answered: 139 138 MySQL: Enable LOAD DATA LOCAL INFILE 25th May 12 91 How to remove MySQL completely with config and library I would have happily done it at your request. Yesterday I've rebooted and then I cannot get httpd and dovecot to run: I'm running the latest versione of DA and CentOS, please help me because I cheked files and they Tags: apache, problem, server, solaris, sysadmin, unixFiled in Open source, Sysadmin pills with 0 Comments « Never say the truth to job interviews How to check SSL/TLS protocol for a given

But then, the installer made a change to that file, it added the name of my machine to the host file, like " name_of_machine". Contrast that with Ubuntu freezing every two weeks or so. I do not want to run it with selinux disabled. I would prefer to find the root cause of the problem and fix it. –ddjammin Oct 18 '13 at 6:27 add a comment| Your Answer draft saved draft discarded Sign

I decide I will never use it that way, and change the group name to www-data. And what miseld me is that it started fine. I checked the apache error logs in /usr/local/apache/logs/error_log and saw the below error.[[email protected] ~]# tail -f /usr/local/apache/logs/error_log [Fri Oct 10 01:32:40 2014] [error] (17)File exists: Cannot create SSLMutex with file `/usr/local/apache/logs/ssl_mutex'¬†Configuration I modified my /etc/init.d/httpd file: #pidfile=${PIDFILE-/var/run/httpd/httpd.pid} pidfile=${PIDFILE-/var/run/apache2.pid} #lockfile=${LOCKFILE-/var/lock/subsys/httpd} lockfile=${LOCKFILE-/var/lock/subsys/apache2} Believe it or not, this worked.

Hope it helps. This is a production server that I am trying to keep as secure as possible. It is: $ service httpd start Starting httpd: Syntax error on line 218 of /etc/apache2/apache2.conf: Unrecognized LogFormat directive %O [FAILED] where line 218 is as recorded above. So I create a www-data user as userid 33, gid 33 because that's how it was under ubuntu.

After the mysql migration I find the performance to be sub-par - about twice as slow as it was on Ubuntu. http://forum.directadmin.com/showthread.php?t=42653 Results 1 to 12 of 12 Thread: Httpd and Dovecot do not start after reboot Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch If anybody else can explain the reason why SElinux conflicted only after a system reboot, after 6 months of regular running, will be appreciated! If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.

Downgrading the question wasn't necessary. –ddjammin Oct 18 '13 at 5:22 Thanks for fixing it up...I've removed the downvote. –EEAA♦ Oct 18 '13 at 15:08 add a comment| 2 navigate here I switched to using the service command and that particular error seemed to go away at some point. I don't recall this part so well. I also noticed that a httpd.pid file is not created even though it is configured in the main conf file.

What is this line of counties voting for the Democratic party in the 2016 elections? I am hoping to fix it without hacking. It says httpd could not be started. Check This Out I think I tried this from the command line: $ apachectl -d /etc/apache2 -f apache2.conf -k start and it may be at that point that I got the MPM workers error.

HTTPD was running fine until I tried to add the ssl configuration. Build me a brick wall! Why is Professor Lewin correct regarding dimensional analysis, and I'm not?

All rights reserved.

FIX : I did the below steps to fix this error and the httpd service was running fine. With regards, Alex. ✔ Professional Server Management for web hosting companies and individuals ✔ Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription ✔ Directadmin installation and optimization Click here if you A listing of /home looks kind of like this: /home$ ll total 12 drwx------ 2 drj drj 4096 Mar 19 15:26 drj/ ... This entry was posted in Admin, Apache, CentOS, Linux, Web Site Technologies and tagged bitnami, permissions, ubuntu.

Required fields are marked * Name * Email * Website − 2 = one Comment You may use these HTML tags and attributes: In any case, it should be set to 0 either way. Note that it is also compiled into to apache2, but missing from httpd. http://amigasuperbit.com/permission-denied/qt-creator-cannot-create-file-permission-denied.html It started up OK initially.