LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-31-2005, 04:22 PM   #16
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30

N/A removed

Last edited by bograt; 02-01-2005 at 11:26 AM.
 
Old 01-31-2005, 10:14 PM   #17
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
DUDE....
lik i said.. if you dont have slocate installed, then use whereis.

Code:
whereis eject
 
Old 02-01-2005, 05:27 AM   #18
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by qwijibow
DUDE....
lik i said.. if you dont have slocate installed, then use whereis.

Code:
whereis eject
Sorry buddy done that now and got this

eject: /bin/eject /user/share/man/man1/eject.1.gz

Ok what to do????????????
 
Old 02-01-2005, 05:48 AM   #19
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
mv /bin/eject /bin/eject-renamed

now see if your computer still eject the cdrom ?

and start looking for eject command not found errors in the logs or virual consoles.
 
Old 02-01-2005, 06:41 AM   #20
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by qwijibow
mv /bin/eject /bin/eject-renamed

now see if your computer still eject the cdrom ?

and start looking for eject command not found errors in the logs or virual consoles.
Ok did that in root message
eject /dev/hda/ failed is continually poping up on desktop

however the cd door is staying closed. What to do now?

Ps Sorry for the delay just been to repair a comp and off out now to gym for a few hours will check in later.

Thanks

Last edited by bograt; 02-01-2005 at 06:54 AM.
 
Old 02-01-2005, 07:51 AM   #21
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
whats the name of the porgram which is sending those popups ?

that is the program which is misbehaving, it needs to either be stoppped, or properly configured.

are there any porgrams in $HOME/.kde/Autostart or .$HOME/.kde<version>/Autostart
vere version is your kde version...

("ls -a" to see hidden files)
 
Old 02-01-2005, 09:23 AM   #22
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
.updated

Last edited by bograt; 02-01-2005 at 11:29 AM.
 
Old 02-01-2005, 10:21 AM   #23
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Checked the system log and can find no referance to eject failed Ahhhhhhhhhh my F>##%g heads cabaged now.
 
Old 02-01-2005, 11:16 AM   #24
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Yes just found this entry in sys log a recent log

linux kernel: cdrom: open failed.

now how do I sort it and how do I stop the bloody popup error message which is doing my head in?

Last edited by bograt; 02-01-2005 at 11:23 AM.
 
Old 02-01-2005, 11:27 AM   #25
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
again.. this is an ugly hack......
as root...
Code:
echo "#!/bin/bash"  > eject
echo "echo ugly_hack_to_stop_cdrom_ejecting" >> eject
mv eject /bin/
chmod +x /bin/eject
this will cause this script to run instead of eject, as far as kde knows, the eject went along fine.

or you could rename the origonal eject-renamed back to eject, and let the disk eject.

ReMeMbER lInUx is CAse SenciTIVE... $HOME/.kde/Autostart
run as normal user when using $HOME otherwise you will get roots HOME, and dont miss the dot before kde.

ls -a $HOME will list all gidden directory's like KDE

echo $HOME will output your home directory.

oh, and you ARE using kde right??? or gnome ?


Last edited by qwijibow; 02-01-2005 at 11:32 AM.
 
Old 02-01-2005, 11:38 AM   #26
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
or you could rename the origonal eject-renamed back to eject, and let the disk eject.

Would that be mv /bin/eject-renamed/eject /bin

Or ren /bin/eject-renamed/eject /bin

btw is this the info you needed from log

linux kernel: cdrom: open failed.

if so what how do I sort it?

btw Is this in root?

[QUOTE]Originally posted by qwijibow
[B]again.. this is an ugly hack......

Code:
echo "#!/bin/bash"  > eject
echo "echo ugly_hack_to_stop_cdrom_ejecting" >> eject
mv eject /bin/
chmod +x /bin/eject

Last edited by bograt; 02-01-2005 at 11:41 AM.
 
Old 02-01-2005, 11:45 AM   #27
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Sorry if I should pop in OT, but did you check yout /etc/crontab? Maybe there a little joker planted the ghost into your machine.

HTH,

Peter
 
Old 02-01-2005, 11:55 AM   #28
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
yes.. thats as root.

yeah, cron could be doing it... are there any linux/unix savvy people hwo have access to your computer ?
 
Old 02-01-2005, 12:13 PM   #29
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by qwijibow
yes.. thats as root.

yeah, cron could be doing it... are there any linux/unix savvy people hwo have access to your computer ?
No!!!!!!!!!!!!!

enterd the crack text in root and still getting the popups it's doing my head in now

yes.. thats as root.

so is that mv or ren ? totally wound up now dpent most of the day trying to sort this crappy little problem so P####d off!!!!!!!!!!!!!!
 
  


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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 01:23 PM
trying to copy files from another machine to the local machine using telnet,..how? shrike_912 Programming 6 03-14-2006 05:45 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 11:20 AM
Stand-by machine in case real machine crashes jlinkels Linux - General 1 05-19-2005 09:28 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration