Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Kamilion

Pages: [1]
1
Installation and Upgrades / Upgrade from ebox 1.5.1x to zentyal 2.0
« on: September 01, 2010, 08:51:26 pm »
Well, everything went smoothly. Didn't even have to reboot, but I did a couple minutes later anyway.

I made sure I was at the latest 1.5 in the old PPA before upgrading.

Code: [Select]
root@hub:~# add-apt-repository ppa:zentyal/2.0
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 22D7149FCBC2389157BA52CF0E83F6EB10E239FF
gpg: requesting key 10E239FF from hkp server keyserver.ubuntu.com
gpg: key 10E239FF: public key "Launchpad Zentyal 2.0 series" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@hub:~# apt-get update
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/ebox/1.5/ubuntu/ lucid/main Translation-en_US     
Get:1 http://ppa.launchpad.net lucid Release.gpg [307B]                       
Hit http://archive.ubuntu.com lucid Release.gpg                               
Hit http://us.archive.ubuntu.com lucid-proposed Release.gpg                   
Ign http://archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US             
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-en_US
Ign http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main Translation-en_US 
Hit http://ppa.launchpad.net lucid Release                                     
Ign http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US       
Ign http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US         
Ign http://archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US       
Hit http://archive.ubuntu.com lucid-updates Release.gpg                       
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US     
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com lucid Release                                   
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid-proposed Release                       
Get:2 http://ppa.launchpad.net lucid Release [57.3kB]                         
Hit http://archive.ubuntu.com lucid-updates Release                           
Hit http://us.archive.ubuntu.com lucid-proposed/main Packages                 
Hit http://archive.ubuntu.com lucid/main Packages                             
Hit http://archive.ubuntu.com lucid/restricted Packages                       
Hit http://archive.ubuntu.com lucid/universe Packages                         
Hit http://archive.ubuntu.com lucid/multiverse Packages                       
Hit http://archive.ubuntu.com lucid/main Sources                               
Hit http://us.archive.ubuntu.com lucid-proposed/restricted Packages           
Hit http://us.archive.ubuntu.com lucid-proposed/universe Packages             
Hit http://us.archive.ubuntu.com lucid-proposed/multiverse Packages           
Hit http://us.archive.ubuntu.com lucid-proposed/main Sources                   
Hit http://us.archive.ubuntu.com lucid-proposed/restricted Sources             
Hit http://us.archive.ubuntu.com lucid-proposed/universe Sources               
Hit http://archive.ubuntu.com lucid/restricted Sources                         
Hit http://archive.ubuntu.com lucid/universe Sources                           
Hit http://archive.ubuntu.com lucid/multiverse Sources                         
Hit http://archive.ubuntu.com lucid-updates/main Packages                     
Hit http://archive.ubuntu.com lucid-updates/restricted Packages               
Hit http://archive.ubuntu.com lucid-updates/universe Packages                 
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages               
Hit http://archive.ubuntu.com lucid-updates/main Sources                       
Hit http://us.archive.ubuntu.com lucid-proposed/multiverse Sources             
Hit http://archive.ubuntu.com lucid-updates/restricted Sources                 
Hit http://archive.ubuntu.com lucid-updates/universe Sources                   
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources                 
Get:3 http://ppa.launchpad.net lucid/main Packages [17.9kB]                 
Hit http://security.ubuntu.com lucid-security Release.gpg                   
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com lucid-security Release
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Fetched 75.4kB in 4s (17.2kB/s)
Reading package lists... Done
root@hub:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  ebox ebox-ca ebox-firewall ebox-ftp ebox-mail ebox-monitor ebox-network
  ebox-ntp ebox-objects ebox-openvpn ebox-services ebox-software
  ebox-usersandgroups ebox-webmail ebox-webserver libebox
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,935kB of archives.
After this operation, 262kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-objects 2.0 [23.6kB]
Get:2 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-services 2.0 [24.6kB]
Get:3 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-network 2.0 [172kB]
Get:4 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-firewall 2.0 [73.4kB]
Get:5 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-ca 2.0 [114kB]
Get:6 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-webserver 2.0 [43.4kB]
Get:7 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-usersandgroups 2.0 [168kB]
Get:8 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-mail 2.0 [218kB]
Get:9 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-webmail 2.0 [38.5kB]
Get:10 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-ntp 2.0 [32.6kB]
Get:11 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-openvpn 2.0 [1,767kB]
Get:12 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-ftp 2.0 [16.9kB]
Get:13 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-monitor 2.0 [64.9kB]
Get:14 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox-software 2.0 [333kB]
Get:15 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main ebox 2.0 [646kB]
Get:16 http://ppa.launchpad.net/zentyal/2.0/ubuntu/ lucid/main libebox 2.0 [199kB]
Fetched 3,935kB in 2s (1,891kB/s)
Preconfiguring packages ...
(Reading database ... 30060 files and directories currently installed.)
Preparing to replace ebox-objects 1.5.1-0ubuntu1~ppa1~lucid1 (using .../ebox-objects_2.0_all.deb) ...
Unpacking replacement ebox-objects ...
Preparing to replace ebox-services 1.5.4-0ubuntu1~ppa1~lucid1 (using .../ebox-services_2.0_all.deb) ...
Unpacking replacement ebox-services ...
Preparing to replace ebox-network 1.5.8-0ubuntu1~ppa1~lucid1 (using .../ebox-network_2.0_all.deb) ...
Unpacking replacement ebox-network ...
Preparing to replace ebox-firewall 1.5.6-0ubuntu1~ppa1~lucid1 (using .../ebox-firewall_2.0_all.deb) ...
Unpacking replacement ebox-firewall ...
Preparing to replace ebox-ca 1.5.4-0ubuntu1~ppa1~lucid1 (using .../archives/ebox-ca_2.0_all.deb) ...
Unpacking replacement ebox-ca ...
Preparing to replace ebox-webserver 1.5.5-0ubuntu1~ppa1~lucid1 (using .../ebox-webserver_2.0_all.deb) ...
Unpacking replacement ebox-webserver ...
Preparing to replace ebox-usersandgroups 1.5.10-0ubuntu1~ppa1~lucid1 (using .../ebox-usersandgroups_2.0_all.deb) ...
Unpacking replacement ebox-usersandgroups ...
Preparing to replace ebox-mail 1.5.5-0ubuntu1~ppa1~lucid1 (using .../archives/ebox-mail_2.0_all.deb) ...
Unpacking replacement ebox-mail ...
Preparing to replace ebox-webmail 1.5.2-0ubuntu1~ppa1~lucid1 (using .../ebox-webmail_2.0_all.deb) ...
Unpacking replacement ebox-webmail ...
Preparing to replace ebox-ntp 1.5.2-0ubuntu1~ppa1~lucid1 (using .../archives/ebox-ntp_2.0_all.deb) ...
Unpacking replacement ebox-ntp ...
Preparing to replace ebox-openvpn 1.5.4-0ubuntu1~ppa1~lucid1 (using .../ebox-openvpn_2.0_all.deb) ...
Unpacking replacement ebox-openvpn ...
Preparing to replace ebox-ftp 1.5.2-0ubuntu1~ppa1~lucid1 (using .../archives/ebox-ftp_2.0_all.deb) ...
Unpacking replacement ebox-ftp ...
Preparing to replace ebox-monitor 1.5.6-0ubuntu1~ppa1~lucid1 (using .../ebox-monitor_2.0_all.deb) ...
Unpacking replacement ebox-monitor ...
Preparing to replace ebox-software 1.5.6-0ubuntu1~ppa1~lucid1 (using .../ebox-software_2.0_all.deb) ...
Unpacking replacement ebox-software ...
Preparing to replace ebox 1.5.14-0ubuntu1~ppa1~lucid1 (using .../apt/archives/ebox_2.0_all.deb) ...
Saving gconf files backup...
Unpacking replacement ebox ...
Preparing to replace libebox 1.5.10-0ubuntu1~ppa1~lucid1 (using .../archives/libebox_2.0_all.deb) ...
Unpacking replacement libebox ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up libebox (2.0) ...

