Newbie with Server Issue
Hi Guys , Name is Mike and I'm having a bit issue with my VPS from godaddy . For the past few days my site has been going offline almost every 12 hours and gets back online after a few minutes by itslef . I have check the log files for error and the following is what I'm getting .
By the way my server has 2GB of ram for my usage . mod_jk.log Code:
[Wed Aug 01 22:48:29.197 2012] [1849:3079039584] [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (961): Uri * is invalid. Uri must start with / ==================================================== access_log Quote:
====================================================== error_log Code:
[Wed Aug 01 22:48:23 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) httpd.conf Code:
# as you could see on my ssh I get the word defunct every 10 second http://i223.photobucket.com/albums/d...w/Untitled.png I hope this helps with the issue I'm having if you are able to detect anything wrong .. Please understand I'm new and is my first time running a VPS which I only run 3 site on it . mostly wordpress and PHPBB3 |
Quote:
Please check your: - access log for probing and requests that fopen remote files. - network connections for "odd" connections. - Wordpress, PHPBB and any 3rd party plugin versions and ensure they are the latest stable version. - locations the web server can write to and web sites itself for anomalous files or header / footer / .js content. |
Thanks for the reply
This is the only thing I have on my access log
access_log Code:
::1 - - [01/Aug/2012:22:48:29 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)" Code:
[Wed Aug 01 23:15:47 2012] [error] [client 220.181.124.179] PHP Warning: Attempt to assign property of non-object in /home/psvitacfw/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/core/parser.php on line 656 http://mikoulloa.com/tmp/pspcustomfi...access_log.txt http://mikoulloa.com/tmp/pspcustomfi..._error_log.txt http://mikoulloa.com/tmp/psvitacfw.com_access_log.txt http://mikoulloa.com/tmp/psvitacfw.com_error_log.txt Thanks guy for all your help .. one things that does come into mind is a Translator known as Transposh plugin that I'm using on both of my site .. |
Quote:
Quote:
|
Thanks for the reply and sorry I did not answer your question all four of them, as I'm new ..
- access log for probing and requests that fopen remote files. Code:
Sorry as I do not know which log name this is located in . Can you tell me which log to look for and will get the information . network connections for "odd" connections. Code:
Same as above Code:
I have double check and all is up to date . Code:
The sites I run are psvitacfw and pspcustomfirmware dot com . if this is what you mean . If not can you put a little example and will try to get the information for you .. Code:
I do not know , I have email the developer of the plugin for that information and is awaiting his response, I will give you the information once I get it .. |
Quote:
Quote:
Quote:
Quote:
Quote:
BTW: - the mod_jk log suggests you run a Tomcat connector. If you don't need mod_jk then disable it and all other modules you don't need now. - wrt "Apache/2.2.3 (CentOS) (internal dummy connection)" see http://wiki.apache.org/httpd/InternalDummyConnection - the "zend_mm_heap corrupted" error may have any number of causes. See https://bugs.php.net/search.php?cmd=...rupted&x=0&y=0 for an overview. |
Run 'netstat -antupe' as root.
Code:
I see about 5 to 10 connection of each of this IP's - the mod_jk log suggests you run a Tomcat connector. If you don't need mod_jk then disable it and all other modules you don't need now. Code:
If you are talking about modules, This is the only one I could think of unless there are he wrong one the "zend_mm_heap corrupted" error may have any number of causes. See https://bugs.php.net/search.php?cmd=...rupted&x=0&y=0 for an overview. Code:
Can that be disable as I only run wordpress and PHPBB3 on my site . ============================== I meant /tmp and /var/tmp. If you find any odd items run 'stat' on them as root. This is what I found in those location http://i223.photobucket.com/albums/d...c-repair/2.png http://i223.photobucket.com/albums/d...c-repair/1.png ================================== Thanks again for all your help in helping me out with this issue . |
Sorry forgot to mention, Then I'm using CloudFlare the free package in case that helps ..
|
Moved: This thread is more suitable in Linux - Security and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Quote:
*BTW, should you think you could benefit from more thorough log file inspection then I suggest you run them through Logwatch with the "--detail High --service All --range All --archives --numeric --save /var/log/logwatch.log" switches. Do not hesitate to share /var/log/logwatch.log if any output seems suspicious. Back to selling points, it matters for hosting companies that Linux is available free of cost. Please realize that the fact it is available free of cost does not mean running Linux is free of responsibilities. Get acquainted with www.centos.org/docs/ and wiki.centos.org/ and maybe get your self an on-line Linux basics and server administration book. Quote:
Next to MPM your Apache main configuration file lists only built-ins and without knowing /etc/httpd/conf.d/ configuration file details it would be unwise and counter-productive to make suggestions for pruning modules. The Apache web site provides detailed information for each module but IIRC not dependencies. This means you should read up on what a module does, assess if you need it and then test a copy of your web server configuration, preferably on a staging area, before committing changes to your production host. Note that depending on circumstances "staging" may mean copying over a modified /etc/httpd tree and starting Apache on a separate port, another VPS you can use or local virtualization if you run VMWare, QEmu, VirtualBox, XEN or whatever else you choose. Pruning modules may make the web server process relatively lighter to start up, restricts functionality to only what you need (I doubt you need any LDAP-related, WebDAV or proxy modules) and may avoid exposing unnecessary information (Apachetop relies on modules/mod_status.so and modules/mod_info.so IIRC). Quote:
Quote:
|
All times are GMT -5. The time now is 12:38 PM. |