/var/log/messages full of "CDROM not ready." messages
CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/var/log/messages full of "CDROM not ready." messages
I am using CentOS 6.5. I noticed a file called messages in the /var/log drive so I did
Code:
cat /var/log/messages
It was full of the following message.
Code:
[time stamp] WebServer kernel: sr1: CDROM not ready. Make sure there is a disc in the drive.
The only times I used a CD, since installing the system, have been when I have used a Clonezilla CD to backup the HD. The last time I did that was a month ago. I am certainly not trying to use a CD now but this message keeps getting generated every 2 seconds. How do I get rid of it?
Would that not disable my CD-ROM drive? I was hoping to just disable the messaging when I'm not using the CD-ROM.
No, it would only unload the cdrom kernel module. Come to think of it this may be part of the HAL daemon probing for storage? As in the "hald-probe-storage" process or something like that you could disable?
No, it would only unload the cdrom kernel module. Come to think of it this may be part of the HAL daemon probing for storage? As in the "hald-probe-storage" process or something like that you could disable?
I entered
Code:
sudo /etc/init.d/haldaemon stop
and it executed successfully.
Code:
$ sudo /etc/init.d/haldaemon stop
Stopping HAL daemon: [ OK ]
Unfortunately, I am still getting
Code:
WebServer kernel: sr1: CDROM not ready. Make sure there is a disc in the drive.
Hmm. I don't think you should stop hald but check if probing (hald-probe-storage) can be disabled for the CDROM device specifically.
I did a search of /etc/dbus-1/system.d/hal.conf (the only hal.conf on my system) for the string "CD" and for the string "cd". Unfortunately, I found neither.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.