Could not connect:Can't connect to local MySQL server through socket | Joomla Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Could not connect:Can't connect to local MySQL server through socket
January 23, 2014
10:04 pm
Avatar
Johnofbrazil
Member
Members
Forum Posts: 6
Member Since:
December 30, 2013
sp_UserOfflineSmall Offline

After successfully moving the site from localhost to online server, (thank you!) i get this message when I try to open x-cloner:

Warning: session_start() [function.session-start]: open(/var/lib/php-cgi/session/sess_ejo6giqqgibqlko7njcske4f44, O_RDWR) failed: No such file or directory (2) in/home/storage/8/52/0a/totalsegurancago/public_html/administrator/components/com_xcloner-backupandrestore/admin.cloner.php on line 24

 Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Unable to select database yix5a_

What file do I need to edit to make it work again?  I had to edit lines in the configuration .php for joomla to work correctly, so i assume something needs to be changed for the new server.

Thank you,Confused

John

 

January 24, 2014
7:45 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try and reinstall XCloner and see if it helps!

January 24, 2014
10:44 am
Avatar
Johnofbrazil
Member
Members
Forum Posts: 6
Member Since:
December 30, 2013
sp_UserOfflineSmall Offline

It appears that a re-install has allowed it to connect with database, but I am still getting this message:

Warning: session_start() [function.session-start]: open(/var/lib/php-cgi/session/sess_nvjp5fk5mm0n0eev8kf601ble2, O_RDWR) failed: No such file or directory (2) in/home/storage/8/52/0a/totalsegurancago/public_html/administrator/components/com_xcloner-backupandrestore/admin.cloner.php on line 24

Do i need to create a new directory, and exactly where?

thanks,

john

January 24, 2014
8:13 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Please check with your hosting support, it seems your session.save_path php.ini parameter is set incorrect.

January 27, 2014
7:33 pm
Avatar
Johnofbrazil
Member
Members
Forum Posts: 6
Member Since:
December 30, 2013
sp_UserOfflineSmall Offline

I re-installed x-cloner twice, and the directory:` components/ x-clonerbackup and restore`  is still empty.

I know it is creating this directory, because I deleted the empty one.

I have sucessfully installed other components and plug-ins since the move.

Can I upload the package to this directory manually?

As per your previous post:    php.ini lists this entry:   session.save_path = "/var/lib/php-cgi/session"

what should it be?

Thanks,

John

January 27, 2014
8:09 pm
Avatar
Johnofbrazil
Member
Members
Forum Posts: 6
Member Since:
December 30, 2013
sp_UserOfflineSmall Offline

After some more research on your site, I came up with this question:

Could this problem be caused by something in the htaccess file?

thanks again

John

January 28, 2014
8:48 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try session.save_path = /tmp

 

XCloner was installed fine, the files are inside the administrator/components/com_xcloner-backupandrestore , you simply need to fix the php sessions to be able to login properly.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Emmanuel Joachim
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0