LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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, 04:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,220
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Hi,

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

Regards
 
Old 07-10-2010, 07: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 03:20 PM
Segmentation fault (11) with Debian Lenny and Apache dEM0nsTAr Linux - Server 1 11-15-2009 09:22 AM
Apache, DynDns, WebHop with Debian (lenny) KrazyKanuk Linux - Software 0 05-02-2009 01:50 AM
problems with ndiswrapper on a dell 1501 running debian lenny azurblackburn Linux - Laptop and Netbook 3 10-26-2008 04:24 AM
Running Opera in Debian Lenny on AMD-64 jlinkels Linux - Software 1 05-07-2008 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 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
Open Source Consulting | Domain Registration