Jump to content

User:Ranjit: Difference between revisions

From TetraWiki
Ranjit (talk | contribs)
Created page with "SERVER IS NOT GETTING START AND SHOWING THIS ERROR EXT3-fs: unable to read superblock mount: error mounting /dev/root on /sysroot as ext3: Invalid argument Setting up other ..."
 
Ranjit (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
SERVER IS NOT GETTING START AND SHOWING THIS ERROR
[[category:Qmail]]
[[category:KLOXO]]


EXT3-fs: unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - Not syncing: Attempted to kill init!


Note: actually this problem is coming when  superblock of root partition are crrupted. therefore you are not able to mount your partition because  file system of that partition is not working properly.


Sulation:-
'''Mails are not going from kloxo'''


Step-1. Go to rescure mode through CentOS DVD.
  sendmail daemon was not linked with /var/qmail/bin/sendmail therefore mails are going from server.


Note: If your Hard drive is not detecting/showing in rescure mode then boot from Ubuntu live Dvd for temporary use Ubuntu.
1. check link location of sendmail.


Step-2. Use following command to recover superblock.
  # ls -la /usr/sbin/sendmail


#dumpe2fs /dev/sda2 | grep superblock
2. Remove current link of sendmail.
#fsck -b 32768 /dev/sda2
or      #e2fsck -b 32768 /dev/sda2


Now reboot sysytem...
  # rm /usr/sbin/sendmail
 
3. create new link.
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
 
Note:- Mail log was also not generating therefore we restart rsyslog service.
 
#/etc/init.d/rsyslog restart

Latest revision as of 15:22, 8 January 2014



Mails are not going from kloxo
 sendmail daemon was not linked with /var/qmail/bin/sendmail therefore mails are going from server.
1. check link location of sendmail.
 # ls -la /usr/sbin/sendmail
2. Remove current link of sendmail.
 # rm /usr/sbin/sendmail
3. create new link.

# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail 


Note:- Mail log was also not generating therefore we restart rsyslog service.
#/etc/init.d/rsyslog restart