Subject | Re: embedded firebird under linux fails when no /opt/firebird/XYZ exist |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2004-09-10T14:55:34Z |
--- In firebird-support@yahoogroups.com, Niki Ivanchev <niki_iv@i...>
wrote:
database server". No wonder that this requires root privilege to
achieve this operation.
However, if you do not want to change any system file at all, you can
try to spawn another instance of inetd (or xinetd), with a private
config file, just serving your needs (for example, /usr/sbin/xinetd
-stayalive -pidfile ~/xinetd.pid -f ~/xinetd.conf)
You could then install all firebird files into ~/firebird, and modify
RootDirectory in ~/firebird/firebird.conf
I haven't tried it, but it sounds possible.
Best regards,
best regards,
Fabrice Aeschbacher
wrote:
>install
> >
> >"Classic server" is very light for a single user. You do need to
> >fb_inet_server and its various pieces but it doesn't run unless a userinstallation
> >connects to it. The xinet daemon listens for a connection request and
> >starts a single instance of the server for each connection request.
> >
> >Possibly a good place for you to start would be to look at the
> >notes for Classic, dissect the tar.gz kit, and understand what eachof the
> >bash scripts does.ask on
> >
> >As for permissions needed to install the Jaybird pieces, you should
> >the firebird-java list about this. It's probably in the FAQ,of your
> >anyway. Finally, write your own installer script to suit the needs
> >users.installation
> >
> >./helen
> >
> >
> Thanks Helen - allready did.
> postinstall is modifying /etc/inetd.conf to add the service to inetd.
> Obviously this can be done only from root user. So it looks like my app
> will need root privilege to be installed correctly.
> I was hoping that some solution to run classic as an ordinary user can
> be found if database is in users own directory... but since
> path is hardcoded to library true 'windows embedded server' beheviourInstalling Firebird on a computer means "change this computer into a
> cannot be achieved.
database server". No wonder that this requires root privilege to
achieve this operation.
However, if you do not want to change any system file at all, you can
try to spawn another instance of inetd (or xinetd), with a private
config file, just serving your needs (for example, /usr/sbin/xinetd
-stayalive -pidfile ~/xinetd.pid -f ~/xinetd.conf)
You could then install all firebird files into ~/firebird, and modify
RootDirectory in ~/firebird/firebird.conf
I haven't tried it, but it sounds possible.
Best regards,
best regards,
Fabrice Aeschbacher