Could you always copy <mailto:[email protected]> [email protected] on this thread?
What does /logs/opensmppbox.log contain after trying to run it as a service? Also, possibly it is using an old cygwin1.dll version because of the path that is different. Just a thought. == Rene From: Thomas Reis [mailto:[email protected]] Sent: woensdag 29 januari 2014 16:30 To: Rene Kluwen Subject: Re: compiling and using opensmpp as a windows service changed the cygwin1.dll and now it runs in the shell...but not as a service like the bearerbox does. 2014-01-29 Rene Kluwen <[email protected]> Looks like something of compiling the sources with another (version of the) library than running it. I am not sure. This is a cygwin issue. I haven't used opensmppbox with cygwin myself yet. But I'll give it a try. == Rene From: Thomas Reis [mailto:[email protected]] Sent: woensdag 29 januari 2014 14:24 To: Rene Kluwen Subject: Re: compiling and using opensmpp as a windows service mhm...not really I mean: --------------------------- opensmppbox.exe - Entry Point Not Found --------------------------- The procedure entry point __assert_func could not be located in the dynamic link library cygwin1.dll. --------------------------- OK --------------------------- 2014-01-29 Rene Kluwen <[email protected]> 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:[email protected]] 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 <[email protected]> What messages does it give you if you try to run it from the command line? Does it start? -----Original Message----- From: devel [mailto:[email protected]] On Behalf Of Tom Peak Sent: woensdag 29 januari 2014 12:34 To: [email protected] 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
