On Tuesday 01 April 2008 15:15:00 Sir June wrote:
> as i mentioned earlier, my linux box RH AS2.1 came up with only the root
> partition mounted. i got console access only. no ssh. no services are
> running. i run fdisk -l  and i got the list of my partitions.  i manually
> mounted /var /usr /tmp  /export  /boot   .  SSH and Apache are now running.
> seems the system is ok for now.

So you figured out how to get everything back up and running.  That's
good.  The next thing to do is to figure out why your system got that
way in the first place.  Usually it's power outage (if that's what it was,
invest in a good UPS, maybe a generator, and set up linux to halt the
system if UPS power goes very low and your generator hasn't
come online yet).

If it wasn't power, then possibly someone turned the box off without
shutdown?  you need to figure out how to deal with that.  If it wasn't
some rogue finger, then your task gets harder.  something in your
system turned the box off without shutdown.  did you get a kernel 
panic?  did your server overheat and the motherboard turned itself
off? is your system RAM going bad? (run memtest), is some other
hardware failing? etc.  you'll need to find out what caused that and 
fix it, else you'll continue getting this sort of thing every once in a 
while.

good luck.

tiger

>
>
> df -k shows:
> # df -k
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda3              4127108   1798540   2118920  46% /
> /dev/sdb1            141106132 124399660   9538676  93% /export
> /dev/sda6              1548096    420392   1048988  29% /var
> /dev/sda2              5162828   2954128   1946440  61% /usr
> /dev/sda1               101089     19061     76809  20% /boot
> /dev/sda7             57021344     32884  54091944   1% /data
> /dev/sda8               505605      9291    470210   2% /tmp
>
> my /etc/fstab:
> LABEL=/                 /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> LABEL=/tmp              /tmp                    ext3    defaults        1 2
> LABEL=/usr              /usr                    ext3    defaults        1 2
> LABEL=/var              /var                    ext3    defaults        1 2
> /dev/sda5               swap                    swap    defaults        0 0
> /dev/sda7               /data                   ext3    defaults        1 2
> /dev/sdb1               /export                 ext3    defaults        1 2
>
>
>
> Question now is why the other filesystems are not mounted automatically? 
> Should i edit /etc/fstab  and use the device names (/dev/sda?)  instead of
> the LABEL?
>
>
> thanks,
> sirjune
>
>
> ----- Original Message ----
> From: Sir June <[EMAIL PROTECTED]>
> To: Philippine Linux Users' Group (PLUG) Technical Discussion List
> <[email protected]> Sent: Monday, March 31, 2008 9:22:07 PM
> Subject: [plug] LABEL=/var
>
>
> hi
> my system won't come online and it only mounted the root partition.  How do
> i manually boot the other partitions like /var/ or /usr  ?   what could be
> the cause of this? see logs below..
>
> thanks,
> sirjune
>
>
>
> # df -k
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda3              4127108   1798372   2119088  46% /
>
>
> # cat /etc/fstab
> LABEL=/                 /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> #LABEL=/export           /export                 ext3    defaults        1
> 2 none                    /proc                   proc    defaults        0
> 0 none                    /dev/shm                tmpfs   defaults        0
> 0 LABEL=/tmp              /tmp                    ext3    defaults        1
> 2 LABEL=/usr              /usr                    ext3    defaults        1
> 2 LABEL=/var              /var                    ext3    defaults        1
> 2 /dev/sda5               swap                    swap    defaults        0
> 0 /dev/sda7               /data                   ext3    defaults        1
> 2 /dev/sdb1               /export                 ext3    defaults        1
> 2
>
>
> logs while booting:
>
> touch: creating `/var/lock/subsys/reconfig': No such file or directory
> touch: creating `/var/lock/subsys/network': No such file or directory
> Starting system logger: [FAILED]
> Starting kernel logger: [  OK  ]
> /etc/rc3.d/S13irqbalance: id: command not found
> /etc/rc3.d/S13irqbalance: [: =: unary operator expected
> Starting NFS statd: [  OK  ]
> touch: creating `/var/lock/subsys/nfslock': No such file or directory
> Starting httpd:  [  OK  ]
> touch: creating `/var/lib/random-seed': No such file or directory
> Initializing random number generator:  [  OK  ]
> chmod: getting attributes of `/var/lib/random-seed': No such file or
> directory touch: creating `/var/lock/subsys/random': No such file or
> directory Starting sshd:  Starting sshd:execvp: No such file or directory
> [FAILED]
> [FAILED]
> /etc/rc3.d/S56xinetd: id: command not found
> /etc/rc3.d/S56xinetd: [: =: unary operator expected
> Starting ESM network server: [  OK  ]
> Starting routeit:  [  OK  ]
> /etc/rc3.d/S83iscsi: /var/log/iscsi.log: No such file or directory
> Couldn't load module iscsi
> See error log in /var/log/iscsi.log
> Starting console mouse services: execvp: No such file or directory
> [FAILED]
> Starting crond: execvp: No such file or directory
> [FAILED]
> Starting rscd:  [  OK  ]
> Starting Systems Management Device Drivers:
> Starting dcdbas device driver:/etc/rc3.d/S96instsvcdrv:
> /var/lib/dell/openmanage/hapi/dcdbas.map: No such file or directory chmod:
> getting attributes of `/var/lib/dell/openmanage/hapi/dcdbas.map': No such
> file or directory chmod: getting attributes of `/var/log/dcdbas.log': No
> such file or directory [FAILED]
>
>
>
>
> Like movies? Here's a limited-time offer: Blockbuster Total Access for one
> month at no cost.
>
>
>      
> ___________________________________________________________________________
>_________ You rock. That's why Blockbuster's offering you one month of
> Blockbuster Total Access, No Cost.
> http://tc.deals.yahoo.com/tc/blockbuster/text5.com



-- 
Gerald Timothy Quimpo   [EMAIL PROTECTED]
http://bopolissimus.blogspot.com http://monotrematica.blogspot.com
  Debugging code is twice as hard as writing it, so by definition,
   if you code to the best of your ability, you are not capable of
   debugging it.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to