- **assigned_to**: A V Mahesh (AVM) -->  nobody 
- **Blocker**:  --> False
- **Milestone**: 5.17.08 --> future



---

** [tickets:#444] osafdtmd needs to exit with failure rather than rebooting the 
system in case of missing configurations**

**Status:** accepted
**Milestone:** future
**Created:** Thu Jun 06, 2013 09:44 AM UTC by Sirisha Alla
**Last Updated:** Mon Apr 10, 2017 01:40 PM UTC
**Owner:** nobody


In case of missing configuration, it would be better to log the error in the 
syslog and exit rather than reboot the system. The system goes for continuous 
reboots in such cases.

Starting OpenSAF Services: Jun  6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: 
Started
Jun  6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: ER DTM: Could not open file  
node_name 
Jun  6 14:46:45 OEL-64BIT-SLOT4 osafdtmd[2199]: ER DTM:Error reading 
/etc/opensaf/dtmd.conf.  errno : 2
Jun  6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun  6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Going for recovery
Jun  6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Trying To RESPAWN 
/usr/lib64/opensaf/clc-cli/osaf-transport attempt #1
Jun  6 14:46:45 OEL-64BIT-SLOT4 opensafd[2190]: ER Sending SIGKILL to 
TRANSPORT, pid=2191
Jun  6 14:46:45 OEL-64BIT-SLOT4 opensafd[2203]: ER Failed to exec while forking 
script, err=No such file or directory
Jun  6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: Started
Jun  6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: ER DTM: Could not open file  
node_name 
Jun  6 14:47:00 OEL-64BIT-SLOT4 osafdtmd[2214]: ER DTM:Error reading 
/etc/opensaf/dtmd.conf.  errno : 2
Jun  6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Could Not RESPAWN TRANSPORT
Jun  6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun  6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Trying To RESPAWN 
/usr/lib64/opensaf/clc-cli/osaf-transport attempt #2
Jun  6 14:47:00 OEL-64BIT-SLOT4 opensafd[2190]: ER Sending SIGKILL to 
TRANSPORT, pid=2206
Jun  6 14:47:00 OEL-64BIT-SLOT4 opensafd[2217]: ER Failed to exec while forking 
script, err=No such file or directory
Jun  6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: Started
Jun  6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: ER DTM: Could not open file  
node_name 
Jun  6 14:47:15 OEL-64BIT-SLOT4 osafdtmd[2229]: ER DTM:Error reading 
/etc/opensaf/dtmd.conf.  errno : 2
Jun  6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER Could Not RESPAWN TRANSPORT
Jun  6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER Failed #012 DESC:TRANSPORT
Jun  6 14:47:15 OEL-64BIT-SLOT4 opensafd[2190]: ER FAILED TO RESPAWN
Jun  6 14:47:15 OEL-64BIT-SLOT4 osafdtmd: osafdtmd Process down, Rebooting the 
node
Jun  6 14:47:15 OEL-64BIT-SLOT4 opensaf_reboot: Rebooting local node

here node_name file is missing



---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to