LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2004, 06:25 AM   #1
n0x
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 9.1
Posts: 13

Rep: Reputation: 0
Angry Starting apache (Slackware)


i am having serious trouble with apache

i have:

root@Asylum:/usr/sbin# apachectl start
/usr/sbin/apachectl start: httpd could not be started


AND


root@Asylum:/# ./etc/rc.d/rc.httpd start
/usr/sbin/apachectl start: httpd could not be started



it just says that no matter what.... any idea will be appreciated
 
Old 05-01-2004, 07:30 AM   #2
rkef
Member
 
Registered: Mar 2004
Location: bursa
Posts: 110

Rep: Reputation: 15
Is there any info in /var/log/apache?
 
Old 05-01-2004, 07:43 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Try using apachectl configtest

And it will print out why apache won't start, etc. Also make sure its not already running.
 
Old 05-01-2004, 08:06 AM   #4
n0x
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
hmm


[Sat May 1 22:20:46 2004] [alert] mod_unique_id: unable to gethostbyname("Asylum")


when i was installing slack. i accidentalyl set Asylum as the hostname or sumfin


i have no clue what it was... or how to change it.......
 
Old 05-01-2004, 08:13 AM   #5
rkef
Member
 
Registered: Mar 2004
Location: bursa
Posts: 110

Rep: Reputation: 15
I suppose you could add Asylum to your /etc/hosts file (make it resolve to your ip address), or use the hostname(1) command.
 
Old 05-01-2004, 08:46 AM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Not sure if this is your case, but I was running Slack 9.0 and I decided to upgrade it through swaret. For some reason, it also killed apache returning the same error message as yours. Downgrading to Slack 9.0 fixed the problem. Odd... try installing Apache package from Slack 9.0 and see if you are able to start it.(you can download at their page)

Good luck!
 
Old 05-23-2004, 12:04 PM   #7
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
Question

hay all

i had the same problem until i removed my virtual host

the apache started like always

hope this might help

laterz
:d
 
  


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
apache not starting ilnli Linux - General 1 06-29-2005 05:15 AM
Apache not starting... noteventime Linux - Software 2 03-11-2005 05:34 PM
Apache not starting up! vmnrao Linux - General 7 09-06-2004 06:14 PM
Starting Apache mattp Slackware - Installation 5 03-14-2004 10:58 PM
Apache not starting athompso Linux - Software 1 11-15-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:36 PM.

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