最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

SunSolaris问题总结

来源:动视网 责编:小采 时间:2020-11-09 12:12:29
文档

SunSolaris问题总结

SunSolaris问题总结:1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec quot;loginquot; fro 1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec
推荐度:
导读SunSolaris问题总结:1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec quot;loginquot; fro 1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec


1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec quot;loginquot; fro

  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 these 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/program的赋值,应该怎么写啊?

  没用过CShell,请各位多指点,谢谢。

  A:CShell别用等号

  setenv PATH "$PATH":/path/to/my/program

  3) Q:系统是SUN 280R,我在#提示符下输入init s回车后屏幕闪了几下,然后就成了白屏,强行重启也没反应

  A:关掉电源,从光盘启动,进去看看是怎么回事

  boot cdrom s 就是从光盘启动后进入系统

文档

SunSolaris问题总结

SunSolaris问题总结:1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec quot;loginquot; fro 1) Q:现在遇到这样一个问题,telnet一台SUN机时报下面的错误: No utmpx entry. You must exec
推荐度:
标签: 数据库 o sun
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top