Visit Our UNIX and Linux User Community


Error Library


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error Library
# 1  
Old 09-10-2009
Tools Error Library

Hi,

I'm in the process of writing an error trapping script, that basically greps a log file with a file that contains error messages, however, I don't actually know where unix stores these error messages (not to mention db errors, for sybase found out about master..sysmessages though).

I found a few links with the usual errors, but doesn't seem to be complete.

Any help or references will be very much appreciated.

Thanks
# 2  
Old 09-11-2009
What exactly do you mean? The files where errors are stored, or a list of possible error messages?
# 3  
Old 09-11-2009
Yes, for example:

ls asdfasdf
asdfasdf not found

where would be '<file name> not found' located or stored.

---------- Post updated at 04:23 PM ---------- Previous update was at 04:15 PM ----------

PS. my brains is about to explode. ~x(
# 4  
Old 09-11-2009
Those messages are usually somewhere in the code.

Most (OSS) programs use the gettext library in order to provide translations. The library uses .mo files which contain an ID for a message and the appropriate translation for the current locale, but all in a binary format. The .mo files are "compiled" from .po files in the source distribution at build time, and usually reside (on a Linux system) in /usr/share/locale/<lang code>/LC_MESSAGES/
# 5  
Old 09-11-2009
hi pludi, thanks for the info. not sure if i understand them completely, guess i need to read up some more on that. Smilie

thanks again for the help!

"Light...? I can see the Light!" -- hehehe

Previous Thread | Next Thread
Test Your Knowledge in Computers #745
Difficulty: Medium
The Austrian Computer Kit (ACK) is a retargetable compiler suite and toolchain written by Andrew Tanenbaum.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Compiling GCC 6.3.0 - Error with Library

First of all -- thanks for being patient with me. I hope I'm submitting this correctly. Also I haven't done UNIX Admin since the early 1990's. I'm actually a DBA. But, since I'm the one in the office with the UNIX experience, I'm the SA. I haven't been able to compile GCC 6.3.0 which I need... (9 Replies)
Discussion started by: PJ_Namias
9 Replies

2. Solaris

Library error while opening firefox

I have Solaris-10 zone, where I can open firefox in GUI via MobaXterm with root user, but when I try to open it with non root user, it fails with below error $ which firefox /usr/bin/firefox $ firefox ld.so.1: firefox-bin: fatal: relocation error: file... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Linux

Shared-library error

Hi All, i am facing shared library error, below is the output of the command I am executing on my client # /usr/software/bin/sudo /usr/software/bin/sudo: error while loading shared libraries: libaudit.so.1: cannot open shared object file: No such file or directory # I tried install... (4 Replies)
Discussion started by: muzaffar.k
4 Replies

4. Programming

Error during making a shared library

Hi all, I am working with opensolaris and I am trying create a shared native library via using make but I am getting the following error-- make -f /Makefile.SunOS debug javah -jni SerialPort javah -jni SerialInputStream javah -jni SerialOutputStream gcc -mno-app-regs -DSUN... (4 Replies)
Discussion started by: smartgupta
4 Replies

5. Programming

Loading mysql library error..

I am making cpp application with mysql databases. I m able to compile my application, but when i m executing the program, i m getting the loading errror as - error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory can any one... (2 Replies)
Discussion started by: ps_sach
2 Replies

6. Programming

Error while loading libstlport_gcc.so library

I am getting error while processing the below line : "DEPENDENCIES=$OMNIWORKS_PATH/tradewind/build/build_dg_c $(SET) "*.pcc" $(SET).pcctmp1 ".cc" h" ... --------------------------------------------- ! ---------------------------------------------------------------------------- ! Build rule... (0 Replies)
Discussion started by: shafi2all
0 Replies

7. Solaris

swat library error on Solaris 9

Hi, I had define swat in /etc/services, in /etc/inet/inetd.conf. When I start swat http://localhost:901 I receive the follow message: ld.so.1: swat: fatal: libiconv.so.2: open failed: No such file or directory Then I restart the system and the same message is comming. The swat is only... (2 Replies)
Discussion started by: MuellerUrs
2 Replies

8. Programming

library not found error

We are trying to execute C/C++ programs in SOlaris 8. Though the exes are compiled in g++, we donot have it installed in the target machine. We have the library files in the target machine and LD_LIBRARY_PATH is set correctly. Now when the exes are run, we are getting the error $ seq ld.so.1:... (1 Reply)
Discussion started by: virtual_j
1 Replies

9. Programming

Shared library creation error

Hi, I am facing problem while creating shared library using makeC++SharedLib_r. I am using the following command makeC++SharedLib_r -E rpcresolver.exp -L/home/myAccount/lib -lcxxbase -lfsbutil_r -lpthreads -bimport:/usr/lib/sna/appc_r.exp -o resolver-shared.o -p 0 rpcresolver.o Every time... (0 Replies)
Discussion started by: satguyz
0 Replies

10. Programming

Solaris 9 Custom Library Error

Gday People i have a library created in c++ that is used to control custom hardware. The library compiles fine, however when i compile a test program that links the library i get the following errors: Undefined first referenced symbol in file... (3 Replies)
Discussion started by: _Michael_
3 Replies

Featured Tech Videos