It appears that the install went well and the program starts properly, however trying to get the start on boot (Step #5 in the above link) does not work for me.
I reboot my Raspberry Pi and playsmsd does not auto start. I have to manually start the services.
I was able to locate rc.local in both the /etc and /etc/init.d directories. This file does not exist in /etc/rc.d/init.d
Any clues as to why this may not work for me would be greatly appreciated!
Thanks for the response. I am noticing that the issue may be permissions based? When I did the install, the install.conf DBUSER was “root” (DBUSER=“root”). When I run the ./install-playsms.sh command, the services start normally.
INSTALL DATA:
MySQL username = root
MySQL password = **********
MySQL database = playsms
MySQL host = localhost
MySQL port = 3306
Web server user = www-data
Web server group = www-data
playSMS web path = /var/www/html/playsms
playSMS lib path = /var/lib/playsms
playSMS bin path = /usr/local/bin
playSMS log path = /var/log/playsms
playSMS conf path = /etc
Do you have any instructions on where I can set up the permissions through MySQL? I have already tried granting all privileges to this user by running:
GRANT ALL PRIVILEGES ON *.playsms TO ‘playsms’@‘localhost’;
Am I missing something? Thanks in advance, and apoligies in advance since I am picking up Ubuntu/Linux for the very first time.