服务器可能遇到的问题总结一
SUN ( )
) :现在遇到这样一个问题, 一台 机时报下面的错误:
1 Q telnet SUN
No utmpx entry. You must exec "login" from the lowest level "shell".
我做了下面的处理后:
cd /var/adm
mv utmpx utmpxbak
touch utmpx
telnet 恢复了正常,可在该机器的终端下执行login 命令时,又报了上面相同的错误。而且重新
启动机器以后,telnet 时还是报相同的错误!
A:进入单用户模式,清空 不是删除这两个文件( )
# cat /dev/null > /var/adm/wtmpx
# cat /dev/null > /var/adm/utmpx
之后,重新启动系统
找了很多国外的论坛,都是这么说的:
The problem comes if utmp or wtmp file becomes corrupted . You need to initialize the
se and reboot the system to correct the error.
These files are log files and can be initialized without affecting the system, as long as
you reboot the system after truncating the files. Perform these steps:
1. Bring the system into System Maintenance mode.
2. Make copies of the files /etc/utmp, /etc/utmpx, /etc/wtmp, and
/etc/wtmpx before proceeding with the next step.
3. Delete the contents of these files by executing the following
commands:
# > /etc/utmp
# > /etc/wtmp
# > /etc/utmpx
# > /etc/wtmpx
4. Shutdown the system:
# shutdown -y -g0
Restart the system
) :我用 的方式来赋值,总显示语法或者修饰
2 Q setenv PATH $PATH:/path/to/my/program
符有问题。
如果用setenv PATH /path/to/my/program就可以成功赋值。
请教各位老手,如果我想在CSehll 下实现bash里面export PATH $PATH:/path/to/my/progra
m 的赋值,应该怎么写啊?
没用过CShell,请各位多指点,谢谢。
: 别用等号
A CShell
setenv PATH "$PATH":/path/to/my/program
) :系统是 ,我在#提示符下输入 回车后屏幕闪了几下,然后就成了白
3 Q SUN 280R init s
屏,强行重启也没反应
A:关掉电源,从光盘启动进去看看是怎么回事,
boot cdrom –s 就是从光盘启动后进入系统
) 在 的网站上,比如我想安装
4 Q: sunfree libiconv-1.8
那么libiconv-1.8-sol10-intel-local.gz 与 libiconv-1.8.tar.gz
有什么区别呢?
A: 第一个是编译好的适合solaris 系统的binary 格式package 文件
安装,可以用pkgadd 命令直接添加的
后边的source 文件,还没有编译
安装,需要configure,make,make install 的过程
5) Q: 求助:vmware 下安装solaris10 之后不能改分辨率和刷新率