20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
> I'm having a problem here while trying to Lamboot. Everything seems to
> be OK but I can´t boot. While trying to execute any shell command using
> ssh I receive the message "stdin is not a tty" before the command
> execution (but it does). Could it be the problem? I need to test a
> hyperquicksort and it is urgent. Thanks,
Do you see these error messages when you login to a console? (i.e., not
via rsh/ssh)
Check your "dot" files, such as .bashrc, .cshrc, .tcshrc (depending on
what your default shell is). There is likely a command in there that is
causing this error message. Check for lines containing the "stty"
command, for example.
The simplest way to eliminate it is to comment out this command in your
dot files. You should then be able to run lamboot.
However, you'll need to do some checking to see if you *need* that command
when you login to local machines. If so, it may be easier to put in a
test in your dot files to only execute the stty command (or whatever it
is) when you login to a local machine, and not when you login via rsh/ssh.
Hope that helps.
als ik niet via ssh inlog (gewoon op pc zelf) heb ik geen problemen.
ook heb ik een standaard .bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| # ~/.bashrc: executed by bash(1) for non-login shells. export PS1='\h:\w\$ ' umask 022 # You may uncomment the following lines if you want `ls' to be colorized: export LS_OPTIONS='--color=auto -hrs' eval `dircolors` alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' |
[ Voor 64% gewijzigd door decramy op 21-01-2004 13:50 ]
20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
Heb je wel unix-ptys meegecompileerd? CONFIG_UNIX98_PTYS heet die optie in 2.4error: openpty: No such file or directory
1
2
3
4
5
6
7
8
9
10
| # # Non-8250 serial port support # CONFIG_SERIAL_CORE=y CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=256 CONFIG_PRINTER=y # CONFIG_LP_CONSOLE is not set CONFIG_PPDEV=y # CONFIG_TIPAR is not set |
20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
Als ik google op je foutmelding en 2.6 krijg ik echter ook die tip in diverse threads op de gentoo-forums.
[ Voor 26% gewijzigd door blaataaps op 21-01-2004 13:58 ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_DEVFS_FS=y CONFIG_DEVFS_MOUNT=y # CONFIG_DEVFS_DEBUG is not set CONFIG_DEVPTS_FS=y CONFIG_DEVPTS_FS_XATTR=y CONFIG_DEVPTS_FS_SECURITY=y CONFIG_TMPFS=y # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y |
en:
1
2
3
4
5
6
7
| dagobert:~# apt-get install glibc Reading Package Lists... Done Building Dependency Tree... Done Package glibc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package glibc has no installation candidate |
[ Voor 25% gewijzigd door decramy op 21-01-2004 14:10 ]
20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
Ik geloof dat je bij 'filesystems' ook 'ptyfs' ofzoiets moest aanzetten, maar aangezien ik nu geen Linux-systeem bij de hand heb kan ik het ff niet precies uitzoeken.
Als je dat al hebt weet ik 't ook even niet meer....
[ Voor 10% gewijzigd door Wilke op 21-01-2004 14:17 ]
Het geen jij bedoelt is "enable /dev/pts filesystem for unix98 ptys"Wilke schreef op 21 januari 2004 @ 14:16:
Dat probleem ken ik ook, ik wed dat je het hebt sinds de upgrade naar kernel 2.6.x
Ik geloof dat je bij 'filesystems' ook 'ptyfs' ofzoiets moest aanzetten, maar aangezien ik nu geen Linux-systeem bij de hand heb kan ik het ff niet precies uitzoeken.
Als je dat al hebt weet ik 't ook even niet meer....
Te vinden onder filesystems/pseudo-filesystems
If everything is working perfect, break something before someone else fucks up.
CONFIG_DEVPTS_FS=y
hij staat dus idd aan...
20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
Again, geen voorbeeldje omdat ik niet achter een Linux machien zit
1
| devpts on /dev/pts type devpts (rw,gid=5,mode=620) |
is de output van mount hier, gid en mode aanpassen aan wat op jouw pc van toepassing is
Ik zie niets in mijn fstab staan, draai een 2.6 kernel. Bij mij zit devpts ook in de kernel gecompileerd (zoals de default is als je een schone source pakt) en met mount zie ik hem netjes gemount staan:Wilke schreef op 21 januari 2004 @ 14:40:
Ah crap, dat is het natuurlijk. Je moet hem inderdaad ook toevoegen aan je /etc/fstab (zodat 'ie bij booten automatisch gemount wordt).
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
Zelf gecompileerde kernel die rot is misschien?
Ik heb het probleem iig nog niet gehad, niet met zelf gecompileerde kernels en niet met debian kernels (draai nu de 2.6 die in sid zit)
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
Allemaal aanstaan? Als je namelijk make menuconfig doet gaat ie de config van je huidige kernel proberen over te nemen wat natuurlijk niet handig is met een 2.4 kernel.
en da's natuurlijk niet handig als dan de virtual terminal optie niet wordt overgenomen
[ Voor 6% gewijzigd door Bas! op 21-01-2004 14:55 ]
ik wijzigde net /etc/fstab, door devpts erbij te plakken
mount /dev/pts
zegt ie dat t al in /etc/mtab staat. klopte ook
ik reboot, na devpts weer uit fstab te hebben gesloopt (staat toch al in mtab?)
staat t niet meer in mtab
ik weer in fstab geplakt, weer mount, geen errors.
ikke SSH... t werkt...
vaag
20*375Wp met Enphase IQ7+ micro's | Stiebel Eltron HGE Water/Water WP 9kW | Tesla M3, powered by SmartEVSE | Servertje @ www.coloclue.net
mtab veranderen heeft dus totaal geen zin, behalve dat je linux door de war haalt, en fstab veranderen heeft dus wel zin..
kijk maar eens man mount door
God, root, what is difference? | Talga Vassternich | IBM zuigt