The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 04-24-2002
ajkiruba ajkiruba is offline
Registered User
 

Join Date: Apr 2002
Location: Delhi, India
Posts: 3
Unhappy

Dear Kelam

My log file is available at /var/log/cron. It does execute three files at /ect/cron.hourly. But none are related to this logfile /var/log/openwebmail.log. One msec command is executed, but these 2 files and 1 command are executed hourly and not for every 30 minutes.

Even if i remove the log file, the moment i execute the application which is Openwebmail, the logfile is created by the application. After 30 min. gap the permission of group changes to 'root' from mail and mode from '0660' to '0640', which were the permissions and mode when the file was created automatically.

Now, if the change the path of the logfile to a different directory, i am able to login, but while logging out, the application generates the error 'Could not open <log-file-path>/openwebmail.log'.

During the installation of this application there were no questions asked. Options can be altered in the config file wherein i had changed the path of the config file.

How to go ahead ? I can create cron entry so that it runs every 25 minutes to circumvent this problem. But, the question is why and how this occurs ?

Thanks Kelam.

- jose
__________________
Thanks & regards

- jose