Par contre nouvelle galère.
Je viens de recopier toute mon install pour gnokii smsd sur mon serveur définitif au bureau,
et Oooooh grand malheur !!....

j'ai le même problème que toi: j'envoie les sms outbox sans souci mais je ne reçois plus les inbox.
La config qui marchait était sur un Mac PowerPC G3 en kubuntu
Mon serveur au bureau est un HP Compaq sous Kubuntu aussi, mais ça ne marche plus en réception.
En plus j'ai une erreur syntaxe bizare sur mon fichier start-stop-daemon (/etc/init.d/smsd)
C'est ce fichier qui est censé regler ton problème de sms entrant... enfin je crois...

Alors que tout es conforme au Tuto de Linux Mag.
l'informatique n'est vraiment pas une science exacte !...
Je vais encore me taper des nuits blanches pour regler ça...
Ci-dessous le détail du fichier start-stop-daemon (/etc/init.d/smsd).
il est calqué sur le fichier skeleton
J'ai un souci de syntaxe à la ligne 22 juste là : || echo -n " already running"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#! /bin/sh
set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Gnokii SMS daemon"
NAME=smsd
DAEMON=/usr/sbin/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
# Function that starts the daemon/service.
#
d_start() {
start-stop-daemon --start --quiet \
-m --pidfile $PIDFILE -b \
--exec $DAEMON -- -u christophe \
-p ovation -d smsd -m mysql \
-f /var/log/smsd.log -i 30 \
-b ME -1 /usr/share/smsd \
|| echo -n " already running"
}
#
# Function that stops the daemon/service.
#
d_stop() {
start-stop-daemon --stop \
--quiet --pidfile $PIDFILE \
--name $NAME \
|| echo -n " not running"
}
#
# Function that sends a SIGHUP to the daemon/service.
#
# d_reload() {
# start-stop-daemon --stop \
# --quiet --pidfile $PIDFILE \
# --name $NAME --signal 1
}
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
d_start
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
d_stop
echo "."
;;
#reload)
#
# If the daemon can reload its configuration without
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
# If the daemon responds to changes in its config file
# directly anyway, make this an "exit 0".
#
# echo -n "Reloading $DESC configuration..."
# d_reload
# echo "done."
#;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: $NAME"
d_stop
# One second might not be time enough for a daemon to stop,
# if this happens, d_start will fail (and dpkg will break if
# the package is being upgraded). Change the timeout if needed
# be, or change d_stop to have start-stop-daemon use --retry.
# Notice that using --retry slows down the shutdown process somewhat.
sleep 1
d_start
echo "."
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|"\
"restart|force-reload}" >&2
exit 1
;;
esac
exit 0
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
ChrisColumbus
- Messages : 23