logs archiveIRC Archive / Freenode / #centos / 2006 / July / 10 / 1
Prohibited
Hey guys, yesterday I installed "mod_evasive" and it seems like it may have caused problems. That was the only thing I remember installing, and now when I try to start up some services on my box, I get stuff like {
[root@FUSE jesse]# awk: cmd. line:17: warning: error writing standard output (No space left on device)} -- I use PhpSysInfo and it reported that there was no space left.. NONE. I have like 8gb and its all being used...? Do I have to reformat? :/
Zerberus
Prohibited: check your /var/log/httpd/
Prohibited
I only see... [Sun Jun 18 04:03:28 2006] [notice] SIGHUP received. Attempting to restart
oh sheet
wrong file
Zerberus
very certainly one of your log files has a huge size
Prohibited
Could that be the problem ? I don't ever clear them
donavan
Prohibited: what does 'rpm -q httpd' report on that box?
Zerberus
Prohibited: you said you installed something for apache - so if it is misconfigured it can produce massive failure loggings
du -sj /var/log/
du -sh /var/log/
sorry
Prohibited
6.9M /var/log and donavan
smooge
what does df say?
         

Zerberus
disk free
smooge
pastebin I think is the preferred
Prohibited
/dev/hda1 101089 14060 81810 15% /boot
Okay
smooge
for the multi-line pastes.. not sure if there is a channel throttle/kill bit for it
Prohibited
i'll start using it :P
smooge
don't want to get you in trouble
donavan
(Action) still waits for the rpm -q output
Prohibited
Oh, um, I'm not sure why but that command only works when I'm actually AT the box, and its in my living room =/ command says httpd not found in ssh :(
smooge
huh how are you running the command?
Prohibited
rpm -q httpd
i'll go to the box and get it
1 sec
range
Erm.
z00dax
hi colin_mcnamara
Prohibited
httpd-2.0.46.56.ent.centos.2
smooge
Prohibited, when you did the df.. did any of the disks show up as having more than 90%
Prohibited
No there was only
that and "none"
boudiccas
z00dax; any thoughts on my 'wine' problem?
Prohibited
/dev/hda1 was the one that showed up like that on phpsysinfo
but on there it seems fine..
z00dax
boudiccas: not yet, not been able to look at that, looking now
boudiccas
z00dax; k, ho nurry
z00dax; a spoonerism! and totally unintended
sorry
smooge
Prohibited, if you are only getting /boot in your df... your machine is seriously horked
you should have at least a / mounted somewhere..
I would think that the mtab must have been corrupted which is why your commands are getting the disk is full..
         

range
Prohibited: Is that a "real" shell you're on?
Or ist that some kind of "php-shell" or "webmin-shell"?
Prohibited
putty
using the ssh thing that comes with centos ? O_o
range
Hmmm.
Prohibited
http://flameage.com/phpsysinfo/
range
Looks like / is full.
And if it's not /var/log, I'll bet on /tmp
smooge
r00tkit city :)
Prohibited
should I clear /tmp then
?
range
Not if you're not sure.
smooge
I would first go back over to the box and do a df from the console and see what is printed
range
Can you paste the output of du -sh /* somewhere (not here)?
That might take a while.
smooge
I am not sure that / is full really or if phpsysinof is giving you a bad value becuase of a corrupted mtab
Prohibited
it wasn't
before I installed mod_evasive yesterday I am pretty sure that it wasn't even half full
well I'm running that, I will upload the output
to my site ^
range
As he rebooted, it's not a stale file handle in /var/log which is filled instead of the logfile.
smooge
Prohibited, would you mind a friendly netscan to see if the box is open :)
Prohibited
go for it
BUT
phpsysinfo
Lately has had an exploit
I got an email today =/
but I'm sure someone would have did more than that
range, what you that du-sh /* reported that /proc/2475/fd/4 didn't exist, and just said "73 G /"
blah -what you
smooge
(Action) has a brain dump and tries to use nethack to nmap his box
range
Nothing more?
Prohibited
nope
range
Just /?
Prohibited
Yeah
smooge
range, are you feeling ominous vibes too
range
You're sure that it was a "du -sh /*" and not a "du -sh / *"?
Prohibited
Oh
It reported more
lol
yeah did it wrong
smooge
Cool you have NFS open on the box supposedly
Prohibited
http://www.freewebs.com/jfd0/ds.txt
looks like
/var/ is the problem
:X
range
Then do a "du -sh /var/*".
Prohibited
was about to :P
range
And look which directory in /var/ is filling up.
Prohibited
O_O
/var/ww
w
/var/www/html
SeriousSam
can someone give me a hand in networking? my windows computer cannot see my linux machine
range
Prohibited: Well, further on ...
Prohibited
I can't check that because
its saying "ac.gif: cannot execute binary file" O_o
range
What?
du -sh does that?
SeriousSam
fine..now it sees it
Prohibited
oh
doh
I got it
okay
foudn the problem
range
And?
We're interested.
Prohibited
I THINK it's a person I host. It had something to do with chat software on my site, I am going to change the permissions and delete the entire folder ,see if that works
what is the exact command to remove a directory and all of the files in it?
daMaestro
Prohibited, man rm
but you might be looking for -rf (but _really_ know what you are doing)
Prohibited
rofl
I found a 69 gb zip file in that folder
O_O
okay
Fixed
Thanks guys
smooge
Prohibited, finished a long nmap. The big hole I see is that portmap seems to be answering on the box (port 111)
Lazydog
q: why is there no kdetoys in the repos?
Prohibited
smooge, how do I fix that o_O
iptables?
ya?
vAmped|Bruffellz
can somebody help me with cent os? lol
Prohibited
of course they can, if you tell them your problem :P
Evolution
Lazydog: because it's not provided upstream.
vAmped|Bruffellz
nvm i found a guide :D
Lazydog
Evolution: makes sence. will it hurt anything if i install from source? don't want to replace any of the core files from CentOS
vAmped|Bruffellz
hey how do i create a account?
Evolution
Lazydog: installing from source is generally a bad idea on systems using package management. Better idea is to find/make an rpm.
Lazydog: you may be interested in the kde-redhat repository on sourceforge.
vAmped|Bruffellz
hey how do i create a account from root lol
Evolution
it's not supported, but they'll have what you want.
vAmped|Bruffellz
wtf
Lazydog
Evolution: thnx
vAmped|Bruffellz
ok
Some one pm me plz
i need some help creating an acc on centos from root
range
adduser comes to mind.
Evolution
vAmped|Bruffellz: http://centos.org/docs/4/
vAmped|Bruffellz
oh lol
Evolution
or 'useradd'
or reading the documentation which covers this.
vAmped|Bruffellz
tyu
ty
Prohibited
I've done something to have the ability to type "java", but I have to do it all the time when I need to be able to type java. Anyone know the command? I forgot
z00dax
Prohibited: java
is that what you are looking for ?
« prev 1 2 3 4 5 6 7 8 next »