Run fsck(1M) on the root file system, halt the machine, power cycle the CPU, and wait for the system to reboot. If the file system containing /var is mounted read-only, remount it read-write with a command similar to this: # mount -o rw,remount / Then type Control-D and try to bring up Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. Thank you in advance. his comment is here
Run the scripts in shell debug mode by adding "set -x" in these scripts. For each file that is an ordinary file, ls repeats its name and any other information requested. If it is corrupted you would not be able to recover. Parts advice for a DIY router? [Networking] by Onaran284.
Having a problem logging in? share|improve this answer answered Apr 8 '10 at 12:36 LapTop006 6,0741325 add a comment| up vote 0 down vote If Single User Mode does not work, here's the procedure to restore Is this article FUD? [Security] by DarkSithPro240. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers
Note: Making /var a separate partition (in /etc/vfstab) is okay. I cannot write or press anything. Here are the messages I see on console mount: mount-point /var/run does not exist. Forum Operations by The UNIX and Linux Forums current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list.
Kernel corruption. Run fsck mannually (fsck -F utf /dev/rdsk/c1d0s0)......... Read the man page of "init" as soon as you login; it helps you understand the run levels 0 to 6 and s/S Quote: ... http://www.justskins.com/forums/cannot-create-var-adm-186923.html To open it up: right click on the desktop and select Hosts -> Terminal Console Or This Host under workspace popup menu And when you are typing fsck ..
Should this problem still occur, restore the root file system from backup tapes, or re-install the system from net or CD-ROM to replace the root file system. If not, it could be that your /var partition is full and that is why you can't write to it. Example of problem filename: /etc/hostname.hme0.9mar2005 5. Make sure the startup scripts under /a/etc/rc[S,2,3].d and the files /a/sbin/rc[S,2,3] are not corrupted.
Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode August 21st,07:23 PM #1 Cannot create /var/adm/utmpx Hi, The time now is 12:48 AM. Still glad you got it working. Example: #!/sbin/sh set -x Cause 5 : Invalid hostname files exists in /etc directory /etc/hostname.hme0.bakcup. Solution : The startup script /etc/init.d/network will fail to parse these file
My AccountSearchMapsYouTubePlayNewsGmailDriveCalendarGoogle+TranslatePhotosMoreShoppingWalletFinanceDocsBooksBloggerContactsHangoutsEven more from GoogleSign inHidden fieldsSearch for groups or messages Support LQ: Use code LQ3 and save $3 on Domain Registration Blogs Recent Entries Best Entries Best Blogs Blog List this content unix boot share|improve this question asked Apr 7 '10 at 21:48 Maktouch add a comment| 2 Answers 2 active oldest votes up vote 0 down vote The filesystem is likely corrupt, New 32x8 modem on the Approved List [ComcastXFINITY] by maxbrando227. Example: #grep sysmsg /a/etc/name_to_major sysmsg 97 #/usr/bin/ls -al /a/devices/pseudo/sysmsg* crw------- 1 root sys 97, 1 Jan 12 16:25 /devices/pseudo/[email protected]:msglog crw------- 1 root sys 97, 0 Jan 30 16:38 /devices/pseudo/[email protected]:sysmsg 7.
Some other messages follow, and the system usually comes up single-user. Example: # /usr/bin/ls -al /a/dev/console lrwxrwxrwx 1 root other 30 Aug 15 2001 /a/dev/console -> ../devices/pseudo/[email protected]:console Cause 9 : Corrupted /etc/mnttab Solution : For troubleshooting, boot from CD-ROM (the I've alse tried to erase the utmp*, to copy them from the Solaris CD and even to create them empty with touch, but doesn't works. weblink Are there still systems around with a /bin/sh binary?
Since the files may be corrupted, clear their contents and again check permissions and ownership. Philippe Guest August 23rd,06:43 PM #2 Re: Cannot create /var/adm/utmpx Philippe Tousignant
Join our community today!
Thorrn4 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Thorrn4 03-12-2005, 05:05 PM #2 technopark02 Member Registered: Feb 2005 Distribution: Solaris Example: # /usr/bin/file /a/sbin/sh /a/sbin/sh: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped #/usr/bin/file /bin/sh /bin/sh: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped If /a/sbin/sh is Should be able to boot off of cdrom. Does the electoral vote count ever get reallocated between states?
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed All product names are trademarks of their respective companies. It boots up the machine in multi-user mode and makes all resources available over the network. check over here TekSavvy - ENOUGH IS ENOUGH ALREADY!!! [TekSavvy] by MrMazda86410.
I've tried to boot from cd CD-ROM and run and fsck on the / (root) ... Close Our next learning article is ready, subscribe it in your email Name(required) Email(required) Learning Request(required) Are you Looking for (required) Paid Training Free Training What is your Learning Goal for Thorrn4 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Thorrn4 03-13-2005, 03:23 PM #4 technopark02 Member Registered: Feb 2005 Distribution: Solaris Please how do i get out of this mess?
The time now is 08:48 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top It will not hurt to use another superblock. Solution : For troubleshooting, boot from CD-ROM (the same Solaris[TM] version that the system is running if possible) into single user mode, and mount the core Solaris filesystems under /a ok Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.
After making a backup copy, edit /etc/init.d/standardmounts, modify the file so that the file system which contains /var is mounted. Please what could be the problem? ....i think i have tried everything. Are there any earlier messages from the console, they would likely be more helpful. The /var partition did not mount on booting.
mshivhare replied May 22, 2007 Hello, I had faced the same problem a month back and I had done the below mentioned steps: 1) Ensure that the backup of /var is Also, make sure you comment out the rootdev device entry in /etc/system.-tom · actions · 2005-Jul-25 10:07 pm ·
San Francisco, CA bay area < This line left intentionally blank to confuse you. > Darren Guest September 15th,04:09 PM #3 Re: Cannot create /var/adm/utmpx Hello, I had the same problem, What does a -4 above the stave mean? Leave a Reply Cancel reply Disclaimer : Procedures posted in this site had no guarantee to work in your Environment, use it on your own Risk when you use it for If /etc/inittab is corrupt, copy one the one from /cdrom//Product/SUNWcsr/reloc/etc to /a/etc. Cause 8 : Missing Console Device files i.e. /dev/console linked to devices/pseudo/[email protected]:console Solution : Make sure /dev/console