Eu resolvi o problema.
O servidor estava em estado de interrupção devido a falha de hardware. Deixei permanecer conectado por mais de 30 minutos & tem o terminal.
Mas obrigado pela sugestão pessoal !!
Este é o meu ambiente:
Versão 10 do Solaris; Sun OS Version 5.10 Versão do Oracle: 11g Enterprise x64 Edition.
Quando eu estou fazendo o login através do putty, ele está me dando esta saída:
login as: ora Using keyboard-interactive authentication.
Password:
Last login: Sun Nov 2 10:24:21 2014 from abc
Ele não está mostrando o sinal " $
" ou algo do tipo .. Não consigo escrever nele, mas não consigo executar o comando do Linux ou obter qualquer saída dele. Eu até me loguei por senha root e ainda assim mesmo. Posso me descrever isso para mim e guiar este assunto?
Meu banco de dados Oracle está em execução e não quero reiniciar meu servidor. Então, como posso corrigi-lo e obter $
ou #
?
O sistema está lhe dizendo que há um disco defeituoso (ou controlador / cabo / qualquer outro):
Nov 2 12:04:21 hooradb2 scsi: Requested Block: 1632 Error Block: 1632 Nov 2 12:04:21 hooradb2 scsi: Vendor: SEAGATE Serial Number: 071891XA2J
Nov 2 12:04:21 hooradb2 scsi: Vendor: SEAGATE Serial Number: 071891XA2J Nov 2 12:04:21 hooradb2 scsi: Sense Key: Aborted Command Nov 2 12:04:21 hooradb2 scsi: ASC: 0x8 (LUN communication time-out), ASCQ: 0x1, FRU: 0x81
Não vale a pena investigar um problema no prompt do shell enquanto o sistema trava. Inicialize em uma mídia alternativa (por exemplo, um live CD) e investigue / corrija esse problema a partir daqui. Um fsck pode ser suficiente, mas a substituição do disco e a restauração do backup podem ser a única maneira de recuperar seu servidor.
verifique a variável PS1
:
root@debian:/home/mohsen# echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
root@debian:/home/mohsen#
verifique seus arquivos de inicialização para modificá-lo.
Se você usar bash você pode usar os seguintes códigos de escape para a variável PS1:
\a an ASCII bell character (07)
\d the date in "Weekday Month Date" format
(e.g., "Tue May 26")
\e an ASCII escape character (033)
\h the hostname up to the first '.'
\H the hostname
\j the number of jobs currently managed by the
shell
\l the basename of the shell's terminal device
name
\n newline
\r carriage return
\s the name of the shell, the basename of $0
(the portion following the final slash)
\t the current time in 24-hour HH:MM:SS format
\T the current time in 12-hour HH:MM:SS format
\@ the current time in 12-hour am/pm format
\u the username of the current user
\v the version of bash (e.g., 2.00)
\V the release of bash, version + patchlevel
(e.g., 2.00.0)
\w the current working directory
\W the basename of the current working direc
tory
\! the history number of this command
\# the command number of this command
\$ if the effective UID is 0, a #, otherwise a
$
\nnn the character corresponding to the octal
number nnn
\ a backslash
\[ begin a sequence of non-printing characters,
which could be used to embed a terminal con
trol sequence into the prompt
\] end a sequence of non-printing characters