LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-01-2010, 01:55 PM   #1
delmoras
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
Unhappy ls command fails after updating plesk on centos 5.4


hello , well after installing plesk from autoinstaller on centos 5.4 weird things started to happen on my box .

i.e.

1. everytime when i type the ls command i get the following error :
ls: unrecognized option `--human' although the command /bin/ls is working fine .

2. top command not working instead it throws the following error :
top: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory

any help will be appreciated as i am searching for the above issues for many hour burning my brain ....

John
 
Old 06-01-2010, 03:41 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
1. A couple of things to look at:

Code:
$ alias # is a line like alias ls='ls --human' listed?
$ /bin/ls --version # Current GNU versions should accept a --human option
2.
Code:
$ ldd /usr/bin/top # which libraries is top looking for, and where?
$ echo $LD_LIBRARY_PATH # has the library path been changed?
$ ls /lib/libncurses* # is it there? which version(s)?

Last edited by Robhogg; 06-01-2010 at 04:34 PM.
 
Old 06-02-2010, 05:45 AM   #3
delmoras
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Robhogg thanks for your response the alias command returns the following:

Code:
alias cp='cp -i'
alias l='ls $LS_OPTIONS -Al'
alias l.='ls -d .* --color=tty'
alias ll='ls $LS_OPTIONS -l'
alias ls='ls $LS_OPTIONS'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
But as I see there is no such line with --human option listed...

2.

Code:
 
ldd /usr/bin/top
linux-gate.so.1 =>  (0xffffe000)
libproc.so.2.0.6 => /lib/libproc.so.2.0.6 (0xf7f2e000)
libncurses.so.4 => not found
libc.so.6 => /lib/libc.so.6 (0x00143000)
/lib/ld-linux.so.2 (0x00125000)
From the above the only thing that is obvious is that libncurses.so.4 is missing after issuing the command : echo $LD_LIBRARY_PATH nothing returns so the variable is probably empty and is missing from lib folder ..
 
Old 06-02-2010, 01:30 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
libncurses.so.4 i missing -- then install that .
or if libncurses.so.5 ( the current version )
try making a link for 4 ( most of the time linking the newer to the 1 before it works )

YELL and scream at plesk

mail them and GET them to update there software .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slow SSH Login --> CentOS 5.0 --> VMware Server --> Plesk Control Panel 8.4.0 bskrakes Linux - General 12 01-05-2015 05:32 AM
[SOLVED] Time Sync Issues - Clock Drift Way Off - CentOS 5.2, VMware 1.0.8, Plesk CP 8.6.0 bskrakes Linux - Server 13 03-02-2009 01:38 PM
Plesk 9/CentOS symlinks prophoto Linux - Server 1 02-19-2009 03:47 PM
Can't access Plesk on vmware Centos 5 server on LAN goodgirl Linux - Server 6 09-11-2008 11:25 PM
Updating VMWare After Updating CentOS Linux31 Red Hat 2 09-18-2007 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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