Re: /var/log/messages

Coy A Hile (hile@cse.psu.edu)
Fri, 26 Nov 1999 11:07:25 -0500 (EST)


Sujit Vaidya sez....
>
> HI,
> I have given several printk statements in ip_input.c
> file in the net directory. Due to these the
> /var/log/messages file has got filled up and am not
> able to open the file. I cannot delete the messages
> file. Because when i delete it i am not able to boot
> the kernel.
>
I do not think deleting your logs would be the best idea here. BUT,
if you feel that is your only recourse, perhaps you could remove it
and then touch it (creating an empty file by the same name), or you could
kill syslogd, remove it, and then restart syslogd (which i believe will
recreate the file.

-- 
Coy Hile
hile@cse.psu.edu
"Theirs not to reason why; theirs but to do...."
Tennyson, "Charge of the Light Brigade"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/