Hi

thanks for that. I have identified a problem with /dev/crypto. I make it with

#mknod /server/web/dev/crypto c 70 0
#chmod 666 /server/web/dev/crypto

but I get the following output from kdump

2603 httpd    NAMI  "/dev/crypto"
2603 httpd    RET   open -1 errno 6 Device not configured

What is the proper way to create a /dev/crypto node?

Conrad Winchester



On 27 Nov 2006, at 18:22, Tom Cosgrove wrote:

Try using ktrace(1) and kdump(1) to see what it's try to do.

Hope this helps

Tom

Conrad Winchester 27-Nov-06 08:23 >>>

First of all an apology: If this is a noob question. These days I
have no ideas what is and isn't noobish.

Secondly, an apology: I am not following the standard way of doing
things, but to be honest thats the way I am.

So to business. I am tryng to chroot apache 2.2 (yes I like apache 2
and have loads of experience with it, I have very little apache 1.3
experience). I have got it working in debug mode by

chroot /server/web /usr/local/apache2/bin/httpd -x

lovely, but when I try to run it normally

chroot /server/web /usr/local/apache2/bin/httpd

it fails to daemonize itself and throws the following error

[Mon Nov 27 08:09:40 2006] [crit] (6)Device not configured:
apr_proc_detach failed
Pre-configuration failed


I am pretty sure this is due to incorrect /dev nodes in my chrooted
file system. At the moment I have

srw-rw-rw-  1 root  wheel         0 Nov 27 07:50 log
crw-rw-rw-  1 root  sys      2,   2 Nov 27 06:41 null
crw-rw-rw-  1 root  wheel   45,   0 Nov 27 08:04 random
crw-rw-rw-  1 root  wheel   45,   2 Nov 27 08:05 urandom

and the following entry in /etc/rc.conf

syslogd_flags="-a /server/web/dev/log"

I have looked around but can't find what the correct config for these
devs should be ( so I mknod'ed with the same numbers as in /dev).

Can anybody offer any help or advice?


Thanks

Conrad Winchester

P.S. I still love OpenBSD and the man pages really are helpful - amazing

--
This line intentionally blank.

Reply via email to