Solved

apache-ssl can't start

Posted on 2000-04-11
6
427 Views
Last Modified: 2013-11-13
Am running Redhat 6.1 and i have installed the following without any error messages:

apache_1.3.12+ssl_1.39.tar.gz
apache_1.3.12.tar.gz
openssl-0.9.5a.tar.gz

However, when i try starting the httpsdctl service is the following message

[root@Mygateway /]# /usr/local/apache-ssl/bin/httpsdctl start
/usr/local/apache-ssl/bin/httpsdctl start: httpd could not be started

I checked the logs and i got this error message:

[Tue Apr 11 00:50:12 2000] [crit] error setting verify locations
[Tue Apr 11 00:50:12 2000] [crit] error:02001002:system library:fopen:No such file or directory
[Tue Apr 11 00:50:12 2000] [crit] error:2006D002:BIO routines:BIO_new_file:system lib
[Tue Apr 11 00:50:12 2000] [crit] error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

what can be wrong?

thanks.

0
Comment
Question by:noree97
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 2706362
I use mod_ssl with Apache (that I build from source) so I can't be sure, but it seems odd to me that the startup script is httpsdctl. Apache 1.3.9 used that, but my 1.3.12 versions reverted to apachectl. The lib error about fopen suggests that the copy you installed may not match up with the libc on RH 6.1. Are you sure that what you loaded is supposed to work on 6.1?
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2706954
Greetings.

Do you have a valid (even if self-generated) certificate? If you don't, that would explain some of the diagnostics.

If you do, try to ldd httpsd (gives you the libraries that httpsd expects) and strace httpsd (expect lots o'output: this shows the system calls it's doing).

Use the no-fork switch (I forgot what it's called) on both counts.

HTH & cheers,
   alf

0
 

Author Comment

by:noree97
ID: 2710420
tq... i reverted in using

apache_1.3.9+ssl_1.37.tar.gz
apache_1.3.9.tar.gz
openssl-0.9.4.tar.gz

and i could start the httpsdctl service.

but how would i know which source to use with the designated service?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 40

Expert Comment

by:jlevie
ID: 2710450
I'm not entirely convinced that I understand the last commnet, but I'll wing it.

Personally I prefer mod_ssl over apachessl. I think it works a bit better with less overhead (especially with mm included). If you are considering rolling your own from sources, I can furnish a small readme that will allow you to build an Apache+mod_ssl from the latest (as of a couple of weeks ago). If desired you can include PHP and/or database and/or LDAP support.

Okay, it's soapbox time... Some things that have little in the way of configuration options are reasonable to install from pre-built binaries. Other things like Apache or a database (MySQL, Postgres, PhP, etc) have lots of build time configuration options. I think it's better to learn how to build that class of app from source. You can pick the config options that you need and not have to settle for what somebody else liked. And most of the time it's not that hard to do.
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2711124
Greetings.

jlevie, I would second your soapbox corner if it were not for package management. Tarballs make an exceedingly poor job of documenting what they install were and supply no mangement facility.

My experience with tarballs is that, unless I carefully track them (by hand), the target machines quickly degrade into an unmanageable mess of oddball files scattered everywhere.
(In truth, some packages provide an uninstall target, but most of times the doc does not mention it, and besides, it usually uninstalls with little regard to the configuration changes that have been made...)

When pressed for customized installations I have recently started to use the .src.rpm, and work onthe spec file, then rpm -ba and rpm -i. Which gets me what I want, except it takes about 10 times more time and effort than ./configure && make install (or about twice if I am working from straight Makefiles - because I have to make changes, generate patches, figure out what is the right order in the diffs, and divine the right way to change the spec file).

What we need is InstallShield for Linux (the better mousetrap?)

Cheers,
      alf
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2711729
Ahh, but I don't let them scatter things hither & yon. Those sorts of things go in basically one or two places on any of my systems. In /usr/local or in /opt. By and you pick the location to extract a tarball to and the "install" is self-contained ad is capable of running out of the installation directory.

With very few exceptions, everything that's on my systems, be they Solaris, Linux, FreeBSD or Irix, that winds up in /&/usr comes directly off the installation CD's. Everything else is in /usr/local & /opt. I always make a pretty good sized /opt and /usr/local is typically a link to /opt/local where the files are. Since I have a lot of machines to manage, I simply make a "master copy" of what /opt contains & can copy the base set of data to any machine as needed (or in the case of my Solaris boxes that have a dynamite cache filesystem, I simply access the data via nfs).

So I don't see where package management is a problem. It's a bit more work on my part to create & maintain the /opt data. But you can easily tell what's there by inspection.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question