TECHZEN Zenoss User Community ARCHIVE  

not able to login getting source code in browser

Subject: not able to login getting source code in browser
Author: [Not Specified]
Posted: 2013-12-28 11:12

sunlinux Rank: White Belt
sunlinux
32 posts since
Mar 16, 2009
4
Dec 24, 2013 11:02 AM
not able to login getting source code in browser

This question is Not Answered.(Mark as assumed answered)

I just done reinstallation of my zenoss, after removing mysql and installation directory , I have install it again but at login screen I'm getting html source page of

http://ip:8080/zport/acl_users/cookieAuthHelper/login

Zenoss: Error

Dashboard

Events

Infrastructure

Reports

Advanced

sign out

">http://www.zenoss.com/helpversion=4.2.4">

"">http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

Zenoss:

dmd

more....

any idea guys

Like (0)
Reply

Tags (edit): zenoss

hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
1. Dec 24, 2013 11:13 AM (in response to sunlinux)
Re: not able to login getting source code in browser

Are all of the zenoss daemons running

su zenoss

zenoss status

What is the output
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
sunlinux Rank: White Belt
sunlinux
32 posts since
Mar 16, 2009
2. Dec 24, 2013 12:54 PM (in response to hydruid)
Re: not able to login getting source code in browser

zenoss status

Daemon: zeneventserver program running; pid=13907

Daemon: zopectl program running; pid=14162

Daemon: zenrrdcached program running; pid=14167

Daemon: zenhub program running; pid=14345

Daemon: zenjobs program running; pid=14506

Daemon: zeneventd program running; pid=14708

Daemon: zenping program running; pid=14865

Daemon: zensyslog program running; pid=15423

Daemon: zenstatus program running; pid=15281

Daemon: zenactiond program running; pid=15485

Daemon: zentrap program running; pid=16105

Daemon: zenmodeler program running; pid=15902

Daemon: zenperfsnmp program running; pid=16162

Daemon: zencommand program running; pid=16332

Daemon: zenprocess program running; pid=16539

Daemon: zredis program running; pid=16541
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
sunlinux Rank: White Belt
sunlinux
32 posts since
Mar 16, 2009
3. Dec 24, 2013 2:49 PM (in response to sunlinux)
Re: not able to login getting source code in browser

meanwhile I uninstalled it again , while reinstalling it gives :

error: [Errno 104] Connection reset by peer

2013-12-24 19:45:27,494 CRITICAL zen.zenoss.protocols.amqp: Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer

2013-12-24 19:45:27,494 CRITICAL zen.Events: Unable to publish event: [Errno 104] Connection reset by peer

2013-12-24 19:45:27,494 ERROR zen.ZenPackCmd: zenpack command failed

Traceback (most recent call last):

File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in

zp.run()

File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run

fromUI=self.options.fromui)

File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 263, in InstallEggAndZenPack

raise e

error: [Errno 104] Connection reset by peer

Exception socket.error: (107, 'Transport endpoint is not connected') in > ignored

Exception socket.error: (107, 'Transport endpoint is not connected') in > ignored

There was an error during the ZenPack operation: Command 'zenpack --install /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg' returned non-zero exit status 3

Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

Fresh install post step

--2013-12-24 19:45:31-- http://localhost:8080/zport/dmd/DeviceLoader/loadDevicedeviceName=local...

Resolving localhost... ::1, 127.0.0.1

Connecting to localhost|::1|:8080... failed: Connection refused.

Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.

Zenoss installation completed.

any hints guys.. I must say this software is extremly buggy
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
4. Dec 26, 2013 9:38 AM (in response to sunlinux)
Re: not able to login getting source code in browser

Zenoss is not extremely buggy, but it's also not a simple package like

"nmap". Zenoss is a "system" that has many components.

Your best bet is to roll back to a fresh OS install and go from there, or

make sure to completely deleting all zenoss components, dump the databases,

reboot, and then install again.
Correct Answer
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply



Subject: installtion medium
Author: [Not Specified]
Posted: 2013-12-28 11:13

I've found that sites using highly customized RHEL and CentOS images have problems for the reasons Hydruid mentions. You're best off using a clean centos minimal install, and removing the centos mysql, then installing.


Subject: Agree
Author: [Not Specified]
Posted: 2013-12-30 10:50

I completely agree with the reply above mine!

Hydruid



< Previous
How to monitor VMs in HyperV and HyperV R2
  Next
File Systems component status
>