Setting up ebox (2.0) ...
Installing new version of config file /etc/cron.daily/ebox ...
Reconnecting to redis server... at /usr/share/perl5/EBox/Config/Redis.pm line 521, <GEN3> line 1.
Reconnecting to redis server... at /usr/share/perl5/EBox/Config/Redis.pm line 521, <GEN5> line 1.
Reconnecting to redis server... at /usr/share/perl5/EBox/Config/Redis.pm line 521, <GEN7> line 1.
Reconnecting to redis server... at /usr/share/perl5/EBox/Config/Redis.pm line 521, <GEN9> line 1.
 * Stopping Zentyal module: apache                                                                                                                                    [ OK ]
 * Restarting Zentyal module: apache                                     [ OK ]

Setting up ebox-objects (2.0) ...

Setting up ebox-services (2.0) ...

Setting up ebox-network (2.0) ...
 * Restarting Zentyal module: network                                    [ OK ]

Setting up ebox-firewall (2.0) ...
 * Restarting Zentyal module: logs                                                                                                                                    [ OK ]
 * Restarting Zentyal module: firewall                                                                                                                                [ OK ]

Setting up ebox-ca (2.0) ...

Setting up ebox-webserver (2.0) ...
 * Restarting Zentyal module: webserver                                  [ OK ]

