Solved

Linux/Apache "trap invalid opcode error messages"

Posted on 2011-09-17
4
2,964 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
  • 2
4 Comments
 
LVL 76

Assisted Solution

by:arnold
arnold earned 150 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 350 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now