Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 20th October 2011, 17:59
Salital Salital is offline
Member
 
Join Date: Jul 2011
Posts: 48
Thanks: 5
Thanked 0 Times in 0 Posts
Default Uninstall RVM and Weird error.log lines

Hi Guys,

Yesterday I'm working to remove RVM from my ISPConfig Webserver suddenly the server gone down

HOW I REMOVE RVM (I Use the following procedure as root)
/////////////////////////////////////////////

following this steps "http://stackoverflow.com/questions/3558656/how-to-remove-rvm-ruby-version-manager-from-my-system" (but before I used /root/cleanout.rvm.sh script)

[QUOTE]
#!/bin/bash
echo "Removing all traces of Per-User and Multi-User Installations,
and RVM group"
sudo rm -rf $HOME/rvm-installer $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /
etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm*
sudo rm -f /usr/local/share/man/man1/rvm.1*
sudo /usr/sbin/groupdel rvm
echo "Clearing shell history"
sudo history -c && history -w # To remove root's as well
history -c && history -w # Now remove the user's
echo "RVM testing environment reset. Please check
all .bashrc|.bash_profile|.profile|.zshrc for RVM source lines and
delete or comment out."
echo "RVM removed - Please Exit Shells!"
/QUOTE]

////////////////////////////

I taked a look at /var/log/apache2/error.log file the following lines tell me that's impossible to connect to Mysql database

Quote:
[Mon Oct 17 02:44:15 2011] [warn] (101)Network is unreachable: connect to listener on [::]:8080
from <internalrelude>:10:in `synchronize'
[Tue Oct 18 16:28:48 2011] [error] [client 213.232.93.5] File does not exist: /var/www/freenode-proxy-checker.txt
from /usr/local/rvm/gems/ruby-1.9.2-p290@mywebsite/gems/bundler-1.0.20/lib/bundler/runtime.rb:11:in `setup'
[Wed Oct 19 17:05:10 2011] [error] [client 192.168.1.104] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Notice: Undefined index: login_failed in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
[Wed Oct 19 17:11:11 2011] [error] [client 192.168.1.104] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72, referer: http://192.168.1.105:8080/
DBI connect('database=dbispconfig;host=localhost:3306' ,'ispconfig',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/ispconfig/server/scripts/vlogger line 514
DBI Error: at /usr/local/ispconfig/server/scripts/vlogger line 514, <STDIN> line 209.
[Wed Oct 19 17:11:24 2011] [notice] caught SIGTERM, shutting down
MY QUESTION

the 8080 port doen't work and the 80 port any idea to fix out this problem?

thank you in advance

S
ps. seeing the error.log file I don't think that the problem has been the RVM uninstall process
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.