LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-17-2008, 03:27 AM   #1
sathyguy
Member
 
Registered: Sep 2005
Location: Indian Working in Saudi Arabia
Distribution: Redhat Linux AS 3.0
Posts: 93

Rep: Reputation: 15
sudden errors in /var/log/messages


Friends,

OS: RHEL AS 3.0

Yesterday evening, i entered into the GUI using "startx" to take oracle backup in the tapedrive, i saw the exclamatory on the tapedrive icon. then i checked the /var/log/messages

Quote:
Jan 17 10:04:28 proddb login(pam_unix)[17903]: session opened for user root by LOGIN(uid=0)
Jan 17 10:04:28 proddb -- root[17903]: ROOT LOGIN ON tty1
Jan 17 10:04:39 proddb modprobe: modprobe: Can't locate module char-major-10-134
Jan 17 10:04:43 proddb kernel: mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
Jan 17 10:04:43 proddb kernel: mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
Jan 17 10:04:47 proddb gconfd (root-5787): starting (version 2.2.1), pid 5787 user 'root'
Jan 17 10:04:47 proddb gconfd (root-5787): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Jan 17 10:04:47 proddb gconfd (root-5787): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
Jan 17 10:04:47 proddb gconfd (root-5787): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Jan 17 10:04:48 proddb xinetd[5797]: warning: can't get client address: Transport endpoint is not connected
Jan 17 10:05:52 proddb modprobe: modprobe: Can't locate module sound-slot-0
Jan 17 10:05:52 proddb modprobe: modprobe: Can't locate module sound-service-0-3
Jan 17 10:05:54 proddb gconfd (root-5787): Received signal 1, shutting down cleanly
Jan 17 10:05:54 proddb gconfd (root-5787): Exiting
Jan 17 10:06:01 proddb login(pam_unix)[17903]: session closed for user root
what im suppose to do?
can i restart the server?

thanks
 
Old 01-17-2008, 04:38 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by sathyguy View Post
modprobe: modprobe: Can't locate module char-major-10-134
That's APM. If not used it's not fatal.

Quote:
Originally Posted by sathyguy View Post
modprobe: Can't locate module sound
If not used it's not fatal.

The rest are also messages of the informational level (level 6, KERN_INFO). The module messages you can avoid by putting in "alias $modulename off" in /etc/modprobe.conf. There's no messages related to your tapedrive there. The only time you need to reboot the server is when things can't be fixed in other ways, like loading a newly installed kernel, recovering from a kernel crash or some hardware device changes.
 
Old 01-17-2008, 05:08 AM   #3
sathyguy
Member
 
Registered: Sep 2005
Location: Indian Working in Saudi Arabia
Distribution: Redhat Linux AS 3.0
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for your info....still some doubts

what is APM?

"That's APM. If not used it's not fatal."

so, no need to worry about these errors.... ? if yes, then i will be happy

then how can i know why the tape drive is not working.
I am able to login to tape drive in the graphical mode.
but, when i right click on the drive to select the folder for backup nothing is coming only the properties is coming....
this is happening only from yesterday onwards.
to solve this tapedrive issue can i restart the server or without restarting is it possible to find out the cause?
 
Old 01-17-2008, 05:48 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by sathyguy View Post
what is APM?
The TLA stands for "Advanced Power Management". APM is the precursor of ACPI. Now you've got 70+ posts here. You *must* have come across the LQ search function. Please make use of that and your local documents.


Quote:
Originally Posted by sathyguy View Post
this is happening only from yesterday onwards.
Review your system logs from the last time you where able to backup succesfully.


Quote:
Originally Posted by sathyguy View Post
is it possible to find out the cause?
Sure. Posting the brand and type of the tapedrive could help. Is the tape at /dev/st0? What does 'mt -f /dev/st0 status' return? Are all necessary modules loaded?
 
Old 01-17-2008, 06:09 AM   #5
sathyguy
Member
 
Registered: Sep 2005
Location: Indian Working in Saudi Arabia
Distribution: Redhat Linux AS 3.0
Posts: 93

Original Poster
Rep: Reputation: 15
Sorry for not using search function......

The brand is "HP Storage Works dat 40"

here is the output of mt....

