Operating System - HP-UX
1847139 Members
5784 Online
110263 Solutions
New Discussion

syslog.log error messages

 
SOLVED
Go to solution
Jim Kohler
Occasional Advisor

syslog.log error messages

We run a K200 with 2 cpus, 256mb ram, operating on HP-UX 10.01. I get the following error messages in syslog.log.

User: webmang. System exception 10 (0xA), "Memory access violation Trapped"

User: webmang. socket accept failed - errno = 24

The machine doesn't do much but run a 3rd party cgi script through our Apache server. Webmang is the owner of the the cgi and Apache processes. Can someone suggest what might be generating these messages and if I should try make some changes to get rid of them. I don't get any complaints about the operation of the cgi script (it's an encrypted perl script).
2 REPLIES 2
Kofi ARTHIABAH
Honored Contributor

Re: syslog.log error messages

Jim:

It looks like the cgi script is generating a SIGILL code 10 = priviledged operation trap (see man signal) you could choose to ignore it by including the line

trap "" 1 2 3 10

in your .profile for the webmang user. However, I would advise against that - it is a good idea to find out what priviledged operation the script is attempting to perform... get the cgi script fixed rather than working around it... and beware of cgi script that you do not have access to the source code - your webserver could be easily compromised if someone knows how!!!
nothing wrong with me that a few lines of code cannot fix!
Stacey Rippetoe
Advisor
Solution

Re: syslog.log error messages

The error indicates too many files for a process. HP-UX error 24 (or any errno) can be found in /usr/include/sys/errno.h
#define EMFILE 24 /* Too many open files*/
You may need to increase the maxfile kernel parameter. You can do that in SAM.

S.