Home > Init Cannot > Init Cannot Create /var/adm/utmp Or /var/adm/utmpx

Init Cannot Create /var/adm/utmp Or /var/adm/utmpx

All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. After encapsulation of the disk containing the /usr partition, VxVM changes the entry in /etc/vfstab to use the corresponding volume. Thank you in advance. Check the /a/etc/inittab file for corruption by comparing to another system running the same Solaris OE. this contact form

Remove advertisements Sponsored Links lealyz View Public Profile Find all posts by lealyz #6 08-12-2002 RTM Registered User Join Date: Apr 2002 Last Activity: 6 August 2016, 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, Kernel corruption causing init to fail. Since the files may be corrupted, clear their contents and again check permissions and ownership.

Care should be taken while editing the /etc/vfstab file manually, and you should always make a backup copy before committing any changes to it. Note: Making /var a separate partition (in /etc/vfstab) is okay. Is there a way to either log in as root or bypass this error?

Often, a restore from backup is required, but the kernel patch can possibly be backed out: Example: # /usr/sbin/ patchrm -R /a kernel_patch-revision   Cause 11 :  /Var filesystem unavailable. The /var 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 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 Please how do i get out of this mess?

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 Documentation Home > Solaris Common Messages and Troubleshooting Guide > Chapter 2 Alphabetical Message Listing > "I" > INIT: Cannot create /var/adm/utmpxSolaris Common Messages and Troubleshooting GuidePrevious: inetd: Too many 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 http://www.justskins.com/forums/cannot-create-var-adm-186923.html Make sure the major number for the sysmsg device matches the major number used by the device file in /devices.

PCMag Digital Group AdChoices unused current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list. A quick google shows that Linux doesn't read SCO filesystems. I did boot to single user mode with the cd and i did run fsck, fixed errors, mounted the /var partition on /a, rm the utmpx, utmp, wtmpx, wtmp files, touched Now, when we try to boot, it prints: INIT: Cannot create /var/adm/utmp or /var/adm/utmpx INIT: failed write of utmpx entry: " " INIT: failed write of utmpx entry: " " INIT:

Can I use that to take out what he owes me? http://serverfault.com/questions/130306/sco-unix-problem-cannot-create-var-adm-utmp-or-var-adm-utmpx All rights reserved. Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts UNIX for Advanced & Expert Users Expert-to-Expert. This will enable verbose output from the script as it runs, which may help pinpoint the problem or its source.

BUt i am cleaning out my mailbox directory nevertheless. weblink 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 Complement of CFL is Recursive Zener diodes in glass axial package - not inherently shielded from photoelectric effect? Forum Operations by The UNIX and Linux Forums Para poder utilizar los foros de debate de Grupos de Google, debes habilitar JavaScript en la configuración del navegador y, a continuación, actualizar

The superblock was corrupted so I had to creata a new /var filesystem giving an alternate super block. 4) Ask the backup team to restore the /varfile system. 5) Reboot the The /var partition did not mount on booting. Join UsClose Think iT :: 생각하는 IT :: 발도장 :: IT News :: IT Bbooks :: IT Consulting :: 유머 Linux/Unix :: FAQ :: Fundamentals :: Shell Script :: Web Server navigate here lealyz.

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. The most important entries are those corresponding to / and /usr. You may be able to upgrade Solaris to the same version and hardware revision to replace damaged binaries.

Action If /var is a separate file system on the machine and is not yet mounted, mount it now.

Why can issuing the same command create more output in tty than in pts/gnome-terminal? All Rights Reserved Update Date: Mon Nov 13 00:00:00 MST 2006 Products: Solaris, Solaris 9 Operating System, Solaris 8 Operating System, Solaris 7 Operating System, Solaris 2.6 Operating System, Solaris 10 Now, when we try to boot, it prints: INIT: Cannot create /var/adm/utmp or /var/adm/utmpx INIT: failed write of utmpx entry: " " INIT: failed write of utmpx entry: " " INIT: Verify that there are not files in /a/etc with filenames in the format: hostname..

Why is looping over find's output bad practice? 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 Since the entry in /etc/vfstab was either incorrect or deleted, mount / as read/write manually, using this command: # mount -o remount /dev/vx/dsk/rootvol / After mounting / as read/write, exit the http://pgexch.com/init-cannot/init-cannot-create-var-adm-utmpx-solaris-9.html Check the ownership and permissions of /a/var/adm/utmpx and /a/var/adm/wtmpx.

The files here should be hard linked to files in /a/etc/init.d Example: #/usr/bin/ls -i /a/etc/rcS.d/S30rootusr.sh 327078 /etc/rcS.d/S30rootusr.sh #/usr/bin/ls -i /a/etc/init.d/rootusr 327078 /etc/init.d/rootusr.sh 10. Example: (cut from /a/etc/vfstab) /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no logging # /usr/bin/ls -al /dev/dsk/c0t0d0s0 lrwxrwxrwx 1 root root 46 Aug 15 16:20 .../../devices/[email protected],0/[email protected],1/[email protected]/[email protected],0: a # /usr/bin/ls -al /a/dev/dsk/c0t0d0s0 lrwxrwxrwx 1 Register now while it's still free! 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

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, How can I take a powerful plot item away from players without frustrating them? Previous: inetd: Too many open filesNext: InitOutput: Error loading module for /dev/fb © 2010, Oracle Corporation and/or its affiliates   Our next learning article is ready, subscribe it in your email Home Make sure the / and /var filesystems are not full.

You may also notice writefailure messages to wtmp(x) when you shut the system down.This is also because /var gets unmounted along with theother file systems, leaving only / and /usr until See SunSolve boot cdrom keystroke repeats for more information. Thanks. Registration on or use of this site constitutes acceptance of our Privacy Policy.

After making a backup copy, edit /etc/init.d/standardmounts, modify the file so that the file system which contains /var is mounted.