1822512 Members
2423 Online
109642 Solutions
New Discussion юеВ

Re: Apache not starting

 
KPS
Super Advisor

Apache not starting

Having issues trying to start Apache on HP-UX 11.23 (IA-64). We're running the following version:

hpuxwsAPACHE B.2.0.59.00

We've turned debug on with LogLevel Debug.

We're getting the following messzge in the Apache error_log.

[Mon Feb 25 11:53:32 2008] [info] Digest: generating secret for digest authentication ...
[Mon Feb 25 11:53:32 2008] [crit] (19)No such device: Digest: error generating secret: No such device
Configuration Failed

Would anyone have any idea as to what could be the cause?

Thanks,
/KPS
6 REPLIES 6
Ralph Grothe
Honored Contributor

Re: Apache not starting

Do you have these devices?

# ll /dev/{,u}random
cr--r--r-- 1 bin bin 95 0x000000 Feb 17 14:12 /dev/random
cr--r--r-- 1 bin bin 95 0x000001 Feb 17 14:12 /dev/urandom
Madness, thy name is system administration
KPS
Super Advisor

Re: Apache not starting

I do however, they look like they have a different permission set on them: (See Below)


ll /dev/{,u}random
crw-r--r-- 1 root sys 115 0x000000 Jan 22 11:31 /dev/random
crw-r--r-- 1 root sys 115 0x000001 Jan 22 11:31 /dev/urandom
Zinky
Honored Contributor

Re: Apache not starting

What was the fix?

Same issue here:

[crit] (19)No such device: Digest: error generating secret: No such device

in error_log


11.31 H-UX IA64 with the March 2008 OE and bundled HP Apache.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
KPS
Super Advisor

Re: Apache not starting

The fix for us was to change the permissions and ownership of the randmon and urandom device files as follows:

cr--r--r-- 1 bin bin 95 0x000000 Feb 17 14:12 /dev/random
cr--r--r-- 1 bin bin 95 0x000001 Feb 17 14:12 /dev/urandom

Our's was not correct with the way our OS was installed.

Hope this helps you in your case scenario...

/KPS
KPS
Super Advisor

Re: Apache not starting

.
KPS
Super Advisor

Re: Apache not starting

One thing to add is that we're running HPUX version 11.23 and not 11.31 like yourself so not sure if this fix would apply to your os version.