sujirou
October 25, 2016, 10:05am
1
Hi Sir,
I’m using my own local Ubuntu server. Following through with all the steps in your
tutorial went smoothly, However, the second to the last part in Step 9 (“playsmsd restart” ) got me into this error. Any advice, Sir? Please help.
Respectfully,
sujirou
Arthur
October 25, 2016, 10:41pm
2
Try “service playsmsd restart” ?
Not sure it’ll work, cause it’s been a long time i didn’t use Playsms.
Also try “sudo playsms restart”
Did you launch the install script with root privilege?
Otherwise type : sudo find / -name playsmsd
And if there are no output it’s mean there was a problem during the install script
1 Like
Thanks Arthur. Yeah the are no outputs. There might have been a problem with install. I hope I’d be able to find it as there were no errors during installation or at least not until after I was able to fix the previous ones.
anton
October 26, 2016, 3:10am
4
Hi,
What error ? Cannot find playsmsd ?
anton
Hi Sir… it just says “playsmsd: command not found”
running sudo find / -name playsmsd didn’t pull up any results.
anton
October 26, 2016, 3:17am
6
paste your install.conf
here
btw which tutorial ? paste the link
anton
Arthur
October 26, 2016, 3:29am
7
Furthermore if you could paste what appear in your screen while the installation process it could help too.
I’m using following this tutorial Sir:
my apologies for posting screenshots instead of text as i am using vmware workstation 12 and clipboard seems dysfunctional even after having installed vmware tools.
Hi Arthur. Will do Sir…Thank you.
anton
October 26, 2016, 3:34am
10
ok, see that PATHBIN
, its in /usr/local/bin
, if the install script executed perfectly then playsmsd
should be in /usr/local/bin
did you run install-playsms.sh
as root
? if not that could be the problem, try again
anton
sujirou
October 26, 2016, 3:39am
11
Yes, Sir Anton I did run it as root.
Arthur
October 26, 2016, 3:42am
12
How did you get the source code ? From the tar.gz archive on source forge ? From Github ? Which version of the archive did you get ? is it the 1.4 ?
sujirou
October 26, 2016, 3:48am
13
Hi Sir, I got it using this using this command:
wget -c http://ncu.dl.sourceforge.net/project/playsms/playsms/Version%201.4/playsms-1.4.tar.gz
anton
October 26, 2016, 3:49am
14
The script died while accessing mysql
, do you have mysql
?
Please check again each step, probably on Step 2 there are some packages not installed, particularly mysql related
anton
1 Like
Arthur
October 26, 2016, 3:54am
16
Maybe I’m wrong but I’ve counted 4 dot so, I think it’s this ligne which doesn’t work :
mysql -u $DBUSER -p$DBPASS -h $DBHOST -P $DBPORT $DBNAME < db/playsms.sql >/dev/null 2>&1
And not this one :
mysqladmin -u $DBUSER -p$DBPASS -h $DBHOST -P $DBPORT create $DBNAME >/dev/null 2>&1
1 Like
sujirou
October 26, 2016, 3:57am
17
It seems everything is already installed, Sir:
Arthur
October 26, 2016, 3:59am
19
Could you edit the install script and erasing “>/dev/null 2>&1” at the ligne 226 ? Then run again the install script ? And show us the result ?