Author Topic: Installation from Ubuntu 8.04 Repositories  (Read 4009 times)

sciurus

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Installation from Ubuntu 8.04 Repositories
« on: March 15, 2008, 09:46:05 pm »
Is the recommended installation method for a fresh install of Hardy simply apt-get install ebox ebox-ca ebox-dhcp ebox-dns ebox-firewall ebox-network ebox-ntp ebox-objects ebox-openvpn ebox-printers ebox-samba ebox-services ebox-squid ebox-usersandgroups? Do the answers given to debconf questions (there as several about ldap) matter or are these settings later overwritten by ebox?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #1 on: March 22, 2008, 08:43:03 pm »
Yeah that's how you should install eBox in ubuntu 8.04.

You can ignore all debconf questions but eBox password.

Keep in mind that's a beta version, it will take us a few weeks till we have a production version.

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #2 on: April 02, 2008, 08:40:41 am »
I have successfully installed but when I try to login I get a certificate warning and then locked out. What am I missing?

Looking forward to completing my install.  :-\

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Installation from Ubuntu 8.04 Repositories
« Reply #3 on: April 02, 2008, 09:06:14 am »
Have you accepted the warning?
My secret is my silence...

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #4 on: April 02, 2008, 09:08:59 pm »
Yes... and then I get a 404 error. I have tried this from Firefox (on both XP and Ubuntu)and IE7 in Windows. Is it possible my home router (wired) is not accepting traffic from the Ebox?

I'm not a network admin, am mostly plug-and-play, but have learned a lot form these various forums along the way and love the ideas behind eBox and want to make them work for me. I really appreciate the work of everyone in the opensource community!

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #5 on: April 03, 2008, 11:28:22 am »
Which firefox version are you using?
What's the exact URL you are type in the browser?


La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #6 on: April 06, 2008, 08:23:35 am »
I'm using the latest firefox (Firefox/2.0.0.13).

I have typed in the following in my browser: https://10.XX.XX.XX/ebox

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #7 on: April 13, 2008, 06:41:57 am »
So I gave it another go today and this time when I logged in from another machine I got a window that said "It Works". Am I to believe I was successful using the repository?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #8 on: April 13, 2008, 04:19:51 pm »
If you only got the "it works" page, that means you have accessed just the apache2 server installed on that machine, but not the eBox one.

If possible, tell me which package you have installed by running:

apt-cache policy ebox

You can try run:

/etc/init.d/ebox apache restart

By the way, when you installed eBox and you were asked to type a listening port for eBox's apache, what did you introduce? 443 which is default, or another one?

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #9 on: April 14, 2008, 07:21:50 am »
OK... at apt-cache I get the following:

Installed: 0.11.99-0ubuntu10
Candidate: 0.11.99-0ubuntu10
Version table:
*** 0.11.99-0ubuntu10 0
     500 http://us.archive.ubuntu.com hardy/universe Packages
     100 /var/lib/dpkg/status

Tried the apache restart. No luck... Did notice on boot that apache returned an error and was only giving an local machine IP(?) address. As I think about it I recall accepting the default port 443, but don't recall setting up the machine IP for my network.

Thanks for the help!

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #10 on: April 14, 2008, 11:23:50 am »
Ok, let's go step by step:

Can you post the output of the following commands please:
Code: [Select]
ps aux | grep apache
Code: [Select]
sudo netstat -laptn | grep apache

Thanks!

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #11 on: April 15, 2008, 07:56:23 am »
I really appreciate the personal attention. Here goes...

The first command gives me the following:

root            4609  0.0  5.8  54308 45572 ?       Ss     20:36   0:02 /usr/sbin/apache2 -kstart -f /var/lib/ebox/conf/apache2.conf

ebox           4748  0.0  5.4  78940 42128 ?       Sl     20:36   0:00 /usr/sbin/apache2 -kstart -f /var/lib/ebox/conf/apache2.conf

root            4814  0.0  0.6  13920  5132 ?       Ss     20:36   0:00 /usr/sbin/apache2 -kstart

www-data   4819  0.0  0.4  13212  3220 ?       S       20:36   0:00 /usr/sbin/apache2 -kstart

www-data   4824  0.0  0.5 235256  4504 ?       Sl       20:36   0:00 /usr/sbin/apache2 -kstart

www-data   4854  0.0  0.5 235256  4024 ?       Sl       20:36   0:00 /usr/sbin/apache2 -kstart

1000           5261  0.0  0.0  3004      748 tty1   R+     22:33   0:00 grep apache

The next output:
<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} {--ax25 --ipx--netrom
<AF>=Use '-6|-4' or '-A <af>' or '--<af>' ; default: inet
List of possible address families (which support routing):
     inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
     netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
     x25 (CCITT X.25)

Whew... that's a lot of typing. I hope this helps decipher my problem. Again, thanks for taking the time to review. I really am rooting for this to work!  :)

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #12 on: April 15, 2008, 08:12:44 am »
 ;DUPDATE! I'm in!!! I did a few apt-get updates, upgrades and installs and gave it another go and I'm in!!! Thanks for your patient attention and look for me to be asking configuration questions in another thread.

Best regards!

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #13 on: April 15, 2008, 03:23:56 pm »
Great :)

La3875

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Installation from Ubuntu 8.04 Repositories
« Reply #14 on: April 16, 2008, 07:22:48 am »
Well here's the next challenge, I finally got in and am just trying to set up simple file sharing. From the looks of things on the status page everything is disabled; On the module stats page it appears file sharing is dependent on network and users. I can check the network box, the file sharing box is greyed out and cannot be checked, and i get the following error when I check the users box:

\n$VAR1 = bless( {
                 '-stacktrace' => 'Unknown error at EBox::UsersAndGroups::groupExists No such object at /usr/share/perl5/EBox/Ldap.pm line 452
   EBox::Ldap::_errorOnLdap(\'Net::LDAP::Search=HASH(0xbd28e18)\', \'HASH(0xaf102a8)\') called at /usr/share/perl5/EBox/Ldap.pm line 235
   EBox::Ldap::search(\'EBox::Ldap=HASH(0xb8aeeb0)\', \'HASH(0xaf102a8)\') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 601
   EBox::UsersAndGroups::groupExists(\'EBox::UsersAndGroups=HASH(0xb8aef64)\', \'all\') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 722
   EBox::UsersAndGroups::addGroup(\'EBox::UsersAndGroups=HASH(0xb8aef64)\', \'all\', \'\') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddGroup.pm line 51
   EBox::CGI::UsersAndGroups::AddGroup::_process(\'EBox::CGI::UsersAndGroups::AddGroup=HASH(0xbd2bce4)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 254
   EBox::CGI::Base::run(\'EBox::CGI::UsersAndGroups::AddGroup=HASH(0xbd2bce4)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 92
   EBox::CGI::Run::run(\'EBox::CGI::Run\', \'UsersAndGroups/AddGroup\') called at /usr/share/ebox/cgi/ebox.cgi line 19
   ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0xb6c8780)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
   eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
   ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0xbca1c30)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
   ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0xbca1c30)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
   ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0xb6c8780)\') called at -e line 0
   eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/Ldap.pm',
                 '-text' => 'Unknown error at EBox::UsersAndGroups::groupExists No such object',
                 '-line' => 452,
                 '-package' => 'EBox::Ldap'
               }, 'EBox::Exceptions::Internal' );


I know there are simpler ways to do network file sharing, but I want to do something stable and do it right. Since I have been using Ubuntu for the past 18-months I've become comfortable with it and think what you and the rest of the community is incredible and want help support making it understandable by idiots like me.  :P