分页: 1 / 1

Apache issue in HP-UX 11.31

发表于 : 2012年 5月 14日 09:19 星期一
SYSTEM
We have apache not starting in 11.31 log file shows the below error apache version is shown below.

hpuxws22APACHE B.2.2.15.06 HP-UX Apache-based Web Server

Error log
[Fri May 11 11:06:43 2012] [crit] (19)No such device: Digest: error generating secret: No such device Configuration Failed

Re: Apache issue in HP-UX 11.31

发表于 : 2012年 5月 14日 09:33 星期一
HONG
Depending on the state of your system, perhaps the bundle contents are in a state of flux for some reason . .

or simply wasn’t configured properly during the install “configure” phase.

In any case, one immediately thing to try is “swconfig –x reconfigure=true hpuxws22APACHE”.
This will implicitly select the OpenSSL bundle as well, which is probably okay to include.

If you want to just reconfigure Apache, then use “swconfig -x reconfigure=true -x autoselect_dependencies=false hpuxws22APACHE”

Maybe this will fix it.

Re: Apache issue in HP-UX 11.31

发表于 : 2012年 5月 14日 09:33 星期一
SYSTEM
Well I did swconfig –x reconfigure=true hpuxws22APACHE but still the issue exists, but If I comment the line for digest in httpd.conf it is working.

Re: Apache issue in HP-UX 11.31

发表于 : 2012年 5月 14日 09:35 星期一
HEUNG
This is a configuration issue.

I would check these in the first instance:

a) Do you have these devices:

/dev/random
/dev/urandom

If not, install them.

Or, check if this module is loaded:

# lsdev |grep rng
140 -1 rng pseudo

It must not show status "unknown":

# lsdev |grep rng
115 -1 rng unknown

# kcmodule -v rng
Module rng (0.1)
Description Strong Random Number Generator
Timestamp Fri Feb 16 03:01:29 2007 [45D4D131]
State loaded (as requested)
State at Next Boot loaded (as requested)
Capable loaded unused
Depends On interface HPUX_11_31_PERF:1.0

b) What are the permissions on them. These are defaults:

cr--r--r-- 1 root sys 140 0x000000 Feb 15 14:42 /dev/random
cr--r--r-- 1 root sys 140 0x000001 Feb 15 14:42 /dev/urandom

However, I know of a case that had to change user and group ownership to "bin"