Zenos not working in OpenVZ

hadyos

Renowned Member
Nov 9, 2008
54
0
71
Hi,

I tried to install zenoss with the openvz teamplate, I went by the wiki instruction and everything went fine, but when I tried to acess zenoss web gui I couldn't.

The wiki instruction does not say how to configure the network interface of zenoss, should I use the default (127.0.0.1) or the bridged one? it's not clear.

Any help would be appreciated.
 
Hi,

I tried to install zenoss with the openvz teamplate, I went by the wiki instruction and everything went fine, but when I tried to acess zenoss web gui I couldn't.

The wiki instruction does not say how to configure the network interface of zenoss, should I use the default (127.0.0.1) or the bridged one? it's not clear.

Any help would be appreciated.

for the network, always use venet (veth only if you have a special reason for this) and specify a valid ip address. (not 127....)

the zenoss appliance takes some time as described in the wiki on the first startup (see the logs - and see the screenshot in the wiki).
 
well i gave it an address of my own (from my net pool) and waited until I saw "no more runlevel to run" message in the boot log, but when I type http:///xxx.xxx.xxx.xxx:8080 I get the network error from IE

pls post your full log - i just tried this here without any problems, see my log:
__
starting init logger
stty: standard input: Invalid argument
Activating swap...done.
mount: permission denied
Cleaning up ifupdown....
Loading device-mapper support.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
stty: standard input: Invalid argument
Starting system log daemon: syslogd.
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
e6:cf:6f:5f:1d:54:6c:38:93:ea:8b:dd:a1:ca:c8:87 root@zenoss
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
f7:68:18:c3:61:97:78:bb:35:4b:e2:7f:0f:87:8d:bf root@zenoss
Starting portmap daemon...Already running..
Starting internet superserver: inetd.
Starting Postfix Mail Transport Agent: postfix.
Starting OpenBSD Secure Shell server: sshd.
Starting NFS common utilities: statd.
Selecting previously deselected package zenoss-stack.
(Reading database ... 15981 files and directories currently installed.)
Unpacking zenoss-stack (from .../zenoss-stack_2.3.0_i386.deb) ...
Setting up zenoss-stack (2.3.0-0) ...

Starting mysqld.bin daemon with databases from /usr/local/zenoss/mysql/data
/usr/local/zenoss/mysql/scripts/ctl.sh : mysql started at port 3307
Daemon: zeoctl . daemon process started, pid=781
Daemon: zopectl . daemon process started, pid=785
Daemon: zenhub starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
INIT: no more processes left in this runlevel
__
 
well i gave it an address of my own (from my net pool) and waited until I saw "no more runlevel to run" message in the boot log, but when I type http:///xxx.xxx.xxx.xxx:8080 I get the network error from IE


what is your RAM/SWAP setting for this container?
 
This my log file...

starting init logger
INIT: version 2.86 booting
stty: standard input: Invalid argument
Activating swap...done.
mount: permission denied
Cleaning up ifupdown....
Loading device-mapper support.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
stty: standard input: Invalid argument
Starting system log daemon: syslogd.
Starting portmap daemon...Already running..
Starting internet superserver: inetd.
Starting Postfix Mail Transport Agent: postfix.
Starting OpenBSD Secure Shell server: sshd.
Starting NFS common utilities: statd.
Starting mysqld.bin daemon with databases from /usr/local/zenoss/mysql/data
/usr/local/zenoss/mysql/scripts/ctl.sh : mysql started at port 3307
Daemon: zeoctl . . Unlinking stale socket /usr/local/zenoss/zenoss/etc/zeo.zdsock; sleep 1
. daemon process started, pid=551
Daemon: zopectl . Unlinking stale socket /usr/local/zenoss/zenoss/var/zopectlsock; sleep 1
No handlers could be found for logger "root"
. daemon process started, pid=555
Daemon: zenhub starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
INIT: no more processes left in this runlevel

My RAM size is 512MB and swap size is 512MB
 
check the status of the zenoss-stack services (all service regarding zenoss):

Code:
/etc/init.d/zenoss-stack status
if something is not running, try stop and start:

Code:
/etc/init.d/zenoss-stack stop

/etc/init.d/zenoss-stack start
check the logs displayed.

another question: can you ping the zenoss IP from your desktop?