?
Solved

Linux/Apache "trap invalid opcode error messages"

Posted on 2011-09-17
4
Medium Priority
?
3,270 Views
Last Modified: 2012-05-12
I am seeing lots & lots of these errors in /var/log/messages:

kernel: httpd[4802] trap invalid opcode rip:2afb9d6cb89a rsp:2afb9d6f458a error:0

* What does that mean?
* Can I fix it?
* If it can be ignored, how can I prevent the log filling up with these messages?

This is on Linux 2.6.18-194.17.1.el5 on x86_64, CentOS 5.7
Apache version 2.2.3
0
Comment
Question by:PaliTree
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 79

Assisted Solution

by:arnold
arnold earned 450 total points
ID: 36554899
check /var/log/apache/error_log to see whether you can match the errors.
there are kernel updates that may help in resolving this.

You have to determine what is being done that triggers the trap from an underlying event.
0
 
LVL 9

Accepted Solution

by:
fcontrepois earned 1050 total points
ID: 36555589
This is normaly due to a bug. The trigger for the message could be be located on httpd, in which case an update of apache httpd will solve the problem, otherwise it could be on an apache plugin like php or others.

So to fix it try to update apache httpd and connected software

To remove the message from your logfile you can configure a filter (see the http://www.daemon-systems.org/man/syslog.conf.5.html and search for filter) or have a crontab that runs every so often to remove those lines with
sed -i '/opcode/d' 

Open in new window

(not tested). Using those scripts result in a clean log file but limit your capacity to understand when the problem get solved.

0
 

Author Comment

by:PaliTree
ID: 36560801
I found nothing in /var/log/apache/error_log

I found that even httpd -v produced an error.

This is a "cloud server" - so I ditched that drive and did YUM updates from a backup, And, eh voila, the problem has gone away. "Corrupt data" in some way.

Thanks for your help you guys.
0
 

Author Closing Comment

by:PaliTree
ID: 36560825
Good efforts - but in the end not the solution
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question