Setting up ebox-usersandgroups (2.0) ...

Configuration file `/etc/ebox/80users.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** 80users.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/ebox/80users.conf ...
 * Restarting Zentyal module: users                                      [ OK ]
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.

Setting up ebox-mail (2.0) ...
 * Restarting Zentyal module: logs                                                                                                                                    [ OK ]
 * Restarting Zentyal module: mail                                       [ OK ]

Setting up ebox-webmail (2.0) ...
 * Restarting Zentyal module: webmail                                    [ OK ]

Setting up ebox-ntp (2.0) ...

Setting up ebox-openvpn (2.0) ...
We assume /etc/openvpn/ebox-dh1024.pem is a Diffie-Hellman parameter file with 1024 byte length. If the assumption is false, please remove it and create a new one manually. If you do NOT do so, your OpenVPN tunnels may be compromised
 * Restarting Zentyal module: logs                                                                                                                                    [ OK ]
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
 * Restarting Zentyal module: openvpn                                    [ OK ]
 * Restarting Zentyal module: firewall                                                                                                                                [ OK ]

Setting up ebox-ftp (2.0) ...

Setting up ebox-monitor (2.0) ...
 * Restarting Zentyal module: monitor                                    [ OK ]

Setting up ebox-software (2.0) ...

Processing triggers for ebox ...
 * Restarting Zentyal module: apache                                     [ OK ]
root@hub:~# rm -v /etc/apt/sources.list.d/ebox-1.5-lucid.*
removed `/etc/apt/sources.list.d/ebox-1.5-lucid.list'
removed `/etc/apt/sources.list.d/ebox-1.5-lucid.list.save'
root@hub:~#


Anyone else run into upgrade woes yet?

2
Did a update an hour ago to 1.5.14, now zentyal's asking for a *username* to login to the admin console... (Yay!)

What's the default username? I tried admin, root, user, kamilion, nothing worked, and I'm locked out of the webconsole.

Edit:
Easy fix. SSH in and add the admin group. (It will do nothing if the group already exists.)

Code: [Select]
addgroup --system admin
Code: [Select]
Adding group `admin' (GID 121) ...
Done.
Code: [Select]
addgroup --system admin
Code: [Select]
addgroup: The group `admin' already exists as a system group. Exiting.
Code: [Select]
adduser kamilion admin
Code: [Select]
Adding user `kamilion' to group `admin' ...
Adding user kamilion to group admin
Done.
Code: [Select]
getent passwd kamilion
Code: [Select]
kamilion:*:2001:1901:Graham Cantin:/home/kamilion:/bin/bash
Code: [Select]
getent group admin
Code: [Select]
admin:x:121:kamilion

In this case, admin is a local group, and kamilion is a zentyal ldap user.

OPTIONALLY, allow sudo access* for 'admin' group users:
Code: [Select]
echo "%admin ALL=(ALL) ALL" >> /etc/sudoers
* Cribbed from Ubuntu Forums

3
Installation and Upgrades / Cron job error: mail_messagerun-parts
« on: August 19, 2010, 06:25:44 am »
Getting this email hourly from cron on my 1.5.12 test rig.
Have not done anything tricky to it; all stock packages, templates, and stubs.

Code: [Select]
/etc/cron.hourly/90manageEBoxLogs:
More than one result for lastConsolidationDate for mail_messagerun-parts: /etc/cron.hourly/90manageEBoxLogs exited with return code 25

How can I fix this; and how can it be prevented from recurring in the future?

4
Installation and Upgrades / Update of 1.5.8 to 1.5.10 successfull!
« on: August 07, 2010, 03:54:04 am »
Here's the proof:

Modules enabled (From backup.tar):
sysinfo network firewall apache ca events ftp global logs mail monitor ntp objects openvpn services software usercorner users webmail webserver

Code: [Select]
root@hub:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libredis-perl libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl redis-server
The following packages will be upgraded:
  ebox ebox-firewall ebox-monitor ebox-ntp ebox-software ebox-usersandgroups ebox-webserver libebox
8 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.5kB/1,734kB of archives.
After this operation, 1,315kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main libxml-sax-expat-perl 0.40-1 [12.5kB]
Fetched 12.5kB in 0s (34.2kB/s)         
Preconfiguring packages ...
Selecting previously deselected package libxml-namespacesupport-perl.
(Reading database ... 29813 files and directories currently installed.)
Unpacking libxml-namespacesupport-perl (from .../libxml-namespacesupport-perl_1.09-3_all.deb) ...
Selecting previously deselected package libxml-sax-perl.
Unpacking libxml-sax-perl (from .../libxml-sax-perl_0.96+dfsg-2_all.deb) ...
Selecting previously deselected package libxml-sax-expat-perl.
Unpacking libxml-sax-expat-perl (from .../libxml-sax-expat-perl_0.40-1_all.deb) ...
Preparing to replace libebox 1.5.6-0ubuntu1~ppa1~lucid1 (using .../libebox_1.5.7-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement libebox ...
Preparing to replace ebox-software 1.5.2-0ubuntu1~ppa1~lucid1 (using .../ebox-software_1.5.3-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-software ...
Selecting previously deselected package libredis-perl.
Unpacking libredis-perl (from .../libredis-perl_2%3a0.0801-1_all.deb) ...
Selecting previously deselected package redis-server.
Unpacking redis-server (from .../redis-server_2%3a1.2.0-1_amd64.deb) ...
Selecting previously deselected package libxml-simple-perl.
Unpacking libxml-simple-perl (from .../libxml-simple-perl_2.18-3_all.deb) ...
Preparing to replace ebox 1.5.8-0ubuntu1~ppa1~lucid1 (using .../ebox_1.5.10-0ubuntu1~ppa1~lucid1_all.deb) ...
Saving gconf files backup...
Unpacking replacement ebox ...
Preparing to replace ebox-firewall 1.5.3-0ubuntu1~ppa1~lucid1 (using .../ebox-firewall_1.5.4-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-firewall ...
Preparing to replace ebox-monitor 1.5.3-0ubuntu1~ppa1~lucid1 (using .../ebox-monitor_1.5.4-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-monitor ...
Preparing to replace ebox-ntp 1.5-0ubuntu1 (using .../ebox-ntp_1.5.1-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-ntp ...
Preparing to replace ebox-usersandgroups 1.5.3-0ubuntu1~ppa1~lucid1 (using .../ebox-usersandgroups_1.5.4-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-usersandgroups ...
Preparing to replace ebox-webserver 1.5.3-0ubuntu1~ppa1~lucid1 (using .../ebox-webserver_1.5.4-0ubuntu1~ppa1~lucid1_all.deb) ...
Unpacking replacement ebox-webserver ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libxml-namespacesupport-perl (1.09-3) ...
Setting up libxml-sax-perl (0.96+dfsg-2) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...

Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version

Setting up libxml-sax-expat-perl (0.40-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version

Setting up libebox (1.5.7-0ubuntu1~ppa1~lucid1) ...

Setting up libredis-perl (2:0.0801-1) ...
Setting up redis-server (2:1.2.0-1) ...
Starting redis-server: redis-server.

Setting up libxml-simple-perl (2.18-3) ...
Setting up ebox (1.5.10-0ubuntu1~ppa1~lucid1) ...
Installing new version of config file /etc/ebox/80eboxclient.conf ...
 * Stopping eBox module: apache                                                                                                                                                           [ OK ]
 * Restarting eBox module: apache                                        [ OK ]

Setting up ebox-software (1.5.3-0ubuntu1~ppa1~lucid1) ...

Setting up ebox-firewall (1.5.4-0ubuntu1~ppa1~lucid1) ...
 * Restarting eBox module: logs                                                                                                                                                           [ OK ]
 * Restarting eBox module: firewall                                                                                                                                                       [ OK ]

Setting up ebox-monitor (1.5.4-0ubuntu1~ppa1~lucid1) ...
 * Restarting eBox module: monitor                                                                                                                                                        [ OK ]

Setting up ebox-ntp (1.5.1-0ubuntu1~ppa1~lucid1) ...

Setting up ebox-usersandgroups (1.5.4-0ubuntu1~ppa1~lucid1) ...
 * Restarting eBox module: users                                                                                                                                                          [ OK ]
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.

Setting up ebox-webserver (1.5.4-0ubuntu1~ppa1~lucid1) ...
 * Restarting eBox module: webserver                                                                                                                                                      [ OK ]

Processing triggers for ebox ...
 * Restarting eBox module: apache                                        [ OK ]
root@hub:~# shutdown -r now

Needed a reboot at the end because the ebox admin webserver did not come back up.
Other than that; the migration to redis went perfect!

Using the admin site seems much quicker now.

Good show guys!

5
Howdy!
I've got 1.5.7 running on one of my rackspace instances.

One of the issues I've run into is that ebox wants to manage the network interfaces.

The /etc/network/interfaces looks similar to this on a fresh rackspace instance:

Code: [Select]
auto eth0
iface eth0 inet static
    address 174.143.151.138
    netmask 255.255.255.0
    gateway 174.143.151.1
    dns-nameservers 72.3.128.240 72.3.128.241

auto eth1
iface eth1 inet static
    address 10.177.34.130
    netmask 255.255.224.0

up route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.32.1
down route del -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.32.1
up route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.32.1
down route del -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.32.1

The routes it adds are for rackspace's ServiceNet, a secondary interface that provides free transport to other instances in the same datacenter.

I'm working on figuring out how to set up the same behavior via eBox.

This system will become our mailhub and central authentication source, and I'll be slaving our existing internal eBox 1.4 router to it once I upgrade it to 1.5.

In trying to add the routes, I've discovered that eBox doesn't fully populate the CIDR picklist.
There's a gap in between /16 and /8, and I need /13.
My routes in this case should be:

10.176.0.0/13     gw:10.177.32.1
10.191.192.0/18 gw: 10.177.32.1

So, for now, I'm working around it like this:
I need 10.176.0.0 - 10.183.255.255

so:
10.191.192.0/18 gw: 10.177.32.1
10.176.0.0/16 gw:10.177.32.1
10.177.0.0/16 gw:10.177.32.1
10.178.0.0/16 gw:10.177.32.1
10.179.0.0/16 gw:10.177.32.1
10.180.0.0/16 gw:10.177.32.1
10.181.0.0/16 gw:10.177.32.1
10.182.0.0/16 gw:10.177.32.1
10.183.0.0/16 gw:10.177.32.1

This is icky, but it works.

Created a ticket to track this issue: #2008

6
Howdy folks.
I've got a client's system here with 1.3 on it that he wants to blow away and reinstall 1.4 from scratch.
But: he wants to keep his OpenVPN keys and CA setup.

What's the best way to dump and restore the configuration of a single module (OpenVPN) like this?

I've tried shutting off the other services before doing the backup, but because OpenVPN depends on Network and Firewall, I get them inside the backup too.

How can I get a backup of the OpenVPN CA and Certificates so I can import it onto a brand new box?

7
Installation and Upgrades / Kamilion's Ebox Tweaks
« on: December 02, 2009, 10:57:38 pm »
This is gonna be a big thread, once I document all the hacks and tweaks I've done to my installation.

To start off, some links to the Installer Improvements threads:
Main Thread:
http://forum.ebox-platform.com/index.php?topic=2153
My Installer:
http://forum.ebox-platform.com/index.php?topic=1963.0

Some background on my situation:

I work for a subcontractor for NASA Ames Research Center (ARC).
ARC has good, decently configured firewalls with a default-deny policy. (Always Best)

However, this means that lots of stuff breaks. So, we're going to have to get creative to fix it.

Pages: [1]