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
cannot initialize UNICODE collation to use in trace plugin [CORE3281] #3649
Comments
Modified by: @dyemanovassignee: Vlad Khorsun [ hvlad ] |
Commented by: @hvlad Ivan, are you able to connect using UTF8 and run some statement with SIMILAR TO predicate ? |
Commented by: @asfernandes And how Firebird has been installed? From official .tar.gz download or from Gentoo packages? Was this database created on this same server or moved from another one? |
Commented by: Makeev Ivan (rangerx) Vlad Khorsun: Adriano dos Santos Fernandes: ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/lib/firebird --enable-superserver --disable-debug --with-system-editline --with-fbbin=/usr/bin --with-fbsbin=/usr/sbin --with-fbconf=/etc/firebird --with-fblib=/usr/lib --with-fbinclude=/usr/include --with-fbdoc=/usr/share/doc/firebird-2.5.0.26074.0 --with-fbudf=/usr/lib/firebird/UDF --with-fbsample=/usr/share/doc/firebird-2.5.0.26074.0/examples --with-fbsample-db=/usr/share/doc/firebird-2.5.0.26074.0/examples/db --with-fbhelp=/usr/lib/firebird/help --with-fbintl=/usr/lib/firebird/intl --with-fbmisc=/usr/share/firebird --with-fbsecure-db=/etc/firebird --with-fbmsg=/usr/lib/firebird --with-fblog=/var/log/firebird/ --with-fbglock=/var/run/firebird --with-fbplugins=/usr/lib/firebird/plugins Databases has been moved from another Linux server (Firebird superserver 2.0) through backup/restore procedure (gbak with options -FIX_FSS_DATA -FIX_FSS_METADATA, because databases has WINDOWS-1251 charset). |
Commented by: Makeev Ivan (rangerx) I also tried to use trace for a specified database: <database (asodu_new).fdb> fbasodu (Server) Wed Dec 15 16:12:02 2010 |
Commented by: Roman Vanicek (roman) Hello, I have the same issue. Ubuntu 11.04, Firebird 2.5.0 superclassic from the Ubuntu repository. The message appears in the log file as soon as the server is started even before I connect to any database. Not trace/log file is created. Also, when I put a very simple entry in my fbtrace.conf such as <database abc.fdb> I get this error in the firebird log file: Note: abc.fdb is a non-unicode database (actually windows-1250). |
Commented by: Roman Vanicek (roman) This is probably a duplicate of CORE3447, the problem with ICU version 4.4 which is present in Ubuntu 11.04. When I have tried the 2.5.1 snapshot (2.5.1.26285) it worked fine. One related question: is it possible to tell Firebird to use a specific ICU version globally? I have installed libicu42 from Ubuntu 10.10 and I have tried to change some settings in fbintl.conf but with no effect. |
Commented by: @asfernandes You said you tried without --with-system-icu, which make hard to believe to be related to CORE3447. > One related question: is it possible to tell Firebird to use a specific ICU version globally? I have installed libicu42 from Ubuntu 10.10 and I have tried to change some settings in fbintl.conf but with no effect. In fbintl.conf, change "icu_versions = default" to "icu_versions = 4.2". |
Commented by: Roman Vanicek (roman) Thank you. I don't know if I have tried --with-system-icu or not. I have downloaded the current daily build of 2.5.1 from Firebird website and it is working fine. I don't know how this build is made. If it is made without --with-system-icu, you are right. Thanks for the tip with "icu_versions = 4.2". Is there a way to check at runtime which version is Firebird really using? |
Commented by: @pmakowski Snapshots and official project builds are made without --with-system-icu |
Commented by: @asfernandes Well, look, we had two people reporting things in the same ticket... Original one says "I try rebuild server with and without --with-system-icu, but no effect." |
Commented by: Roman Vanicek (roman) One more piece of information: if I try Firebird 2.5.0 final downloaded from the Firebird website, it works fine. So again, to me it seems to point to a Firebird (distro build) versus system ICU problem. To summarize my experience so far: I am quite happy now to know that when I use the Firebird binaries from the Firebird, it works fine. But if there is something more I could try to help you close this ticket, let me know. All these ICU issues are quite new to me. At first I was quite disappointed to learn that it is not possible to move a unicode database from one system to another because of ICU versions, only later I have learnt that the problem is mainly due to distro packages that link to different ICU versions, while the original binaries use always the same (bundled) one. |
Submitted by: Makeev Ivan (rangerx)
Votes: 1
When connecting to server in log appears messages like:
fbasodu (Server) Thu Dec 16 09:55:03 2010
Trace plugin http://libfbtrace.so returned error on call trace_create.
Error details: cannot initialize UNICODE collation to use in trace plugin
fbtrace.conf:
<database>
# Do we trace database events or not
enabled true
</database>
I try rebuild server with and without --with-system-icu, but no effect.
The text was updated successfully, but these errors were encountered: