just an idea
chown firebird:firebird /home/stephanie/MyErp/Data
De : firebird...@googlegroups.com [mailto:firebird...@googlegroups.com] De la part de Stéphanie Cortelli
Thank you all!
1) sudo chown -R
firebird:firebird /home/stephanie/MyErp/Data ,the problem
remains;
2) sudo chmod 770 -R
/home/stephanie/MyErp/Data and even sudo chmod 777 -R
/home/stephanie/MyErp/Data , the problem still remains;
3) gbak -service:
stephanie@stephanie-VirtualBox:~$
gbak -service localhost:service_mgr -c -v -user SYSDBA
-password masterkey
/home/stephanie/MyErp/Backup/backup_0001_20221002.fbk
/home/stephanie/MyErp/Data/dbgen0003.fdb
gbak: ERROR:cannot open backup file
/home/stephanie/MyErp/Backup/backup_0001_20221002.fbk
gbak: ERROR: Exiting before completion due to errors
gbak:Exiting before completion due to errors
stephanie@stephanie-VirtualBox:~$
4) If I do the restore with gbak as root with sudo and without the localhost/IP it works, but I cannot open the database, also with permissions ok:
sudo gbak -c -v -user SYSDBA
-password masterkey
/home/stephanie/MyErp/Backup/backup_0001_20221002.fbk
/home/stephanie/MyErp/Data/dbgen0001.fdb
sudo chown -R firebird:firebird /home/stephanie/MyErp/Data
sudo chmod 777 -R /home/stephanie/MyErp/Data
5) I've tried to uninstall (with config files) and reinstall Firebird, the problem remains.
I don't know if VirtualBox has a different menage of the TCP IP protocol.
I use VirtualBox 6.1.38, Xubuntu 22.04 has Firebird 3.0.8.
The only thing I haven't done yet is uninstall Firebird and install version 3.0.10 (current version) or 3.0.5 (version that I use on a Debian Buster) from the tar.gz file.
I cannot understand the cause of this problem.
Thank you again, best regards,
Stephanie
Hello Tomasz,
thank you very much, now it works!!
stephanie@stephanie-VirtualBox:~$
ls -ld /home/stephanie
drwxr-x--- 21 stephanie stephanie 4096 ott 2 12:54
/home/stephanie
stephanie@stephanie-VirtualBox:~$ ls -ld /home/stephanie/MyErp
drwxrwxrwx 18 stephanie stephanie 4096 ott 1 23:50
/home/stephanie/MyErp
stephanie@stephanie-VirtualBox:~$ sudo chmod a+x
/home/stephanie
[sudo] password di stephanie:
stephanie@stephanie-VirtualBox:~$ sudo chmod a+x
/home/stephanie/MyErp
stephanie@stephanie-VirtualBox:~$ ls -ld /home/stephanie/MyErp
drwxrwxrwx 18 stephanie stephanie 4096 ott 1 23:50
/home/stephanie/MyErp
stephanie@stephanie-VirtualBox:~$ ls -ld /home/stephanie
drwxr-x--x 21 stephanie stephanie 4096 ott 2 12:54
/home/stephanie
stephanie@stephanie-VirtualBox:~$
I was used to installing the Data directory
outside the home, but for a test I used the home on the virtual
machine. But I forgot to think about the upper folders that
contain the data folder for the user firebird!
Thank you again!!
Thank you all for the answers and for your time.
Best regards,
Stephanie