LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-10-2010, 02:14 AM   #1
JudasIscariot1651
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Apache not running, after installing on debian lenny


Hi

I just installed apache2 on my VPS (running Debian 5 (lenny)). Problem is that when i start apache2 nothing happens.

Code:
ps ax |grep apache
and
Code:
ps ax |grep httpd
returns only the grep process itself, and
Code:
lynx localhost
returns:

Code:
Looking up localhost first
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
same thing with the public IP address. Anyone have ideas? I'm kinda n00bish when it comes to troubleshooting on linux, so i'm stuck, please help me
 
Old 07-10-2010, 03:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,738

Rep: Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586
Hi,

Take a look at /var/log/apache2/error.log, to see if you find what the problem is

Regards
 
Old 07-10-2010, 06:05 AM   #3
JudasIscariot1651
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
The error.log said "Cannot allocate memory" and then apache exited. Installed the apache2-mpm-prefork package and now it works again

Thanks for leading me on
 
  


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
LXer: Why I'm running boring ol' Debian Lenny, Part 1 LXer Syndicated Linux News 0 12-25-2009 02:20 PM
Segmentation fault (11) with Debian Lenny and Apache dEM0nsTAr Linux - Server 1 11-15-2009 08:22 AM
Apache, DynDns, WebHop with Debian (lenny) KrazyKanuk Linux - Software 0 05-02-2009 12:50 AM
problems with ndiswrapper on a dell 1501 running debian lenny azurblackburn Linux - Laptop and Netbook 3 10-26-2008 03:24 AM
Running Opera in Debian Lenny on AMD-64 jlinkels Linux - Software 1 05-07-2008 06:00 AM


All times are GMT -5. The time now is 08:46 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