Hi

Using configure like this:

env CPPFLAGS="-I/usr/local/openssl/include -I/usr/local/include/openssl -I/usr/local/mysql/include/mysql" LDFLAGS="-L/usr/local/openldap/lib -L/usr/local/openssl/lib -L/usr/local/mysql/lib/mysql" ./configure --with-openssl-prefix=/usr/local/openssl --with-openca-user=openca --with-openca-group=pki --exec-prefix=/srv/CA --prefix=/srv/CA  --with-openldap-prefix=/usr/local/openldap --with-httpd-user=wwwrun --with-httd-group=www --with-web-host=ca.cajval.com.ar --with-httpd-host=ca.cajval.com.ar --enable-debug --with-ca-organization=CAJVAL --with-ca-locality="Buenos Aires" --with-ca-country=AR --with-ldap-host=ca.cajval.com.ar --with-ldap-root=" cn=LDAP Manager, o=CAJVAL, l=Buenos Aires, c=ar" --with-ldap-root-pwd=somepwd --with-db-type=MySQL --with-db-name=openca --with-db-port=3306 --enable-dbi 2>&1>configure-out-6.txt

 

In make all seems ok!.

===================================================

In make test :

 

./tests/03language_xs...................FAILED tests 3-4

        Failed 2/4 tests, 50.00% okay

./tests/03ngettext_pp...................ok

./tests/03ngettext_xs...................ok

./tests/03textdomain_pp.................ok

./tests/03textdomain_xs.................ok

Failed Test             Stat Wstat Total Fail  Failed  List of Failed

-------------------------------------------------------------------------------

./tests/03language_xs.t                4    2  50.00%  3-4

make[6]: Leaving directory `/home/src/OpenCA-0.9.2.5/src/modules/libintl-perl-1.10'

 

=============================================================

(After I did make install-ra and copied some stuff about apache-openca.conf in the apache conf directory)

But  when I try to run :

      ./openca_start

It says:

  

ca:/srv/CA/OpenCA/etc # ./openca_start

Logging is not initialized.

Configuration error: Missing Configuration Keyword : CgiCmdsPath

Configuration error: Missing Configuration Keyword : CgiCmdsPath

Compilation failed in require at ./openca_start line 62.

ca:/srv/CA/OpenCA/etc #

 

 

And I realized that the directories rights were left like:

 

ca:~ # cd /srv/CA/

ca:/srv/CA # ls

.  ..  OpenCA  apache  man

ca:/srv/CA # ls -l

total 0

drwxr-xr-x  5 wwwrun nogroup 120 Oct 11 13:21 .

drwxr-xr-x  8 root   root    184 Oct 11 13:21 ..

drwxr-xr-x  6 wwwrun nogroup 144 Oct 11 13:21 OpenCA

drwxr-xr-x  6 openca pki     144 Oct 11 13:57 apache

drwxr-xr-x  3 root   root     72 Oct 11 13:21 man

ca:/srv/CA # ls -l ..

total 1

drwxr-xr-x   8 root   root    184 Oct 11 13:21 .

drwxr-xr-x  23 root   root    536 Oct 11 13:33 ..

drwxr-xr-x   4 root   root     96 Sep 29 17:47 BerkeleyDB

drwxr-xr-x   5 wwwrun nogroup 120 Oct 11 13:21 CA

drwxr-xr-x   2 root   root     48 Mar 23  2005 ftp

drwxr-xr-x   4 root   root     96 Sep 26 17:28 www

 

So I changed them to:

 

ca:/srv/CA # ls -l ..

total 1

drwxr-xr-x   8 root   root 184 Oct 11 13:21 .

drwxr-xr-x  23 root   root 536 Oct 11 13:33 ..

drwxr-xr-x   4 root   root  96 Sep 29 17:47 BerkeleyDB

drwxr-xr-x   5 openca pki  120 Oct 11 13:21 CA

drwxr-xr-x   2 root   root  48 Mar 23  2005 ftp

drwxr-xr-x   4 root   root  96 Sep 26 17:28 www

ca:/srv/CA # ls -l

total 0

drwxr-xr-x  5 openca pki  120 Oct 11 13:21 .

drwxr-xr-x  8 root   root 184 Oct 11 13:21 ..

drwxr-xr-x  6 openca pki  144 Oct 11 13:21 OpenCA

drwxr-xr-x  6 wwwrun www  144 Oct 11 13:57 apache

drwxr-xr-x  3 openca pki   72 Oct 11 13:21 man

  *********************************************

But when running ./openca_start there is no change

And if you can remember this line (62 :    require "$common_libs/initServer";   )

refers to initServer that it is in place:

 

ca:/srv/CA/OpenCA/etc # find /srv -name initServer

/srv/CA/OpenCA/lib/functions/initServer

 

************************************************

The curious thing is that in another machine I have already compiled OpenCA with ra, pub , node and ldap

(and I only have access problems to the web applications, but openca_start runs OK)

In this machine I only need to set up OpenCA with ca..

 

If anybody can guess the problem…..

Thanks.

 

 

Jose Dragone
sofrecom argentina
desarrollo de caja de valores
analista programador
phone  +54 (11) 43178900
[EMAIL PROTECTED]

www.sofrecom.com.ar

 

*** ADVERTENCIA *** - El contenido del presente mensaje y los archivos adjuntos que pudiera contener son privados, estrictamente confidenciales y exclusivos para su destinatario, pudiendo contener informacion protegida por normas legales y de secreto profesional. Bajo ninguna circunstancia su contenido puede ser transmitido o revelado a terceros ni divulgado en forma alguna. En consecuencia de haberlo recibido por error, rogamos contactar al remitente y eliminarlo de su sistema. No nos responsabilizamos por la integridad y la seguridad de este mensaje, ya que el mismo podría estar sujeto a manipulaciones ilegales de informacion. *** WARNING *** - The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed and it may be subject to unauthorized amendment, for which we accept no liability.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to