Jump to content

User:Ranjit: Difference between revisions

From TetraWiki
Ranjit (talk | contribs)
No edit summary
Ranjit (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[category:Qmail]]
[[category:KLOXO]]


----
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 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.
  '''Mails are not going from kloxo'''


Sulation:-
  sendmail daemon was not linked with /var/qmail/bin/sendmail therefore mails are going from server.


Step-1. Go to rescure mode through CentOS DVD.
1. check link location of sendmail.


Note: If your Hard drive is not detecting/showing in rescure mode then boot from Ubuntu live Dvd for temporary use Ubuntu.
  # ls -la /usr/sbin/sendmail


Step-2. Use following command to recover superblock.
2. Remove current link of sendmail.


#dumpe2fs /dev/sda2 | grep superblock
  # rm /usr/sbin/sendmail
#fsck -b 32768 /dev/sda2
or      #e2fsck -b 32768 /dev/sda2


Now reboot sysytem...
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