I believe when you disable nwam you should inversely enable
network/physical:default. If you don't, you'll encounter a lot of
frustration after you reboot when your default routes aren't recognized
along with other network settings.

"svcadm enable network/physical:default" should do the trick.

Hope it's helpful.

-John

-----Original Message-----
From: webstack-discuss-boun...@opensolaris.org
[mailto:webstack-discuss-bounces at opensolaris.org] On Behalf Of ludo
Sent: Tuesday, March 11, 2008 5:26 PM
To: webstack-discuss at opensolaris.org
Subject: [webstack-discuss] Cannot start Apache or MySQL if static IP
isconfigured?

Hi,
On my desktop, I wanted to setup a static IP. To do that, nwan service 
has to be stopped.
I can access all the network (external internal) so this part if
working.
But I tried to start apache/mysql and I get:


Command: /usr/bin/svcs -v apache22 mysql
STATE          NSTATE        STIME    CTID   FMRI
offline        -             Mar_04        - svc:/network/http:apache22
offline        -             Mar_04        - 
svc:/application/database/mysql:version_50

Command: /usr/bin/svcs -x apache22 mysql
svc:/network/http:apache22 (Apache 2.2 HTTP server)
 State: offline since Tue Mar 04 10:29:49 2008
Reason: Service svc:/network/physical:default is disabled.
   See: http://sun.com/msg/SMF-8000-GE
Reason: Service svc:/network/physical:nwam is disabled.
   See: http://sun.com/msg/SMF-8000-GE
   See: httpd(8)
   See: http://httpd.apache.org
Impact: This service is not running.

svc:/application/database/mysql:version_50 (MySQL RDBMS)
 State: offline since Tue Mar 04 10:29:49 2008
Reason: Service svc:/network/physical:default is disabled.
   See: http://sun.com/msg/SMF-8000-GE
Reason: Service svc:/network/physical:nwam is disabled.
   See: http://sun.com/msg/SMF-8000-GE
   See: MySQL 5.0.45(1)
   See: http://dev.mysql.com/docs
Impact: This service is not running.


Help!!!

Ludo
_______________________________________________


webstack-discuss mailing list
webstack-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

Reply via email to