Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
mysql-server installation on Duo
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-16
01:37 PM
2012-11-16
01:37 PM
mysql-server installation on Duo
I'm newbie on the ReadyNas Duo (and generally on Linux), and I have trouble installing mysql-server (I need it because I want to try domogik on the Nas).
First I think that mysql-server was already installed on the Nas, but nothing in the running process (I also try to start the daemon with no error code but no sql process was running).
So I tried to install it by apt-get, installation seems ok, but post-installation step seems KO :
Nevertheless, I tried to log on sql :
no '/var/run/mysqld/mysqld.sock' file exists...
I also try the MySqlOn add-on (+ reboot), without success.
Please help me... :cry:
First I think that mysql-server was already installed on the Nas, but nothing in the running process (I also try to start the daemon with no error code but no sql process was running).
So I tried to install it by apt-get, installation seems ok, but post-installation step seems KO :
nas:/usr/bin# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up mysql-server (4.0.24-10sarge3) ...
/var/lib/dpkg/info/mysql-server.postinst: line 99: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server.postinst: line 159: logger: command not found
dpkg: error processing mysql-server (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nevertheless, I tried to log on sql :
nas:/usr/bin# mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
no '/var/run/mysqld/mysqld.sock' file exists...
I also try the MySqlOn add-on (+ reboot), without success.
Please help me... :cry:
Message 1 of 2
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-03-03
04:20 AM
2013-03-03
04:20 AM
Re: mysql-server installation on Duo
Try to execute:
If this dont work, look into the config file /etc/mysql/my.cnf and enable logging.
Then view the errormessage with tail yourPathToLogFile.
I had an issue, that the user admin wasn't the owner of the mysql datadir folder.
Good luck.
/usr/sbin/mysqld -- \
--basedir=/usr --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/run/mysqld/mysqld.sock
If this dont work, look into the config file /etc/mysql/my.cnf and enable logging.
Then view the errormessage with tail yourPathToLogFile.
I had an issue, that the user admin wasn't the owner of the mysql datadir folder.
Good luck.
Message 2 of 2