- **status**: duplicate --> accepted
- **Comment**:

Reproducible , Patch will be published soon .





---

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

**Status:** accepted
**Milestone:** 4.4.RC1
**Created:** Thu Jun 06, 2013 09:44 AM UTC by Sirisha Alla
**Last Updated:** Mon Feb 17, 2014 06:31 AM UTC
**Owner:** A V Mahesh (AVM)

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.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to