Daemon Status "RED"


(djsensui) #1

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,


(Anton Raharja) #2

please always state your playSMS version

anton


(djsensui) #3

sorry
its
playsms-1.3.1


(Anton Raharja) #4

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


(djsensui) #5

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.


(Anton Raharja) #6

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

anton


(djsensui) #7

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


(Anton Raharja) #8

again, can you please post your playsmsd check result here

anton


(djsensui) #9

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


(Anton Raharja) #10

ok, now please try to run this:

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

paste here the result

anton


(djsensui) #11

{“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”}}


(djsensui) #12

Hi,

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


(David Chumpitaz) #13

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


(Desta Aji) #14

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


(Fabiano Rodrigues) #15

Same problem here, any solution?


(Felipe Sebastian Acuña Cornejo) #16

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

Saludos.


(Steven Delport) #17

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