Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-06-2006, 09:05 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Question Apache SSL Set Up Woes

I'm trying to get SSL up and running on my Slack 10.2 server. I followed the instructions I found here on the forum, but at start up am getting errors.

[06/Sep/2006 21:11:41 01260] [info] Server: Apache/1.3.33, Interface: mod_ssl/2.8.24, Library: OpenSSL/0.9.7g
[06/Sep/2006 21:11:41 01260] [info] Init: 1st startup round (still not detached)
[06/Sep/2006 21:11:41 01260] [info] Init: Initializing OpenSSL library
[06/Sep/2006 21:11:41 01260] [info] Init: Seeding PRNG with 1160 bytes of entropy
[06/Sep/2006 21:11:41 01260] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[06/Sep/2006 21:11:42 01260] [info] Init: Configuring temporary DH parameters (512/1024 bits)
[06/Sep/2006 21:11:43 04876] [error] Child could not open SSLMutex lockfile /var/log/apache/ssl_mutex.1260 (System error follows)
[06/Sep/2006 21:11:43 04876] [error] System: No such file or directory (errno: 2)

[Wed Sep 6 21:27:41 2006] [error] mod_ssl: Child could not open SSLMutex lockfile /var/log/apache/ssl_mutex.1260 (System error follows)
[Wed Sep 6 21:27:41 2006] [error] System: No such file or directory (errno: 2)

But the file does exist:
root@spaz:/var/log/apache# ls -l
total 6200
-rw-r--r-- 1 root root 634214 2006-09-06 20:57 access_log
-rw-r--r-- 1 root root 139117 2006-09-06 21:28 error_log
-rw-r--r-- 1 root root 5551212 2006-09-06 21:28 ssl_engine_log
-rw------- 1 nobody root 0 2006-09-06 21:28 ssl_mutex.1260
-rw------- 1 nobody root 0 2006-09-06 21:28 ssl_scache.dir
-rw------- 1 nobody root 0 2006-09-06 21:28 ssl_scache.pag

"netstat -tpan" shows port 80 running and it works fine. Port 443 is not running.

I am stumped, but not sure where to look next.

Any ideas will be greatly appreciated.

Old 09-07-2006, 12:50 AM   #2
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Does it have write access for /var/log/apache/ssl_mutex.1260 ?

For my server, Apache runs as user and group httpd. Here are the permissions for /var/log/apache:

$ ls -ld apache
drwxrwxr-x  4 root httpd 544 2006-08-22 10:56 apache/
What are your permissions and who does Apache run as?

EDIT: fixed to sound better

Last edited by Daga; 09-07-2006 at 12:53 AM.
Old 09-07-2006, 06:30 AM   #3
LQ Newbie
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply!

My Apache runs as "nobody". The authority on the /var/log/apache directory is:

drwxr-xr-x 2 root root 4096 2006-09-06 21:28 apache/

This must be OK however, because all of the other logs, like the access log, error log and mod ssl log are all written to just fine - or else I would not have the error information I printed in my first post.

You also asked about the access to ssl_mutex.1260. That was shown in the first post as:
-rw------- 1 nobody root 0 2006-09-06 21:28 ssl_mutex.1260
"Nobody" has write access.

Thanks again.

Last edited by javachump; 09-07-2006 at 06:32 AM.


apache, slackware, ssl

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solutions to Apache SSL Virtual Host woes (for dynamic IP too) Silly22 Linux - Software 2 10-14-2009 05:07 PM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
apache and apache-ssl questions merana Debian 4 03-10-2005 10:10 AM
How to set up forward SSL proxy Dawyea Linux - Networking 1 06-09-2004 05:09 AM
XF86config set up woes SteveA Linux - Newbie 4 12-21-2000 08:34 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration