Shane AO  

Welcome/Index | Architecture | Procedures | Problems | Features | Documents | Resources | Chronology  



Problem: can't open file

Manifestation:

     
       [user@shimmy ~]$ /u/user/observers/lgs/saocon_setups/seeing-logging.sh 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: setting asyncflag=0, because last_trconn.success 
       =0; last_trconn.failure=0; diff=0 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: successful synchronous connection to host bigeye 
       .ucolick.org for service bigeye, fd=7 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: setting asyncflag=0, because last_trconn.success 
       =0; last_trconn.failure=0; diff=0 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: successful synchronous connection to host bigeye 
       .ucolick.org for service bigeye, fd=7 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: setting asyncflag=0, because last_trconn.success 
       =0; last_trconn.failure=0; diff=0 
       unknown process:logerror() can't open /opt/kroot/data/music/log/errorlog 
       msg = initiate_traffic_connect: successful synchronous connection to host bigeye 
       .ucolick.org for service bigeye, fd=7 
       

Solution/Recovery:

  • Locate offending file(s) on appropriate machine.
  • Inspect file permissions (e.g. ls -lrt <file>).
  • If necessary, as root, change permissions of file (e.g. chmod 666 <file>).
  • Inspect file permissions (e.g. ls -lrt <file>) and verify modification.

Cause:

  • Unintended consequence of CentOS/Redhat system upgrades. The logfile rotation application was changed so that it does not default to honoring the permissions on the file it is changing. Requires changes in the logrotate configuration.

Associated Issues:

Change Log:

2018-04-12: Updated.
2017-11-28: Updated.
2017-08-11: Updated.
2017-08-05: First version.

This document last updated (UTC): Tuesday 04 March 2025