Re: [Openca-Users] OpenBSD: Cannot write to syslogdevice; Chroot httpd issue?

2004-09-20 Thread Michael Bell
Kevin wrote:
But when I visit this page:
Also check http://myhost.wherever.edu/pub
I get only:
Error addMessage failed for log slot sys_syslog (6511070). Cannot write
to syslogdevice.
General Error. 64510030.
I think you are missing a perl module. You can deactivate the syslog 
logging by removing the relevant slot area in etc/log.xml (syslog is the 
first slot).

Initially, when I tried running apache in its chroot environment, I got
other problems (after copying over files needed in chroot environment):
OpenCA Error: Server is not online or does not accept requests
(/usr/local/openra/OpenCA/var/tmp/openca_socket -
/usr/local/openra/OpenCA/var/tmp/openca_socket ).
This arises because the socket "openca_socket" was not copied over to
the chroot environment when I copied over the /usr/local/open[rc]a
directories.  To solve that problem, I modified the openca_start/stop
script in /var/www/usr/local/openra/OpenCA/etc to use directories in the
chroot environment, and that gets me the openca_socket socket, and it
solves the problem with this socket error above, but how do I get the
openca_xml_cache socket in /usr/local/openra/OpenCA/var/tmp?  Has anyone
else done this?
The socket of the XML cache is defined in the file 
src/common/lib/functions/initServer but this socket should not be 
relevant for the chroot environment because the OpenCA server runs 
outside of the chroot environment.

Michael
--
___
Michael BellHumboldt-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
___
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] OpenBSD: Cannot write to syslogdevice; Chroot httpd issue?

2004-09-17 Thread Kevin
Hi List-

I'm still working my way through Kevin's cookbook and have succeeded at
these two steps (yeah!):

-use the browser to open a page on http://myhost.wherever.edu/openra
and you should get a page.
-Also check http://myhost.wherever.edu/ra-node


But when I visit this page:

Also check http://myhost.wherever.edu/pub

I get only:

Error addMessage failed for log slot sys_syslog (6511070). Cannot write
to syslogdevice.

General Error. 64510030.

In these tests, I tried running httpd both inside and outside of its
chroot environment (in the normal root environment) so I don't think
that's the problem.  Disk space is not a problem.

Any ideas?

Initially, when I tried running apache in its chroot environment, I got
other problems (after copying over files needed in chroot environment):

OpenCA Error: Server is not online or does not accept requests
(/usr/local/openra/OpenCA/var/tmp/openca_socket -
/usr/local/openra/OpenCA/var/tmp/openca_socket ).

This arises because the socket "openca_socket" was not copied over to
the chroot environment when I copied over the /usr/local/open[rc]a
directories.  To solve that problem, I modified the openca_start/stop
script in /var/www/usr/local/openra/OpenCA/etc to use directories in the
chroot environment, and that gets me the openca_socket socket, and it
solves the problem with this socket error above, but how do I get the
openca_xml_cache socket in /usr/local/openra/OpenCA/var/tmp?  Has anyone
else done this?



-Kevin




---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users