Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"semget failed" using gfix or gbak [CORE2693] #3094

Closed
firebird-automations opened this issue Oct 18, 2009 · 5 comments
Closed

"semget failed" using gfix or gbak [CORE2693] #3094

firebird-automations opened this issue Oct 18, 2009 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Kim Pedersen (kkp_tpl)

I have about 40 servers running Firebird CS 2.1.3 on Fedora Core 6. The system is running fine all day long but in the evening a shell script is being run automatically. It performs some tasks on the database, but now and then the Firebird tools crash with the error "cannot attach to password database" and in firebird.log the following messages appear:

operating system directive semget failed
No such file or directory

Here's the list of tasks performed on the database:

- Switch to single user mode: gfix -shut single -force 0 hostname:/db/database.fdb
- Make raw copy of database with cp command
- Backup database: gbak -b -z -v hostname:/db/database.fdb /db/database.fbk -Y logfile.txt
- Validate database: gfix -validate -full hostname:/db/database.fdb
- Restore database: gbak -c -z -v -p 4096 /db/database.fbk /db/newdb.fdb -Y logfile.txt

Most days no problems occurs at all, but sometimes one of the installations will crash when gfix or gbak (at random) is being run.
Before upgrading to 2.1.3 we were running 2.0.1 without any problems, so something related to our problem must have changed.

I have tried to change the kernel.sem in /etc/sysctl.conf from

default: 250 32000 32 128
to: 250 32000 100 128

but without any luck.

@firebird-automations
Copy link
Collaborator Author

Modified by: Kim Pedersen (kkp_tpl)

summary: semget failed in shell scripts with exessive use of => "semget failed" using gfix or gbak

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

Kim, is your issue solved ?
is it still valid for Firebird 2.1.4
how did you setup Firebird ? from project tar.gz ?
Did you upgrade your Fedora ?
or can we close this bug ?

@firebird-automations
Copy link
Collaborator Author

Commented by: Kim Pedersen (kkp_tpl)

The issue hasn't been resolved. We are now running Fedora 12 and it is the same problem. We installed Firebird using the RPM FirebirdCS-2.1.3.18185-0.i686.rpm.

I will be back from holidays in 2 weeks and then I will upgrade to Firebird 2.1.4 or Firebird 2.5.0. When the new Firebird has been run for about 1 month I can get a pretty good picture showing if the issue has been resolved or not. The error occurs 2-5 times per month in some our 36 installation sites.
I will report back to tell you if it has been fixed or not.

@firebird-automations
Copy link
Collaborator Author

Modified by: Kim Pedersen (kkp_tpl)

environment: Firebird CS 2.1.3 running linux, Fedora Core 6 => Firebird CS 2.1.3 running linux, Fedora 6, Fedora 12

@firebird-automations
Copy link
Collaborator Author

Commented by: Kim Pedersen (kkp_tpl)

After upgrading to FirebirdCS 2.5.1 the problem hasn't occured anymore. The servers has been running for 2 month now, so I suppose this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants