[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash error on maintainer



Dear list,

trying to update maps of slschools, I am facing sustained trouble.
I already posted this as reply to a similar posting. Now I dare open a 
new thread:

I can login to user and developer as usual;
when I login to maintainer, I get access, but any command (even ls) 
segfaults. I ascribe this to the same issue that is responsible for an 
error message I get after login there:

-bash: [: : integer expression expected
I have no name!@maintainer:~$

I already moved all .profile scripts and the like to a hidden folder - 
no success. What goes wrong here?

Is there /etc/bashrc missing on that server? Obviously I get an ENV - 
but sh crashes in any command. These are my env vars:

I have no name!@maintainer:~$ set
BASH=/bin/sh
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" 
[5]="i386-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
COLUMNS=131
DIRSTACK=()
EUID=1249
GROUPS=()
HISTFILE=/skolelinux/administrator/home1/ralfg/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/skolelinux/administrator/home1/ralfg
HOSTNAME=maintainer.skolelinux.no
HOSTTYPE=i386
IFS=$' \t\n'
LANG=en_US
LANGUAGE=en_NO:en_US:en_GB:en
LINES=47
LOGNAME=ralfg
MACHTYPE=i386-pc-linux-gnu
MAIL=/var/mail/ralfg
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PIPESTATUS=([0]="139")
PPID=22089
PS1='\u@\h:\w\$ '
PS2='> '
PS4='+ '
PWD=/skolelinux/administrator/home1/ralfg
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SSH_CLIENT='::ffff:84.60.*.* 64822 22'
SSH_CONNECTION='::ffff:84.60.*.* 64822 ::ffff:158.36.191.137 22'
SSH_TTY=/dev/pts/3
TERM=xterm
UID=1249
USER=ralfg
_=ls


Reply to: