Logging not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys,

we're still having trouble with logging not working - now using Cluster 2.03.07. The network logging setup is fine, and running aisexec directly (i.e. with the default config) produces logs. Running it via "cman_tool join" does not, except for a line that ccsd produces:

(tail end of aisexec direct startup)
Aug 16 04:07:46 backup openais[6365]: [CLM  ] 	r(0) ip(127.0.0.1)
Aug 16 04:07:46 backup openais[6365]: [CLM  ] Members Left:
Aug 16 04:07:46 backup openais[6365]: [CLM  ] Members Joined:
Aug 16 04:07:46 backup openais[6365]: [CLM  ] 	r(0) ip(127.0.0.1)
Aug 16 04:07:46 backup openais[6365]: [SYNC ] This node is within the primary component and will provide service.
Aug 16 04:07:46 backup openais[6365]: [TOTEM] entering OPERATIONAL state.
Aug 16 04:07:46 backup openais[6365]: [CLM  ] got nodejoin message 127.0.0.1
Aug 16 04:07:47 backup ccsd[6261]: Unable to connect to cluster infrastructure after 120 seconds. Aug 16 04:08:17 backup ccsd[6261]: Unable to connect to cluster infrastructure after 150 seconds.
Aug 16 04:08:39 backup ccsd[6261]: Initial status:: Inquorate
(this is after I'd killed "vanilla" aisexec and done cman_tool join)

I've tried with and without logging directives in cluster.conf, different log facilities, with and without debug on; I've even tried adding to_stderr="yes" to it, with no results.

Using netstat, I could determine that aisexec doesn't even open the log socket when started per "cman_tool join", while it does when started directly. It seems almost like cman mangles the log settings somehow and always set all logging to off, no matter the config file directives. Why would this happen? It would be really nice to get this working, since it may help me figure out why other stuff isn't working properly.

Cheers,
Daniel

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux