LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-21-2006, 04:21 AM   #1
lelol
LQ Newbie
 
Registered: Aug 2006
Distribution: SUSE 10.1
Posts: 5

Rep: Reputation: 0
Apache problem


When I start Apache on Suse 10.1, it's running just for a few seconds, and then immediately stops. Why is this happening, and what can I do to solve the problem?

Thanks in advance.
 
Old 08-21-2006, 04:42 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have you looked in the Apache logs (probably /var/log/httpd) to see what the access and error logs contain? Can you post information relating to the problem here?
 
Old 08-21-2006, 05:09 AM   #3
lelol
LQ Newbie
 
Registered: Aug 2006
Distribution: SUSE 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Error log content:

[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[alert] (EAI 2) Name or service not known: mod_unique_id: unable to find IPv4 address of "dceran"
Configuration Failed
 
Old 08-21-2006, 05:19 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
mod_unique_id uses the IP address of a box and the process id to generate a unique token (unique under specific circumstances). It looks like it can't resolve dceran to an IP address on your box. Is dceran the hostname? What do the following return?
Code:
dig dceran
host dceran
ping dceran
 
Old 08-21-2006, 05:36 AM   #5
lelol
LQ Newbie
 
Registered: Aug 2006
Distribution: SUSE 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
dceran is not hostname. i think it's superuser. i got that name by default, after install suse.

results of commands are:

dceran:~ # dig dceran
; <<>> DiG 9.3.2 <<>> dceran
;; global options: printcmd
;; got ansver:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45814
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION;
;dceran.
IN A
;; Query time: 2 sec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN Mon, Aug 21, 12:30:25 2006
;; MSG SIZE rcvd: 24

dceran:~ # host dceran
Host dceran not found: 2(SERVFAIL)

dceran:~ # ping dceran
ping: unknown host dceran
 
Old 08-22-2006, 03:10 AM   #6
lelol
LQ Newbie
 
Registered: Aug 2006
Distribution: SUSE 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Problem solved.

dceran wasn't host - there wasn't an entry for it in /etc/hosts file. I don't know what is dceran - i got it as a default root user when installing suse. After su root and restarting Apache everything works fine.

Thank you.
 
Old 08-22-2006, 02:08 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm glad you for it working - and thanks for posting the solution
 
  


Reply



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 2.0.51 problem izghitu Linux - Newbie 1 04-14-2006 07:41 AM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 06:32 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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