Hi,

 I'm completly confused with openca_start. It doesn't like at all
usernames "www-data". With it openca_start 1st start attempt fails with

</HTML>
OpenCA: Error Trapped: Cannot initialize Crypto Shell
(/usr/bin/openssl)!No default token specified. at
/usr/share/perl5/OpenCA/UI/HTML.pm line 140.
Compilation failed in require at ./openca_start line 49.

 But there remains one openca_start proccess:
cosstel:/etc/openca# ps -ef|grep openca
www-data 28081     1  0 15:15 pts/0    00:00:00 /usr/bin/perl
./openca_start

 Second start attempt fails with:
cosstel:/etc/openca# ./openca_start
Process Backgrounded
2003/12/15-15:16:03 OpenCA::Server (type Net::Server::Fork) starting!
pid(28084)
Binding to UNIX socket file /var/lib/openca/tmp/openca_socket using
SOCK_STREAM
2003/12/15-15:16:03 Invalid group "www-data"
  at line 411 in file /usr/share/perl5/Net/Server.pm
2003/12/15-15:16:03 Server closing!

 With httpd_user like cawww 1st start attempt fails in the same way, but
second attempt complains about setuid:

cosstel:/etc/openca# ./openca_start
Process Backgrounded
2003/12/15-15:20:26 OpenCA::Server (type Net::Server::Fork) starting!
pid(28101)
Binding to UNIX socket file /var/lib/openca/tmp/openca_socket using
SOCK_STREAM
Setting gid to "104 104"
Setting uid to "102"
Couldn't POSIX::setuid to "102" []
cosstel:/etc/openca# ps -ef|grep openca
cawww    28097     1  1 15:20 pts/0    00:00:00 /usr/bin/perl
./openca_start
cawww    28101     1  0 15:20 pts/0    00:00:00 /usr/bin/perl
./openca_start
cosstel:/etc/openca# 

 So the big question: What do I do wrong? Is there any posibility to
increase verbosity of openca_start and cgi-bin/ca ?

On Mon, Dec 15, 2003 at 12:28:01PM +0200, Alexei Chetroi wrote:
> From: Alexei Chetroi <[EMAIL PROTECTED]>
> Subject: [Openca-Users] openca_start starting problem
> 
>  I've just built openca-0.9.2-RC1, but have problem staring openca
> server. openca_start complains about invalid www-data user or group. I
> tried to start it as root or www-data user but still no luck. There're
> user and group www-data (apache runs as www-data user). But openca_start
> starts fine if $AUTOCONF {"httpd_user|httpd_group"} is changed to root.
> Here's output of openca_start:
> 
> cosstel:/etc/openca# id
> uid=0(root) gid=0(root) groups=0(root)
> cosstel:/etc/openca# ./openca_start
> Process Backgrounded
> 2003/12/15-12:27:22 OpenCA::Server (type Net::Server::Fork) starting!
> pid(21572)
> Binding to UNIX socket file /var/lib/openca/tmp/openca_socket using
> SOCK_STREAM
> 2003/12/15-12:27:22 Invalid group "www-data"
>   at line 411 in file /usr/share/perl5/Net/Server.pm
> 2003/12/15-12:27:22 Server closing!
> cosstel:/etc/openca# 

-- 
Alexei Chetroi

UniFlux Line
Chisinau, MD2001, Moldova
bd. Stefan cel Mare, 69/1, et 3
Tel: +3732-278-376
Fax: +3732-278-398
GSM: +3739-111-893
e-mail: [EMAIL PROTECTED]
http://www.uniflux-line.net



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to