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
Error compile 2.5 for FreeBSD [CORE3212] #3586
Comments
Modified by: @dyemanovassignee: Alexander Peshkov [ alexpeshkoff ] security: Developers [ 10012 ] => |
Commented by: @AlexPeshkoff What happens if we compile as root and later try to run as non-root - does it start or not? |
Commented by: Efremov Aleksandr Valer'evich (mrefrem) This error occurs in the course of compilation and doesn't depend under whom to compile |
Modified by: Efremov Aleksandr Valer'evich (mrefrem)description: If we compile fresh 2.5 not as root, we get gmake -f ../gen/Makefile.embed.util ../gen/firebird/bin/create_db => If we compile fresh 2.5, we get gmake -f ../gen/Makefile.embed.util ../gen/firebird/bin/create_db |
Commented by: @AlexPeshkoff The problem is very low default limit of SYSV semaphores on freebsd. You should better increase that value (existing 60 may be anyway not enough for firebird to run under high load). But to let us compile and run on out-of-the-box OS you may apply 3212.patch (very simple one). |
Modified by: @AlexPeshkoffAttachment: 3212.patch [ 11819 ] |
Commented by: @AlexPeshkoff FreeBSD 8.1 has abnormally (for year 2010) small limit of available SysV semaphores == 60. This may be enough to work under small load, therefore learn firebird to work with so small limit allocating semaphores in smaller sets. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5.1 [ 10333 ] Fix Version: 3.0 Alpha 1 [ 10331 ] |
Commented by: Efremov Aleksandr Valer'evich (mrefrem) Thanks, all work. Firebird the best!!! |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Efremov Aleksandr Valer'evich (mrefrem)
Attachments:
3212.patch
If we compile fresh 2.5, we get
gmake -f ../gen/Makefile.embed.util ../gen/firebird/bin/create_db
gmake[3]: Entering directory `/home/user/firebird/firebird2.5/firebird2/gen'
gmake[3]: `../gen/firebird/bin/create_db' is up to date.
gmake[3]: Leaving directory `/home/user/firebird/firebird2.5/firebird2/gen'
rm -f empty.fdb
../gen/firebird/bin/create_db empty.fdb
Fatal lock manager error: mutex init failed, errno: 2
--No such file or directory
gmake[2]: *** [empty.fdb] Segmentation fault: 11 (core dumped)
gmake[2]: *** Deleting file `empty.fdb'
gmake[2]: Leaving directory `/home/user/firebird/firebird2.5/firebird2/gen'
gmake[1]: *** [empty_db] Error 2
gmake[1]: Leaving directory `/home/user/firebird/firebird2.5/firebird2/gen'
gmake: *** [firebird] Error 2
Commits: 1b259c7 9c81026
The text was updated successfully, but these errors were encountered: