Made progress in solving this. Seems monit does not like empty usernam and 
password in the config file. Updated the config file and now the install works:

"# Deployment definitions
<snip>mmonit_hostname=localhost
mmonit_username=username
mmonit_password=password

# Local IP configuration
<snip>"


"cat /etc/monit/conf.d/mmonit.monit

set eventqueue basedir /var/monit/ slots 1000
set mmonit http://username:password@localhost/collector
set httpd port 2812 and use address 172.16.6.170
  allow 0.0.0.0/0
  allow admin:monit"

On to the next step…..

Thanks
Des Hartman







From: Des Hartman 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 5 June 2013 3:24 PM
To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: [Clearwater] VMWare install - Ellis error on monit

Hi,

I am trying to install clearwater on an Ubuntu VM on VMWare Fusion. This is a 
single server install to illustrate the concept. All the preliminary steps are 
ok, but on doing the Ellis install I hit an error.

Few things I had to do to make this work:

  1.  Had to add OpenSSH as part of the install
  2.  Had to create a ubuntu user "sudo adduser ubuntu"
  3.  I am stuck on this step: "sudo DEBIAN_FRONTEND=noninteractive apt-get 
install ellis --yes"

I hit an error (See attached log line 184) - "* Starting daemon monitor monit   
     /etc/monit/conf.d/mmonit.monit:2: Error: syntax error ':'"

Checking the file I have the following:

"set eventqueue basedir /var/monit/ slots 1000
set mmonit http://:@localhost/collector
set httpd port 2812 and use address 172.16.6.170
  allow 0.0.0.0/0
  allow admin:monit"

Line 2 look suspect to me and I thought it may be due to my single server 
config and using localhost everywhere. Here is my config:

"# Deployment definitions
home_domain=localhost
sprout_hostname=localhost
hs_hostname=localhost:8888
xdms_hostname=localhost:7888
mmonit_hostname=localhost
mmonit_username=
mmonit_password=

# Local IP configuration
local_ip=172.16.6.170
public_ip=172.16.6.170
public_hostname=CW1

# Email server configuration
smtp_smarthost=
smtp_username=
smtp_password=
[email protected]<mailto:[email protected]>

# Keys
signup_key=abc123
turn_workaround=abc123
ellis_api_key=abc123
ellis_cookie_key=abc123"

Any help would be great



Thanks
Des Hartman

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to