Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Free Virtual Servers

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 12:38:36 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-06-2008, 01:52:18 PM     #11 (permalink)

 
Join Date: Jan 2005
Posts: 160
mishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond repute

Quote:
Originally Posted by yesterday View Post
are you starting mysql as the right user?

yesterday
I have tried to start it via the WHM control pannel

And as root trying to start mysqld_safe
mishmash is offline  
Old 27-06-2008, 02:34:27 PM     #12 (permalink)

 
Join Date: Jan 2005
Posts: 160
mishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond repute

I tried running mysqlup (updating mysql without success)

Quote:
su mysql
bash-3.00$ /usr/sbin/mysqld
080627 15:35:22 [ERROR] Can't start server : Bind on unix socket: Permission denied
080627 15:35:22 [ERROR] Do you already have another mysqld server running on socket: /usr/local/lib/mysql.sock ?
No other mysqld :
Quote:
killall -9 mysqld
mysqld: no process killed
I don't know about the "permission denied".
mishmash is offline  
Old 27-06-2008, 02:39:13 PM     #13 (permalink)

 
Join Date: Jan 2005
Posts: 160
mishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond repute

Quote:
Originally Posted by mishmash View Post
I don't know about the "permission denied".
Permissions on the mysql.sock file look fine
Quote:
srwxrwxrwx 1 mysql mysql 0 Jun 26 21:02 mysql.sock=
mishmash is offline  
Old 27-06-2008, 02:40:17 PM     #14 (permalink)

 
Join Date: May 2006
Posts: 1,188
Jeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond repute

as silly as it sounds, in the past, a reboot has fixed this... Have you tried that?

However, there are a few issues with cpanel / mysql etc. Try this page: Fun Things in Life Blog Archive WHM/CPanel MySQL 5 Problem
Jeewhizz is offline  
Old 27-06-2008, 03:07:47 PM     #15 (permalink)

 
Join Date: Jan 2005
Posts: 160
mishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond repute

I have tried a number of restarts

I have ensured there are no basedir entries in mysql.cnf

I have also performed a forced upgrade of MySQL and restarted.
mishmash is offline  
Old 27-06-2008, 03:28:53 PM     #16 (permalink)

 
yesterday's Avatar
 
Join Date: Jul 2006
Posts: 603
yesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond repute

I don't think you should be able to start mysql as root very easily - I think you should perhaps be the mysql user or another.

forget that I cant find any evidence online to support my theory!

yesterday

Last edited by yesterday; 27-06-2008 at 03:56:03 PM.
yesterday is offline  
Old 27-06-2008, 03:57:07 PM     #17 (permalink)

 
yesterday's Avatar
 
Join Date: Jul 2006
Posts: 603
yesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond reputeyesterday has a reputation beyond repute

this link:
Cannot start mysqld and mysql - Usenet Forums
suggests (last post) that you delete the mysql.sock file and let mysql_safe rebuild it.

Might be worth a try (probably rename or move rather than delete - just in case!)

yesterday
yesterday is offline  
Old 27-06-2008, 04:58:06 PM     #18 (permalink)

 
Join Date: May 2006
Posts: 1,188
Jeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond reputeJeewhizz has a reputation beyond repute

Alternatively, try looking on the cpanel forums, as you won't have been theonly person with that problem
Jeewhizz is offline  
Old 27-06-2008, 05:28:32 PM     #19 (permalink)

 
Join Date: Jan 2005
Posts: 160
mishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond reputemishmash has a reputation beyond repute

Craig's team at UK Dedicated Servers, Managed Dedicated Servers, UK Managed Web hosting, cPanel Hosting & Business hosting with Passionate Support solved the problem by commenting out the line:

Quote:
socket = /usr/local/lib/mysql.sock
In mysql.cnf

Last edited by mishmash; 27-06-2008 at 05:29:44 PM. Reason: quote formating
mishmash is offline  
Closed Thread



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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Servage MySQL problems etc.... mat Domain Name Registrars 8 07-10-2008 01:55:41 PM
1 mysql - 2 sites... ratboy Website Design 4 15-02-2008 01:17:46 PM
MySQL help fish Services Wanted 9 10-09-2007 10:59:49 AM
123-reg problems goldman General Board 2 07-05-2006 07:18:25 PM

Web Hosting from UK2 from just 99p


All times are GMT. The time now is 12:38:36 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".