Hi, Before doing the kill -HUP Alej suggested, you might want to run an lsof to see what open files the bearerbox process is using. Renaming or moving an active file, won't stop the stream and bearerbox will continue to write to that file wherever it is. Deleting it will send to stream to limbo, but not stop it.
BR, Nikos ----- Original Message ----- From: Alejandro Guerrieri To: Elton Hoxha Cc: kannel users Sent: Tuesday, April 28, 2009 11:27 AM Subject: Re: Kannel logs disappeared Maybe you've rotated the logs and didn't tell kannel? If you rotate the logs, the processes are attached to the file's node, not it's name, so it'll continue to log to the renamed file! I'm not 100% sure about what would happen if you then delete that renamed file, but it's quite likely that it won't start logging to the "right" file. Try with a kill -1 <pid> (where <pid> is the box's process id) to each kannel box. That should tell kannel to restart the logging system. And also check on whatever happened to the other files. If you have a faulty filesystem you'll start losing things even more valuable than your logs ;) Hope it helps, Alejandro On Tue, Apr 28, 2009 at 10:11 AM, Elton Hoxha <[email protected]> wrote: What about not writing the logs anymore even if the service is still active sending and receiving SMS? On Tue, Apr 28, 2009 at 9:56 AM, Alejandro Guerrieri <[email protected]> wrote: That looks more like a filesystem problem or perhaps human error. Kannel doesn't delete log files. Regards, Alejandro On Tue, Apr 28, 2009 at 9:47 AM, Elton Hoxha <[email protected]> wrote: Hi guys, Is there any internal function in kannel to delete kannel and access logs? I had 8 log files for all my 4 instances and only two of them were in the folder today. Why the others disappeared? Any problem if they reach a specific size? Meanwhile, despite the fact the the processes of bearerbox are alive, they dont produce any log in the specified folder, I mean sending and receiving responses of enquiry links. Regards Elton
