Nikolay Sturm wrote:

* JR Dalrymple [2005-06-22]:
stacy# apachectl start

If you don't set httpd_flags="-u" in rc.conf or rc.conf.local, this
starts a chrooted httpd.

cat /var/www/logs/error_log
[Tue Jun 21 17:25:38 2005] [error] (2)No such file or directory: exec of /cgi-bin/openwebmail/openwebmail.pl failed

This tells you /usr/bin/perl is not found, as it is outside the chroot.

Nikolay

For the archives:

To get everything functional I did indeed have to run Apache outside of the jail. No sweat there obviously, just use the -u flag.

Also I had to pull the nosuid flag out of the /var entry of the fstab

Also I had to chown root all of those scripts that were owned by user 276 (bug in the package? the port installed them with root as the user)

After doing the chown obviously I had to chmod back to 4555 for those scripts

Lastly, (Openwebmail works now) I had to install mindterm-2.3.1 to get the ssh console inside Openwebmail to work. Thanks to these instructions:

<http://openwebmail.org/openwebmail/download/redhat/howto/mindterm2/HOWTO.HTML>

Thanks for all the help guys, I just needed a bunch of pushes in the right direction

JR

Reply via email to