Hi Peter, Peter Van Biesen wrote:
I've downloaded, compiled and installed openca 0.9.2.2 on an hpux 11i ( pa-risc 64bit ) machine. All went well ( except for a syntax error in the relative_ln_s.sh, where a "==" operator is used with test ).
That's a new OS. I don't know a user which uses HP-UX until now. Nevertheless it should work. First a question from me, how do you fixed the wrong "=="? If this is an error then we should fix it even if other shells support this feature.
When I try to start the daemon with 'openca_rc start', I get : -n Starting OpenCA ...
Looks like your echo does not know the -n option.
... and the rc script hangs.
Sounds like the fork is not clean. Can you give some more details about the "hangs" please? Is it an endless loop or buzy wait?
The pstree is : -+- 02135 root -ksh \-+- 29155 root /bin/sh ./openca_rc start \-+- 29156 root /usr/bin/perl /opt/openca-0.9.2.2/OpenCA/etc/openca_start\--- 29158 www /usr/bin/perl /opt/openca-0.9.2.2/OpenCA/etc/openca_start
OpenCA 0.9.2 starts a XML cache daemon first and then the real openca daemon starts. If the XML cache work correctly then there must be a file xml_cache.log on your machine.
The /opt/openca/OpenCA/var/tmp contains : srwxrwxrwx 1 www other 0 Aug 4 10:11 openca_xml_cache -rw-r--r-- 1 root sys 5 Aug 4 10:11 xml_cache.pid
Is the cache log missing? This would mean that there is a problem with startup of the XML cache.
Running the ca/index.html yields :OpenCA Error: Server is not online or does not accept requests (/opt/openca-0.9.2.2/OpenCA/var/tmp/openca_socket - /opt/openca-0.9.2.2/OpenCA/var/tmp/openca_socket ). 0The file /opt/openca-0.9.2.2/OpenCA/var/tmp/openca_socket does not exist ( /opt/openca is symbolic link to /opt/openca-0.9.2.2 ).The stderr.log file is empty.
First we should try to find the xml_cache.log. A missing socket can be caused by several things.
I turned the debug flag to 1 in the log.xml, but I can't seem to find anything extra in any of the logs.
If OPENCADIR/var/log/stderr.log is empty then there is a basic problem.If you use HP-UX then I think that you are a little bit familiar with script language. So you can activet the debugging of the XML cache too. There is a file lib/functions/initServer. This file contains a function initXMLcache. If you add "DEBUG => 1" to OpenCA::XML::Cache->new then the cache outputs several debug infos. Perhaps this shows some useful infos.
Michael -- _______________________________________________________________ Michael Bell Humboldt-Universitaet zu Berlin Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 [EMAIL PROTECTED] D-10099 Berlin _______________________________________________________________
smime.p7s
Description: S/MIME Cryptographic Signature
