Discussion:
**Need Help Badly**  Zenactiond will not start
Randy Devone
2013-12-20 16:08:14 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"**Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Guys;

My zenactiond daemons will not start.  All the other daemons are started.  I have not updated or changed any configuration.  Server has been rebooted numerous times.  This is critical because the email alerts are not sending.  This is the log file says

" Unable to connect: (1045, "access denied for user mailto:***@zenmon.ion.com ***@zenmon.ion.com' (using password: YES)")

Zenoss has been working for months before this has happened,

I am running

Centos 6.4
Zenoss 4.2.4

Any help is appreciated.

Thanks

Randy
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 16:39:07 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Have you made any changes to the MySQL Database? Are you using MySQL on the
localhost or an external host?

Please pastebin some of your zenactiond log and the output from:
zenactiond run -v10
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 16:39:43 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Also check $ZENHOME/etc/globals.conf to confirm the correct mysql password
is there for the zenoss user


On Fri, Dec 20, 2013 at 10:38 AM, Trey Hunsucker
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 16:56:41 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
No changes to the database.  The mysql is internal.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 17:02:27 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
http://pastebin.com/d06a5ecb http://pastebin.com/d06a5ecb

Here is the output from zenactiond run -v10
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 17:05:49 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Here is the output of the zenactiond log

http://pastebin.com/Ri9SZA6N http://pastebin.com/Ri9SZA6N
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-20 17:35:17 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
I would try to log into MySQL locally using the zenoss user with the password thats under $ZENHOME/etc/globals.conf.

# mysql -u zenoss -p
Enter password:
ERROR 1045 (28000): Access denied for user 'zenoss'@'localhost' (using password: YES)

As you can see if the password is wrong you will get the same error.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 17:46:31 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
I must have the wrong password because it gives me Error 1045: Access dened. 

Can I reset the password and how do you do that?

Thanks for all your help.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-20 18:10:46 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
You can but I would look into how it got changed.

Login into MySQL as the root user.

# mysql -u root -p
Enter password:

mysql>SET PASSWORD FOR 'zenoss'@'localhost' = PASSWORD('***@ssw0rd123');
mysql>FLUSH PRIVILEGES;
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 18:23:00 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Then after you discover the password or change it, you must modify the
globals.conf file...
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-20 18:25:39 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Yeah sorry, forgot to add that part.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 19:57:04 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Thanks for the help.

Where is the globals.conf file located at?

I searched but can't find the file.  I found a global.conf file but it is empty.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 20:03:39 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
I run the command and get this output, is this correct?

SET PASSWORD FOR 'zenoss'@'localhost' = PASSWORD('***@ssw0rd123');

Query OK, 0 rows affected

FLUSH PRIVILEGES

Query OK, 0 rows affected
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 20:10:23 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
$ZENHOME/etc/globals.conf
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 20:10:57 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Oops I mean $ZENHOME/etc/global.conf
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 20:14:48 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
When I open that file it is blank.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 20:17:52 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
How do i get to $ZENHOME?  Sorry I am a newbie of this stuff.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 20:31:20 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Get to $ZENHOME by:
su zenoss
cd $ZENHOME

Usually $ZENHOME points to /opt/zenoss

Please confirm whether it's blank or not...
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2013-12-20 20:31:45 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Are you logged in as the zenoss user? You should do all of this as the zenoss user.

--
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 20:35:50 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Yes logged on a zenoss user.  I have a global.conf file under ZENHOME which is blank.  Under /etc, there is no global.conf file
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 20:39:14 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
as the zenoss user:
find $ZENHOME | grep global.conf

any results?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 20:49:18 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Found

/opt/zenoss/global.conf
/opt/zenoss/etc/global.conf

Found it under /opt/zenoss/etc/

Which password do I change?

zodb-db-type mysql
amqphost localhost
zep-db-type mysql
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-20 21:27:22 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
I thought you had already looked at the password in global.conf and confirmed that it changed. This doesn't seem to be the case now. After reading, there are a few other places you will need update the password. To avoid going through this, change the password back to refect what is currently in the global.conf file. The password is in global.conf three times(zodb-password, amqppassword, and zep-password).

# mysql -u root -p
Enter password:

mysql>SET PASSWORD FOR 'zenoss'@'localhost' = PASSWORD('*put_the_password_here*');
mysql>FLUSH PRIVILEGES;
mysql>exit

Then verify that it worked by trying to login to MySQL using the zenoss user.
# mysql -u zenoss -p
Enter password: (The password that you just changed back to what was already in the global.conf file)
mysql>exit
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-20 21:27:47 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Well that depends on what you changed the zenoss password to, here is an
example of mine:

zodb-db-type mysql
zodb-host localhost
zodb-port 3306
zodb-db zodb
zodb-user zenoss
zodb-password zenoss
zodb-admin-user root
zodb-admin-password A4A564DS
zodb-cacheservers 127.0.0.1:11211
zodb-cachesize 1000

amqphost localhost
amqpport 5672
amqpvhost /zenoss
amqpuser zenoss
amqppassword zenoss
amqpusessl 0
amqpadminport 55672
amqpadminusessl 0

zep-db-type mysql
zep-host localhost
zep-port 3306
zep-db zenoss_zep
zep-user zenoss
zep-password zenoss
zep-admin-user root
zep-admin-password A4A564DS
zep-uri http://localhost:8084 http://localhost:8084
hubpassword J963rUA4A564

My zenoss user uses "zenoss" for it's mysql password...
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Randy Devone
2013-12-20 22:04:36 UTC
Permalink
Randy Devone [http://community.zenoss.org/people/rdevone] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
When I looked at the global.conf it had the password that i thought I used but it did not work.  I restarted all the zenoss services and now the zenoss logon page  is saying page not found.

This is so frustrating.  I am the only one that manages this server and I made no changes and out of nowhere the password just changed for no reason.

These wierd type issues is why I am having a hard time selling the purchase of the enterprise edition to my company.  They want to purchase MOM and I prefer Zenoss.

Sorry about my rant but I am truly at my wits end

Any suggestions?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-21 00:01:44 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Did you change the password back and attempt to login into MySQL?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Andrew Kirch
2013-12-21 00:25:42 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Please follow the instructions below to set your mysql password to match what's in your global.conf, or install something like phpmyadmin (nb phpmyadmin requires a web server)

http://www.cyberciti.biz/faq/mysql-change-user-password/ http://www.cyberciti.biz/faq/mysql-change-user-password/
http://www.phpmyadmin.net/home_page/index.php http://www.phpmyadmin.net/home_page/index.php
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
smithc
2013-12-21 00:32:17 UTC
Permalink
smithc [http://community.zenoss.org/people/smithc] created the discussion

"Re: **Need Help Badly** Zenactiond will not start"

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

--------------------------------------------------------------
Andrew,

I already explained in a post above how to reset the MySQL password. Also, I highly doubt he wants to spend the time to properly setup phpMyAdmin.
--------------------------------------------------------------

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

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