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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache w/ modssl. cannot get server to start with ssl. syntax ?

Status
Not open for further replies.

mourne

Technical User
Aug 10, 2001
3
US
I'm running slackware linux 2.4.5 with apache 1.3.20 with mod ssl 2.8.4.

fisrt i configured modssl, i.e.
./configure --with-apache=/usr/include/apache-blah/

that was done. woo hoo. then compiled apache using;
SSL_BASE=/etc/ssl (my openssl dir)
./configure --enable-module=ssl
make; make install
-------------------------
that should be it to compile and install right? i set up the SSLCertificateFile and SSLCertificateKeyFile directives in the httpd .conf and then i try to run apache=

apachectl startssl. it returns with the syntax screen. that is how i start with ssl right? and another weird thing is that when i do 'apachectl start' it states that httpd is now start, but when i do 'apachectl stop' it returns '/usr/sbin/apachectl stop: httpd (no pid file) not running'

help please! hehe. it's a good thing im just setting this up for fun, or i'd be frustrated with a deadline. any help out there would be great. thanks all.

-Josh
 
more on the situation. i don't understand..

root@mobix:/usr/sbin# apachectl start
/usr/sbin/apachectl start: httpd started
root@mobix:/usr/sbin# apachectl stop
/usr/sbin/apachectl stop: httpd (no pid file) not running
root@mobix:/usr/sbin# ps aux | grep apache
root@mobix:/usr/sbin# ps aux | grep http
root 12390 0.0 0.6 3284 1676 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12391 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12392 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12393 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12394 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12395 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
 
root@mobix:/usr/sbin# apachectl start
/usr/sbin/apachectl start: httpd started
root@mobix:/usr/sbin# apachectl stop
/usr/sbin/apachectl stop: httpd (no pid file) not running
root@mobix:/usr/sbin# ps aux | grep apache
root@mobix:/usr/sbin# ps aux | grep http
root 12390 0.0 0.6 3284 1676 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12391 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12392 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12393 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12394 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
nobody 12395 0.0 0.6 3296 1668 ? S 11:27 0:00 /usr/sbin/httpd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top