logo       

Re: -bash: [: : integer expression expected: msg#00020

ldap.padl.nss

Subject: Re: -bash: [: : integer expression expected

On Thursday 14 September 2006 00:49, Daniel Cross wrote:
> Anybody seen this before?

I have seen something similar ...

> user@host:~$ ssh user@xxxxxxxxxx
> Last login: Thu Sep 14 10:36:02 2006 from xxx.xxx.xxx.xxx
> -bash: [: : integer expression expected
> user@server:~$
>
> This starts to happen if I move to libnss-ldap 251 (previously running
> 238), which seems slightly odd to me as I don't see how this will be
> interfering with the users shell.

I'm running 250, and I don't see this. However, the problem is most likely due
to be in the files sourced by the shell, eg /etc/profile, /etc/bashrc,
~/.bashrc etc., and you should be able to track down the problematic line by
running eg:

$ set -x
$ . /etc/bashrc
$ set +x


Regards,
Buchan

--
Buchan Milne
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpj5kTMvSiJ4.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise