Forums

500 - Error establishing a database connection (9 posts)

  1. LOGiCALX
    Member
    Posted 1 year ago #

    Error logs;

    [Wed May 04 00:12:43 2011] [error] [client 82.6.164.219] File does not exist: /home/logicalx/public_html/wordpress/wp-content/plugins/simple-ajax-shoutbox, referer: http://logicalx.org/wordpress/?p=261

    Goes on for 15 mins, traced the ip to a virgin media client in glasgow. (removed shoutbox plugin case of any SQL Injection scripts, also removed any other plugs that i thought might cause an issue)

    After talking to my Hosting Company they said this;

    Luke Williams 22:21:36

    Hey, your account is causing issues on server

    | 71 | exetersw_ecsc | localhost | exetersw_ecsc | Query | 0 | Opening tables | SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:acquia_mari |
    | 94 | exetersw_ecsc | localhost | exetersw_ecsc | Query | 0 | Opening tables | SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:acquia_mari |
    | 123 | exetersw_ecsc | localhost | exetersw_ecsc | Query | 0 | Opening tables | SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:acquia_mari |
    | 159 | exetersw_ecsc | localhost | exetersw_ecsc | Query | 0 | Opening tables | SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:acquia_mari |
    | 171 | exetersw_ecsc | localhost | exetersw_ecsc | Query | 0 | Opening tables | SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:acquia_mari |
    root@lexus [/tmp]# mysqladmin pr | grep logicalx_wordpress
    | 285 | logicalx_user1 | localhost | logicalx_wordpress | Query | 4 | Opening tables | SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_sta |
    | 293 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 38 | | |
    | 303 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 53 | | |
    | 307 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 4 | | |
    | 371 | logicalx_user1 | localhost | logicalx_wordpress | Query | 4 | closing tables | show tables |
    | 372 | logicalx_user1 | localhost | logicalx_wordpress | Query | 4 | closing tables | show tables |
    | 375 | logicalx_user1 | localhost | logicalx_wordpress | Query | 6 | Opening tables | SELECT option_value FROM wp_options WHERE option_name = 'aiosp_post_title_format' LIMIT 1 |
    | 377 | logicalx_user1 | localhost | logicalx_wordpress | Query | 4 | closing tables | show tables |
    | 389 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 4 | | |
    | 390 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 4 | | |
    | 391 | logicalx_user1 | localhost | logicalx_wordpress | Sleep | 4 | | |
    | 394 | logicalx_user1 | localhost | logicalx_wordpress | Query | 0 | Opening tables | SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes' |
    root@lexus [/tmp]# w
    22:20:44 up 41 days, 10:03, 2 users, load average: 17.84, 14.36, 10.46
    USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
    root pts/0 213.229.66.119 22:02 0.00s 0.07s 0.07s -bash
    root pts/2 213.229.66.119 22:04 1:36 2.92s 0.03s -bash

    Dont think there's any private info there but now im worried as they said if this continues they will suspend my account.

    Any suggestions people :(, worried i might be getting hacked.

    Thanks, Logi.

  2. LOGiCALX
    Member
    Posted 1 year ago #

    Anyone ?

    Dean

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try:
    - switching to the Twenty Ten theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

  4. sabinou
    Member
    Posted 1 year ago #

    Per chance, you could IPban that IP with an .htaccess rule, and good riddance ?

  5. LOGiCALX
    Member
    Posted 1 year ago #

    i will try the theme, and let you guys know :)

  6. LOGiCALX
    Member
    Posted 1 year ago #

    Nope that didnt help, i got the same error, checked log and i got this;

    [Thu May 05 23:20:32 2011] [error] [client 92.10.48.84] File does not exist: /home/logicalx/public_html/500.shtml
    [Thu May 05 23:20:06 2011] [error] [client 92.10.48.84] File does not exist: /home/logicalx/public_html/500.shtml, referer: http://logicalx.org/wordpress/wp-admin/theme-install.php?tab=upload

    All i was trying to do was install a theme???

    Getting really annoying now :(

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Did you reset the plugins folder?

  8. LOGiCALX
    Member
    Posted 1 year ago #

    No i will try that next but this is the log i got today when i got home about 10 mins ago;

    [Fri May 06 15:37:18 2011] [error] [client 124.115.0.26] client denied by server configuration: /home/logicalx/public_html/_vti_log/
    [Fri May 06 15:37:18 2011] [error] [client 124.115.0.26] client denied by server configuration: /home/logicalx/public_html/_vti_pvt/
    [Fri May 06 15:37:18 2011] [error] [client 124.115.0.26] client denied by server configuration: /home/logicalx/public_html/_vti_txt/
    [Fri May 06 15:37:18 2011] [error] [client 124.115.0.26] client denied by server configuration: /home/logicalx/public_html/_vti_cnf/
    [Fri May 06 15:33:09 2011] [error] [client 65.52.110.42] File does not exist: /home/logicalx/public_html/robots.txt
    [Fri May 06 15:03:24 2011] [error] [client 207.34.25.76] File does not exist: /home/logicalx/public_html/500.shtml
    [Fri May 06 15:02:12 2011] [error] [client 207.34.25.76] File does not exist: /home/logicalx/public_html/500.shtml
    [Fri May 06 15:01:36 2011] [error] [client 207.34.25.76] File does not exist: /home/logicalx/public_html/robots.txt
    [Fri May 06 14:51:50 2011] [error] [client 66.249.72.75] File does not exist: /home/logicalx/public_html/500.shtml
    [Fri May 06 14:51:50 2011] [error] [client 66.249.72.75] SoftException in Application.cpp:601: Directory "/home/logicalx/public_html/wordpress/wp-content" is writeable by group
    [Fri May 06 14:50:17 2011] [error] [client 174.129.228.67] File does not exist: /home/logicalx/public_html/robots.txt
    [Fri May 06 14:34:08 2011] [error] [client 69.63.189.249] File does not exist: /home/logicalx/public_html/500.shtml
    [Fri May 06 14:34:00 2011] [error] [client 66.249.72.75] File does not exist: /home/logicalx/public_html/wordpress/wp-content/plugins/add-local-avatar/Logicalx-logicalx-avatar-reader.org.png

    The 1st part is someone trying to hack and change my server config?

  9. LOGiCALX
    Member
    Posted 1 year ago #

    Hi everyone,

    I've reset the plugins, re-installed wordpress, and i still get the messages;

    Error establishing a database connection
    I check my cPanel and my SQL databases are offline it does this all through out the day, soon as i get Error establishing a database connection the SQL server goes to.

    Im getting really frustrated ;(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.