LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2012, 12:36 PM   #1
danast
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Please, help!!! I broke a box and can't get apache2 to work again


Hi,

sorry if this is a newby question, but all research didn't help. I did a lot of things to a proxmox installation and now apache2 no longer launches. I am not sure what broke it of the things I did. So proxmox has this webgui and the webserver doesn't launch, when I try to launch it manually, I get the following error:

root@master:/usr/lib# /etc/init.d/apache2 start
Starting web server: apache2apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load: Cannot load /usr/lib/apache2/modules/mod_ssl.so into server: /usr/lib/libssl.so.0.9.8: symbol pqueue_size, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 with link time reference
Action 'start' failed.
The Apache error log may have more information.
The error log of apache doesn't say much though, just that it's a segfault(11). I cannot reinstall this box from scratch easily, and it's located remotely. From all I found it seems some libcrypto is not linked correctly where it should with softlinks, but I don't know where or how. ssh still works btw.

Please, help?

P.S.: Edited: sorry for the title, I'm a little headless here.

Last edited by danast; 11-22-2012 at 12:44 PM. Reason: Stupid title
 
Old 11-22-2012, 02:00 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello danast, welcome to LQ,

I think I cannot help here. But could you please describe how this happened? I mean how it happened that the machine broke?

The two errors you describe, namely the "error in line ??? of any conf file" and a segfault in the logfile may have different reasons.

Could you please in more detail what happened?

Markus
 
1 members found this post helpful.
Old 11-22-2012, 09:07 PM   #3
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Starting web server: apache2apache2: Syntax error on line 203 of /etc/apache2/apache2.conf:

Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load: Cannot load /usr/lib/apache2/modules/mod_ssl.so into server: /usr/lib/libssl.so.0.9.8: symbol pqueue_size, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 with link time reference
Action 'start' failed.


You have answer in question itself ,Apache fails to start because mod_ssl is missing .Check whether you had mod_ssl installed .

If you want apache to start without ssl

Comment Line 1 : /etc/apache2/mods-enabled/ssl.load
Comment Line 203 : /etc/apache2/apache2.conf

Try out whether you could able to start apache without mod_ssl .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updates broke apache2 Alan87i Linux - Server 2 11-24-2011 07:06 PM
Debian unstable - apt-get upgrade broke apache2 GT_Onizuka Debian 3 10-10-2006 07:06 PM
Help setting up Apache2 on Ubuntu box BoardinBum Linux - Software 16 05-15-2006 04:45 PM
how did he broke my box? redd Linux - Security 25 06-01-2005 03:36 PM
tried installing apache2 and broke apace? cgchris99 Linux - Software 1 04-19-2004 12:34 AM


All times are GMT -5. The time now is 06:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration