On Mon, Nov 27, 2006 at 07:06:51PM +0000, Conrad Winchester wrote:
> On 27 Nov 2006, at 18:22, Tom Cosgrove wrote:
> >Conrad Winchester 27-Nov-06 08:23
> >>Secondly, an apology: I am not following the standard way of doing
> >>things, but to be honest thats the way I am.
> >>
> >>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

> >>lovely, but when I try to run it normally

> >>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.

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

> 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?

Pretty much this, but /dev/crypto is only for hardware-accelerated
crypto. Are you really sure you should use it?

Also, check for the nodev mount flag.

Finally, doing things differently isn't always a good idea, but I'm sure
you are aware of this.

                Joachim

Reply via email to