Home > Init Cannot > Init Cannot Create Var Adm Utmpx Solaris 9

Init Cannot Create Var Adm Utmpx Solaris 9

Why is looping over find's output bad practice? The following is an example where /var resides in /export/home/var: exec < ${vfstab}; readvfstab "/export/home" if [ "${mountp}" -a -d /export/home ] then /sbin/mount -m /export/home > /dev/null 2>&1 mntlist="${mntlist}/export/home /export/home" awyatt replied May 21, 2007 Here is the document that may help you Document ID: 6000 Title: INIT: Cannot create /var/adm/utmp Copyright Notice: Copyright © 2006 Sun Microsystems, Inc. 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 this contact form

Ran fsck on root /dev/rdsk/c0t0d0s0, it adjusted / and /space. The /etc/name_to_major file should also have a cn device listed with major number zero. If /etcd/inittab is corrupt, copy one the one from /cdrom//Product/SUNWcsr/reloc/etc to /a/etc. 8. Low Voltage home Cabling Rules? (Cat6/RG6) [CanadianBroadband] by bryanviper© DSLReports · Est.1999feedback · terms · Mobile mode

https://docs.oracle.com/cd/E19455-01/806-1075/msgs-1488/index.html

Some other messages follow, and the system usually comes up single-user. Do the following: # /usr/bin/cp /dev/null /a/var/adm/utmpx # /usr/bin/cp /dev/null /a/var/adm/wtmpx # /usr/bin/chown root:bin /a/var/adm/utmpx # /usr/bin/chmod 644 /a/var/adm/utmpx # /usr/bin/chown adm:adm /a/var/adm/wtmpx # /usr/bin/chmod 644 /a/var/adm/wtmpx There should also be Check the ownership and permissions of /a/var/adm/utmpx and /a/var/adm/wtmpx. Restore Solaris from a known good backup. 16.

Some other messages follow, and the system usually comes up single-user. The message appears immediately after the memory test. It boots up the machine in multi-user mode and makes all resources available over the network. Root Filesystem is in  Read-Only Mount State due to filesystem inconsistency.

Do the Leaves of Lórien brooches have any special significance or attributes? Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Note: Making /var a separate partition (in /etc/vfstab) is okay. http://www.justskins.com/forums/cannot-create-var-adm-186923.html looks like your file system was screwed due to the abrupt (windows style ) shutdown ie., hitting the power off button without using graceful shutdown command So, try to repair the

Formula 1 rebus How to create polygon shapefile from a list of coordinates using python gdal/ogr? It displays information something like: % man ls User Commands ls(1) NAME ls - list contents of directory SYNOPSIS /usr/bin/ls [[email protected]] [file...] /usr/xpg4/bin/ls [[email protected]] [file...] /usr/xpg6/bin/ls [[email protected]] [file...] DESCRIPTION For each GO OUT AND VOTE What is this c. 1948 private plane with a sliding canopy? etc., commands during bootup, you are doing it on a console window technopark02 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit technopark02's homepage!

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, other The minor numbers for the entry in the /devices entry should follow the convention in the example, 0 for the sysmsg device, and 1 for the msglog device. init 3 (I put in init 3) **Phase 5 - ........... If you want to read the man pages with a browser, please visit: http://docs.sun.com/app/docs/coll/40.16 >>> and where do I type "shutdown"?

Since the files may be corrupted, clear their contents and again check permissions and ownership. weblink 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 The super block is important as it stores important information about the structure of your disk. Is this a file system failure (or what) and what can we do now?

Read the man page of "init" as soon as you login; it helps you understand the run levels 0 to 6 and s/S The command to shut the machine down is: 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 Moral of the story: Do not use your strength to shutdown a UNIX box, but use the commands provided for such a task technopark02 View Public Profile View LQ Blog navigate here TekSavvy - ENOUGH IS ENOUGH ALREADY!!! [TekSavvy] by MrMazda86410.

I don't know the version of unix installed, but I see SCO UNIX. Win98 lives -- now in your browser! [Microsoft] by aurgathor447. See SunSolve boot cdrom keystroke repeats for more information.

Also you should boot into single user first.

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 What is the implication of these numbers? Even CTRL + ALT + DEL does not work. Why did Borden do that to his wife in The Prestige?

Having a problem logging in? Talk to us Home Services Forums Advertise Contact or Login Login to Your Account Remember Me? Otherwise the answer will become useless if/when the URL to the document changes. –Jenny D Mar 19 '14 at 7:53 add a comment| Your Answer draft saved draft discarded Sign http://pgexch.com/init-cannot/init-cannot-create-var-adm-utmp-or-var-adm-utmpx.html 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:

To get there, power up the machine and type "s" Or "S" at "Enter Run level (0-6, s or S) [3]: " prompt 2) Once you are there, type "fsck -F Since the files may be corrupted, clear their contents and again check permissions and ownership. Do the following: # /usr/bin/cp /dev/null /a/var/adm/utmpx # /usr/bin/cp /dev/null /a/var/adm/wtmpx # /usr/bin/chown root:bin /a/var/adm/utmpx # /usr/bin/chmod 644 /a/var/adm/utmpx # /usr/bin/chown adm:adm /a/var/adm/wtmpx # /usr/bin/chmod 644 /a/var/adm/wtmpx There should also be Verify the mounted filesystem is really the root filesystem and fix the /etc/vfstab file if necessary. 2.

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Also, in the way my newsreader presents the list of topics, the previous OP to Anne was "Lightyear" :^) Beardy Guest « XmNdestroyCallback and main window Widget Close | syslog is neil View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by neil 03-15-2005, 06:05 PM #10 Thorrn4 Member Registered: Mar 2005 Distribution: Mepis 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,

Mount them to /a/usr, /a/var, and /a/opt, respectively.