LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-09-2009, 02:46 AM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
Help on error message: libumem.so


I get the following error message in my terminal after I invoked the terminal on the Solaris:

Code:
$ld.so.1: utmp_update: warning: libumem.so: open failed: No such file in secure directories
Please someone assist, it look very annoying, seem something error in the system.
 
Old 03-09-2009, 05:02 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I don't know why utmp_update complains, but you can add a symlink for that lib to the trusted libraries directory and see if the warning goes away. Depending of the architecture (32 or 64 bits) do:
Code:
ln -s /lib/libumem.so* /lib/secure
or
ln -s /lib/libumem.so* /lib/secure/64
 
Old 03-09-2009, 05:34 AM   #3
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Thanks! How to check whether the Solaris is 32bit or 64bits? I have installed some application, then this error come out. What normally causing this kind of complain?
 
Old 03-09-2009, 06:03 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
How to check whether the Solaris is 32bit or 64bits?
To check arch run:
Code:
isainfo -b
Quote:
I have installed some application, then this error come out. What normally causing this kind of complain?
Dunno. Maybe the applications you have installed are trying to use utmpx to log information in a way that is not correct.

Last edited by bathory; 03-09-2009 at 06:40 AM.
 
Old 03-09-2009, 06:16 AM   #5
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
But did it means that my application do have error during the installation? I will try the symlink command later on, will post up the result here, thanks alot.
 
Old 03-09-2009, 06:20 AM   #6
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Example if I get both 64 and 32 bits, did I need to key in both of the symlink command? How my going to do?

Code:
example% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
 
Old 03-09-2009, 06:58 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You should know if your application is 32 or 64 bits, or the application should be able to add the path to its libs in the appropriate trusted libraries directory. For example I have installed Sunone Calendar and Messaging Server (32 and 64 bits apps respectively) and I have in the trusted directories:
Quote:
#crle

Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /lib:/usr/lib (system default)
Trusted Directories (ELF): /usr/lib/secure:/sunone/calendar/SUNWics5/cal/lib

Command line:
crle -c /var/ld/ld.config -s /usr/lib/secure:/sunone/calendar/SUNWics5/cal/lib

# crle -64

Configuration file [version 4]: /var/ld/64/ld.config
Default Library Path (ELF): /lib/64:/usr/lib/64 (system default)
Trusted Directories (ELF): /usr/lib/secure/64:/sunone/messaging64/lib

Command line:
crle -64 -c /var/ld/64/ld.config -s /usr/lib/secure/64:/sunone/messaging64/lib
As you see calendar has added the path to its libs in the 32bt crle and messaging in 64bit crle
 
Old 03-09-2009, 10:35 AM   #8
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
I don't know why utmp_update complains, but you can add a symlink for that lib to the trusted libraries directory and see if the warning goes away. Depending of the architecture (32 or 64 bits) do:
Code:
ln -s /lib/libumem.so* /lib/secure
or
ln -s /lib/libumem.so* /lib/secure/64
If any rollback works needed, what should I configured to remove the the ln between these two files and directory?
 
Old 03-09-2009, 11:29 AM   #9
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Get it

Code:
rm /lib/secure
rm /lib/secure/64
 
Old 03-09-2009, 12:37 PM   #10
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Paris Heng View Post
Get it

Code:
rm /lib/secure
rm /lib/secure/64
Better use:
Code:
rm /lib/secure/libumem.so*
rm /lib/secure/64/libumem.so*
in case the directories are not empty.
 
Old 03-10-2009, 08:06 AM   #11
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
problem solved, thanks alot!
 
  


Reply



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
MPlayer Error Message - Error Opening/Initializing Video Out Device Harpo Linux - Newbie 12 12-29-2009 11:26 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
error message when run MRTG: SNMP error zhgalaxy Linux - Newbie 0 02-18-2004 12:08 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:50 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