Line 39: |
Line 39: |
| # configure Firebird for SME environment | | # configure Firebird for SME environment |
| <pre> | | <pre> |
− | config set firebird service status enabled | + | config set firebird-superserver service status enabled |
− | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99firebird | + | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99firebird-superserver |
− | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc1.d/S01firebird | + | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc4.d/S99firebird-superserver |
− | service firebird start | + | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc1.d/S01firebird-superserver |
| + | service firebird-superserver start |
| </pre> | | </pre> |
| | | |
| + | NB. The above commands have been updated by TDBSOFT on 1/1/2017 (with help from Stefano).<br> |
| + | The update is to resolve the new service name firebird-superserver changed from firebird.<br> |
| + | See http://forums.contribs.org/index.php?topic=52794<br> |
| + | <br> |
| # Verify your firebird is running: | | # Verify your firebird is running: |
| netstat -an|grep 3050 | | netstat -an|grep 3050 |
Line 68: |
Line 73: |
| access=public | | access=public |
| status=enabled | | status=enabled |
| + | |
| + | Additional note by TDBSOFT 1/1/2017<br> |
| + | There is a minor bug in the firebird-superserver service when you run the command<br> |
| + | service firebird-superserver start<br> |
| + | This will show the following result<br> |
| + | Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'<br> |
| + | Try `/usr/bin/dirname --help' for more information. [ OK ]<br> |
| + | <br> |
| + | To resolve this issue edit the file /etc/init.d/firebird-superserver and change the line below<br> |
| + | daemon --user=$FBRunUser "export FIREBIRD LD_LIBRARY_PATH; $GUARDIAN -pidfile $pidfile -daemon -forever"<br> |
| + | to daemon <b>--check="X"</b> --user=$FBRunUser "export FIREBIRD LD_LIBRARY_PATH; $GUARDIAN -pidfile $pidfile -daemon -forever"<br> |
| + | See this article on the problem http://tracker.firebirdsql.org/browse/CORE-5069<br> |