LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-21-2014, 06:45 AM   #1
vipul prajapati
LQ Newbie
 
Registered: Feb 2014
Posts: 4

Rep: Reputation: Disabled
Smile rsyslogd crashes while running as rsyslogd(rsyslogd -M /lib/rsyslog running well)


when i tried rsyslogd without any option from my board it will give following error.

rsyslog runtime error(-2066): could not load module '/home/vipul_test/lib/rsyslog/lmnet.so', dlopen: /home/vipul_test/lib/rsyslog/lmnet.so', dlopen: /home/vipul_test/lib/rsyslog/lmnet.so', dlopen: /home/vipul_test/lib/rsyslog/lmnet.so: cannot open shared object file: No such file or directory
[try http://www.rsyslog.com/e/2066 ]
Error during class init for object 'conf' - failing...
rsyslogd initializiation failed - global classes could not be initialized.
Did you do a "make install"?
Suggested action: run rsyslogd with -d -n options to see what exactly fails.
rsyslogd: run failed with error -2066 (see rsyslog.h or try http://www.rsyslog.com/e/2066 to learn what that number means)

while rsyslogd -d -n option is not running and giving segmentation fault as below.

Segmentation fault (core dumped)
ash Get The <Segmentation fault>, Retry!
Segmentation fault (core dumped)
ash Get The <Segmentation fault>, Retry Fail!

only rsyslogd -M /lib/rsyslogd option is running.

so how to run rsyslogd without any interpretation?
 
Old 03-22-2014, 03:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by vipul prajapati View Post
Code:
rsyslog runtime error(-2066): could not load module '/home/vipul_test/lib/rsyslog/lmnet.so', 
dlopen: /home/vipul_test/lib/rsyslog/lmnet.so: cannot open shared object file: No such file or directory
You're running Rsyslogd in a way that's not the default (as in: properly installed).
This means that you should be aware of the consequences of doing things "your way" and the ways how to fix those.
Running 'ldd' on the binary should show you where it expects to find its dependencies.
Adding directories to and exporting a customized LD_LIBRARY_PATH may help (or not).
So the best way would be to actually install the application properly.
 
  


Reply

Tags
linux, rsyslog



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] usr.sbin.rsyslogd apparmor audit.log /var/rsyslog/work/dbq.00000001 problem masuch Linux - Newbie 2 11-05-2012 09:07 AM
Rsyslogd start problem parmeshwer Linux - Software 1 02-03-2010 03:58 PM
rsyslogd doesnt seem to listen on all interfaces johnnyk Linux - Server 2 12-06-2009 07:57 PM
rsyslogd configuration wayloud Linux - Server 2 10-14-2008 02:33 AM
rsyslogd -- Signals and other stuff dave247 Fedora 12 02-20-2008 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration