NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
michelefaccini
Feb 20, 2014Aspirant
mysqlon
Hi all, I don't know what happened or if my problem started after a sector reallocation (Reallocated sector count has increased in the last day. Disk 2: Previous count: 522 Current count: 523 Growing SMART errors indicate a disk that may fail soon. If the errors continue to increase, you should be prepared to replace the disk.) but MySQL doesn't work any more.
Under var/run/mysqld/, mysqld.pid and mysqld.sock files are missing. I can't manage to install back the PRO-MysqlOn_1.0 add-on without an error ( the Frontview Volume led is still blinking yellow ).
Is there a way to fix this through the putty shell with some command lines ?
Under var/run/mysqld/, mysqld.pid and mysqld.sock files are missing. I can't manage to install back the PRO-MysqlOn_1.0 add-on without an error ( the Frontview Volume led is still blinking yellow ).
Is there a way to fix this through the putty shell with some command lines ?
3 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredCan you still access your data? You've left a disk in your NAS that should have been replaced by now.
- michelefacciniAspirantI can still access my data. Unfortunately I bought 3 Seagate ST31500341AS 1.5 TB 7200 rpm and already one I had in my desktop case crashed. The others two are in my Readynas. Do you think that ordering two Western Digital HDD 2TB WDRed NASware 64Mb SataIII is a good choice ? I fed up with these Seagate.
Removing some add-ons like Rsnapshot,PHPShell and uninstalling also phpMyAdmin permitted me to install MysqlOn back. My mysqld.pid and mysqld.sock files are now present...I can now access MySQL with phpMyAdmin. My website is not yet accessible...or better to say that : the index.html page is loaded but as soon as a php page is loaded and queries the database) I got an 'Permission refused'....If I change in my 'constants.php' file from define("DB_SERVER", "192.168.0.2"); to define("DB_SERVER", "localhost"); the load sequence goes on but the others pages are not found.....I'M DEBUGGING ALL THIS !?! - michelefacciniAspirantHi all,
I replaced the two hard disks and reinstalled all the stuff back.
I have now a problem never encountered before : if I try to connect to my website I get a 'connection refused' . In fact the index.html page is display, but as soon as the database is queried from the first php page, I get the 'connection refused'.
More info :
I can connect to phpMyAdmin and can see my databases.
I can connect to my Readynas through the Putty shell.
The following are my constants for the database connection :
define("DB_SERVER", "192.168.0.2");
define("DB_USER", "admin");
define("DB_PASS", "password");
define("DB_NAME", "DB_sito2");
For the 'Connection Refused', I found the following explanation :
A Connection Refused error occurs when the web server's host computer is found, but the host computer refuses to accept the connection on the default port. This usually indicates a problem with your web server software or the web server software is not running.
Any idea of what I'm missing.......
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!