Subject Re: Install script for linux (debian)
Author Fabrice Aeschbacher
Pavel,

> Do you mean the new one published recently for 1.5 RC7, or
"standard" ones?

I mean Firebird-1.5.0.4027-RC7-0.tar.gz (last install script worked
good for debian).

> What files have not read (or wrong by other way) permissions ? The
> The symlink problem is known and would be fixed in next version.
>
> > Anyway, the install script just don't work for debian.
>
> Be more specific please. I'd like fix it, but I haven't a debian box
to
> do it without help.

Please find below ouputs of the installation script and of 'ls -lR'.
If this is not easily readable for you (are you using Yahoo's web
interface?), please write me privately at fabrice.aeschbacher@siemens.
com .

Things I noticed:
- symbolic links missing for /opt/firebird/bin/* in /usr/bin
- files in /opt/firebird/bin not readable => only root can execute
them
- /opt/firebird/firebird.conf not readable


================ INSTALL SCRIPT OUTPUT ======================

Firebird 1.5 RC7 (build 4027) Installation


You requested to:
Install type: Ask
Install Libraries: Ask
Firebird 1.5 RC7 (build 4027) Installation


Linux distribution : Debian
Service controler : inetd

Previous installation of Firebird Classic detected.
Version LI-V1.5.0.3780 Firebird 1.5 Release Candidate 6
Installed in /usr/local/firebird
Configured to run on port 3050.
You requested to:
Install type: Classic
Install Libraries: Yes
Install Examples: Yes
Install Documentation: Yes
Install Tools: Yes
Create Uninstall: Yes
Run Firebird on port: 3050
Run Firebird as user: root
SYSDBA password: masterkey

It seems that inetd is listening for gds_db service.
To proceed with installation, we need to shut it down.
Can setup try to shut down the inetd service ? (y/n): y
Trying to stop the inetd service...
Stopping internet superserver: inetd.
Making a backup copy of /usr/local/firebird/security.fdb to /tmp
Making a backup copy of /usr/local/firebird/firebird.conf to /tmp
Do you want a full backup of current installation ? (y/n): y
Archiving...
tar: Removing leading `/' from member names
Done.
To proceed, the previous installation of Firebird Classic
must be directly removed.
This mean complete removal of /usr/local/firebird directory and
probably
some files in /usr/lib and /usr/include.
Can install remove the /usr/local/firebird directory and other files ?
(y/n): y
Removing previous installation...
Installing Classic Server...
Installing examples...
Installing libraries...
Installing documentation...
Installing additional tools...
Configuring gds_db service on port 3050...
Configuring inetd service to run Firebird Classic...
Trying to restart the inetd service...
Restarting internet superserver: inetd.

Installation completed.


================ cd /opt; ls -lR ======================
firebird/:
total 2000
-r--r--r-- 1 root root 700 Nov 9 21:17 README
drwxr-xr-x 2 root root 4096 Nov 24 13:12 UDF
-r--r--r-- 1 root root 65184 Nov 9 21:17 WhatsNew
-rw-rw---- 1 root root 135 Nov 9 21:17 aliases.conf
dr-xr-xr-x 2 root root 4096 Nov 24 13:12 bin
-r--r--r-- 1 root root 145284 Nov 10 13:59 de_DE.msg
drwxr-xr-x 2 root root 4096 Nov 24 13:12 doc
drwxr-xr-x 2 root root 4096 Nov 24 13:12 examples
-rw-rw---- 1 root root 17447 Nov 9 21:17 firebird.conf
-r--r--r-- 1 root root 17396 Nov 24 13:12 firebird.conf.
old
-rw-rw-r-- 1 root root 0 Nov 24 13:12 firebird.log
-r--r--r-- 1 root root 132816 Nov 9 21:17 firebird.msg
-r--r--r-- 1 root root 144228 Nov 10 13:59 fr_FR.msg
dr-xr-xr-x 2 root root 4096 Nov 24 13:12 help
drwxr-xr-x 2 root root 4096 Nov 24 13:12 include
drwxr-xr-x 2 root root 4096 Nov 24 13:12 intl
-rw-rw---- 1 root root 0 Nov 24 13:12 isc_event1.
kh1r146d
-rw-rw---- 1 root root 0 Nov 24 13:12 isc_guard1.
kh1r146d
-rw-rw---- 1 root root 0 Nov 24 13:12 isc_init1.
kh1r146d
-rw-rw---- 1 root root 0 Nov 24 13:12 isc_lock1.
kh1r146d
-r--r--r-- 1 root root 135668 Nov 10 13:59 ja_JP.msg
drwxr-xr-x 2 root root 4096 Nov 24 13:12 lib
-rw-rw---- 1 root root 643072 Nov 9 21:17 security.fdb
-rw-r--r-- 1 root root 643072 Nov 24 13:12 security.fdb.
old
-rwxr--r-- 1 root root 14959 Nov 24 13:12 uninstall

firebird/UDF:
total 108
-r--r----- 1 root root 62035 Nov 9 21:17 fbudf.so
-r--r----- 1 root root 6183 Nov 9 21:17 fbudf.sql
-r--r----- 1 root root 12257 Nov 9 21:17 ib_udf.so
-r--r----- 1 root root 18201 Nov 9 21:17 ib_udf.sql

firebird/bin:
total 2112
-r-sr-s--- 1 root root 62833 Nov 9 21:17 fb_inet_server
-r-sr-s--- 1 root root 214334 Nov 9 21:17 fb_lock_mgr
---x--xr-x 1 root root 28688 Nov 9 21:17 fb_lock_print
---x--x--- 1 root root 343223 Nov 9 21:17 gbak
---x--x--x 1 root root 288411 Nov 9 21:17 gdef
---x--xr-x 1 root root 16079 Nov 9 21:17 gds_drop
---x--x--- 1 root root 52029 Nov 9 21:17 gfix
---x--x--x 1 root root 400272 Nov 9 21:17 gpre
---x--x--- 1 root root 31768 Nov 9 21:17 gsec
---x--x--x 1 root root 39749 Nov 9 21:17 gstat
---x--x--x 1 root root 245819 Nov 9 21:17 isql
---x--x--x 1 root root 383695 Nov 9 21:17 qli

firebird/doc:
total 480
-r--r--r-- 1 root root 381657 Nov 17 14:07
Firebird15-ReleaseNotes-rev106.pdf
-r--r--r-- 1 root root 3978 Nov 9 21:17 README.
aggregate_tracking
-r--r--r-- 1 root root 3709 Nov 9 21:17 README.build.
mingw.html
-r--r--r-- 1 root root 4464 Nov 9 21:17 README.build.
msvc.html
-r--r--r-- 1 root root 1678 Nov 9 21:17 README.case
-r--r--r-- 1 root root 966 Nov 9 21:17 README.
coalesce
-r--r--r-- 1 root root 3372 Nov 9 21:17 README.
context_variables
-r--r--r-- 1 root root 890 Nov 9 21:17 README.
data_types
-r--r--r-- 1 root root 1452 Nov 9 21:17 README.
exception_handling
-r--r--r-- 1 root root 3775 Nov 9 21:17 README.
execute_statement
-r--r--r-- 1 root root 6048 Nov 9 21:17 README.
explicit_locks
-r--r--r-- 1 root root 8409 Nov 9 21:17 README.instsvc
-r--r--r-- 1 root root 3254 Nov 9 21:17 README.
makefiles
-r--r--r-- 1 root root 514 Nov 9 21:17 README.nullif
-r--r--r-- 1 root root 1573 Nov 9 21:17 README.
order_by_expressions_nulls
-r--r--r-- 1 root root 4175 Nov 9 21:17 README.
savepoints
-r--r--r-- 1 root root 2838 Nov 9 21:17 README.
universal_triggers
-r--r--r-- 1 root root 700 Nov 9 21:17 README.user
-r--r--r-- 1 root root 3317 Nov 9 21:17 README.user.
embedded
-r--r--r-- 1 root root 6286 Nov 9 21:17 README.user.
troubleshooting

firebird/examples:
total 1364
-r--r--r-- 1 root root 1439 Nov 9 21:17 align.h
-r--r--r-- 1 root root 4439 Nov 9 21:17 api1.c
-r--r--r-- 1 root root 6070 Nov 9 21:17 api10.c
-r--r--r-- 1 root root 6084 Nov 9 21:17 api11.c
-r--r--r-- 1 root root 10939 Nov 9 21:17 api12.c
-r--r--r-- 1 root root 5834 Nov 9 21:17 api13.c
-r--r--r-- 1 root root 6344 Nov 9 21:17 api14.e
-r--r--r-- 1 root root 6807 Nov 9 21:17 api15.c
-r--r--r-- 1 root root 6751 Nov 9 21:17 api16.c
-r--r--r-- 1 root root 5202 Nov 9 21:17 api16t.c
-r--r--r-- 1 root root 4905 Nov 9 21:17 api2.c
-r--r--r-- 1 root root 4678 Nov 9 21:17 api3.c
-r--r--r-- 1 root root 4677 Nov 9 21:17 api4.c
-r--r--r-- 1 root root 3881 Nov 9 21:17 api5.c
-r--r--r-- 1 root root 7440 Nov 9 21:17 api6.c
-r--r--r-- 1 root root 5610 Nov 9 21:17 api7.c
-r--r--r-- 1 root root 4931 Nov 9 21:17 api8.c
-r--r--r-- 1 root root 5039 Nov 9 21:17 api9.c
-r--r--r-- 1 root root 7707 Nov 9 21:17 api9f.c
-r--r--r-- 1 root root 1043 Nov 9 21:17 api9f.sql
-r--r--r-- 1 root root 13571 Nov 9 21:17 apifull.c
-r--r--r-- 1 root root 3074 Nov 9 21:17 dyn1.e
-r--r--r-- 1 root root 3670 Nov 9 21:17 dyn2.e
-r--r--r-- 1 root root 3397 Nov 9 21:17 dyn3.e
-r--r--r-- 1 root root 3754 Nov 9 21:17 dyn4.e
-r--r--r-- 1 root root 3117 Nov 9 21:17 dyn5.e
-r--r--r-- 1 root root 9591 Nov 9 21:17 dynfull.e
-r--r--r-- 1 root root 2115 Nov 9 21:17 employe2.sql
-rw-rw-rw- 1 root root 1024000 Nov 9 21:17 employee.fdb
-r--r--r-- 1 root root 73216 Nov 9 21:17 employee.gbk
-r--r--r-- 1 root root 905 Nov 9 21:17 example.h
-r--r--r-- 1 root root 5064 Nov 9 21:17 readme
-r--r--r-- 1 root root 2162 Nov 9 21:17 stat1.e
-r--r--r-- 1 root root 3913 Nov 9 21:17 stat10.e
-r--r--r-- 1 root root 3831 Nov 9 21:17 stat11.e
-r--r--r-- 1 root root 3244 Nov 9 21:17 stat12.e
-r--r--r-- 1 root root 2177 Nov 9 21:17 stat12t.e
-r--r--r-- 1 root root 2034 Nov 9 21:17 stat2.e
-r--r--r-- 1 root root 2498 Nov 9 21:17 stat3.e
-r--r--r-- 1 root root 3504 Nov 9 21:17 stat4.e
-r--r--r-- 1 root root 2819 Nov 9 21:17 stat5.e
-r--r--r-- 1 root root 2705 Nov 9 21:17 stat6.e
-r--r--r-- 1 root root 2533 Nov 9 21:17 stat7.e
-r--r--r-- 1 root root 3240 Nov 9 21:17 stat8.e
-r--r--r-- 1 root root 3719 Nov 9 21:17 stat9.e
-r--r--r-- 1 root root 3225 Nov 9 21:17 udf.sql
-r--r--r-- 1 root root 11950 Nov 9 21:17 udflib.c

firebird/help:
total 388
-rw-rw-rw- 1 root root 390144 Nov 9 21:17 help.fdb

firebird/include:
total 484
-r--r--r-- 1 root root 11185 Nov 9 21:17 blr.h
-r--r--r-- 1 root root 286670 Nov 9 21:17 gds.h
-r--r--r-- 1 root root 975 Nov 9 21:17 ib_util.h
-r--r--r-- 1 root root 132122 Nov 9 21:17 ibase.h
-r--r--r-- 1 root root 41849 Nov 9 21:17 iberror.h
-r--r--r-- 1 root root 2273 Nov 9 21:17 perf.h

firebird/intl:
total 680
-r--r----- 1 root root 690986 Nov 9 21:17 fbintl

firebird/lib:
total 2188
lrwxrwxrwx 1 root root 33 Nov 24 13:12 libfbembed.so
-> /opt/firebird/lib/libfbembed.so.1
lrwxrwxrwx 1 root root 37 Nov 24 13:12 libfbembed.so.
1 -> /opt/firebird/lib/libfbembed.so.1.5.0
-r-xr-xr-x 1 root root 2224442 Nov 9 21:17 libfbembed.so.
1.5.0
-r-xr-xr-x 1 root root 5676 Nov 9 21:17 libib_util.so


Best Regards,
Fabrice Aeschbacher.

>
> Best regards
> Pavel Cisar (ICQ: 89017288)
> http://www.ibphoenix.com
> For all your upto date Firebird and
> InterBase information