Solaris OS FAQ Summary

  
 

1.“message overflow on /dev/log minor #5 -- is syslogd(1M) running?”

We have a machine, and syslogd accounts for about 50% of the CPU after it starts. , causing the above application to become slow and slow. Finally, I found that after the console started, he always reported this error after initializing the network. The reason is that /etc/dfs/dfstab shares the /home directory, and the statement is: ;share -F nfs -o rw -d "home dirs" /home", and /home's original mount disk has been canceled, so /home is automount and read-only, remove this line. Or rename -o rw -o ro can also

2.df -k See the size is different from the actual size

Delete some files directly from the database today, then copy other files Come in, I found a phenomenon that the file I copied is 400GB, the size of the disk is 500GB, the size of the deleted file is 200GB, and it is found that the copy to the last disk space is not enough. The results of the two commands df -k and du -k are very different. , almost 200GB or so, let me think of whether the deleted file is not released, really, I actually deleted the file when the database is open, the Oracle background process is still on the OS, and finally these background processes are all stopped, found The hard disk space has been released.

3. Users can't ftp, it used to be OK

It was originally a test for users who only used ftp function, added /etc/shells file, remove it, and The user who has only ftp permission on solaris is as follows (I have not tested it): "ftptest:x:1008:1::/home/ftptest:/usr/bin/noshell is added in /etc/passwd, or Can not ftp, reported 503 error, in fact, the reason for the failure is that solaris thinks that /usr/bin/noshell is an illegal shell. We only need to add “/usr/bin/noshell“ to /etc/shells so that solaris thinks it Is a legal shell. Can ftp ".

4.SQLPLUS can not run under the root, ftp can log in can not upload files.

The original special sqlplus can be run under the root, one day found no Yes, ftp can not upload files, and finally found that the top directory x permissions were removed, plus after going, everything OK.

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

Using the command to empty utmpx today, exiting and logging in, this problem occurs, other users can not log in, even under the console, this makes me extremely dizzy, Had to reboot into single-user mode. Delete the original file, touch and change the attribute, the problem is solved. 6.WWN number:

# luxadm -e port # luxadm -e dump_map <path>

Nothing # prtpicl –c scsi-fcp –v

Copyright © Windows knowledge All Rights Reserved