Thanks for your email.  I've taken a look and think I've reproduced the 
problem, but it's a slightly odd repro.

Was this the first install attempt of ellis on this host?  It's possible that 
we could hit this behavior if ellis was installed, uninstalled (via "apt-get 
remove") and then this file was manually deleted.  "apt-get remove" doesn't 
remove configuration files (which /etc/clearwater/scripts/ellis is considered 
to be), but as a result "apt-get install" won't then reinstall them.  To tell 
apt that you want to remove all trace of the ellis Debian package from your 
system, run "apt-get purge ellis" - this will also ensure that subsequent 
"apt-get install ellis" commands reinstall them.  If the scenario I've 
described sounds plausible, please can you try running "apt-get purge ellis" 
followed by "apt-get install ellis" and see if this helps?

I'll look at whether the /etc/clearwater/scripts/* files should really be 
considered configuration - if they weren't, this might have avoided the 
problems you've seen.

If the above doesn't help, do you know which version of the ellis package you 
tried to install?  "apt-get install ellis" should print this as part of the 
install process.  The /var/lib/dpkg/info/ellis.list should list all the files 
it's going to install - is /etc/clearwater/scripts/ellis present in this list?

Please let me know how you get on.

Cheers,

Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of B Ray
Sent: 21 May 2013 23:10
To: [email protected]
Subject: [Clearwater] ellis install failure

I'm receiving the following error on install of the ellis node.
.........
Using 
/usr/share/clearwater/ellis/env/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg
Finished processing dependencies for metaswitchcommon==0.1
/
 * Loading iptables rules...                                                    
 *  IPv4...                                                                     
 *  IPv6...                                                              [ OK ]
/var/lib/dpkg/info/ellis.postinst: 84: /var/lib/dpkg/info/ellis.postinst: 
/etc/clearwater/scripts/ellis: not found
dpkg: error processing ellis (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 ellis
E: Sub-process /usr/bin/dpkg returned an error code (1)
..........

[ellis]ubuntu@ip-10-252-159-175:/var/lib/dpkg/info$ cd /etc/clearwater
[ellis]ubuntu@ip-10-252-159-175:/etc/clearwater$ ls
config  scripts
[ellis]ubuntu@ip-10-252-159-175:/etc/clearwater$ cd scripts
[ellis]ubuntu@ip-10-252-159-175:/etc/clearwater/scripts$ ls
hostname  mmonit  restund
[ellis]ubuntu@ip-10-252-159-175:/etc/clearwater/scripts$


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

Reply via email to