Sun Solaris problem summary

Source: Internet
Author: User

1) Q: the following error is reported when you telnet to a SUN machine:

No utmpx entry. You must exec "login" from the lowest level "shell ".

After I have done the following:

Cd/var/adm

Mv utmpx utmpxbak

Touch utmpx

Telnet returns to normal. When you run the login command on the terminal of the machine, the same error is reported. After the machine is restarted, the same error is reported during telnet!

A: In single-user mode, clear (not delete) the two files.

# Cat/dev/null>/var/adm/wtmpx

# Cat/dev/null>/var/adm/utmpx

Then restart the system.

This is what I said when I found many foreign forums:

The problem comes if utmp or wtmp file becomes has upted. 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: I use setenv PATH = $ PATH:/path/to/my/program to assign values. The total display syntax or modifier is incorrect.

If setenv PATH =/path/to/my/program is used, the value can be assigned successfully.

How can I assign a value to export PATH = $ PATH:/path/to/my/program in bash under CSehll?

I have never used CShell. Please give me more advice. Thank you.

A: CShell alias

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

3) Q: The system is SUN 280R. At the # prompt, I enter init s and press enter, and the screen flashed a few times. Then it became a white screen, and it didn't respond either after forced restart.

A: Turn off the power, start from the CD, and check what is going on.

Boot cdrom s is started from the disc and then enters the system

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.