NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Aug 03, 2016ReadyNAS 316 - Failed Joomla Install
I was trying to install joomla, but failed at the install page for the SQL type, localhost username/password, etc. - https://192.168.0.250/apps/joomla/installation/index.php# (http://192.168.0.250:7096/installation/index.php)
Kept giving an error when trying to submit the settings:
"mysql Could not connect to the database. Connector returned number: Unable to connect to the Database: Could not connect to MySQL."
I tried to restart MySQL but got an error:
/etc/init.d/mysql restart
[....] Restarting mysql (via systemctl): mysql.serviceJob failed. See system journal and 'systemctl status' for details.
failed!
Checking MySQL gives the following info:
dpkg --list mysql\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================================-============================-============================-==================================================================================================
iU mysql-client 5.5.49-0+deb7u1 all MySQL database client (metapackage depending on the latest version)
un mysql-client-5.0 <none> (no description available)
un mysql-client-5.1 <none> (no description available)
iU mysql-client-5.5 5.5.49-0+deb7u1 amd64 MySQL database client binaries
ii mysql-common 5.5.49-0+deb7u1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.49-0+deb7u1 all MySQL database server (metapackage depending on the latest version)
un mysql-server-5.0 <none> (no description available)
un mysql-server-5.1 <none> (no description available)
iU mysql-server-5.5 5.5.35+dfsg-0+wheezy1 amd64 MySQL database server binaries and system database setup
un mysql-server-core <none> (no description available)
un mysql-server-core-5.0 <none> (no description available)
un mysql-server-core-5.1 <none> (no description available)
iU mysql-server-core-5.5 5.5.49-0+deb7u1 amd64 MySQL database server binaries
Reinstall gives a socket error:
sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
mysql-server
1 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
1 not fully installed or removed.
Need to get 78.7 kB of archives.
After this operation, 4,096 B disk space will be freed.
Get:1 http://security.debian.org/ wheezy/updates/main mysql-server all 5.5.49-0+deb7u1 [78.7 kB]
Fetched 78.7 kB in 0s (101 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
debconf: falling back to frontend: Readline
(Reading database ... 25988 files and directories currently installed.)
Preparing to replace mysql-server 5.5.35+dfsg-0+wheezy1 (using .../mysql-server_5.5.49-0+deb7u1_all.deb) ...
Unpacking replacement mysql-server ...
Setting up rsyslog-mysql (5.8.11-3+deb7u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-mysql.conf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dpkg: error processing rsyslog-mysql (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up mysql-server (5.5.49-0+deb7u1) ...
Errors were encountered while processing:
rsyslog-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Doing a search for the /var/run/mysqld/mysqld.sock error appears to be a port 3066 block (possibly local firewall issue?) - not sure what is causing this issue either :(
I have tried to un-install Joomla, but it failed and is now disfunctional :( I can't get rid of the entry in the Webpage Front-View App List either to re-try - no error shown, just get "Removing Applicatiom... This proccess may take a while.." then the page re-loads and has no changes (broken joomla is still listed), even after a reboot. Joomla doesn't work (page cannot be dislayed on any of the launch/settings/setup links)
I dont want to factory reset since I have some old apps I don't want to update (unwanted new features) which aren't related to joomla/MySQl/PHP.
I have the following already installed (and working), using f/w: 6.5.1
linux-dash
PHP
PHPSysinfo for ReadyNAS
Shell in a box
If possible I'd like to run joomla from the NAS without a factory reset, any suggestions?
There was a symlink pointing to a directory that didn't exist and mysql couldn't handle that.
I just fixed that problem, created a new default mysql database and started the service.Can you confirm that's working and also see if you can install any apps via the UI now?
26 Replies
Replies have been turned off for this discussion
- JennCNETGEAR Employee Retired
- Retired_Member
I would like to know how to manually remove Joomla from the NAS Apps page first, that way I can try to re-install it.
- JennCNETGEAR Employee Retired
Hello J_s1,
From the apps page there is an option to remove on each app icon, that is the only way to remove an app. If this does not work, it can be fixed from the backend. I checked your profile and found that you have not registered your RN316 with its serial number, please get to support portal to have your NAS registered and active its support options so you the issue can be escalated to a higher tier.
Regards,
Related Content
NETGEAR Academy

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