Please always copy the users list.

 

From: Rene Kluwen [mailto:rene.klu...@chimit.nl] 
Sent: woensdag 29 januari 2014 13:59
To: 'Thomas Reis'
Subject: RE: compiling and using opensmpp as a windows service

 

I mean running opensmppbox.exe directly. Without cygrunsrv.

You will see on your terminal what it complains about.

 

I see some things in your config. But I think if you run opensmppbox.exe
directly it will tell you why it doesn't want to start.

 

From: Thomas Reis [mailto:thomas.karl.r...@gmail.com] 
Sent: woensdag 29 januari 2014 13:55
To: Rene Kluwen
Subject: Re: compiling and using opensmpp as a windows service

 

not really:

 

C:\Program Files (x86)\Kannel 1.4.3>cygrunsrv -S kannel_opensmppbox

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:

Der Dienst wurde nicht gestartet.

 

 

2014-01-29 Rene Kluwen <rene.klu...@chimit.nl>

What messages does it give you if you try to run it from the command line?
Does it start?

-----Original Message-----
From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Tom Peak
Sent: woensdag 29 januari 2014 12:34
To: de...@kannel.org
Subject: compiling and using opensmpp as a windows service

compiled under cygwin opensmppbox.exe and tried to start as a windows
service, but it does not start. bearerbox.exe starts..

relevant bearerbox config:

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar

group = smsc
smsc = fake
smsc-id = smsc
host = localhost
port = 8980
transceiver-mode = 0
connect-allow-ip = 127.0.0.1

opensmppbox  config:


group = core
dlr-storage = internal

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = opensmppbox1
# the port to listen on for smpp connections
opensmppbox-port = 8980
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
enable-pam = 1
log-level = 0
log-file = /logs/opensmppbox.log
our-system-id = opensmppbox
pam-acl = kannel
route-to-smsc = fake
#see sample smpplogins.txt
smpp-logins = "/logs/smpplogins.txt"
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
#use-smppboxid = no
#use-systemid-as-smsboxid = 1


in the registry:

kannel_opensmppbox

ImagePath is: C:\Program Files (x86)\Kannel 1.4.3\cygrunsrv.exe

Parameters:

AppArgs are: --logfile 'C:\Program Files (x86)\Kannel
1.4.3/logs/bearerbox.log' --verbosity 0 "'C:\Program Files (x86)\Kannel
1.4.3/config/opensmppbox.conf'"

AppPath is: C:\Program Files (x86)\Kannel 1.4.3/opensmppbox.exe





 

Reply via email to