Hello
Could you guys please give some help?
I've just compiled and installed OpenSER 1.3.1 with tls in a Debian 4.0 R3. The modules mysql and snmpstats are included but not used yet. The openserctl commands is working smoothly in order to start, monitoring and stop. But I still can't start openser on boot. I have coppied the openser.init and openser.default files from source packaging directory to /etc/init.d/openser and /etc/default/openser respectively. Then, after configuring /etc/default/openser file, I configured /etc/init.d/openser as executable.
So, when i call "/etc/init.d/openser start", got the output:
grep: /etc/openser/openser.cfg: No such file or directory Starting openser: openser already running.
But, after type "/etc/init.d/openser status", I got:
Status of openser: openser is not running
And really it is not working.
So, how to get openser starting on boot? Is there another way?
--------------------------------- Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
Have you built a deb package and installed from the deb package or you just simply installed from source using make install? By default, 'make install' will install everything under /usr/local as opposed to the deb packages install, which will install everything properly. Check the path to openser (run 'which openser') and compare with what you have in your init.d script.
Regards, Ovidiu Sas
On Wed, Apr 23, 2008 at 9:25 PM, Robson Souza cbolas2004@yahoo.com.br wrote:
Hello
Could you guys please give some help?
I've just compiled and installed OpenSER 1.3.1 with tls in a Debian 4.0 R3. The modules mysql and snmpstats are included but not used yet. The openserctl commands is working smoothly in order to start, monitoring and stop. But I still can't start openser on boot. I have coppied the openser.init and openser.default files from source packaging directory to /etc/init.d/openser and /etc/default/openser respectively. Then, after configuring /etc/default/openser file, I configured /etc/init.d/openser as executable.
So, when i call "/etc/init.d/openser start", got the output:
grep: /etc/openser/openser.cfg: No such file or directory Starting openser: openser already running.
But, after type "/etc/init.d/openser status", I got:
Status of openser: openser is not running
And really it is not working.
So, how to get openser starting on boot? Is there another way?
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
On debian you should use "make deb" and then "dpkg -i" to install the packages. Then debian will setup everthing automatically - you only have to edit /etc/defaults/openser to start openser.
If you installed manually, you have to copy the initscript to /etc/init.d/openser and make sure the paths in the init script are correct. Further, you have to tell debian to start the startupscript on boot. This is done using "update-rc.d openser defaults"
regards klaus
Robson Souza wrote:
Hello
Could you guys please give some help?
I've just compiled and installed OpenSER 1.3.1 with tls in a Debian 4.0 R3. The modules mysql and snmpstats are included but not used yet. The openserctl commands is working smoothly in order to start, monitoring and stop. But I still can't start openser on boot. I have coppied the openser.init and openser.default files from source packaging directory to /etc/init.d/openser and /etc/default/openser respectively. Then, after configuring /etc/default/openser file, I configured /etc/init.d/openser as executable.
So, when i call "/etc/init.d/openser start", got the output:
grep: /etc/openser/openser.cfg: No such file or directory Starting openser: openser already running.
But, after type "/etc/init.d/openser status", I got:
Status of openser: openser is not running
And really it is not working.
So, how to get openser starting on boot? Is there another way?
Abra sua conta no Yahoo! Mail http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/, o único sem limite de espaço para armazenamento!
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Klaus Darilion wrote:
On debian you should use "make deb" and then "dpkg -i" to install the packages. Then debian will setup everthing automatically - you only have to edit /etc/defaults/openser to start openser.
If you installed manually, you have to copy the initscript to /etc/init.d/openser and make sure the paths in the init script are correct. Further, you have to tell debian to start the startupscript on boot. This is done using "update-rc.d openser defaults"
Once you did this, you should not used openserctl to stop/start openser. Instead always use /etc/init.d/openser [start|stop]
regards klaus