Apache2 Syntax Error On Line 227
Contents |
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 answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn
Ah00526 Syntax Error On Line 74 Of Etc Apache2 Apache2 Conf
more about Stack Overflow the company Business Learn more about hiring developers or apache syntax error on line posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer apache php syntax error site for Ubuntu users and developers. 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
/etc/apache2/conf.d/ No Such File Or Directory
to the top apache2 error Could not open configuration file /etc/apache2/conf.d/: No such file or directory up vote 10 down vote favorite I have just upgraded my Ubuntu 13.10 and apache2 is not working. When I try to start the apache2 server it is printing following errors: * Starting web server apache2 * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 263 of /etc/apache2/apache2.conf:
Could Not Open Configuration File /etc/apache2/httpd.conf: No Such File Or Directory
Could not open configuration file /etc/apache2/conf.d/: No such file or directory Action 'configtest' failed. apache2 share|improve this question edited Oct 25 '13 at 9:24 minerz029 12.8k84479 asked Oct 25 '13 at 6:54 Sundar Elumalai 51113 add a comment| 7 Answers 7 active oldest votes up vote 9 down vote It was the same for me. After I created the conf.d folder still apache2 won't start. I was able to solve with this solution: http://askubuntu.com/a/368542/212040 Basically replacing this line LockFile ${APACHE_LOCK_DIR}/accept.lock with this one Mutex file:${APACHE_LOCK_DIR} default in the apache2.conf file. share|improve this answer answered Nov 6 '13 at 15:42 reloj 912 Same problem, but not sure it was after the update or adding Xfce environment, also worked for me. Thanks. –mins Apr 2 '14 at 19:34 add a comment| up vote 4 down vote When creating symbolic links make sure to use absolute paths Instead of: ln -s ./conf-available/mysite.conf ./conf-enabled/mysite.conf You should use : ln -s /etc/apache2/conf-available/mysite.conf /etc/apache2/conf-enabled/mysite.conf share|improve this answer edited Oct 21 '14 at 7:31 Luís de Sousa 5,999143566 answered Oct 21 '14 at 7:03 Bram Verstraten 862 A relative path from the available directory does it as well (and is how Apache sets up the initial symlinks itself): cd c
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful /etc/apache2/conf.d does not exist Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu
Could Not Open Configuration File /etc/httpd/conf/httpd.conf Permission Denied
Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Apache could not open configuration file /etc/apache2/sites-enabled restart problem Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 9 of 9 Thread: Apache restart problem Thread http://askubuntu.com/questions/365454/apache2-error-could-not-open-configuration-file-etc-apache2-conf-d-no-such-fi Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode November 4th, 2010 #1 arju305 View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Oct 2010 Location kathmandu,Nepal Beans 52 Apache restart problem Guys. When ever i restart the apache server, I get an error message. $sudo /etc/init.d/apache2 restartapache2: Syntax error on line 227 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/aegir.conf: Could https://ubuntuforums.org/showthread.php?t=1613290 not open configuration file /etc/aegir/vhost.d/: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail! Can you tell me how this can be solved. Adv Reply November 5th, 2010 #2 ubudog View Profile View Forum Posts Private Message Visit Homepage Ubuntu Member Join Date Jan 2009 Location South Carolina BeansHidden! DistroUbuntu 14.04 Trusty Tahr Re: Apache restart problem Can you try this and see if it works? Code: sudo service apache2 restart Adv Reply November 5th, 2010 #3 arju305 View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Oct 2010 Location kathmandu,Nepal Beans 52 Re: Apache restart problem Originally Posted by ubudog Can you try this and see if it works? Code: sudo service apache2 restart Both the command are same. And I have the same problem. Same error repeated. I have never faced such a thing. Adv Reply January 19th, 2011 #4 yargy View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jun 2010 Beans 1 Re: Apache restart problem Hey I had the same issue and it I believe is caused when Aegir(for drupal) has not been fully installed. In the Aegir installation you are supposed to create a symbolic link to that file but if the installation doesn't finish then the file to be linked to never is crea
Best Of... Unanswered Categories All Categories 5.6KGeneral 559 Getting Started 3 Intergalactic Hang Out 107 AlienVault Labs 398 Security 101 28 AlienVault USM 4.5K Deployment Architecture 844 Installation 656 Updates & Upgrades 312 https://www.alienvault.com/forums/discussion/2716/error-apache2-syntax-error-on-line-36-etc-apache2-sites-enabled-alienvault-api-com Logger 154 Server / Console 629 Sensor 1.5K Reporting 141 Release Notes 51 Documentation & http://stackoverflow.com/questions/16634466/phpmyadmin-conf-and-apache-conf-missing How-to Guides 45 Feedback & Feature Requests 45 Security Advisory 30 Plugins 36 OSSIM (open source) 482 Deployment Architecture 74 Installation 92 Updates & Upgrades 44 Logger / Sensor 122 Server / Console 40 Correlation Help 32 Reporting 12 Release notes 7 How-to Guides 27 Feedback & Feature Requests 25 Security Advisory 7 Installation 6 Reporting 1 syntax error Documentation & How-to Guides 4 Release notes 2 Feedback & Feature Requests 0 Security Advisory 0 Open Threat Exchange (OTX) 72 General 64 How-to Guides 5 Feedback & Feature Requests 3 New Release! AlienVault v5.3 is now available for OSSIM and USM. Learn moreThanks for visiting the AlienVault Technical Forum! We recently launched some improvements. Learn more... error apache2 syntax error on line 36 /etc/apache2/sites-enabled/alienvault-api.com taub5bs taub5bs Big Time Roles Member Joined December syntax error on 2013 | Visits 13 | Last Active May 2014 12 Points Message Big Time Message May 2014 in Updates & Upgrades hi ,i get this errorapache2 syntax error on line 36 /etc/apache2/sites-enabled/alienvault-api.comSSLCertificateFile: file '/var/ossim/ssl/local/cert_local.pem ....i check is exist but the file is empty ...the os is vmware 5.5 ,Are there any ideas what the problem is?It worked for me until yesterday and right now after Editvmware 5.5I can not open the browserthank you . Tagged: sslcertificatefile Share post: Best Answers PacketInspector May 2014 Answer ✓ do you have other directories under /var/ossim/ssl/ ? PacketInspector May 2014 Answer ✓ Not sure why my answer was rejected as you just found the problem. Notice the local symlink is pointing to the wrong uuid? Correct that and you should be good to go. PacketInspector May 2014 Answer ✓ Okay lets try this again. Here is your ls output. Note your symlink is wrong. It's not matching the uuid of the dmidecode command. drwxr-xr-x 3 root root 20480 May 7 10:32 564d9615-6de4-e284-9c6e-17f363a9d156drwxr-xr-x 3 root root 4096 May 12 10:29 dede03ad-f7ca-3f22-9e4f-354426248800lrwxrwxrwx 1 root root 51 Apr 29 00:58 local -> /var/ossim/ssl/dede03ad-f7ca-3f22-9e4f-354426248800 PacketInspector May 2014 Answer ✓ cd /var/ossim/sslrm localln -s /var/ossim/564d9615-6de4-e284-9c6e-17f363a9d156 localNot sure of the cause yet. PacketInspector May 2014 Answer ✓ The same log you pasted from origi
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 Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up phpmyadmin.conf and apache.conf missing up vote 4 down vote favorite 3 When trying to start apache with sudo /etc/init.d/apache2 restart I get the error apache2: Syntax error on line 260 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/phpmyadmin.conf: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail! What should I do? When reading on the internet I should also have a file called apache.conf in /etc/phpmyadmin but I don't. ubuntu phpmyadmin apache2 share|improve this question asked May 19 '13 at 12:04 TheMeisterSE 2701524 I do not have any sample files. Currently, no matter how I change things it is either apache.conf missing in phpmyadmin or phpmyadmin.conf missing in apache2/conf.d –TheMeisterSE May 19 '13 at 13:19 help.ubuntu.com/10.04/serverguide/phpmyadmin.html packages.debian.org/experimental/all/phpmyadmin/filelist –Piotr Wadas May 19 '13 at 16:18 ubuntuforums.org/archive/index.php/t-1613290.html –giannis christofakis Aug 6 '13 at 21:00 I'm having the same problem, and I'm not using php at all. It seems to me that having a php admin file shouldn't be necessary just to run the server. –blaineh Oct 28 '13 at 1:20 @PiotrWadas shouldn't be dismissing this problem. Not everyone in the world is using only php with their apache instance. –blaineh Oct 28 '13 at 1:22 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote Just ran into this issue on Debian 7, installer and dpkg-reconfigure phpmyadmin create a broken link "/etc/apache2/conf.d/phpmyadmin.conf" which points