- **status**: unassigned --> assigned
- **assigned_to**: Vu Nguyen


---

** [tickets:#1346] LOG: Unnable to rename cfg file when changing 
saLogStreamFileName attribute**

**Status:** assigned
**Milestone:** 4.4.2
**Created:** Mon Apr 27, 2015 10:27 AM UTC by Vu Nguyen
**Last Updated:** Mon Apr 27, 2015 10:27 AM UTC
**Owner:** Vu Nguyen

Steps to reproduce
------------------
Change the saLogStreamFileName attribute by following command:
# immcfg -a saLogStreamFileName="saLogAlarm_test_1st" 
safLgStrCfg=saLogAlarm,safApp=safLogService

Observed behaviour
------------------
LOG server fails to rename configuration (cfg) file.

Expected behaviour
------------------
LOG server should rename the old configuration file, then creating new one 
(e.g: saLogAlarm_test_1st.cfg) as well as the stream log file (e.g: 
aLogAlarm_test_1st_20150423_111434.log)

Error messages
------------------
Apr 23 11:14:34.714378 osaflogd 40028d80 [419:lgs_util.c:0295] T4 Rename file 
from /repl_opensaf/saflog/./saLogAlarm_test_1st.cfg
Apr 23 11:14:34.714497 osaflogd 40028d80 [419:lgs_util.c:0296] T4               
to /repl_opensaf/saflog/./saLogAlarm_test_1st_20150423_111434.cfg
Apr 23 11:14:34.714655 osaflogd 41f1a700 [419:lgs_filehdl.c:0137] >> 
rename_file_hdl
Apr 23 11:14:34.715456 osaflogd 41f1a700 [419:lgs_filehdl.c:0145] NO rename: 
FAILED - No such file or directory
Apr 23 11:14:34.716057 osaflogd 41f1a700 [419:lgs_filehdl.c:0149] << 
rename_file_hdl
Apr 23 11:14:34.716397 osaflogd 40028d80 [419:lgs_util.c:0333] << 
lgs_file_rename_h
Apr 23 11:14:34.716573 osaflogd 40028d80 [419:lgs_stream.c:1517] << 
log_stream_config_change
Apr 23 11:14:34.716797 osaflogd 40028d80 [419:lgs_imm.c:2290] ER 
log_stream_config_change failed: -1

=========================

NOTE: Need to check this case on application streams too.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to