I am trying to run Firebird 5 on a Linux system, and I have set the FIREBIRD_TMP system variable and modified the firebird.conf file to change both the TempDirectories and TempTableDirectory variables to the same value as FIREBIRD_TMP. However, these settings seem to be ignored, and Firebird continues to generate temporary files in /tmp.
My goal is to run multiple instances of Firebird, each with its own temporary directory. The problem is that /tmp is a RAM-mounted directory and is too small for my needs.
Has anyone encountered this issue or have any advice on how to correctly configure Firebird to use custom temporary directories?
--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/firebird-support/3f89d850-b0e4-4f14-b71e-5b8fa89ca346n%40googlegroups.com.
I’m configuring the FIREBIRD_LOCK and FIREBIRD_TMP environment variables at the database server level, by setting them in the Firebird service configuration file with the desired values. Additionally, I’ve set the PrivateTmp variable to yes so that each Firebird service (since I have multiple instances installed) uses its own directory in /var/tmp. Here’s an example of the configuration file:
Is this setup correct? If I were to configure it system-wide, would there be any issue with sharing the same directory for multiple Firebird services?
Thanks
I’m configuring the FIREBIRD_LOCK and FIREBIRD_TMP environment variables at the database server level, by setting them in the Firebird service configuration file with the desired values. Additionally, I’ve set the PrivateTmp variable to yes so that each Firebird service (since I have multiple instances installed) uses its own directory in /var/tmp. Here’s an example of the configuration file:
[Unit]
Description=Firebird Database Server
After=syslog.target network.target
Documentation=https://firebirdsql.org/en/firebird-rdbms/
[Service]
User=firebird
Group=firebird
Type=forking
ExecStart=/opt/firebird_caiconta/bin/fbguard -daemon -forever
PrivateTmp=yes
Environment=FIREBIRD_TMP=/var/tmp
Environment=FIREBIRD_LOCK=/var/tmp
[Install]
WantedBy=multi-user.targetIs this setup correct?
If I were to configure it system-wide, would there be any issue with sharing the same directory for multiple Firebird services?
I'm trying to configure the temporary directory system-wide for Firebird so that all services use the same location. However, no matter what I try, the service keeps creating its temporary files under /tmp/firebird.
How should I correctly define the variable so that it applies system-wide to all Firebird services? I’ve tried several methods, but the service still ignores them and uses the default path.
--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/firebird-support/64f0a521-35ce-4127-8d22-47ae3e45b5bfn%40googlegroups.com.
I'm trying to configure the temporary directory system-wide for Firebird so that all services use the same location. However, no matter what I try, the service keeps creating its temporary files under
/tmp/firebird.How should I correctly define the variable so that it applies system-wide to all Firebird services? I’ve tried several methods, but the service still ignores them and uses the default path.
These can't be from the server since you set PrivateTmp=yes in there. Are they from the client? Are you using the embedded server (in the client) to access any databases?
Hamish
I'm trying to configure the temporary directory system-wide for Firebird so that all services use the same location. However, no matter what I try, the service keeps creating its temporary files under /tmp/firebird.
How should I correctly define the variable so that it applies system-wide to all Firebird services? I’ve tried several methods, but the service still ignores them and uses the default path.