sun认准服务器没有响应,SUN服务器可能遇到的问题总结.pdf

服务器可能遇到的问题总结一

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 之后不能改分辨率和刷新率

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值