Error Writing /usr/sbin/apachectl Permission Denied
Contents |
Unanswered Index »Help & Support (Crunchbang 11 "Waldorf") »Directory Permissions - apache2/usr/sbin/apache2ctl: 87: ulimit Pages: 1 #1 2014-10-16
Starting Httpd Httpd Could Not Open Configuration File /etc/httpd/conf/httpd.conf Permission Denied
06:39:39 jflight Member From: South Africa Registered: 2014-08-30 Posts: 10 Website Directory could not open configuration file /etc/httpd/conf/httpd.conf no such file or directory Permissions - apache2/usr/sbin/apache2ctl: 87: ulimit System Information:Linux crunchbang 3.2.0-4-486 #1 Debian 3.2.60-1+deb7u3 i686Database Version 5.5.38-0+wheezy1Database Collation /usr/sbin/apache2ctl: 87: ulimit: error setting limit (operation not permitted) utf8_general_ciPHP Version 5.4.4-14+deb7u14Web Server Apache/2.2.22 (Debian)WebServer to PHP Interface apache2handlerJoomla! Version Joomla! 2.5.24 Stable [ Ember ] 25-July-2014 13:00 GMTJoomla! Platform Version Joomla Platform
How To Disable Selinux Centos
11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMTUser Agent Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140723 Firefox/24.0 Iceweasel/24.7.0 I have tried with joomla 3 and the same thingmy first site on localhost is perfect works like a charm, so im trying to load a second site in the var/www folder called virtualmart "but it could be anything".I
Cassandra Ulimit Error Setting Limit (operation Not Permitted)
have set the permisions to max with* soft nofile 8192* hard nofile 8192and this did not help!after the joomla installation it could't creat the config.php file or remove the installation folder?service apache2 reload Reloading web server config: apache2/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action 'graceful' failed. The Apache error log may have more information. failed!It seems that the apache server is somehow blocking me from the site here is the output of FPA:[quote="Forum Post Assistant (v1.2.4) : 15th October 2014"][quote="Basic Environment ::"][size=85][color=#000000][b]Joomla! Instance :: [/b][/color][color=orange]Not Found[/color] [b]Joomla! Configured :: [/b][b]Host Configuration :: [/b][/color] [b]OS:[/b] Linux | [b]OS Version:[/b] 3.2.0-4-486 | [b]Technology:[/b] i686 | [b]Web Server:[/b] Apache/2.2.22 (Debian) | [b]Encoding:[/b] gzip, deflate | [b]Doc Root:[/b] /var/www | [b]System TMP Writable:[/b] [color=#008000]Yes[b]PHP Configuration :: [/b][/color] [b]Version:[/b] [b]5.4.4-14+deb7u14[/b] | [b]PHP API:[/b] [color=orange]apache2handler | [b]Session Path Writable:[/b] Yes | [b]Display Errors:[
enter a title. You can not post a blank message. Please type your message and try again. This discussion is locked Mathias Dubois Level 1 (140 points) Q: Can't start httpd/apache on macbook This is an odd problem which I imported from turn off selinux my Titanium to my Macbook: I can't start personal web sharing. When I do in
Chcon
the control panels, it seems to load endlessly. httpd.conf seems to be ok, as a "httpd -t" returns that syntax is ok."httpd -k no listening sockets available, shutting down graceful" returns this:httpd not running, trying to start(13)Permission denied: httpd: could not open error log file /Library/Apache2/logs/error_log.Unable to open logsan "httpd -E" puts out an error file containing this message:(13)Permission denied: make_sock: could not bind to address http://crunchbang.org/forums/viewtopic.php?id=37380 0.0.0.0:80no listening sockets available, shutting downUnable to open logscan anybody help?Thanks: Mathias MacPro, iMac G5, Macbook, Quicksilver G4, iPod Nano2, Mac OS X (10.4.10), ...Mac Plus 4MB Posted on Aug 19, 2007 2:55 AM I have this question too Close Q: Can't start httpd/apache on macbook All replies Helpful answers by Camelot, Camelot Aug 19, 2007 11:37 AM in response to Mathias Dubois Level 8 (47,337 points) Mac OS X Aug 19, 2007 11:37 https://discussions.apple.com/thread/1091804?start=0&tstart=0 AM in response to Mathias Dubois Well, the obvious issue is the fact that you've installed Apache 2.Mac OS X ships with Apache 1.3 so you're operating outside of the normal bounds. That's not to say you can't do it - you can, but you cannot assume that the OS knows what to do with it - for example, the preferences assume 1.3.As for your issue, the log seems to clearly indicate what the problem is:(13)Permission denied: httpd: could not open error log file /Library/Apache2/logs/error_log.Either the directory /Library/Apache2/logs/ doesn't exist, or apache doesn't have permission to write to it.The OS isn't going to fix that for you since it knows nothing of /Library/Apache2. The standard location for apache logs is /var/log/httpd Helpful (0) Reply options Link to this post by Mathias Dubois, Mathias Dubois Sep 16, 2007 4:57 AM in response to Camelot Level 1 (140 points) Sep 16, 2007 4:57 AM in response to Camelot Hm, OK, I understand. Meanwhile, I figured out somehow how to get a setup where I can, at least, start Apache2 via the terminal. I wish I had better understanding of what is going on on my Mac :/ Helpful (0) Reply options Link to this post by Simon2.3, Simon2.3 Oct 24, 2007 6:42 AM in response to Mathias Dubois Level 1 (20 points) Oct
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes Hostmaster (Aegir)Issues Could not open configuration file https://www.drupal.org/node/1286926 /etc/httpd/conf.d/aegir.conf: Permission denied Closed (fixed)Project:Hostmaster (Aegir)Version:6.x-1.4Component:DocumentationPriority:NormalCategory:Support requestAssigned:UnassignedReporter:bocajCreated:September 21, 2011 - 23:06Updated:October 21, http://serverfault.com/questions/590012/why-cant-apache-create-log-files 2011 - 22:50 Log in or register to update this issue I am trying to get Aegir working on CentOS 5. I followed the manual instructions and everything was going well until I tried to start apache. When I run the command: /sbin/service httpd start I get permission denied the following error: Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf.d/aegir.conf: Permission denied I have been all over the Internet trying to find out what I'm doing wrong and I cannot find anything that has helped me solve this. I have tried different permission settings and I cannot get anything to could not open work with that either. I have also tried wiping everything and reinstalling everything using the manual process and I go through everything just fine, until I try to start the httpd service. If I remove the symlink mentioned in the manual then I can start the httpd service fine and I get the Apache test page showing in my browser. However, I'd really like to get Aegir working. Does anyone have any advice/tips for me to get this working? Thanks! Comments Comment #1 Steven Jones CreditAttribution: Steven Jones commented September 22, 2011 at 6:23am Odd, what are the permissions on the synlinked file, i.e. could you post the results of: ls -l /var/aegir/config/apache.conf and ls -l /var/aegir/config/server_master/apache.conf Log in or register to post comments Comment #2 bocaj CreditAttribution: bocaj commented September 22, 2011 at 12:52pm Hi Steven, Thanks for your quick response! I meant to post the permissions in my initial post and completely spaced it out. Here is what you requested: ls -l /var/aegir/config/apache.conf lrwxrwxrwx 1 aegir aegir 43 Sep 21 10:59 /var/aegir/config/apache.conf -> /var/aegir/config/server_m
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Why can't apache create log files? up vote 1 down vote favorite I have a simple LAMP stack on CentOS setup. Apache is setup with vhosts and each developer has their web files inside their user folder. The directory structure is like so (for the user test): /home/test |_ apache |_ domain1.com |_ backups |_ conf |_ vhost.conf |_ logs |_ errors.log |_ images.log |_ web.log |_ private |_ public The vhost config is in the vhost.conf file. The log files in logs don't exist when the config is first setup, and this throws an error with apache when I run service httpd restart: (13)Permission denied: httpd: could not open error log file /home/test/apache/domain1.com/logs/error.log. Unable to open logs I tried running httpd -X as root and it created the log files (with root ownership/group). I thought it would be a case of making sure that the files are there, with group set as apache and writeable (so I don't have to make the whole directory belong to apache group and writeable), but this confuses me: [root@dev logs]# ls -al total 16 drwxr-xr-x. 2 test developers 4096 Apr 18 21:02 . drwxr-xr-x. 8 test developers 4096 Apr 18 20:25 .. -rw-r--r--. 1 test developers 1818 Apr 18 21:02 error.log -rw-r--r--. 1 test developers 14 Apr 18 20:25 .gitignore -rw-r--r--. 1 test developers 0 Apr 18 20:54 image.log [root@dev logs]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [FAILED] [root@dev logs]# touch web.log [root@dev logs]# chown test:developers web.log [root@dev logs]# service httpd restart Stopping httpd: [FAILED] Starting httpd: [ OK ] I'm confused because apache runs as user apache and shouldn't have write access on the logs, should it? In fact, I can even do