LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-15-2003, 11:44 AM   #1
ybc
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|
status|configtest}


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/libssl.so
#</IfDefine>

...
...
#<IfDefine HAVE_SSL>
AddModule mod_ssl.c
#</IfDefine>

...
...

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, 03:44 PM   #2
notsoevil
Member
 
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, 01:23 AM   #3
ybc
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

https://localhost

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:

apache:
./ mod_autoindex.so* mod_log_referer.so*
../ mod_cern_meta.so* mod_mime_magic.so*
httpd.exp mod_cgi.so* mod_mime.so*
libhttpd.ep* mod_define.so* mod_mmap_static.so*
libhttpd.so* mod_digest.so* mod_negotiation.so*
libproxy.so* mod_dir.so* mod_rewrite.so*
mod_access.so* mod_env.so* mod_setenvif.so*
mod_actions.so* mod_example.so* mod_speling.so*
mod_alias.so* mod_expires.so* mod_status.so*
mod_asis.so* mod_headers.so* mod_unique_id.so*
mod_auth_anon.so* mod_imap.so* mod_userdir.so*
mod_auth_dbm.so* mod_include.so* mod_usertrack.so*
mod_auth_db.so* mod_info.so* mod_vhost_alias.so*
mod_auth_digest.so* mod_log_agent.so*
mod_auth.so* mod_log_config.so*

apache2-2.0.44:
./ mod_cgi.so* mod_mime.so*
../ mod_charset_lite.so* mod_negotiation.so*
httpd.exp mod_deflate.so* mod_optional_fn_export.so*
mod_access.so* mod_dir.so* mod_optional_fn_import.so*
mod_actions.so* mod_disk_cache.so* mod_optional_hook_export.so*
mod_alias.so* mod_echo.so* mod_optional_hook_import.so*
mod_asis.so* mod_env.so* mod_proxy_connect.so*
mod_auth_anon.so* mod_expires.so* mod_proxy_ftp.so*
mod_auth_dbm.so* mod_ext_filter.so* mod_proxy_http.so*
mod_auth_digest.so* mod_file_cache.so* mod_proxy.so*
mod_auth.so* mod_headers.so* mod_rewrite.so*
mod_autoindex.so* mod_imap.so* mod_setenvif.so*
mod_bucketeer.so* mod_include.so* mod_speling.so*
mod_cache.so* mod_info.so* mod_status.so*
mod_case_filter_in.so* mod_log_config.so* mod_unique_id.so*
mod_case_filter.so* mod_logio.so* mod_userdir.so*
mod_cern_meta.so* mod_mem_cache.so* mod_usertrack.so*
mod_cgid.so* mod_mime_magic.so* mod_vhost_alias.so*

apache2-extramodules-2.0.44:
./ mod_auth_mysql.so* mod_php4.so* mod_suexec.so*
../ mod_perl.so* mod_ssl.so*

apache-extramodules:
./ ../ libphp4.so* libssl.so*

ssl:
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.
 
  


Reply


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 09:23 AM
Mandrake 10.0 find files option. daan0106 Linux - Newbie 8 06-24-2004 02:25 AM
slack 9.0 apachectl startssl doesn't work harlow400 Linux - Software 4 02-29-2004 10:03 PM
apachectl startssl doesn't work on SuSE 9.0 ahargrove Linux - Software 3 02-17-2004 12:02 AM
startssl segfaults :'( chr15t0 Linux - Software 7 01-21-2003 04:59 AM


All times are GMT -5. The time now is 07:17 PM.

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