kanotix.com
General Support - attempted to sudo and hdd's going mad
max11max - 06.07.2006, 22:02 Uhr
Titel: attempted to sudo and hdd's going mad
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.
devil - 06.07.2006, 22:16 Uhr
Titel: attempted to sudo and hdd
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
max11max - 06.07.2006, 22:29 Uhr
Titel:
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.
devil - 06.07.2006, 22:43 Uhr
Titel:
if this is not a laptop, it could be laptop-mode-tools.
trty removing them with apt-get remove laptop-mode -tools
greetz
devil
max11max - 06.07.2006, 23:10 Uhr
Titel:
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.
wegface - 07.07.2006, 08:27 Uhr
Titel:
Wow Canvey island- i'm just across the water from you mate
Swynndla - 07.07.2006, 09:01 Uhr
Titel:
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?
max11max - 07.07.2006, 09:38 Uhr
Titel:
@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
devil - 07.07.2006, 09:48 Uhr
Titel:
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
max11max - 07.07.2006, 15:04 Uhr
Titel:
UPDATE:
I did an "iostat 1" you can view the output HERE
If anyone needs a larger file let me know.
max.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007