Discussion:
zensyslog didn't start...
Nikolai Dimitrov
2011-12-22 18:50:05 UTC
Permalink
Nikolai Dimitrov [http://community.zenoss.org/people/mrowcp] created the discussion

"zensyslog didn't start..."

To view the discussion, visit: http://community.zenoss.org/message/63389#63389

--------------------------------------------------------------
Hello,
I can't start only this daemon.Here is my log:

+/usr/local/zenoss/bin/zensyslog start+
+
+
+Traceback (most recent call last):+
+File "/usr/local/zenoss/Products/ZenEvents/zensyslog.py", line 25, in ?+
+from twisted.internet.protocol import DatagramProtocol+
+ImportError: No module named twisted.internet.protocol+

and

+pkg_version |grep twisted+
+py25-twisted                        =+
+py25-twistedConch                   =+
+py25-twistedCore                    =+
+py25-twistedLore                    =+
+py25-twistedMail                    =+
+py25-twistedNames                   =+
+py25-twistedNews                    =+
+py25-twistedPair                    =+
+py25-twistedRunner                  =+
+py25-twistedWeb                     =+
+py25-twistedWords                   =+

If I open zenoss web interface, and go to *Version:*

+*Zenoss    Zenoss 2.5.2
Twisted    Twisted 8.1.0*+

*
*
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63389#63389]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mwcotton
2011-12-22 21:47:39 UTC
Permalink
mwcotton [http://community.zenoss.org/people/mwcotton] created the discussion

"Re: zensyslog didn't start..."

To view the discussion, visit: http://community.zenoss.org/message/63396#63396

--------------------------------------------------------------
Since zensyslog is the only one that will not start, you should probably make sure no other process is currently using the syslog port. Check and make sure there is no syslogd or rsyslog running.

I am assuming you are running the "/usr/local/zenoss/bin/zensyslog start" as the zenoss user. Because if you try it as root or another user, I believe you will get that twisted not found error.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63396#63396]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Nikolai Dimitrov
2011-12-23 12:55:15 UTC
Permalink
Nikolai Dimitrov [http://community.zenoss.org/people/mrowcp] created the discussion

"Re: zensyslog didn't start..."

To view the discussion, visit: http://community.zenoss.org/message/63398#63398

--------------------------------------------------------------
Yes, I run it with zenoss user:

+Zenoss# su zenoss+
+[***@Zenoss /home/mom]$ /usr/local/zenoss/bin/zensyslog start+
+starting...+
+Traceback (most recent call last):+
+  File "/usr/local/zenoss/Products/ZenEvents/zensyslog.py", line 25, in ?+
+    from twisted.internet.protocol import DatagramProtocol+
+ImportError: No module named twisted.internet.protocol+

Zensyslog use port 514 ( correct? ):

+Zenoss# grep SYSLOG_PORT /usr/local/zenoss/Products/ZenEvents/zensyslog.py+
+SYSLOG_PORT = 514+
+    SYSLOG_PORT = socket.getservbyname('syslog', 'udp')+
+                               default=SYSLOG_PORT, type='int',+

+Zenoss# netstat -an |grep 514+
+udp4       0      0  *.514                  *.*+
+udp6       0      0  *.514                  *.*+
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63398#63398]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mwcotton
2011-12-23 23:59:39 UTC
Permalink
mwcotton [http://community.zenoss.org/people/mwcotton] created the discussion

"Re: zensyslog didn't start..."

To view the discussion, visit: http://community.zenoss.org/message/63433#63433

--------------------------------------------------------------
Hmm, that does ring a bell:
from a search I did on forum:

as root:
  changed the owner/group of /opt/zenoss/bin/zensocket to root:wheel
  chmod u+s /opt/zenoss/bin/zensocket

search on zensocket for more details.

I dont remember it only breaking zensyslog, I thought it was more.
But search and read those posts.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63433#63433]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...