• 締切済み

Linux(centOS5)サーバー root宛てメール

本日、商用電源の停電があり、自宅サーバーLinux(centOS5)の電源が落ちたので、停電回復後、電源を入れサーバーを起動させました。 起動後root宛てに下記のメールが届くようになりました。(再起動後にも同じメールが届きます) /var/log/messages を見ても意味がよく分かりません。 これは、ハードディスクのセクターが壊れていて読出しができないとゆうことなのでしょうか?? This email was generated by the smartd daemon running on: host name: ****.****.****.jp DNS domain: ****.****.jp NIS domain: (none) The following warning/error was logged by the smartd daemon: Device: /dev/sda, 1 Currently unreadable (pending) sectors For details see host's SYSLOG (default: /var/log/messages). You can also use the smartctl utility for further investigation. No additional email messages about this problem will be sent. よろしくお願いします。

みんなの回答

noname#98978
noname#98978
回答No.1

Device: /dev/sda, 1 Currently unreadable (pending) sectors こういうことです。

ski_001
質問者

お礼

3日前にHDDを購入して増設した後だったので少し沈んでいましたが、ファイル・システムを再度構築することによって回復しました。 ありがとうございました。

関連するQ&A

  • Linuxサーバーが突然再起動した原因について

    こんにちは。 教えてください。 自宅のLinux(Ubuntu)PCを数日間動かしていたところ、 突然再起動しました。 (勉強用にWebサーバとしているため、電源入りっぱなしです。) 考えられる原因とその確認方法を教えてください。 まずは、私が確認した内容です。  (1)messagesファイルに異常なログはない。    ログを見るとシャットダウンしないで、いきなり電源が落ちて、    即座に起動しているようです。  (2)カーネルパニックにはなっていないようです。 こんなことってあるんでしょうか・・・

  • リモートのCentOSサーバが起動しない

    あるホスティングサービス会社からCentOS5.7の仮想サーバを一台レンタルし、 Webサービスを立ち上げていたのですが、今日突然サービスが停止したため、 立ち上げなおそうとしてログインを試みたところSSHの接続が拒否されてしまいました。 その会社のサービスでは、ブラウザ上で仮想サーバの再起動やSSH公開鍵の再設定が 可能なため、まずSSH公開鍵の初期化と再設定をして再起動を行いました。 (過去にも同じ手段で復旧できた事例がありました) しかし、一向に接続できるようにならないため、 サーバのコンソール(仮想サーバのコンソールをブラウザ上で見れるサービス)を 覗いたところ、以下のようなメッセージが表示されていました。 ========================================================================= SELinux: Disabled at runtime. type=1404 audit(1381908941.691:2): selinux=0 auid=4294967295 ses=4294967295 INIT: version 2.86 booting INIT: cannot execute "/etc/rc.d/rc.sysinit" INIT: Entering runlevel: 3 Starting iSCSI daemon: SCSI subsystem initialized Loading iSCSI transport class v2.0-871. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> cxgb3i: tag itt 0x1fff, 13 bits, age 0xf, 4 bits. iscsi: registered transport (cxgb3i) NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver Broadcom NetXtreme II CNIC Driver cnic v2.0.1 (Oct 01, 2009) Broadcom NetXtreme II iSCSI Driver bnx2i v2.0.1e (June 22, 2009) iscsi: registered transport (bnx2i) iscsi: registered transport (tcp) iscsi: registered transport (iser) Could not create log file: /var/log/brcm-iscsi.log <No such file or directory> Could not initialize the logger [FAILED] Applying iptables firewall rules: ip_tables: (C) 2000-2006 Netfilter Core Team Netfilter messages via NETLINK v0.30. ip_conntrack version 2.4 (8192 buckets, 65536 max) - 228 bytes per conntrack [ OK ] Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ] touch: cannot touch `/var/lock/subsys/iptables': No such file or directory Bringing up loopback interface: ./network-functions: line 173: cd: /var/run/net report: No such file or directory [ OK ] Bringing up interface eth0: netfront: Initialising virtual ethernet driver. netfront: device eth0 has copying receive path. netfront: device eth1 has copying receive path. ./network-functions: line 173: cd: /var/run/netreport: No such file or directory [ OK ] Bringing up interface eth1: ./network-functions: line 173: cd: /var/run/netrepo rt: No such file or directory [ OK ] touch: cannot touch `/var/lock/subsys/network': No such file or directory Starting system logger: [FAILED] Starting kernel logger: [ OK ] iscsid is stopped Starting iSCSI daemon: Could not create log file: /var/log/brcm-iscsi.log <No su ch file or directory> Could not initialize the logger [FAILED] cp: cannot create regular file `/var/empty/sshd/etc': No such file or directory Starting sshd: Missing privilege separation directory: /var/empty/sshd [FAILED] Starting xinetd: [ OK ] touch: cannot touch `/var/lock/subsys/xinetd': No such file or directory touch: cannot touch `/var/log/mysqld.log': No such file or directory chown: cannot access `/var/log/mysqld.log': No such file or directory chmod: cannot access `/var/log/mysqld.log': No such file or directory mkdir: cannot create directory `/var/lib': Read-only file system touch: cannot touch `/var/lock/subsys/local': No such file or directory INIT: Id "co" respawning too fast: disabled for 5 minutes INIT: no more processes left in this runlevel INIT: Id "co" respawning too fast: disabled for 5 minutes ★ ========================================================================= 本来は、ここでカーソルが表示されてブラウザ上でコマンドがうてるようになるのですが、 ★の行がエンドレスで表示されるだけで一向に起動が終わってないようにみえます。 この状態ではもう初期化(出荷時に戻す)の他にうてる手立てはないのでしょうか? どなたかご教示いただけますでしょうか。 以上、よろしくお願い致します。

  • postfix についてのご質問です。(linux初心者)

    postfix についてのご質問です。(linux初心者) vmwareにて、centosで環境を作りました。 yumでpostfixをインストールして、system-switch-mail でpostfixにしました。 main.cfを編集しようとしたとき、mydomainの指定を何にするか悩みました。 (ドメインはどこで設定すればよいのかわからず・・・) とりあえずは、/etc/hostsに 127.0.0.1の対応に vmserver.net として登録しました。 mailコマンドでサーバー内のユーザーに送信したところ、/var/log/spool/ユーザー/ に何も残っておらず、 /var/log/maillogをみると、 Host or domain name not found. Name service error for name=vmwareserver.net type=A: Host not found となります。 いろいろなサイトで調べると、どうやらdnsの設定がないとできないものでは・・・と感じましたが、 /etc/hostsでは、できないのでしょうか。 postfixはbindなどのdnsを立ち上げないとできないものでしょうか。 恐縮ではございますが、なにとぞご教授よろしくお願い申し上げます。

  • Linuxの起動時のメッセージ

    Linux起動時にデーモン起動からログインを促す状態までに表示されるメッセージの中で赤字でFAILERとなっている箇所が2つありました。 あまりに早くて何がFAILERなのかわかりませんでした。 コマンド(dmesg)、あるいは、/var/log/messagesの中身で確認できるということが分かりましたが、これらで表示されるテキストの中には、OKやFAILERは書いてありません。 もう一度起動時のメッセージを確認し、 FAILER付近に"premission deneid"と書かれていたので、 それを上記コマンドやファイルで確認しましたがそれもありませんでした。 本当に起動時のメッセージはdmesgや/var/log/messagesに書かれているのでしょうか。 もうデジカメで写真取るしかないか、という発想になってしまうのですが、何かアイディアをお持ちの方はいらっしゃいますでしょうか。 よろしくお願いします。

  • bind ログにlame server自ホスト名

    Bindでネームサーバを運用していますが、以下のようなログが表示されます。 CentOS 5でbindでDNSを動かしていますが、 /var/log/messages に以下のログが記録されています。 Apr 24 10:10:11 host named[28072]: lame server resolving 'twitter.com.example.com' (in 'example.com'?): xxx.xxx.xxx.xxx#53 自ホスト名 host ドメイン名 example.com IPアドレスxxx.xxx.xxx.xxx に変えています。 なぜかtwitter.com.example.comの用にtwitter.comと自ドメイン名が繋がっています。 原因がわかる方教えていただければと思います。 自ホスト名はbindで正引き、逆引きともにできています。

  •  livedoorメールで

     livedoorメールなんですけど、送信できません。昨日辺りから、あるアドレス(ドコモ)に送ろうとすると以下のようなメッセージが帰ってきます。  Mail Delivery Subsystem <mailer-daemon@googlemail.com> 宛先: 自分 詳細を表示 8月27日 (1日前) This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: ○○○@docomo.ne.jp Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 Unknown user ○○○@docomo.ne.jp (state 18). いったい何が起こっているのでしょうか?

  • messagesにerror sending response: host unreachable

    現在RedHadLinux8.0でBIND 9.2.1 を使用しているのですが。 今朝ネットに繋がらなくなってしまったため、/var/log/messagesを 確認したところ named[738]: client 200.226.138.13#13522: error sending response: host unreachable named[738]: client 193.197.168.39#49422: error sending response: host unreachable 上記のようなログが大量に発生していました、とりあえず、BIND再起動 したらネットには繋がるようになったんですが、何が原因で このログのような状況が発生したのか、調べるにはどうしたらよいでしょうか、アドバイスいただけないでしょうか。

  • 「client denied by server configuration」エラーの原因を教えてください。

    とあるWebシステムにブラウザアクセスすると「Forbidden You don't have permission to access / on this server.」が表示されたため、tail -f /var/log/messages を確認したところ、「client denied by server configuration /home/XXX/XXX/XXX」が表示されます。 とくに権限でおかしな箇所はないようなのですが、いったい何が原因なのでしょうか?

  • /var/log/messages出力形式について

    お世話になっております。 現在、/var/log/messagesを対象とした監視導入を計画中です。 通常、エラー等のステータスを示すキーワードとなる priority(notice,warning,err,error,crit,critical,alert,emerg)の各文字列を 監視ソフトウェアで検知対象とする事を検討しています。 そこでご質問になりますが、実際にsystemトラブルが発生した場合は、 そもそもpriorityは、/var/log/messages内にどのように出力されるものでしょうか? 当方、/var/log/messagesログの標準的な出力形式は、 以下内容となる程度しか認識がありません。 <日付> <時間> <ホスト名> <プログラム名> <ログメッセージ> 実際の監視対象OS上では、過去にwarningとして以下2パターンの 出力のみがありました。 Aパターン ホスト名直後にコロンで区切られた箇所がある(Warningの直後はコロンで区切られる) ・Jan 1 00:00:01 host001 kernel: bonding: Warning: messagexxx Bパターン ホスト名直後に(プロセスID?を含む)プログラム名が記され、 コロンで区切られた箇所がある(WARNINGの直後はコロンで区切られる) ・Jan 1 00:00:01 host001 avahi-daemon[4079]: WARNING: messagexxx これらの内容から、全てのpriorityの出力形式は、以下の通りと考慮しますが、 間違いないものでしょうか? [メッセージ+半角ブランク+priorityのいずれか+直後にコロン+半角ブランク+メッセージ] === 環境) ・OS: RedHat Enterprise Linux 5.4 ・syslogデーモン設定はデフォルト設定(syslog-ng等へのカスタマイズなし) syslog.conf内の記述は、以下の通りです。 デフォルトの設定です。 *info;mail.none;authpriv.none;cron.none /var/log/messages authpriv. * /var/log/secure mail. * /var/log/maillog cron. * /var/log/cron *. emerg * uucp, news. crit /var/log/spooler local7. * /var/log/boot.log [authprivとcronを除いた全てのfacilityでinfo以上のメッセージを /var/log/messagesに出力する(デフォルト設定)]

  • gmailの独自ドメインアドレス宛にメールエラー

    こんばんは。質問させてください。 半年程前にバリュードメインでドメインを取得し、 Google Apps for Your Domainに登録し、Gmailを独自ドメインのアドレスで使用しております。 半年間、何の不具合も無くメールの送受信ができていたのですが、 数日前からメールの受信ができなくなり、大変困っております。 別のアドレスから独自ドメインのアドレス宛にメールを送信すると、 Delivery to the following recipient failed permanently: ○○@○○.com Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: --- --- - - <○○@○○.com> というメールが返ってきます。 バリュードメイン側のDNSレコードも変えておりませんし、 独自ドメインアドレスからの送信は問題なく行えますので、一体何が原因でこのような事になっているのか分かりません。 稚拙な文章で申し訳ございませんが、 アドバイスの方よろしくお願いいたします。