|
From: Urs M. <new...@bf...> - 2008-08-08 06:08:55
|
Am Fr, 8.08.2008, 03:58, schrieb MrC:
>
>>> Matheus Lima wrote:
>>>> I have installed the change_passwd plugin, but it doesn't work. So a
>>> tried
>>>> to run the chpasswd as below:
>>>>
>>>> $squirrelmail/plugins/change_passwd# ./chpasswd
>>>>
>>>> but it return the message:
>>>> bash: ./chpasswd: No such file or directory
He should check first, which libraries are linked into chpasswd:
mail: # ldd chpasswd
linux-gate.so.1 => (0xffffe000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f21000)
libc.so.6 => /lib/libc.so.6 (0xb7e00000)
/lib/ld-linux.so.2 (0xb7f5a000)
That's my chpasswd on a old SuSE.
>> 2008/8/7 MrC wrote:
>>> This ENOENT error can occur when you don't have the 32-bit
>>> compatibility
>>> libraries and you're running on a 64-bit system. I see below you are
>>> on
>>> a 64-bit system. Install the libraries.
>>>
>>>> Its importante to show the file permissions:
>>>> $ls -la chpasswd
>>>> -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd
>>>>
>>>> The group "www-data" is the group used by the apache, but I belive
>>>> that's
>>>> not a problem, because I'm trying to use the command as root first.
>>>>
>>>> Then, I send this same file to another server "not a ubuntu server",
>>>> that
>>> is
>>>> a slack. And tried to run it.
>>>> And wokrs perfectly.
>>>>
>>>> So, whats the problem, how can I fix it?
>>>>
>>>> PS.: If its importante the server is a 64 bit ubuntu.
>
> Matheus Lima wrote:
>> Which libraries are you talking about? How do I find them? How do I
> install
>> them?
>> There is a way I can do this with apt-get?
>
> I'm not at a system where I can check, but I believe it is:
>
> libc6-i686
-> Isn't this the 64Bit libc6?
> Since this isn't a squirrelmail issue, let's take this offlist if there
> are further issues, or take it to the Ubuntu forum.
I agree...
|