Contact Us | Site Map
Firebird is used by approximately 1 million of software developers worldwide. High compatibility with industry standards on many fronts makes Firebird the obvious choice for developing interoperable applications for homogeneous and hybrid environments.
Autostarting InterBase/Firebird on Linux
Notes and shell script from Jorge Alvarez

Here's what I do under Linux Mandrake. It should do the trick under Red Hat too.
  1. copy the script below as 'ibserver' to /etc/rc.d/init.d
  2. cd to this directory and chmod 700 ibserver
  3. cd /etc/rc.d/rc3.d
  4. ln -s /etc/rc.d/init.d/ibserver S86ibserver
  5. ln -s /etc/rc.d/init.d/ibserver K40ibserver
InterBase should start next time you reboot your Linux server. Here's the script:

# file name ibserver
# ibserver script - Start/stop the InterBase daemon
# Set these environment variables if and only if they are not set.
: ${INTERBASE:=/opt/interbase}
: ${ISC_PASSWORD:=masterkey}
# WARNING: in a real-world installation, you should not put the
# SYSDBA password in a publicly-readable file. To protect it:
# chmod 700; chown root
export ISC_USER
# This example assumes the InterBase server is
# being started as UNIX user ¡¯interbase¡¯.
echo '$INTERBASE/bin/ibmgr -start -forever' | su root
# No need to su, since $ISC_USER and $ISC_PASSWORD validate us.
$INTERBASE/bin/ibmgr -shut -password $ISC_PASSWORD
case $1 in
'start') ibserver_start ;;
'start_msg') echo 'InterBase Server starting...\c' ;;
'stop') ibserver_stop ;;
'stop_msg') echo 'InterBase Server stopping...\c' ;;
*) echo 'Usage: $0 { start | stop }' ; exit 1 ;;
exit 0
Join Firebird!
RSS Newsletter
Home About Firebird Documentation Downloads Community Support Development Case Studies Back to Top
This site and the pages contained within are Copyright © 2000-2018, Firebird Project. Firebird® is a registered trademark of Firebird Foundation Incorporated. Developed by DQ Team.