Indeed, a problem of permission is still present. I
added in initCGI the uid number and the error no when
connecting to the socket. The result is : "permission
denied - uid 48"
This uid corresponds to the apache user which is
correctly set when launching openca server (see
below).

For ./configure, I choose root as openca-user and
apache as httpd-user... Is that wrong ??

Thanks for your help.

B.R.

Aur�lien

--- Aurelien Magniez <[EMAIL PROTECTED]> wrote:
> After restarting my systme, I take a look to the
> var/tmp directory : the openca_socket file owner is
> apache, my httpd user.
> 
> srwxr-x-r-x 1 apache apache 0 mar 9 09:59
> openca_socket
> -rw-r--r--  1 apache apache 5 mar 9 09:59
> openca_socket.pid
> srw-------  1 apache apache 0 mar 9 09:59
> openca_xml_cache
> -rw-r--r--  1 root root 4 mar 9 09:59 xml_cache.pid
> 
> So, I do not understand.... I'm still searching....
> 
> Thanks in advance for your help.
> 
> B.R.
> 
> Aurelien
> 
> --- Alexei Chetroi
> <[EMAIL PROTECTED]> wrote:
> > On Tue, Mar 08, 2005 at 06:57:00PM +0100, Aurelien
> > Magniez wrote:
> > > Date: Tue, 8 Mar 2005 18:57:00 +0100 (CET)
> > > From: Aurelien Magniez <[EMAIL PROTECTED]>
> > > To: [email protected]
> > > Reply-To: [email protected]
> > > Subject: [Openca-Users] openca_socket
> > > 
> > > I've just installed OpenCA on my Fedora Core 3.
> I
> > > followed the installation guide (install-online
> > then
> > > install-offline, modify the config.xml file and
> > the
> > > httpd.conf). I also run the openca_start daemon
> > > without error.
> >   What is in the stderr.log? it is log of openca
> > server located in
> > ${var_prefix}/log by default. Upon successful
> start
> > there should be 2
> > openca_start processes (openca server and xml
> > cache).
> > 
> > > When I try to connect to my CA server, I've the
> > > following message : Server is not online or does
> > not
> > > accept requests.
> >   There could be several causes of it: 
> > 1st. openca_start didn't started successfuly and
> > server is offline
> > indeed.
> > 2nd. http server doesn't have write access to
> > openca_socket. Usually
> > openca server is configured to run on uid
> different
> > from http server, so
> > you have to asure write access to openca_socket by
> > http server.
> > 
> > 
> >   Best wishes
> > 
> > --
> > Alexei Chetroi
> > 
> > Smile... Tomorrow will be worse. (c) Murphy's Law
> > 
> > 
> >


        

        
                
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to