Quote:
[oracle@proddb oracle]$ mt -f /dev/st0 status
/dev/st0: Permission denied
[oracle@proddb oracle]$ su
Password:
[root@proddb oracle]# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
DR_OPEN IM_REP_EN
Thanks
 
Old 01-17-2008, 07:04 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by sathyguy View Post
DR_OPEN
That means "door open". If it isn't could try another tape.
 
Old 01-19-2008, 03:07 AM   #7
sathyguy
Member
 
Registered: Sep 2005
Location: Indian Working in Saudi Arabia
Distribution: Redhat Linux AS 3.0
Posts: 93

Original Poster
Rep: Reputation: 15
hi,

i restarted the server now the tapedrive is working.
but when i work in "Command interface" no problem i didnt see any messages in my /var/log/messages.
when i enter into gui im getting the following messages in "/var/log/messages"

Quote:
Jan 19 08:22:06 proddb -- root[2591]: ROOT LOGIN ON tty1
Jan 19 08:22:09 proddb modprobe: modprobe: Can't locate module char-major-10-134
Jan 19 08:22:13 proddb kernel: mtrr: type mismatch for
f6000000,800000 old: uncachable new: write-combining
Jan 19 08:22:13 proddb kernel: mtrr: type mismatch for
f6000000,800000 old: uncachable new: write-combining
Jan 19 08:22:16 proddb gconfd (root-15878): starting (version 2.2.1), pid 15878 user 'root'
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Jan 19 08:22:17 proddb xinetd[15888]: warning: can't get client address:
Transport endpoint is not connected
Jan 19 08:23:35 proddb modprobe: modprobe: Can't locate module sound-slot-0
Jan 19 08:23:35 proddb modprobe: modprobe: Can't locate module sound-service-0-3
Jan 19 08:23:37 proddb gconfd (root-15878): Received signal 1, shutting down cleanly
Jan 19 08:23:37 proddb gconfd (root-15878): Exiting
[root@proddb oracle]#
what i should do for the following message?
Quote:
Jan 19 08:22:09 proddb modprobe: modprobe: Can't locate module char-major-10-134
can i.....edit the "grub.conf" and add apm=off
or
add "alias char-major-10-134 off" in modules.conf
by adding the above will do any harm?

like the above can i edit the modules.conf for sound card for the below messages
Quote:
Jan 19 08:23:35 proddb modprobe: modprobe: Can't locate module sound-slot-0
Jan 19 08:23:35 proddb modprobe: modprobe: Can't locate module sound-service-0-3
but what about the below messages? what should i do?
i didnt find a file "/etc/modprobe.conf"
instead of that there is a file "/etc/modules.conf"
i added "alias $modulename off" (without quotes) in modules.conf
still the error appears.

Quote:
Jan 19 08:22:13 proddb kernel: mtrr: type mismatch for
f6000000,800000 old: uncachable new: write-combining
Jan 19 08:22:13 proddb kernel: mtrr: type mismatch for
f6000000,800000 old: uncachable new: write-combining
Jan 19 08:22:16 proddb gconfd (root-15878): starting (version 2.2.1), pid 15878 user 'root'
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
Jan 19 08:22:16 proddb gconfd (root-15878):
Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Jan 19 08:22:17 proddb xinetd[15888]: warning: can't get client address: Transport endpoint is not connected
Jan 19 08:23:37 proddb gconfd (root-15878): Received signal 1, shutting down cleanly
Jan 19 08:23:37 proddb gconfd (root-15878): Exiting
am i have to reboot the server if i edit the modules.conf or grub.conf?


thanks
 
Old 01-19-2008, 11:22 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by sathyguy View Post
i added "alias $modulename off" (without quotes) in modules.conf, still the error appears. am i have to reboot the server if i edit the modules.conf or grub.conf?
That's because the module is still loaded. Again, no need to reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script for server log (namely var/log/messages) tenaciousbob Programming 17 05-24-2007 11:43 AM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 07:39 PM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 05:03 PM
eth0 will not restart. Errors in /var/log/messages soren625 Linux - Networking 8 06-05-2004 01:43 PM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 11:08 AM


All times are GMT -5. The time now is 08:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration