I'll try without --parachute and using the run_kannel_box script. Is better to use that script?
2014-05-06 11:11 GMT+02:00 Willy Mularto <[email protected]>: > --parachute directive might be the cause > > Sent from my Sony Xperia™ smartphone > On 6 May 2014 14:39, "spameden" <[email protected]> wrote: > >> It's not normal. >> >> Normally should be something like this: >> >> kannel 248 0.0 0.0 6016 352 ? Ss Apr08 0:00 >> /usr/sbin/run_kannel_box --pidfile /var/run/kannel/bearerbox.pid >> --no-extra-args /usr/sbin/bearerbox -v 0 -- /etc/kannel/kannel.conf >> kannel 252 0.0 30.8 380500 161936 ? Sl Apr08 1:32 >> /usr/sbin/bearerbox -v 0 -- /etc/kannel/kannel.conf >> kannel 269 0.0 0.0 6016 356 ? Ss Apr08 0:00 >> /usr/sbin/run_kannel_box --pidfile /var/run/kannel/sqlbox_devel.pid >> --no-extra-args /usr/sbin/sqlbox -v 0 -- /etc/kannel/sqlbox.conf >> kannel 271 0.0 0.7 128752 3824 ? Sl Apr08 10:37 >> /usr/sbin/sqlbox -v 0 -- /etc/kannel/sqlbox.conf >> >> as you can see there is only 1 process, e.g. bearerbox and sqlbox and >> run_kannel_box daemon which is being used to start the actual bearerbox and >> sqlbox. >> >> >> >> 2014-05-06 1:55 GMT+04:00 Daniel Boira <[email protected]>: >> >>> I hava a script to start-stop kannel (bearerbox - sqlbox - smsbox); >>> basically, the script runs, but I check the process I see two process for >>> every box; it is normal? is there anything wrong? >>> >>> This is my ps aux result >>> >>> etq 3087 0.0 0.2 11640 1156 ? Ss 23:41 0:00 >>> /usr/local/etq/kannel-1.5/gw/bearerbox --pid-file >>> /var/run/kannel/kannel_bearerbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/kannel.conf >>> etq 3089 0.1 0.4 101896 1820 ? Sl 23:41 0:00 >>> /usr/local/etq/kannel-1.5/gw/bearerbox --pid-file >>> /var/run/kannel/kannel_bearerbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/kannel.conf >>> etq 3142 0.0 0.2 11132 1144 ? Ss 23:41 0:00 >>> /usr/local/etq/kannel-1.5/addons/sqlbox/gw/sqlbox --pid-file >>> /var/run/kannel/kannel_sqlbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/sqlbox.conf >>> etq 3144 0.1 0.4 44040 2060 ? Sl 23:41 0:00 >>> /usr/local/etq/kannel-1.5/addons/sqlbox/gw/sqlbox --pid-file >>> /var/run/kannel/kannel_sqlbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/sqlbox.conf >>> etq 3154 0.0 0.2 11280 1168 ? Ss 23:41 0:00 >>> /usr/local/etq/kannel-1.5/gw/smsbox --pid-file >>> /var/run/kannel/kannel_smsbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/smsbox.conf >>> etq 3155 0.0 0.3 76952 1724 ? Sl 23:41 0:00 >>> /usr/local/etq/kannel-1.5/gw/smsbox --pid-file >>> /var/run/kannel/kannel_smsbox.pid --parachute --daemonize -v 0 >>> /usr/local/etq/conf/smsbox.conf >>> >>> >>> daniel >>> >> >>
