anton
June 25, 2020, 10:14am
43
yes, should point to a correct playsmsd daemon script (bin) and playsmsd.conf
for console command, also need to use correct path
daemon is running background, started form console, not form web. start daemon form console as regular user (not root, dont run it as root):
/home/komodo/bin/playsmsd /home/komodo/etc/playsmsd.conf restart
check it:
/home/komodo/bin/playsmsd /home/komodo/etc/playsmsd.conf check
anton
batman
June 25, 2020, 10:18am
44
Can you please check this. is this correct
playSMS source path = /home/komodo/src/playsms-1.4.3
playSMS web path = /home/komodo/public_html
playSMS lib path = /home/komodo/lib
playSMS bin path = /home/komodo/bin
playSMS log path = /home/komodo/log
playSMS conf path = /home/komodo/etc
anton
June 25, 2020, 10:19am
45
again, run this to check:
/home/komodo/bin/playsmsd /home/komodo/etc/playsmsd.conf check
batman
June 25, 2020, 10:28am
46
PLAYSMSD_CONF = /home/komodo/etc/playsmsd.conf
PLAYSMS_PATH = /home/komodo/public_html
PLAYSMS_LIB = /home/komodo/lib
PLAYSMS_BIN = /home/komodo/bin
PLAYSMS_LOG = /home/komodo/log
DAEMON_SLEEP = 1
ERROR_REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 1
PIDS schedule = 3753
PIDS ratesmsd = 3755
PIDS dlrssmsd = 3757
PIDS recvsmsd = 3759
PIDS sendsmsd = 3761
batman
June 25, 2020, 10:31am
48
but still daemon is not running and status is red
anton
June 25, 2020, 10:36am
49
daemon is running, the red status is fine as long as the daemon is running, the check is like above then its fine
anton
that also need to be corrected
anton
June 25, 2020, 10:58am
50
additional information, relevant code to playSMS daemon status on web is here:
$json = shell_exec($plugin_config['playsmslog']['playsmsd']['bin'] . ' ' . $plugin_config['playsmslog']['playsmsd']['conf'] . ' check_json');
the web execute shell command:
/home/komodo/bin/playsmsd /home/komodo/etc/playsmsd.conf check_json
and looking for IS_RUNNING state, 1 or 0
Unhandled I see… Ensure Incoming SMS configured properly plus take a look in senders id should be included in SMS. I don’t see which application he used for his modems
Ok there there his using smstools. Ok