Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-15-2003, 10:44 AM   #1
LQ Newbie
Registered: Apr 2003
Posts: 10

Rep: Reputation: 0
Question couldn't find startssl option in apahcectl

Hi Guys,

I have just installed mandrake 9.1 last weekend. I have setup apache server. I was able to make it work. Then I decided to add ssl on top of that. I am sure I did couple of mistakes during these process. Why I think that? Because when I run following command:

apachectl startssl

It couldn't find startssl option and give me the option list as follows:

Usage: /usr/sbin/apachectl {start|stop|restart|reload/graceful|closelogs|update|

I commented in "ssl" related sections in my httpd.conf file as far as I know. Here is the ssl lines from
/etc/httpd/conf/httpd.conf file:


#<IfDefine HAVE_SSL>
LoadModule ssl_module extramodules/

#<IfDefine HAVE_SSL>
AddModule mod_ssl.c


Include conf/ssl/mod_ssl.conf



I looked at the many web pages but I couldn't figured it out yet. If anybody can anybody help me with that problem, I would really appreciate...
Old 04-15-2003, 02:44 PM   #2
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Well, check first to see if modssl actually installed correctly:

#> /usr/local/apache/bin/httpd -l | grep ssl

(That flag after httpd is a lowercase 'L', not a numeral 1, in case it isn't clear).

If you don't see 'mod_ssl.c' printed out after that, you'll need to go back through the process of installing the modssl patches to apache.
Old 04-16-2003, 12:23 AM   #3
LQ Newbie
Registered: Apr 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your reply. I just had a chance to play with LInux again. First of all, I have a problem with understanding of directory structure in linux.

I checked the directory what you told me. But I couldn't find it. I guess I know why it happened. I have mandrake 9.1 installed and I am using "mandrake control centre" application for software installation. I guess it has its own logic for directory structure and choose appropriate place for new software.

Anyway, today I noticed something weird. As I said, I couldn't startssl option to use with apachectl. But I started server anyway. I got following message

[root@localhost sbin]# apachectl start
Starting httpd2: [ OK ]

Then I opened a browser and typed


There is a window pop up and asking me about acception of certificate. It was also saying something like this:

"unable to verify the identity of localhost.EkBvOc as trusted site"

I accepted this certificate only for that session. Then I saw that small "lock" icon was locked.

Do you think I have SSL installed succesfully? Is there anyway to check what server I am running and what options does it have?

I noticed that I have two different apache and one ssl installed under /usr/lib:




./ ../**

apache2-mod_ssl/ certs/ lib/ misc/ mod_ssl/ openssl.cnf private/

Configuration files under /etc/httpd:

[root@localhost httpd]# ls
2.0/ conf/ conf.d/ logs@ test.php*

Executables are under /usr/sbin/

ls ap*
apache2-suexec* apachectl@ apachectl-perl@

ls htt*
httpd* httpd2*

I don't have any idea what those executables do (except apachectl). As I said, I am not even clear about my directory structure. I feel that I am doing something with closed eyes. I guess there are many things to learn. Actually that's why I came to Linux.

If you have any comments, I would really like to hear it.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
best practice - startssl on boot? xfurious_mindx Linux - Security 3 01-07-2005 08:23 AM
Mandrake 10.0 find files option. daan0106 Linux - Newbie 8 06-24-2004 01:25 AM
slack 9.0 apachectl startssl doesn't work harlow400 Linux - Software 4 02-29-2004 09:03 PM
apachectl startssl doesn't work on SuSE 9.0 ahargrove Linux - Software 3 02-16-2004 11:02 PM
startssl segfaults :'( chr15t0 Linux - Software 7 01-21-2003 03:59 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration