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.


Messages - Svein Wisnaes

Pages: 1 ... 18 19 [20] 21 22 23
286
I have some extra harddisks for this PC (a laptop) so I'll swap the harddisk and do a fresh install of 10.04 then add eBox to it. Just to see the difference.

287
Installation and Upgrades / Locale settings and perl problem
« on: June 12, 2010, 09:36:20 pm »
During installs and re-installs I am getting a lot of warnings about locale:

Code: [Select]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_GB.UTF-8",
        LC_MONETARY = "pt_BR.UTF-8",
        LC_COLLATE = "C",
        LC_ADDRESS = "pt_BR.UTF-8",
        LC_TELEPHONE = "pt_BR.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_NAME = "en_US.UTF-8",
        LC_MEASUREMENT = "pt_BR.UTF-8",
        LC_IDENTIFICATION = "pt_BR.UTF-8",
        LC_NUMERIC = "pt_BR.UTF-8",
        LC_PAPER = "pt_BR.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I realise I am not the typical user when it comes to these settings, so I will try to explain my needs:

I want every bit of communication to be in English. I do not want to see any bit of messages in any other language.

I want all measures etc. to be metric.
Paper should of course be A4 and in millimeter.
I want currency to be Brazilian (pt_BR).
I want everything to be UTF-8.

Dates should be displayed as Saturday 12. june 2010 (only the format). This is a typical Norwegian/Brazilian way of displaying dates. And no, I do not want either Norwegian or Brazilian Portuguese names for dates. As said above - only English LANGUAGE (can be US English).

Timezone is America/Sao Paulo and my keyboard is Norwegian.

For someone that is very into locale, this might be an easy thing to set up, but for me, it seems a bit like black magic.

One big thing that is a mystery to me is how to separate the language and the format of time. I would love to see some manuals/documents on this.

288
I am getting some warning about locale, but do not think it has anything to do with the ldap problem, so I will make a separate post about it. Locale is something that still puzzles me a lot in the Linux world...

289
Did not try yet, but willing to do it :-)

I do not have too many users (only a home server), so I can re-create them.

290
Installation and Upgrades / Re: A separate 1.5 forum please?
« on: June 12, 2010, 08:51:28 pm »
No problem. Just thought it would be a good idea to get a separate 1.5 forum now, before the 2.0 stable release so it is easier to discuss things that relates to upgrades, beta and figuring out what are bugs that should be reported.

291
When I try to access groups or users under Samba, I get this message:

Code: [Select]
Trace
Can't create ldapi connection at /usr/share/perl5/EBox/Ldap.pm line 175
EBox::Ldap::anonymousLdapCon('EBox::Ldap=HASH(0x21f62860)') called at /usr/share/perl5/EBox/Ldap.pm line 243
EBox::Ldap::dn('EBox::Ldap=HASH(0x21f62860)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 338
EBox::UsersAndGroups::groupsDn('EBox::UsersAndGroups=HASH(0x224cf868)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1681
EBox::UsersAndGroups::groups('EBox::UsersAndGroups=HASH(0x224cf868)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/Users.pm line 48
EBox::CGI::UsersAndGroups::Users::_process('EBox::CGI::UsersAndGroups::Users=HASH(0x234c97e0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 264
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::Users=HASH(0x234c97e0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 121
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/Users', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 35
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x234de948)') 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(0x213ba6c8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x213ba6c8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x234de948)') called at -e line 0
eval {...} called at -e line 0

I recently upgraded from 1.4x to 1.5x and most things seems to be running ok. But things that depends on LDAP is not working.

Is there a way to jumpstart LDAP so things work?

292
Installation and Upgrades / A separate 1.5 forum please?
« on: June 12, 2010, 08:22:17 pm »
For those of us that would like to help with testing new releases, it would be good to have a separate forum so messages do not get mixed up in here.

I might be an idea to have a subsection of the forum called Test releases/Beta and under that, you have a Ebox 1.5 folder with separate forums for installation/upgrade, administration etc.

293
Installation and Upgrades / Re: Upgrade from eBox 1.4.x to 1.5.x
« on: June 08, 2010, 06:21:38 am »
This is what I get when trying to start the filesharing module:

A really nasty bug has occurred
Exception
Can't create ldapi connection
Trace
Can't create ldapi connection at /usr/share/perl5/EBox/Ldap.pm line 175
EBox::Ldap::anonymousLdapCon('EBox::Ldap=HASH(0x230f3d20)') called at /usr/share/perl5/EBox/Ldap.pm line 243
EBox::Ldap::dn('EBox::Ldap=HASH(0x230f3d20)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 966
EBox::SambaLdapUser::_fetchDomainAttrs('EBox::SambaLdapUser=HASH(0x2470a1d0)', 'AVIDSCHOOL') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 937
EBox::SambaLdapUser::setSambaDomainName('EBox::SambaLdapUser=HASH(0x2470a1d0)', 'AVIDSCHOOL') called at /usr/share/perl5/EBox/Samba.pm line 454
EBox::Samba::_setConf('EBox::Samba=HASH(0x2471b008)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Base.pm line 824
EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x2471b008)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 607
EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x2471b008)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 635
EBox::Module::Service::restartService('EBox::Samba=HASH(0x2471b008)') called at /usr/share/perl5/EBox/CGI/EBox/RestartService.pm line 51
EBox::CGI::EBox::RestartService::_process('EBox::CGI::EBox::RestartService=HASH(0x246bb750)') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::EBox::RestartService=HASH(0x246bb750)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'EBox/RestartService', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x2471b1c8)') 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(0x2473f390)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x2473f390)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x2471b1c8)') called at -e line 0
eval {...} called at -e line 0

294
Installation and Upgrades / Re: Upgrade from eBox 1.4.x to 1.5.x
« on: June 08, 2010, 05:37:55 am »
jsalamero

How can I know if eBox is trying to connect to the wrong LDAP version?

295
Installation and Upgrades / Re: Upgrade from eBox 1.4.x to 1.5.x
« on: June 06, 2010, 09:22:37 pm »
keep in mind that 1.5.x are beta releases intended for testing the upcoming release and migration, should not be used on production and only used if you really know what are you doing and on a testbed machine.

Of course :-) I think this has repeated enough now that everyone should know it. But unless someone actually do stuff like we have done now, nobody will know where there might be problems.

For me, right now, LDAP is a problem. So I need to get that up and running again. Also, I can log in through the web interface, and a lot of things works the way it should.

I noticed one thing that was a big (and positive) difference from 1.4 to 1.5 - PhpMySql is working. Tried it on 1.4 and could never get it to work right.

So if anyone has any good tip on the LDAP part, please let me know. What could have happened here is a mix of settings during the upgrade, or that eBox tries to connect to an old version. Or that the setup of LDAP is not correct for eBox. How to fix?

296
I have been working on upgrading my home server from 1.4.x to 1.5.x and although it has been more or less as expected with a few hiccups here and there, I still have some things left to fix. And as there will be more and more people doing this, I think it is a good thing to gather all experiences regarding this in one thread.

Has anyone worked out a good procedure for the upgrade? This is how I started:

https://help.ubuntu.com/community/LucidUpgrades

There is a section about "Network Upgrade for Ubuntu Servers (Recommended)" there.

I added the eBox 1.5 ppa first as described here:

http://trac.ebox-platform.com/wiki/Document/Documentation/InstallationGuide#eBoxPlatform1.5packages

It would have been nice to be able to "deactivate" the whole eBox part, do the upgrade and then re-activate it again to avoid errors etc.

The eBox ppa got disabled during the 8.04 to 10.04 (Hardy to Lucid) upgrade, but that was expected. All 3rd party repositories get disabled now.

I still need to get ldap fixed so I can start using samba and other things that depend on it...

But the first thing I need to fix is a message I get when I do a console login. After giving username and password, I am told (after a looooooong wait) "Failed to add entry for user xxxxxxxxxx.
"

Does anyone know what this might be?

BTW - a REALLY nice feature would be an export service where you could export a complete setup for eBox to a pendrive and then just do a complete wipe and install. This would save a lot of frustration. Using a CD for the install together with the pendrive could then totally automate the setup.

297
News and Announcements / Re: Mail modules available for eBox 1.5!
« on: June 04, 2010, 07:44:55 am »
Sure, I'll start a new thread.

Done here:

http://forum.ebox-platform.com/index.php?topic=3906.new#new

298
News and Announcements / Re: Mail modules available for eBox 1.5!
« on: June 04, 2010, 06:33:56 am »
A very weird thing:

I tried to issue

sudo apt-get install ebox-all

and got a "can not find package"

Same with ebox-office.

So I issued sudo apt-get install ebox-samba and it kicked in and also listed a ton of dependencies. After ok, it is now installing and some things were obviously missing as it is being downloaded

During the installation/configuration network and users (because of ldapi problems) failed.

I am going through the list of packages now and installing them one by one as none of the profile packages seems to work.

299
News and Announcements / Re: Mail modules available for eBox 1.5!
« on: June 04, 2010, 05:55:33 am »
A scary thing - sudo apt-get autoremove seem to delete A LOT of things that eBox uses! After this command, eBox is not working. So I am going to install all packages and see what happens.

Before this, I connected briefly to the web interface, and I can definitely say this: 1.5 is A LOT more responsive than 1.4.x!!

I could not get into users and groups. There was a problem with LDAP, so I probably do not have it configured correctly. Something got messed up in the upgrade.

300
News and Announcements / Re: Mail modules available for eBox 1.5!
« on: June 04, 2010, 05:29:56 am »
As expected, the eBox ppa got disabled during the 8.04 to 10.04 upgrade. It has become standard now to disable all 3rd party repositories during upgrade, and you have to go back to the sources.list to manually enable them again (they are just commented out).

This resulted in a lot of errors during the upgrade. I think it could have been a good thing to "deactivate" eBox before this upgrade, then upgrade 8.04 to 10.04, then upgrade all eBox components and then re-enable eBox.

I enabled the eBox ppa again, did an apt-get update and apt-get upgrade. Now we will have to see how that goes :-) A few more rounds of this with restarts between each one should get me closer to the goal.

Pages: 1 ... 18 19 [20] 21 22 23