[opensuse-buildservice] Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock
Hi,All
My OBS instance sets up on opensuse 11.4 (64bit).The version of OBS
server is 2.3.3. The version of Mysql client is 5.1.63.
Now I Encountered a problem about OBS server. When I refresh a page
always, I got an error says "Application Error" and the webui's log tells me
"
=====================================================================
[INFO |# 7620] Processing MonitorController#index (for 192.168.1.89 at
2013-04-23 14:13:02) [GET]
[INFO |# 7620] Parameters: {"controller"=>"monitor", "action"=>"index"}
[INFO |# 7620] Authenticated request to "/monitor" from cheneyche
[INFO |# 7620] Rendering template within layouts/application
[INFO |# 7620] Rendering monitor/index
[INFO |# 7620] Completed in 757ms (View: 26, DB: 283) | 200 OK
[http://192.168.1.24/monitor]
[INFO |# 7620] Processing MonitorController#index (for 192.168.1.89 at
2013-04-23 14:13:03) [GET]
[INFO |# 7620] Parameters: {"controller"=>"monitor", "action"=>"index"}
[INFO |# 7620] Authenticated request to "/monitor" from cheneyche
[FATAL|# 7620] BsRequest::ListError (<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
):
app/models/bs_request.rb:155:in `list'
app/models/person.rb:195:in `requests_that_need_work'
app/models/person.rb:192:in `requests_that_need_work'
app/controllers/application_controller.rb:335:in `check_user'
/usr/lib64/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib64/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib64/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib64/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib64/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib64/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib64/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib64/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib64/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib64/ruby/1.8/webrick/server.rb:82:in `start'
[ERROR|# 7620] rescue_action: caught BsRequest::ListError: <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
[ERROR|# 7620] Couldn't parse error xml: #
On 23.04.2013 08:23, cheyw wrote:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock
Either your mysql is dead or you misconfigured the socket Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi,Stephan I'm sure the service MySql is running. Because my OBS server can be used normally in peacetime, this problem only happened that refresh a page many times。 Thanks。 -- View this message in context: http://opensuse.14.x6.nabble.com/Can-t-connect-to-local-MySQL-server-through... Sent from the opensuse-buildservice mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 2013-04-24 05:44, cheyw wrote:
Hi,Stephan I'm sure the service MySql is running. Because my OBS server can be used normally in peacetime, this problem only happened that refresh a page many times。 Thanks。
Some time in the past, the socket was at /var/lib/mysql/mysql.sock. Check /etc/my.cnf. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi,All Thanks very much。The problem has been solved。The problem is in the database of obs in mysql。 OBS service access an form of obs in mysql。but the form is too big。After empty the form,the service work final。 BRs cheyw -- View this message in context: http://opensuse.14.x6.nabble.com/Can-t-connect-to-local-MySQL-server-through... Sent from the opensuse-buildservice mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
cheyw
-
Jan Engelhardt
-
Stephan Kulow