Autor |
Nachricht |
|
Titel: attempted to sudo and hdd's going mad
Verfasst am: 06.07.2006, 22:02 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 27
Wohnort: Canvey Island
|
|
I attempted to sudo a command and it returned an error (below) about my not having correct entry in the sudo conf file. It attempted to send an email but was unable. since then my HDD has been going MAD.
ERROR:
max is not in the sudoers file. This incident will be reported.
max@max11max:~$ ERR: authdaemon: s_connect() failed: No such file or directory
450-Service temporarily unavailable.
450 Headers specify no receipients.
sendmail: Unable to submit message.
Does anyone know what I can do to stop the HDD from doing what it's doing ?
Max. |
|
|
|
|
 |
|
Titel: attempted to sudo and hdd
Verfasst am: 06.07.2006, 22:16 Uhr
|
|
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
kanotix does not work with sudo, as ubuntu does.
we use su/sux to become root, which is saver then sudo.
your hd cvant be going wild from trying to use sudo.
reboot and see what happens, read the output while booting.
does it say: filesystem is clean?
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
 |
|
Titel:
Verfasst am: 06.07.2006, 22:29 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 27
Wohnort: Canvey Island
|
|
Devil, thanks for a quick reply
I have rebooted and the fs says it's clean. However the hdd is still doing something all the time where as before it didn't. I checked /var/log for updated log files but nothing gets updated after boot.
I get a flurry of disk activity for about 3 seconds and then nothing for 1 second and so on. It just won't stop ??
aaarrrggghhh I hope I have not broke it AGAIN!
max. |
|
|
|
|
 |
|
Titel:
Verfasst am: 06.07.2006, 22:43 Uhr
|
|
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
if this is not a laptop, it could be laptop-mode-tools.
trty removing them with apt-get remove laptop-mode -tools
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
 |
|
Titel:
Verfasst am: 06.07.2006, 23:10 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 27
Wohnort: Canvey Island
|
|
I had a go,
Code:
root@max11max:/home/max# apt-get remove laptop-mode-tools
Reading package lists... Done
Building dependency tree... Done
Package laptop-mode-tools is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
I did a pkg update this morning but I'm 99.9% sure it started after I attempted the sudo. The hdd makes a bit of noise and I would have noticed as It's been on for most of the day.
That will teach me for playing about.
max. |
|
|
|
|
 |
|
Titel:
Verfasst am: 07.07.2006, 08:27 Uhr
|
|

Anmeldung: 02. Nov 2005
Beiträge: 127
|
|
Wow Canvey island- i'm just across the water from you mate  |
_________________ Linux user 403389 and Herbaholic Trichopath
|
|
|
|
 |
|
Titel:
Verfasst am: 07.07.2006, 09:01 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Max, am I able to ask you to humour me by answering the following?...
What is a "pkg update"? ... is this a synaptic thing?
Also, which release of kanotix did you install? |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel:
Verfasst am: 07.07.2006, 09:38 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 27
Wohnort: Canvey Island
|
|
@wegface, nice one. What's the odds of that then I wonder. how far across the water ?
@swynndla, sorry I should not abbreviate so much. It's the telecoms background. pkg update should read (and will from now on) updated all my packages. So my system is fully up to date. (As of 06/07/2006) I do it with the script from h2, i think its called du-fixes-h2.sh
The flavor i have been using for some time now is the Easter-RC4 edition. I have not had a problem with it till I attempted this sudo command.
If I start Kgrellm it's showing 340K disk activity every 3 seconds (Writes not reads and is only an indication), it's as if something is attempting to write to the disk but failing. As stated before when I ran the sudo command it attempted to send mail but was unable to, from that point this disk access started.
max |
Zuletzt bearbeitet von max11max am 07.07.2006, 10:09 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
 |
|
Titel:
Verfasst am: 07.07.2006, 09:48 Uhr
|
|
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
you could check, if anything is written to disk with df -h.
run it once, leave box alone for an hour or two and do df -h again.
there should be a few megs more if anything is written.
i could guess it is still trying to send mail to root, because trying to use sudo in yer case is a security breech, cause you havnt set it up in sudoers.
if sendmail is not set up to deliver mails to root, that would happen.
someone else will have to carry on from here, i never dived into that, cause it works here, but
Code:
max@max11max:~$ ERR: authdaemon: s_connect() failed: No such file or directory
450-Service temporarily unavailable.
450 Headers specify no receipients.
should be the clue.
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
Zuletzt bearbeitet von devil am 07.07.2006, 15:08 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
 |
|
Titel:
Verfasst am: 07.07.2006, 15:04 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 27
Wohnort: Canvey Island
|
|
UPDATE:
I did an "iostat 1" you can view the output HERE
If anyone needs a larger file let me know.
max. |
|
|
|
|
 |
|