Discussion:
not able to login getting source code in browser
sunlinux
2013-12-24 15:57:47 UTC
Permalink
sunlinux [http://community.zenoss.org/people/sunlinux] created the discussion

"not able to login getting source code in browser"

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

--------------------------------------------------------------
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

<html>
    <head>
        <title>
            Zenoss: Error
        </title>
        <link rel="icon" href="/zport/dmd/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="/zport/dmd/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="/++resource++extjs/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="/++resource++zenui/css/zenoss.css" />
        <link rel="stylesheet" type="text/css" href="/++resource++zenui/css/zenui3.css" />

        <style>
            #center {
                font-family: helvetica,tahoma,arial,sans-serif;
                padding: 1em;
                border: 1px solid #ABC;
                margin: 1em;
                background-color: #D4E0EE;
            }
            #center h2 {
                font-size: 140%;
                margin: 5px auto;
            }
            body {
            }
        </style>
    </head>
    <body>
        <div id="header">
            <div class="bg">
                <div class="bg-leftcap">
                    <div class="bg-tile">
                        <div class="bg-logo"></div>
                        <div id="primarynav">
                            <ul><li class="nav-item-inactive">
<div class="sd-left">
    <div class="sd-right">
        <a href="/zport/dmd/Dashboard" target="_self" id="Dashboard-nav-button">Dashboard</a>
   </div>
</div>
</li>

<li class="nav-item-inactive">
<div class="sd-left">
    <div class="sd-right">
        <a href="/zport/dmd/Events/evconsole" target="_self" id="Events-nav-button">Events</a>
   </div>
</div>
</li>

<li class="nav-item-inactive">
<div class="sd-left">
    <div class="sd-right">
        <a href="/zport/dmd/itinfrastructure" target="_self" id="Infrastructure-nav-button">Infrastructure</a>
   </div>
</div>
</li>

<li class="nav-item-inactive">
<div class="sd-left">
    <div class="sd-right">
        <a href="/zport/dmd/reports" target="_self" id="Reports-nav-button">Reports</a>
   </div>
</div>
</li>

<li class="nav-item-inactive">
<div class="sd-left">
    <div class="sd-right">
        <a href="/zport/dmd/editSettings" target="_self" id="Advanced-nav-button">Advanced</a>
   </div>
</div>
</li>
</ul>
                            <div id="header-extra">
                                <div>
                                    <a id="sign-out-link" href="/zport/dmd/logoutUser">sign out
                                       </a>
                                </div>
                                <div>
                                    <div id="help-icon-container">
                                        <span></span><!-- ie needs empty span tags in some versions -->
                                        <a target="_blank" alt="Help" href=" http://www.zenoss.com/help?version=4.2.4 http://www.zenoss.com/help?version=4.2.4"> </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="secondarynav">
                            <ul></ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="center">





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
" http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html>
    <head>
    <title>
        Zenoss:

            dmd

    </title>


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="/zport/dmd/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="yui/reset-fonts-grids/reset-fonts-grids.css" />

    <link rel="stylesheet" href="/zport/portal_skins/zenoss.css">
    <!--[if IE 7]>
        <link rel="stylesheet" type="text/css" title="zenoss"
            href="zenoss_ie.css" >
    <![endif]-->
    <!--[if IE 6]>
        <link rel="stylesheet" type="text/css" title="zenoss"
            href="zenoss_ie6.css" >
    <![endif]-->
    <script>
        var DEBUG_MODE = false;
        var VERSION_ID = '424';
    </script>
    <script type="text/javascript" src="js/MochiKit.js"></script>
    <script type="text/javascript" language="javascript" src="/zport/dmd/yui/yahoo/yahoo-min.js"></script>
    <script type="text/javascript" language="javascript" src="/zport/dmd/yui/yuiloader/yuiloader-min.js"></script>
    <script type="text/javascript" src="javascript/zenoss-core.js"></script>
    <script>
    var loader = YAHOO.zenoss.getLoader();
    loader.require(['zenossutils']);
    loader.insert({onSuccess:function(){
        removeElementAutoCompletes();
        applyBrowserSpecificStyles();
        addSelectionBar();
        checkForCollapsed();
        connectCheckboxListeners();
        notifyParentOfNewUrl();
        zenPageInit();
    }});
    </script>

more....

any idea guys
--------------------------------------------------------------

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

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-24 16:13:43 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: not able to login getting source code in browser"

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

--------------------------------------------------------------
Are all of the zenoss daemons running?

su zenoss
zenoss status

What is the output?
--------------------------------------------------------------

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

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

"Re: not able to login getting source code in browser"

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

--------------------------------------------------------------
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
--------------------------------------------------------------

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

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

"Re: not able to login getting source code in browser"

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

--------------------------------------------------------------
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 <module>
    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 <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x625f810>> ignored
Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x5b25d90>> 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/loadDevice?deviceName=localhost&devicePath=/Server/Linux http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux
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
--------------------------------------------------------------

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

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-26 14:38:33 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: not able to login getting source code in browser"

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

--------------------------------------------------------------
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.
--------------------------------------------------------------

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

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-28 17:12:35 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: not able to login getting source code in browser"

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

--------------------------------------------------------------
Hi,

PLEASE DO NOT TRY TO REPLY HERE, IN FACT YOU PROBABLY CANT, TO FIND OUT WHY, KEEP READING!!!

I'm Andrew Kirch, the Community Manager here at Zenoss.  We've migrated the Community Forums to our new Drupal based forums.  I've copied your thread to the new forums http://www.zenoss.org/forum/86 HERE.  If you have an account on the community wiki, that login already works, if not, head over, and follow the links to create it.  If you have questions, problems using the site, or feedback, or if you're a Nigerian prince with 5000000USD you want to send me, please use our feedback form at the upper left of the new site.

Cheers!

Andrew
--------------------------------------------------------------

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

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...