op's sorry this is solaris I am not sure!
Main Topics
Browse All TopicsOkay, dumb question but I'm stuck here. We're having a tough time with this for a support call I'm on.
How can I determine what version of Apache (with ModSSL) we're running. The normal methods I know and the first few things I googled aren't working so well.
Tried:
httpd -v -- this didn't work, sorry I don't have the error text (they had to go to a meeting, can get it later if critical)
strings httpd | grep Apache/
checking error_log after restarting
404 page
Best we got so far is that it is running oracle-http-server 10.1.2.0.2, if that helpds any.
Is on a Solaris box if that matters any, I believe version 10.
Trying to figure out why Apache is choking on SSLCertificateKeyFile command in the ssl.conf file, wondering if it may be a version issue to support that command context. Just for kicks I'll throw that in there in case it rings a bell for someone, otherwise just finding the version number is good enough.
/%path%/Apache/bin/apachec
Syntax error on line ## of /%path%/Apache/conf/ssl.co
Invalid command 'SSLCertificateFile', perhaps mis-spelled or defined by a module not included in the server configuration
Anya and all methods you know of to determine this are much appreciated!
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
on my solaris 10, I run
pkginfo | grep -i apache
system SUNWaclg Apache Common Logging
system SUNWapch2d Apache Web Server V2 Documentation
system SUNWapch2r Apache Web Server V2 (root)
system SUNWapch2u Apache Web Server V2 (usr)
system SUNWapchd Apache Web Server Documentation
system SUNWapchr Apache Web Server (root)
system SUNWapchu Apache Web Server (usr)
/usr/apache/bin/httpd -v
Server version: Apache/1.3.33 (Unix)
Server built: Jan 8 2005 01:22:46
# /usr/apache2/bin/httpd -v
Server version: Apache/2.0.52
Server built: Jan 8 2005 01:51:11
HI
If your "SSLCertificateFile" line incloded in a If module block e.g.
<IfModule mod_ssl.c>
..
SSLCertificateFile /etc/apache2/ssl.crt/serve
SSLCertificateKeyFile /etc/apache2/ssl.key/serve
...
</IfModule>
If not can you enclose it within and re-try. If the error goes away you haven't loaded the mod_ssl.so module.
On the version front have you made sure your looking at the correct httpd binary, scan your /etc/init.d for the run binary e.g.
grep 'bin/httpd' /etc/init.d/apache*
: ${apache_link:=/usr/sbin/h
Then test that binary:
/usr/sbin/httpd2 -v
Server version: Apache/2.2.4 (Linux/SUSE)
Server built: Mar 10 2009 16:40:52
Thanks for the suggestions folks, passed them along to the guy doing the web admin work on this, may be awhile before I get feedback.
If there are any other suggestions for the main issue, please let me know as at this point I am now troubleshooting this asynchronously. I passed along arober11's comment as well and waiting on results. It was not enclosed in an <IfModule mod_ssl.c> tag like that, just the normal VirtualHost area. Will give that a shot.
Oh, is hanging up on SSLCertificateFile not SSLCertificateKeyFile, copied the wrong thing by accident in the original post. It has correct case sensitivity, permissions, etc. in the ssl.conf file.
Business Accounts
Answer for Membership
by: kosarajudeepakPosted on 2009-07-30 at 09:04:40ID: 24981221
if it is redhat (or) suse check with following command
rpm -qa | grep httpd