summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a95920)
raw | patch | inline | side by side (parent: 5a95920)
author | Florian Forster <octo@huhu.verplant.org> | |
Sun, 9 Jul 2006 08:16:15 +0000 (10:16 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 9 Jul 2006 08:16:15 +0000 (10:16 +0200) |
On Sat, Jul 08, 2006 at 02:14:05PM +0000, Cryptronic wrote:
> collectd[6889]: network_create_socket (zensoredip, 25826) failed
if this is the only error you get, you most likely need to put
Mode Client
Somewhere before the `Listen' statement.
> collectd[6889]: network_create_socket (zensoredip, 25826) failed
if this is the only error you get, you most likely need to put
Mode Client
Somewhere before the `Listen' statement.
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 54f9bfa3b43456dd1d02fd0b2b1104ca5d211a86..22e911a87b8e4d4fe89d805abc9c9559ce2463c6 100644 (file)
--- a/src/network.c
+++ b/src/network.c
DBG ("node = %s, service = %s", node, service);
if (operating_mode == MODE_LOCAL || operating_mode == MODE_LOG)
+ {
+ syslog (LOG_WARNING, "network_create_socket: There is no point opening a socket when you are in mode `%s'.",
+ operating_mode == MODE_LOCAL ? "Local" : "Log");
return (-1);
+ }
socklist_tail = socklist_head;
while ((socklist_tail != NULL) && (socklist_tail->next != NULL))