Home > Could Not > Apachectl Could Not Open Configuration File

Apachectl Could Not Open Configuration File

Contents

I meant to post the permissions in my initial post and completely spaced it out. Sever-sort an array How to respond to a ridiculous request from a senior colleague? I overwrote the httpd.conf file at /etc/httpd/conf directory and restart httpd service through "service httpd restart". If you run the command with sudo I bet the error goes away. have a peek at this web-site

If there are fewer than MinSpareServers, it creates # a new spare. I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. See: [email protected]:~$ grep conf.d /etc/apache2/apache2.conf Include conf.d/ share|improve this answer edited Feb 10 '15 at 9:37 Mathias Bynens 57958 answered Oct 25 '13 at 8:34 chaos 13.9k74461 add a comment| up why do they give the same output? why not try these out

Could Not Open Configuration File /etc/httpd/conf/httpd.conf No Such File Or Directory

But, it is filled with data in the http.conf. Does the same error occur for all of the following commands, please forgive me if this is erroneous syntax for centOS5. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. For these platforms, set to something like 10000 # or so; a setting of 0 means unlimited. # # NOTE: This value does not include keepalive requests after

I encounter this when I transfer (scp) httpd.conf file from my local machine to my new RHEL 6 server. I'm very excited to begin using Aegir! How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook? Could Not Open Configuration File /etc/apache2/sites-enabled Join our community for more solutions or to ask questions.

United States Copyright © Apple Inc. "could Not Open Configuration File /etc/httpd/conf.d/ssl.conf: Permission Denied" Apr 17, 2007 11:14 AM Helpful (0) Reply options Link to this post by mikemass, mikemass Apr 17, 2007 11:20 AM in response to Camelot Level 1 (0 points) Apr 17, Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. http://www.andrew-kirkpatrick.com/2013/04/could-not-open-configuration-file-usrlocalzendetcsites-dzend-default-vhost-80-conf/ But strange it shows, see output below.

You can not post a blank message. Apache2 Syntax Error On Line 219 Of Etc Apache2 Apache2 Conf Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number If you take a look in /usr/local/zend/apache2/conf/httpd.conf it may look like this: #ZEND-{D530A88D964D3928787617703831DDA9} NameVirtualHost *:80 #ZEND-{A5F00F7D0B1F44B6CEDF7CA64E576EC6} Include "/usr/local/zend/etc/sites.d/zend-default-vhost-80.conf" #ZEND-{A5F00F7D0B1F44B6CEDF7CA64E576EC6} #ZEND-{D530A88D964D3928787617703831DDA9} #ZEND-{ADBE6F7D623A36E39CB1FBD16A356D09} Include "/usr/local/zend/etc/sites.d/globals-*.conf" Include "/usr/local/zend/etc/sites.d/vhost_*.conf" #ZEND-{ADBE6F7D623A36E39CB1FBD16A356D09} One way to I am not sure if Cent OS 5 supports the apachectl syntax but give apachectl -k start a try and see if you get the same error.

"could Not Open Configuration File /etc/httpd/conf.d/ssl.conf: Permission Denied"

Thanks! http://stackoverflow.com/questions/25635896/error-on-apache-start-could-not-open-configuration-file-etc-apache2-mods-enabl I personally, really like graceful. Could Not Open Configuration File /etc/httpd/conf/httpd.conf No Such File Or Directory TrevorH also mentions the docroot, which I think is refering to selinux's default security contexts. /etc/apache2/conf.d Does Not Exist Don't forget to give your Aegir user sudo permissions for httpd.

It works on many operating systems, in many languages. Check This Out Why did Sansa refuse to leave with Sandor Cleagane (Hound) during the Battle of Blackwater? Try searching for this within your /etc/apache2/apache2.conf file to see where and provide that if you require further assistance. –Andrew Ty. Once I removed the contents, it started working. Could Not Open Configuration File /etc/phpmyadmin/apache.conf: No Such File Or Directory

Will you post svcs -a | grep apache output here ?? 0 Zoho SalesIQ Promoted by Arun Shanker S.A.M. Has my macOS Sierra system been infected by unknown users? type cat /etc/apache2/httpd.conf if you get the same error "cannot open /etc/apache2/httpd.conf" then the file may not exist. 0 LVL 6 Overall: Level 6 Apache Web Server 2 Message Expert Source LVL 30 Overall: Level 30 Apache Web Server 8 Message Accepted Solution by:Kerem ERSOY Kerem ERSOY earned 400 total points ID: 252092892009-08-28 In fact you should have your /usr/apache2/2.2/bin/apachectl you need

Log in or register to post comments Comment #8 bocaj CreditAttribution: bocaj commented September 23, 2011 at 2:39pm Status: Active » Fixed I finally got this working!! Invalid Command 'lockfile', Perhaps Misspelled Does having a finite number of generators with finite order imply that the group is finite? The default values are probably OK for most sites. # MinSpareServers 1 MaxSpareServers 2 # # Number of servers to start initially --- should be a

What is a real-world metaphor for irrational numbers?

I have already tried starting apache as all users on the system (including root). Are you starting Apache as the Aegir user or as your normal user? CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. Httpd Could Not Open Config Directory How to get your phing to print out timestamp withi...

On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # Because I need to install php and phppgadmin also on the same server. For anyone else that stumbles across this with the same issue, this is the post that I found that finally gave me the "green light": http://forums.fedoraforum.org/archive/index.php/t-106655.html. have a peek here How does ssh run a command?

be killed in the war vs be killed by the war Are zipped EXE files harmless for Linux servers? Your # machine always knows itself by this address. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, What's wrong?0before update ubunto version i get this error what need i do to fix it?0Geting Proxy error due to Apache configuration0apache doesn't restart on vagrant Hot Network Questions Why did