I have run some commands to run apache on solaris.Still i am unable to run apache on solaris which commands i have used on solaris 10 i had given below
bash-3.00# cd /etc/apache2/
bash-3.00# svcadm restart apache2
bash-3.00# svcs enable apache2
svcs: Pattern 'enable' doesn't match any instances
STATE STIME FMRI
maintenance 21:27:51 svc:/network/http:apache2
bash-3.00# svcadm enable apache2
bash-3.00# svcs -a | grep apache2
maintenance 21:27:51 svc:/network/http:apache2
bash-3.00# svcs -x | grep apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
See: apache2(1M)
See: /etc/svc/volatile/network-http:apache2.log
after run this commands i have tried to open the website.
http://loclahost/ and
http://127.0.0.1/
still i am confusing about this what could be the reason and where i have done the mistake.
Thanks.