Subject Re: [ib-support] SQLConnect Error
Author Frank Schlottmann-Goedde
sridhar sreenivasan wrote:
>
> HI,
> I had installed FirebirdCS*.rpm in a Linux 7.1 m/c and performed the steps as given in
> http://sourceforge.net/docman/display_doc.php?docid=2155&group_id=9028

Hm, are you talking about RedHat 7.1?
The document describes the installation of the superserver version.

If you want to install the classic version try the following
instructions:


a.) Get the latest build from

ftp://firebird.sourceforge.net/pub/firebird/snapshot_builds/linux/fb_cs_linux_snapshot.tar.gz
(Beta-Testers are always welcome :-)

open a shell window (or a virtual console) and do sth. like

frank@franks:~ > cd /tmp
frank@franks:/tmp > mkdir fb
frank@franks:/tmp > cd fb
frank@franks:/tmp/fb > ftp firebird.sourceforge.net

Name (firebird.sourceforge.net:frank): anonymous
331 Anonymous login ok, send your complete e-mail address as password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/firebird/snapshot_builds/linux/
250 CWD command successful.
ftp> get fb_cs_linux_snapshot.tar.gz
226 Transfer complete.
2432962 bytes received in 05:17 (7.49 KB/s)
ftp> quit
221 Goodbye.

b.) unpack the archive:

frank@franks:/tmp/fb > tar -xzf fb_cs_linux_snapshot.tar.gz

c.) install that thing

frank@franks:/tmp/fb > cd csinstall
frank@franks:/tmp/fb/csinstall > ls
install.sh interbase.tar.gz scripts
frank@franks:/tmp/fb/csinstall > su root
Password:
root@franks:/tmp/fb/csinstall > sh ./install.sh
<snip some error messages>
Please enter new password for SYSDBA user:
Install completed
root@franks:/tmp/fb/csinstall > exit
frank@franks:/tmp/fb/csinstall >

d.) Test it:

frank@franks:/tmp/fb/csinstall > /opt/interbase/bin/isql -u SYSDBA
-p masterkey
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'test.gdb';
SQL> show version;
ISQL Version: LI-T0.9.5.211 Firebird Beta1
InterBase/linux Intel (access method), version "LI-T0.9.5.211
Firebird Beta1"
on disk structure version 10.0
SQL> quit;


I usually add the path to the binaries to /etc/profile:

# make path more comfortable
#
MACHINE=`test -x /bin/uname && /bin/uname --machine`
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/interbase/bin


hth

Frank

--
"Fascinating creatures, phoenixes. They can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets."
- J.K. Rowling
http://firebird.sourceforge.net