LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-15-2009, 10:54 AM   #1
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Rep: Reputation: 16
Apache configuration failed


hi friends
i have installed apache22 from CLI(pfexce pkg install SUNWapch22)

when i am enabling apache service it is giving below message

please help me..

Code:
srinivas@error:~$ svcs http
STATE          STIME    FMRI
maintenance    21:10:29 svc:/network/http:apache22

srinivas@error:~$ svcs -d svc:/network/http:apache22
STATE          STIME    FMRI
online         21:07:50 svc:/system/filesystem/local:default
online         21:08:00 svc:/system/filesystem/autofs:default
online         21:10:26 svc:/milestone/network:default
svc:/network/http:apache22 (Apache 2.2 HTTP server)
 State: maintenance since Wed Apr 15 21:10:29 2009
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/apache2/2.2/man -s 8 httpd
   See: http://httpd.apache.org
   See: /var/svc/log/network-http:apache22.log
Impact: This service is not running.

srinivas@error:~$ tail -n 10 /var/svc/log/network-http\:apache22.log 
Apache version is 2.2
Server failed to start. Check the error log (defaults to /var/apache2/2.2/logs/error_log) for more information, if any.
[ Apr 15 20:27:26 Method "start" exited with status 95. ]
[ Apr 15 20:45:40 Rereading configuration. ]
[ Apr 15 20:51:28 Rereading configuration. ]
[ Apr 15 21:07:31 Enabled. ]
[ Apr 15 21:10:26 Executing start method ("/lib/svc/method/http-apache22 start"). ]
Apache version is 2.2
Server failed to start. Check the error log (defaults to /var/apache2/2.2/logs/error_log) for more information, if any.
[ Apr 15 21:10:29 Method "start" exited with status 95. ]

srinivas@error:~$ tail -n 20 /var/apache2/2.2/logs/error_log 
[Wed Apr 15 19:53:48 2009] [alert] (EAI 8)node name or service name not known: mod_unique_id: unable to find IPv4 address of "opensolaris"
Configuration Failed
[Wed Apr 15 20:27:26 2009] [alert] (EAI 8)node name or service name not known: mod_unique_id: unable to find IPv4 address of "opensolaris"
Configuration Failed
[Wed Apr 15 21:10:29 2009] [alert] (EAI 8)node name or service name not known: mod_unique_id: unable to find IPv4 address of "error"
Configuration Failed

Last edited by srinivasmiriyalu; 04-15-2009 at 10:56 AM. Reason: for to add message
 
Old 04-15-2009, 01:07 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Find where apachectl is located and run:
Code:
/path/to/apachecle configtest
/path/to/apachectl -e debug
Also what's in /etc/hosts? I think that you have more that one interfaces in your system and they have the same name (opensolaris)
 
  


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
Failed to sync one or more sources: Failed to write some configuration data to disk ganeshbatwal Linux - Software 2 11-06-2008 10:05 AM
Configuration of the Administration Server failed ceci2 Linux - Server 0 07-17-2008 12:53 PM
Migrating Apache 1.3 configuration files to Apache 2 kaplan71 Linux - Software 0 03-28-2007 11:05 AM
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
Gaim configuration failed kvzrock Linux - Software 1 09-17-2003 10:14 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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