KnowledgeBase Content Details

June 15, 2020

Question:

Why do I see warnings when I invoke acapella via command line and how can I silence those warnings?

Answer:

If you invoke acapella via the command line interface (or when running acapella scripts via command line) on the Columbus server you might expect to see the following:

$ acapella
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceUtil.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceUtil.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceUtil.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIce.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIce.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIce.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libGlacier2.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libGlacier2.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libGlacier2.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libcrypto.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libcrypto.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libcrypto.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libssl.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libssl.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libssl.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 3 {1/0} [file/sharedlibrary] "Could not load shared library \"/usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceSSL.so\": /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceSSL.so: cannot open shared object file: No such file or directory" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
2020-06-15 12:56:51 2 {1/0} [plugin/config] "Plugin AcapellaColumbusInterface: preload library not found or not readable: /usr/local/PerkinElmerCTG/Acapella-5.1.1/lib/libIceSSL.so" |PID=56679|TID=56679|SESS=0| "/etc/acapella_license.txt(14) [Plugin::Load]"
Columbus license file - Copying of this license is not allowed. Refer to your Columbus software license agreement for details!
Global debug mode turned on.
Thread 1 (main) reached Interactive() module call
Breaking thread 1 (main) at: {interactive}:1 [interactive]
interactive()
Cannot read termcap database;
using dumb terminal settings.
Cannot read termcap database;
using dumb terminal settings.
Ac>

 

The majority of what is returned is a list of low level warnings. The reason for the warnings is that certain libraries are installed at the system level but when you invoke acapella via command line it uses/loads the ''AcapellaColumbusInterface'' interface which assumes that these libraries are installed together with the Acapella installation, and tries to load them from there, which is failing and producing the warning messages. The messages can be ignored.

 

If you wanted to silence those warnings you can do so by commenting out the ''Preload'' section in the Config.yaml file found in:

 

/usr/local/PerkinElmerCTG/Acapella-5.1.1/AcapellaResources/AcapellaColumbusInterface

 

e.g.


# PreLoad:
- '=(__bindir__&"/../lib/libIceUtil")'
- '=(__bindir__&"/../lib/libIce")'
- '=(__bindir__&"/../lib/libGlacier2")'
- '=(__bindir__&"/../lib/libcrypto")'
- '=(__bindir__&"/../lib/libssl")'
- '=(__bindir__&"/../lib/libIceSSL")'

 

Now when you invoke acapella you should just see:

$ acapella


Columbus license file - Copying of this license is not allowed. Refer to your Columbus software license agreement for details!
Global debug mode turned on.
Thread 1 (main) reached Interactive() module call
Breaking thread 1 (main) at: {interactive}:1 [interactive]
interactive()
Cannot read termcap database;
using dumb terminal settings.
Cannot read termcap database;
using dumb terminal settings.

Ac>

 

Back to KnowledgeBase