Solved

Linux/Apache "trap invalid opcode error messages"

Posted on 2011-09-17
4
3,005 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 77

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
liboauth-php x oauth-1.2.3 3 44
PHP_POST() error message 9 40
How to redirect all users but me properly to another page with htaccess 2 42
Choosing CentOS 16 45
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

932 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

11 Experts available now in Live!

Get 1:1 Help Now