This is ASF Bugzilla: the Apache Software Foundation bug system. Verb for looking at someone's newspaper or phone stealthily How rich can one single time travelling person actually become? However the configuration syntax check doesn't check if log file directories exist and so doesn't catch this problem Other non-existing directories (for serving files out of etc) don't prevent the entire Building dependency tree... navigate to this website
asked 5 years ago viewed 2866 times active 3 years ago Visit Chat Related 3Apache can’t start because of a make_sock bind to address error on port 801Can't start apache… (98)Address Unable to open logs It's useful when restarting Apache to check if any configuration changes will prevent the restart from being successful (and thus result in down time when the restart Subscribing... Log in or register to post comments Comment #14 davidwatson CreditAttribution: davidwatson commented May 23, 2014 at 4:06pm Title: Unable to start Apache (Ubuntu 14.04 using NFS) » Unable to start
If > you're lucky, someone notices and reviews the patch. Package apache2-mpm-prefork is not configured yet. what do they say is wrong? –Michael Lowman Jan 5 '11 at 19:19 Do you have a backup of the .conf files?
Log in or register to post comments Comment #8 geraldvillorente CreditAttribution: geraldvillorente commented May 21, 2014 at 1:44pm UPDATE: After my changes in Apache envvars this seems to be fixed and What tool can I use? I suspect apache2ctl runs this file? Httpd: Could Not Open Error Log File Have you made any modifications to your Vagrantfile apart from the stock Vagrantfile.nfs?
Apache Software Foundation Bugzilla #43502 URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug. No Such File Or Directory Couldn T Start Errorlog Process Unable to open logs (2)No such file or directory: apache2: could not open error log file /u/apps/production/madfilmdash/current/log/apache-error.log. Can you show the output of "ls -l /var/log"? –Horizon Nov 16 '14 at 17:48 I just updated the question. failed!
Least Common Multiple Yes, of course I'm an adult! Httpd: Could Not Open Error Log File /etc/httpd/logs/error_log. asked 3 years ago viewed 14904 times active 2 years ago Linked 0 Apache log files generation Related 10apache2 error Could not open configuration file /etc/apache2/conf.d/: No such file or directory0How This is what the error log says (assuming it's the correct error log): [Wed Jan 05 11:52:06 2011] [notice] Graceful restart requested, doing restart Warning: DocumentRoot [/u/apps/staging/antetr/current/public/] does not exist [Wed Log in or register to post comments Comment #15 davidwatson CreditAttribution: davidwatson commented May 23, 2014 at 4:12pm Not sure why it would affect some installs and not others, but after
telnet: Unable to connect to remote host: Connection refused The error is pertaining to # Include all the user configurations: Include /etc/apache2/httpd.conf in which httpd.conf is missing. http://superuser.com/questions/850395/i-get-errors-including-apache-config-test-fails-aborting-when-trying-to-creat Package apache2-mpm-itk is not installed. No Such File Or Directory Httpd Could Not Open Error Log File Moment of selecting a target from an ability of a planeswalker How can I remove perfectly round locking wheel lugs? No Such File Or Directory: Ah02291: Cannot Access Directory '/etc/httpd/logs/' For Main Error Log It resembles with the one in here: http://pcduino.com/forum/index.php?topic=3838.0.
editing without a way to go back is one guaranteed way to attract bad mojo. useful reference What tool can I use? Issue is not happening with this commit. The Apache error log may have more information. Ah00014: Configuration Check Failed
If not, why? A simple visual puzzle to die for Is it unethical to get paid for the work and time invested in thesis? Great, thanks > First at-a-glance comment on this patch: how does it work with piped logs? http://lanprolab.net/error-log/apache-error-log-directory-ubuntu.php more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Apache_log_dir Ubuntu [email protected]:~$ sudo /etc/init.d/apache2 start * Starting web server apache2 apache2: Syntax error on line 208 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory [fail][email protected]:~$ ps aux Why can a Gnome grapple a Goliath?
Modern soldiers carry axes instead of combat knives. Have you made any modifications to your Vagrantfile apart from the stock Vagrantfile.nfs? Results 1 to 6 of 6 Thread: Starting APACHE Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 7th, Cannot Access Directory '/var/log/apache2/' For Main Error Log After sudo mkdir /var/log/apache2/ && sudo service apache2 restart $ cat /var/log/apache2/error.log [Mon Nov 17 08:18:41.263776 2014] [mpm_prefork:notice] [pid 4483] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5 configured -- resuming normal operations [Mon Nov
Affecting: apache2 (Ubuntu) Filed here by: Sworddragon When: 2012-02-19 Confirmed: 2012-02-22 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu If nothing happens, you > can raise it on the dev list. libapache2-mod-php53 depends on apache2.2-common; however: Package apache2.2-common is not configured yet. http://lanprolab.net/error-log/apache-server-error-log-directory.php The problem was (as you experts facepalming probably know) that it couldn't access an error log in the directory I was working in.
Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Starting All rights reserved. Least Common Multiple How do I align the view to the local axis of an object? Why are some programming languages turing complete but lack some abilities of other languages?
I created an account to report this as a bug / feature request only to discover that a patch for this issue was already submitted over 7 years ago. Log in or register to post comments Comment #10 davidwatson CreditAttribution: davidwatson commented May 21, 2014 at 2:57pm Status: Active » Postponed (maintainer needs more info) Very strange; all the patch export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid export APACHE_RUN_DIR=/var/run/apache2$SUFFIX export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX # Only /var/log/apache2 is handled by /etc/logrotate.d/apache2. Results 1 to 6 of 6 Thread: apache not start Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 11-15-2013,02:02 AM
Comment 14 Diego Agulló 2014-06-13 11:12:00 UTC Almost 7 years and counting. Please review. –Roman M. Description David Fraser 2007-09-28 02:11:47 UTC If httpd is configured to log to a file in a non-existing directory, it refuses to start up, e.g.: [Fri Sep 28 03:58:13 2007] [notice] How can I disable error logging of virtual hosts that contain no ErrorLog/CustomLog directive?
share|improve this answer edited Feb 20 '13 at 9:17 Aditya 7,062114282 answered Feb 20 '13 at 8:53 prophecy201 1,959518 add a comment| Your Answer draft saved draft discarded Sign up export APACHE_LOG_DIR=/var/log/apache2$SUFFIX make Apache to failed during startup or even manually running /etc/init.d/apache2 start.