Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to know the apache is working on solaris 10 intel?

Status
Not open for further replies.

wlf

Technical User
Sep 25, 2002
47
0
0
US
Hi, I installed apache by:

(openssl-0.9.7e-sol10-intel-local and libgcc-3.3-sol10-intel-local have been installed in openssh.)
# pkgadd -d apache-2.0.52-sol10-intel-local
# pkgadd -d db-4.2.52.NC-sol10-intel-local
# pkgadd -d expat-1.95.5-sol10-intel-local
# pkgadd -d gdbm-1.8.3-sol10-intel-local
# pkgadd -d libiconv-1.8-sol10-intel-local
# ln -s /usr/local/apache2/bin/apachectl /etc/rc3.d/S99apache

# /etc/rc3.d/S99apache start
# /etc/rc3.d/S99apache stop
httpd (pid 635?) not running

How can I know if it is correct? I tried from the other pc and failed. If every is right I believe I should able to access that. Please help. Thanks.
 
do a ps -ef and check to see if there are any http daemons running.

Also make sure your http.conf file is setup correctly
 
Following is the output:

# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 20:47:57 ? 0:52 sched
root 1 0 0 20:48:00 ? 0:00 /sbin/init
root 2 0 0 20:48:00 ? 0:00 pageout
root 3 0 0 20:48:00 ? 0:01 fsflush
root 149 1 0 20:48:27 ? 0:00 /usr/apache/bin/httpd -f /etc
/apache/httpd-standalone-ipp.conf
root 7 1 0 20:48:01 ? 0:07 /lib/svc/bin/svc.startd
root 9 1 0 20:48:02 ? 0:24 svc.configd
root 102 1 0 20:48:21 ? 0:00 /usr/sbin/nscd
root 106 1 0 20:48:22 ? 0:01 /usr/lib/picl/picld
daemon 184 1 0 20:48:37 ? 0:00 /usr/lib/nfs/statd
root 516 1 0 20:49:08 ? 0:00 /usr/lib/fm/fmd/fmd
daemon 87 1 0 20:48:17 ? 0:00 /usr/lib/crypto/kcfd
root 83 1 0 20:48:17 ? 0:00 /usr/lib/sysevent/syseventd
root 212 1 0 20:48:39 ? 0:00 /usr/lib/utmpd
root 163 1 0 20:48:36 ? 0:00 /usr/lib/inet/in.ndpd
lp 150 149 0 20:48:27 ? 0:00 /usr/apache/bin/httpd -f /etc
/apache/httpd-standalone-ipp.conf
root 139 1 0 20:48:26 ? 0:00 /usr/lib/lp/local/lpsched
root 118 1 0 20:48:24 ? 0:00 /usr/lib/power/powerd
root 124 1 0 20:48:25 ? 0:00 /usr/lib/ssh/sshd
daemon 197 1 0 20:48:38 ? 0:00 /usr/lib/nfs/lockd
daemon 180 1 0 20:48:37 ? 0:00 /usr/sbin/rpcbind
root 351 345 0 20:48:50 ? 0:00 htt_server -port 9010 -syslog
-message_locale C
root 259 1 0 20:48:42 ? 0:00 /usr/sbin/cron
root 251 1 0 20:48:42 ? 0:03 /usr/lib/inet/inetd start
root 331 330 0 20:48:49 ? 0:00 /usr/sadm/lib/smc/bin/smcboot
root 260 250 0 20:48:42 ? 0:00 /usr/lib/saf/ttymon
root 386 1 0 20:48:55 ? 0:00 /usr/dt/bin/dtlogin -daemon
root 250 7 0 20:48:42 ? 0:00 /usr/lib/saf/sac -t 300
root 504 1 0 20:49:06 ? 0:00 /usr/lib/sendmail -bd -q15m
root 345 1 0 20:48:50 ? 0:00 /usr/lib/im/htt -port 9010 -s
yslog -message_locale C
root 254 1 0 20:48:42 ? 0:00 /usr/sbin/syslogd
root 314 7 0 20:48:48 console 0:00 /usr/lib/saf/ttymon -g -h -T
sun-color -d /dev/console -l console -m ldterm,ttc
root 335 330 0 20:48:49 ? 0:00 /usr/sadm/lib/smc/bin/smcboot
root 397 386 0 20:48:55 ? 0:02 /usr/X11/bin/Xorg :0 -auth /v
ar/dt/A:0-KsaqWa
root 330 1 0 20:48:49 ? 0:00 /usr/sadm/lib/smc/bin/smcboot
root 527 367 0 20:51:22 ? 0:00 /usr/local/sbin/sshd -R
root 367 1 0 20:48:53 ? 0:00 /usr/local/sbin/sshd
smmsp 507 1 0 20:49:07 ? 0:00 /usr/lib/sendmail -Ac -q15m
root 443 1 0 20:48:58 ? 0:00 /usr/sbin/vold
root 402 386 0 20:48:56 ? 0:00 /usr/dt/bin/dtlogin -daemon
root 425 1 0 20:48:57 ? 0:00 /usr/lib/snmp/snmpdx -y -c /e
tc/snmp/conf
root 454 1 0 20:48:59 ? 0:01 /usr/sfw/sbin/snmpd -P /var/s
ma_snmp/.sma.pid
root 434 1 0 20:48:58 ? 0:00 /usr/lib/dmi/dmispd
root 526 402 0 20:49:09 ? 0:01 dtgreet -display :0
root 403 386 0 20:48:56 ?? 0:00 /usr/openwin/bin/fbconsole -d
:0
root 436 1 0 20:48:58 ? 0:00 /usr/lib/dmi/snmpXdmid -s eas
ystreet
root 530 527 0 20:51:30 pts/2 0:00 -sh
root 485 1 0 20:49:04 ? 0:00 /usr/lib/autofs/automountd
root 536 530 1 20:53:27 pts/2 0:00 ps -ef
#

How can I tell if it works?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top