SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sat May 25, 2024 11:51
SMSTools3 Community » Help and support Bottom

[answered] chkconfig rejected sms3

  This topic is locked

Page:  1

Author Post
Member
Registered:
Apr 2010
Location: Malaysia
Operating system name and version: CentOS 4.8
Version of smsd: 3.1.6
Smsd installed from: sources
Name and model of a modem / phone: Wavecom Fastrack S10
Interface: serial

I wanted to have sms3 to be started on boot time. So I did these:

[root@lab ~]# cd /etc/init.d/
[root@lab init.d]# chkconfig sms3 on
service sms3 does not support chkconfig
[root@lab init.d]#


What have I done wrong? :oops: I am no sysadmin. Please advise.


( btw, I am able to start sms3 with this command /etc/init.d/sms3 start )

--
al

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
That command works on Debian, even when there is no "init info" in the sms3 script. Perhaps this is the reason why chkconfig does not work on CentOS.

Edit the file /etc/init.d/sms3. Insert those lines which are shown bold and red:


#! /bin/sh
# This script can be used to start/stop smsd
# as a daemon in Linux, Solaris, Cygwin, FreeBSD
# and MAC OS X Terminal window (Darwin).
# This script is to be used with smsd version >= 3.0.3.

### BEGIN INIT INFO
# Provides:          smstools
# Required-Start:    $syslog
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: starts smstools
### END INIT INFO


# Set USER and GROUP, if necessary:
USER=""
GROUP=""

Hopefully this change helps.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.