Daemon Status "RED"

This is my 2nd time of setting up PlaySMS using kannel.
My first build is Ubuntu.
Now, im using Centos because i’m more comfortable.

The problem now is on the view log file, im getting this playSMS daemon status with RED mark.

I didn’t get an error running install-playsms.sh

What seem to be the problem.

Thanks,

please always state your playSMS version

anton

sorry
its
playsms-1.3.1

from Linux console, can you check using playsmsd check and playsmsd version if your playSMS is running and the version is 1.3.1

anton

playsmsd : command not found.

this is in line with my question regarding the non-ubuntu installation of playsms.
i’ve check my ubuntu installation of playsms compare to centos, the files are not created on the specific locations by running the script.

where do you set your playsms bin path ? did you edit install.conf ?

anton

i-re installed my OS and everything again from scratch.
now everything works. sending and receiving etc…
but still in the REPORT > VIEW LOG the daemon status is not running but there is entries on the box below.
Also in the SETTINGS > MANAGE GATEWAY and SMSC
im getting UNABLE TO ACCESS KANNEL ADMIN COMMANDS

im using Centos 6.7 and 1.3.1

again, can you please post your playsmsd check result here

anton

PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 1
PIDS schedule = 3540
PIDS dlrssmsd = 3542
PIDS recvsmsd = 3544
PIDS sendsmsd = 3546

ok, now please try to run this:

/usr/local/bin/playsmsd /etc/playsmsd.conf check_json

paste here the result

anton

{“PLAYSMSD_CONF”:"/etc/playsmsd.conf",“PLAYSMS_PATH”:"/var/www/html/playsms",“PLAYSMS_LIB”:"/var/lib/playsms",“PLAYSMS_BIN”:"/usr/local/bin",“PLAYSMS_LOG”:"/var/log/playsms",“DAEMON_SLEEP”:“1”,“ERROR_REPORTING”:“E_ALL ^ (E_NOTICE | E_WARNING)”,“IS_RUNNING”:true,“PIDS”:{“schedule”:“10395”,“dlrssmsd”:“10397”,“recvsmsd”:“10399”,“sendsmsd”:“10401”}}

Hi,

Any update on this? Is this a CENTOS issue ?
thanks.

Hi, same question here. Any update?
Thanks a lot.

Hi Anton, I have the same problem here, do you already have the solution?

Same problem here, any solution?

Solución :
si el resultado de getenforce es Enforcing deben dejarlo en Permissive con este comando “setenforce 0”…

Saludos.

Here its normally the admin password for kannel to see status.

For Centos 7 you must disable selinux.

For permanent disable execute the sed commnad and reboot server.
sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config

{“PLAYSMSD_CONF”:"/etc/playsmsd.conf",“PLAYSMS_PATH”:"/var/www/html/playsms",“PLAYSMS_LIB”:"/var/lib/playsms",“PLAYSMS_BIN”:"/usr/local/bin",“PLAYSMS_LOG”:"/var/log/playsms",“DAEMON_SLEEP”:1,“ERROR_REPORTING”:“E_ALL ^ (E_NOTICE | E_WARNING)”,“IS_RUNNING”:false,“PIDS”:{“schedule”:“1702”,“ratesmsd”:"",“dlrssmsd”:“1706”,“recvsmsd”:“1709”,“sendsmsd”:“1711”}}