Hmm, as far as I can tell, the official Apache server from Drobo does not integrate well with the PHP package from Droboports.
Unfortunately, I had to remove the Apache app from Droboports because it conflicts with the official app. I haven’t had the time to fix it, so for now the only option for the 5N is the official Apache app. The problem is that the official Apache app is very, very old. And quite limited as well.
You can try to configure the official Apache app to use the Droboports version of PHP using CGI instead of mod_php. You can Google around for the details, but it basically means editing Apache’s httpd.conf file and adding something like this:
You can try lighttpd, but as a rule of thumb if your setup is working without it then there is no reason to add another app to the Drobo. More apps mean more CPU usage, and less RAM available for everyone. Less RAM means more swapping, which is the real performance killer.
Once We have already installed the Apache2 and PHP, both working perfectly, We have some problems with the last version MYSQL (mysql-5.6.13) downloaded from droboports.com
In old version we got the password from /mnt/DroboFS/Shares/DroboApps/mysql/data/.mysql_secret
However in this last version we have to use the script included /scripts called mysql_install_db
This script has the options:
OPTIONS:
-h Show this message
-n Name of the database
-u User account with all rights to the new database
-p Password for the user account
-f Force the creation (remove first if the database exists)
-b Folder to place the database backup
we have try many times but it is not resolving the installation.
mysql_create_db.sh -n mysql -u root -f -p root
MySQL root config file not found.
Also for mysql/mysql credentials but the same msg.
We have copied my.cnf to several folders and also introduce the -b option to assign a new folder DDBB… … nothing
Only with
“mysqld_safe --skip-grant-tables &” we started the service but we can not access to the mysql.tables to find or modify the root password.
the log show
2014-06-25 09:45:30 909 [Note] Server hostname (bind-address): ‘*’; port: 3306
2014-06-25 09:45:30 909 [Note] IPv6 is available.
2014-06-25 09:45:30 909 [Note] - ‘::’ resolves to ‘::’;
2014-06-25 09:45:30 909 [Note] Server socket created on IP: ‘::’.
2014-06-25 09:45:30 909 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.user’ doesn’t exist
Fatal error: Can’t open and lock privilege tables: Table ‘mysql.user’ doesn’t exist
When you first installed MySQL, did you install Perl first? This is a small annoyance of MySQL. It requires Perl for the install. After that you can remove Perl if you want.
If your install did complete successfully, there should be a file /mnt/DroboFS/Shares/DroboApps/mysql/data/.root.cnf that contains the username and password for the mysql root account.
Mind you, this file is only readable by root, for obvious reasons. In other words, only root can use the mysql_create_db.sh script.
Yes my installation did complete sucessfully, not there is not any .root.cnf file in the path /mnt/DroboFS/Shares/DroboApps/mysql/data/
Anyway here is my contributation to solve: