This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Apache Wont Start
#1
Apache Wont Start
Hi all,

I have a server on digital ocean.

When i try to start apache i get this error

root@panel:~# service apache2 start
* Starting web server apache2                                                   *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf: Syntax error on line 35 of /etc/sentora/configs/apache/httpd.conf: Syntax error on line 69 of /etc/sentora/configs/apache/httpd-vhosts.conf: Expected </Directory> but saw </virtualhost>
Action 'configtest' failed.
The Apache error log may have more information.

Now when i try to access the above files from putty it says permission denied.

Thanks,

Ryan
Reply
Thanks given by:
#2
RE: Apache Wont Start
remove the override you added (likely for SSL). Let me guess you tried some override for SSL or custom vhost settings?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Apache Wont Start
(03-03-2015, 11:21 PM)Me.B Wrote: remove the override you added (likely for SSL). Let me guess you tried some override for SSL or custom vhost settings?

M B

Even Problem was not a solution, my sentora died without doing anything. simply stopped working


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#4
RE: Apache Wont Start
For sure you didn't remove it correctly send apache config files here in

/etc/sentora/config/apache

So we can help you at least fix the problem you created.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Apache Wont Start
(03-19-2015, 07:27 AM)Me.B Wrote: For sure you didn't remove it correctly send apache config files here in

/etc/sentora/config/apache

So we can help you at least fix the problem you created.

M B

Hi, i'm having the same issue. I was trying to set apache to alow me to execute a .htaccess file and to do so I followed this thread: http://forums.sentora.org/showthread.php...4#pid11304
then when I tried to run this command line: 

Code:
[color=#c7254e][size=small][font=Monaco, Consolas, Courier, monospace]sudo service apache2 restart[/font][/size][/color]

My appached completly stopped and I am not able to access sentora panel.
Can you help?
Reply
Thanks given by:
#6
RE: Apache Wont Start
Remove your changes or use your backup files (which you should have made before making any changes just in case something like this happened) and it should come right back up.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#7
RE: Apache Wont Start
(07-17-2015, 02:56 AM)TGates Wrote: Remove your changes or use your backup files (which you should have made before making any changes just in case something like this happened) and it should come right back up.

I did not make any backup Sad
Do you have any backup tutorial to guide me? I'll reinstall everything.
Reply
Thanks given by:
#8
RE: Apache Wont Start
For small changes like this, it's always good to make a copy of the file you are editing Wink
You do not have to backup everything.
A re-install will definitely fix it  Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: marcilioqsj


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 15 ,945 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,340 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 4 ,581 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)