>auser wrote: >>mark wrote: >>> auser wrote: >>>> hi,redhat-list! >>>> >>>> When i login in a linux server by ssh and it prompt: >>>> -bash: /etc/profile: Input/output error >>>> -bash: /root/.bash_profile: Input/output error >>>> -bash-3.00# >>> <snip> >>> Two questions: >>> first, what's the output of df, and >> -bash-3.00# df -h >> Filesystem Size Used Avail Use% Mounted on >> /dev/sda2 29G 4.0G 24G 15% / >> /dev/sda1 190M 13M 168M 8% /boot >> /dev/sda6 362G 16G 328G 5% /data >> none 2.0G 0 2.0G 0% /dev/shm >> /dev/sda3 7.7G 330M 7.0G 5% /opt > >Ok, no full filesystems.... > >>> second, have you looked in /var/log/messages >> there is nothing output when i check /var/log/messages and /var/log/secure : >> -bash-3.00# cat /var/log/messages >> -bash-3.00# cat /var/log/secure ><snip> >Do an ll of /var/log - if /var/log/messages is an empty file, look at >/var/log/messages.1, the last logfile. yes i see ,no any valuable info, all the messages is like : -bash-3.00# cat /var/log/messages* Feb 3 23:06:47 dns251-202 sshd(pam_unix)[25986]: session opened for user root by (uid=0) Feb 3 23:06:47 dns251-202 sshd(pam_unix)[26003]: session opened for user root by (uid=0) Feb 3 23:06:47 dns251-202 sshd(pam_unix)[26020]: session opened for user root by (uid=0) Feb 3 23:06:47 dns251-202 sshd(pam_unix)[26037]: session opened for user root by (uid=0) Feb 3 23:06:48 dns251-202 sshd(pam_unix)[26054]: session opened for user root by (uid=0) -bash-3.00# cat /var/log/secure* Feb 9 15:06:18 dns251-202 sshd[12646]: Accepted publickey for root from ::ffff:10.0.251.217 port 35868 ssh2 Feb 9 23:06:21 dns251-202 sshd[12662]: Accepted publickey for root from ::ffff:10.0.251.217 port 35869 ssh2 Feb 9 15:06:21 dns251-202 sshd[12663]: Accepted publickey for root from ::ffff:10.0.251.217 port 35869 ssh2 Feb 9 23:06:21 dns251-202 sshd[12679]: Accepted publickey for root from ::ffff:10.0.251.217 port 35870 ssh2 Feb 9 15:06:21 dns251-202 sshd[12680]: Accepted publickey for root from ::ffff:10.0.251.217 port 35870 ssh2 cat: /var/log/secure.2: Input/output error cat: /var/log/secure.3: Input/output error cat: /var/log/secure.4: Input/output error > > mark > >-- >redhat-list mailing list >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >https://www.redhat.com/mailman/listinfo/redhat-list ------------------------------------------------------------------------- 姓名:郭苗苗 Email:guomiaomiao@xxxxxxxxxxxxxxx 主页: http://www.hexun.com Tel:(8610) 85651213 日期: 2008-02-14 -------------------------------------------------------------------------- -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list