Pushpendra, usermod: user ellis is currently used by process 1343 dpkg: error processing package ellis (--configure): subprocess installed post-installation script returned error exit status 8 Processing triggers for libc-bin (2.19-0ubuntu6.9) ... Processing triggers for ureadahead (0.100.0-16) ... Errors were encountered while processing: ellis E: Sub-process /usr/bin/dpkg returned an error code (1)
It sounds like you attempted to install ellis on a node was installed on a node in which there already was an ellis user - is that correct? Ellis requires a user to run the components as for security so that we aren't running components as root which don't require root privileges, and this is required to be ellis. dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use dnsmasq: failed to create listening socket for port 53: Address already in use $sudo DEBIAN_FRONTEND=noninteractive apt-get install clearwater-management --yes Errors were encountered while processing: ellis E: Sub-process /usr/bin/dpkg returned an error code (1) >From these logs, and the similar logs regarding bono, sprout and >clearwater-management it looks like there's already a service running on the >nodes which is bound to port 53 before you install Clearwater. We've only regularly tested performing the manual install on a clean Ubuntu box, and if I create a new Ubuntu VM (e.g. the basic Ubuntu 14.0.4 VM in Amazon EC2 - ami-a22323d8 ) I don't see anything already running on Port 53 before I install Clearwater. ubuntu@ip-10-0-162-214:~$ sudo netstat -pltun Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1133/sshd tcp6 0 0 :::22 :::* LISTEN 1133/sshd udp 0 0 0.0.0.0:5254 0.0.0.0:* 582/dhclient udp 0 0 0.0.0.0:68 0.0.0.0:* 582/dhclient udp6 0 0 :::21727 :::* 582/dhclient Can you clarify what image you are attempting to install ellis on where you are seeing these errors, and what's already installed on the box? Can you run the above netstat command? For the error: reload: Job is not running: clearwater-monit /usr/share/clearwater/infrastructure/scripts/memcached: line 43: /etc/memcached.conf: No such file or directory reload: Job is not running: clearwater-monit Can you provide the complete output of the vellum build log? It'd be useful to know in what context this error was output - had something in the build already failed? It sounds like it failed to install memcached on the vellum node. Regarding smtp_smarthost - this needs to be an SMTP server which can send mail so that Ellis can send password recovery emails. If it's not configured then password recovery emails won't work. See the entry in http://clearwater.readthedocs.io/en/stable/Clearwater_Configuration_Options_Reference.html#core-options for details about the SMTP options. Regarding home_domain, it's described in Clearwater Options reference - see http://clearwater.readthedocs.io/en/stable/Clearwater_Configuration_Options_Reference.html#core-options - it needs to be a domain which will resolve to the P-CSCFs (e.g. the bono nodes in the deployment). It's usually also the root domain for all of the domains used. iind.intel.com might be a good choice if you can configure DNS entries under that domain - you'll need to configure the DNS entries listed in http://clearwater.readthedocs.io/en/stable/Clearwater_DNS_Usage.html in this domain You will need to complete the DNS configuration before Ellis will work - it needs a DNS entry to exist in order to communicate with the other nodes in the deployment. Richard From: Kumar, Pushpendra [mailto:[email protected]] Sent: 28 February 2018 19:00 To: Richard Whitehouse <[email protected]> Subject: Problems in manual installation of clearwater Hi Richards, I need your help in Clearwater project manual installation, Its on high priority so please consider that. I am installing the clearwater usingg manual installation. I have created the 6 VMs on virtualbox (using bridge adapter in network setting, used the same IP as public_ip and local_ip in local.conf) as I follow http://clearwater.readthedocs.io/en/stable/Manual_Install.html. while installing I have faced some errors (mentioned below), it will be your great help if u guide some solutions for them: One more thing as I am using bridge adapter in network, I have not did any port forwarding as mention in document (I am able to ping vm from one to another i.e. they are are communicating) 1.in installtion of ellis: $sudo DEBIAN_FRONTEND=noninteractive apt-get install ellis --yes usermod: user ellis is currently used by process 1343 dpkg: error processing package ellis (--configure): subprocess installed post-installation script returned error exit status 8 Processing triggers for libc-bin (2.19-0ubuntu6.9) ... Processing triggers for ureadahead (0.100.0-16) ... Errors were encountered while processing: ellis E: Sub-process /usr/bin/dpkg returned an error code (1) Note: First time I install ellis I got this error, then I installed again in new node from scratch then also got the same error. dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use dnsmasq: failed to create listening socket for port 53: Address already in use $sudo DEBIAN_FRONTEND=noninteractive apt-get install clearwater-management --yes Errors were encountered while processing: ellis E: Sub-process /usr/bin/dpkg returned an error code (1) 2.in installation of bono: $sudo DEBIAN_FRONTEND=noninteractive apt-get install bono restund --yes dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use dnsmasq: failed to create listening socket for port 53: Address already in use 3.in installation of sprout: $sudo DEBIAN_FRONTEND=noninteractive apt-get install sprout --yes dnsmasq: failed to create listening socket for port 53: Address already in use dnsmasq: failed to create listening socket for port 53: Address already in use dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use $sudo DEBIAN_FRONTEND=noninteractive apt-get install clearwater-management --yes dnsmasq: failed to create listening socket for port 53: Address already in use dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use 4.in installtion of homer: $sudo DEBIAN_FRONTEND=noninteractive apt-get install homer --yes dnsmasq: failed to create listening socket for port 53: Address already in use [fail] invoke-rc.d: initscript dnsmasq, action "start" failed. dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use 5.in installtion of dime: $sudo DEBIAN_FRONTEND=noninteractive apt-get install dime clearwater-prov-tools --yes dnsmasq: failed to create listening socket for port 53: Address already in use dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use 6.in installtion of vellum: * Starting DNS forwarder and DHCP server dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use * Restarting DNS forwarder and DHCP server dnsmasq dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use [fail] reload: Job is not running: clearwater-monit /usr/share/clearwater/infrastructure/scripts/memcached: line 43: /etc/memcached.conf: No such file or directory reload: Job is not running: clearwater-monit -->I ignore above errors and move on to next step i.e. editing shared_config file and uploading -->shared_config file: [bono]bono@Bono:/etc/clearwater$ cat shared_config ##################################################################### # No Shared Config has been provided # Replace this file with the Shared Configuration for your deployment ##################################################################### # Deployment definitions home_domain=iind.intel.com sprout_hostname=sprout.iind.intel.com sprout_registration_store=vellum.iind.intel.com hs_hostname=hs.iind.intel.com:8888 hs_provisioning_hostname=hs.iind.intel.com:8889 homestead_impu_store=vellum.iind.intel.com ralf_hostname=ralf.iind.intel.com:10888 ralf_session_store=vellum.iind.intel.com xdms_hostname=homer.iind.intel.com:7888 chronos_hostname=vellum.iind.intel.com cassandra_hostname=vellum.iin.intel.com # Email server configuration smtp_smarthost= smtp_username=username smtp_password=password [email protected]<mailto:[email protected]> # Keys signup_key=secret turn_workaround=secret ellis_api_key=secret ellis_cookie_key=secret ? What would I use in smtp_smarthost= (is it localhost?) ques: Is home_domain =iind.intel.com is right? (when I ping using #ping ellis it automatically takes like ellis.iind.intel.com) , it basically the intel's domain. -->local_config : (IP ans hostname changed in every node) local_ip=10.224.61.25 public_ip=10.224.61.25 public_hostname=Ellis etcd_cluster="10.224.61.20,10.224.61.21,10.224.61.22,10.224.61.25,10.224.61.48,10.224.61.50" ? After that when I am trying to connect to ellis using http://ellis.iind.intel.com or http://10.224.61.25 it is giving like 502 Bad Gateway nginx /1.4.6 (Ubuntu). I have not did any DNS configuration yet (because I am using the intel domain or do I need to do it... in which node and how). ? I will love to hear your response Thanks Pushpendra
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
