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 - peterr

Pages: 1 [2] 3 4 5
16
Installation and Upgrades / 1.4-rc1 install failure
« on: February 02, 2010, 12:40:07 pm »
I have just installed 1.4rc1 from the cd image
Currently I have 3 servers running 1.3.16 a master ldap and web server a slave with samba and egroupware and another slave with jabber and asterisk.
I was replacing the jabber/asterisk server
All went well to begin with - I installed using teh simple option from the cd and then opted for the pick packages rather than the pick function option for the final stage.
I installed U&G jabber and asterisk with backup, monitor and software.
From the web interface I configured the firewall to allow ldap
I activated network, firewall, backup, events, logs and monitor and then saved - got a warning that firewall and logs had unsaved settings but were not activated.  I checked in module status and they both were activated.
I then configured U&G setting as slave and entering the ip of the master and the password.
When I saved settings I again was told firewall and logs had unsaved settings but were not activated.
I then activated U&G and got the following
Code: [Select]
A really nasty bug has occurred
Exception
Failed to enable: Replication failed
Trace
Failed to enable: Replication failed at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 74
EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xb5...') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xb5...') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', '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(0xafd9780)') 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(0xb530f74)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xb530f74)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xafd9780)') called at -e line 0
eval {...} called at -e line 0
2 questions
1) any idea what went wrong?

2) Could I have upgraded my 1.3 installs to 1.4? I notice that 1.4 is still using teh same repository as 1.3 but my 1.3 installs say they are fully up to date

17
Installation and Upgrades / Re: No Antivirus Tab on File Sharing
« on: January 29, 2010, 11:09:38 am »
I installed the virus scanner on ebox1.3.16 and found no way to scan for virus on the shared samba folders hosted on the server.
Having read the above I installed samba-vscan and rebooted (nothing showed up under file share before the reboot).
Why does samba-vscan not install when you install the scanner if it is needed to work with file share? (or why does the antivirus tab under UTM not mention you need the extra software?) (or why is it not installed as part of the default file share install?)

Thanks to this thread though I now can scan for virus :-)

18
Installation and Upgrades / Re: ebox 1.3.16 and asterisk
« on: January 29, 2010, 09:56:52 am »
dahdi-modules-ebox and the ebox kernel were already installed but I found that grub was booting to the server image not ebox image. After fixing this, and rebooting, the dahdi modules seemed to load.
I tried sudo apt-get -f install and also sudo dpkg --configure -a to no avail
after another reboot I get this
Code: [Select]
Last login: Fri Jan 29 11:38:25 2010
administrator@eboxcomms:~$ uname -a
Linux eboxcomms 2.6.24-26-ebox #1 SMP Tue Jan 5 04:34:12 UTC 2010 i686 GNU/Linux
administrator@eboxcomms:~$ sudo apt-get -f install
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  rdiff-backup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up asterisk (1:1.6.2.0+svn243117-1~ebox0~hardy2) ...
/etc/init.d/asterisk: 212: status_of_proc: not found
Starting Asterisk PBX: /etc/init.d/asterisk: 212: status_of_proc: not found
invoke-rc.d: initscript asterisk, action "start" failed.
dpkg: error processing asterisk (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ebox-asterisk:
 ebox-asterisk depends on asterisk; however:
  Package asterisk is not configured yet.
dpkg: error processing ebox-asterisk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 asterisk
 ebox-asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)
So it now seems I have a problem with the init.d file.
According to ps -e asterisk is running (or one process is)
According to Dashboard 4 users are on line with voip but, also according to dashboard, voip is stopped.
Rather puzzling!

19
Installation and Upgrades / Re: ebox 1.3.16 and asterisk
« on: January 29, 2010, 06:47:16 am »
Tried again this morning and got basically the same problem (as far as I can see)
Code: [Select]
administrator@eboxcomms:~$ sudo apt-get upgrade
Reading package lists... Done                 
Building dependency tree                       
Reading state information... Done             
The following packages will be upgraded:       
  asterisk asterisk-config asterisk-sounds-main base-files ebox-usersandgroups
  fuse-utils klibc-utils libfuse2 libklibc                                   
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.               
3 not fully installed or removed.                                             
Need to get 0B/20.9MB of archives.                                           
After this operation, 28.7kB of additional disk space will be used.           
Do you want to continue [Y/n]? y                                             
Preconfiguring packages ...                                                   
(Reading database ... 30373 files and directories currently installed.)       
Preparing to replace asterisk 1:1.6.2.0+svn243117-1~ebox0~hardy1 (using .../asterisk_1%3a1.6.2.0+svn243117-1~ebox0~hardy2_i386.deb) ...                                         
Unpacking replacement asterisk ...                                                     
Preparing to replace asterisk-config 1:1.6.2.0+svn243117-1~ebox0~hardy1 (using .../asterisk-config_1%3a1.6.2.0+svn243117-1~ebox0~hardy2_all.deb) ...                           
Unpacking replacement asterisk-config ...                                               
Preparing to replace asterisk-sounds-main 1:1.6.2.0+svn243117-1~ebox0~hardy1 (using .../asterisk-sounds-main_1%3a1.6.2.0+svn243117-1~ebox0~hardy2_all.deb) ...                 
Unpacking replacement asterisk-sounds-main ...                                         
Preparing to replace ebox-usersandgroups 1.3.14-0ubuntu1~ppa1~hardy1 (using .../ebox-usersandgroups_1.3.15-0ubuntu1~ppa1~hardy1_all.deb) ...                                   
Unpacking replacement ebox-usersandgroups ...                                           
Preparing to replace base-files 4.0.1ubuntu5.8.04.7 (using .../base-files_4.0.1ubuntu5.8.04.8_i386.deb) ...                                                                     
Unpacking replacement base-files ...                                                   
Setting up base-files (4.0.1ubuntu5.8.04.8) ...                                         
Installing new version of config file /etc/issue ...                                   
Installing new version of config file /etc/issue.net ...                               
Installing new version of config file /etc/lsb-release ...                             

(Reading database ... 30375 files and directories currently installed.)
Preparing to replace klibc-utils 1.5.7-4ubuntu4 (using .../klibc-utils_1.5.7-4ubuntu5_i386.deb) ...                                                                             
Unpacking replacement klibc-utils ...                                                   
Preparing to replace libklibc 1.5.7-4ubuntu4 (using .../libklibc_1.5.7-4ubuntu5_i386.deb) ...                                                                                   
Unpacking replacement libklibc ...                                                     
Preparing to replace fuse-utils 2.7.2-1ubuntu2 (using .../fuse-utils_2.7.2-1ubuntu2.1_i386.deb) ...                                                                             
Unpacking replacement fuse-utils ...                                                   
Preparing to replace libfuse2 2.7.2-1ubuntu2 (using .../libfuse2_2.7.2-1ubuntu2.1_i386.deb) ...                                                                                 
Unpacking replacement libfuse2 ...                                                     
Setting up asterisk-config (1:1.6.2.0+svn243117-1~ebox0~hardy2) ...                     

Setting up asterisk-sounds-main (1:1.6.2.0+svn243117-1~ebox0~hardy2) ...
Setting up asterisk (1:1.6.2.0+svn243117-1~ebox0~hardy2) ...           
Installing new version of config file /etc/default/asterisk ...         
Installing new version of config file /etc/init.d/asterisk ...         
/etc/init.d/asterisk: 212: status_of_proc: not found                   
Starting Asterisk PBX: /etc/init.d/asterisk: 212: status_of_proc: not found
invoke-rc.d: initscript asterisk, action "start" failed.                   
dpkg: error processing asterisk (--configure):                             
 subprocess post-installation script returned error exit status 1         
Setting up dahdi (1:2.2.0-1~ebox0~hardy0) ...                             
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
   dahdi: error   dahdi_dummy: error   dahdi_transcode: error
Error: missing /dev/dahdi!
invoke-rc.d: initscript dahdi, action "start" failed.
dpkg: error processing dahdi (--configure):
 subprocess post-installation script returned error exit status 1
Setting up ebox-usersandgroups (1.3.15-0ubuntu1~ppa1~hardy1) ...
 * Restarting eBox module: users                                         [ OK ]
Not starting slapd: SLAPD_NO_START set in /etc/default/slapd

dpkg: dependency problems prevent configuration of ebox-asterisk:
 ebox-asterisk depends on asterisk; however:
  Package asterisk is not configured yet.
dpkg: error processing ebox-asterisk (--configure):
 dependency problems - leaving unconfigured
Setting up libklibc (1.5.7-4ubuntu5) ...
Setting up klibc-utils (1.5.7-4ubuntu5) ...
Setting up libfuse2 (2.7.2-1ubuntu2.1) ...

Setting up fuse-utils (2.7.2-1ubuntu2.1) ...
creating fuse group...
update-initramfs: deferring update (trigger activated)

Processing triggers for ebox ...
 * Restarting eBox module: apache                                        [ OK ]
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-26-ebox
Errors were encountered while processing:
 asterisk
 dahdi
 ebox-asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)
administrator@eboxcomms:~$
Just in case any of the above helps at all

20
Installation and Upgrades / Re: ebox 1.3.16 and asterisk
« on: January 28, 2010, 01:44:55 pm »
thanks

21
Installation and Upgrades / ebox 1.3.16 and asterisk
« on: January 28, 2010, 09:12:16 am »
Just upgraded to 1.3.16 on my asterisk/jabber server and the upgrade failed due to dependancy probelms (error not helpful enough to say which dependancy problems though)
Basically dahdi is not getting configured and this killed asterisk.  After a reboot I tried installing dahdi again and I got this.
Code: [Select]
dahdi-modules-ebox is already the newest version.
The following packages were automatically installed and are no longer required:
  rdiff-backup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up dahdi (1:2.2.0-1~ebox0~hardy0) ...
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
   dahdi: error   dahdi_dummy: error   dahdi_transcode: error
Error: missing /dev/dahdi!
invoke-rc.d: initscript dahdi, action "start" failed.
dpkg: error processing dahdi (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of asterisk:
 asterisk depends on dahdi; however:
  Package dahdi is not configured yet.
dpkg: error processing asterisk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ebox-asterisk:
 ebox-asterisk depends on asterisk; however:
  Package asterisk is not configured yet.
dpkg: error processing ebox-asterisk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dahdi
 asterisk
 ebox-asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)
According to my QuteCom client I am on line with sip. according to the dashboard I and 2 other clients are online with sip but VoIP is not apparently running (according to dashboard)
Starting VoIP via dashboard worked but all the logged in clients got kicked off (dashboard) but were still on line in QuteCom
so seem to be working but with a system not fully configured.
(I did the initial upgrage via ebox interface, which failed, so I then repeated it via apt-get)

22
Installation and Upgrades / Re: 1.3.15 software management bug
« on: January 25, 2010, 07:57:51 am »
odd about the reversed tick box behavior but the lack to green buttons was probably that ebox had not yet run an apt-get update from its cron job - once the package list is updated the software module works (or this is what happens in my experience anyway)

23
your master can run anything that does not depend on userandgroups e.g web server, dchp, dns etc but the only ldap based service can be usersandgroups.
I was rather hoping to do something similar to what you want but find I can not - However I have a web server that I can use as the master for usersandgroups (though currently that is not working as I can not reinstall ebox and get the usersandgroups module to work)

24
Thanks Isaac
Pity about the u&g only feature remaining in 1.4 but that can be worked around - is it possible to authenticate a linux client on a slave though? I had not luck previously. I have just read an email on how to clear out the ldap settngs so i will try and put things back as they were then I can go back to trying linux auth.

25
Well it is only a development version so the more we find wrong now the better things will be when 1.4 is released - if we don't find the problems, nobody is going to fix them!

26
tried to purge usersandgroups from web server, autoremove and purge everything then updated then reinstalled usersandgroups.
Thsi failed - system remembered it was a master (so purge did not remove all config) and it does not work now

27
I got this as well
Code: [Select]
A really nasty bug has occurred
Exception
Failed to enable: Replication failed
Trace
Failed to enable: Replication failed at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 74
EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xa7...') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xa7...') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', '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(0xa794d8c)') 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(0xa7b8aac)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xa7b8aac)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xa794d8c)') called at -e line 0
eval {...} called at -e line 0

I wonder if it is because I tried to run the master with several services not just users and groups - I was guessing this restriction had long since gone as we are quite close to the release date for 1.4 but maybe I am wrong.
I was running a web server as master (so it only had usersandgroups) but the three servers all fell over, to various degrees on upgrade to 12 or 13 so I started again.  I wanted my egroupware and PDC server to be master as I had been unable to use it before to authenticate linux clients (seemed slaves could not manage this)
Whatever the reason by master seems to be running ok and the slave won't play ball (even after the file permission change mentioned)

28
Installation and Upgrades / Re: ebox 1.3.12 no longer able to log in
« on: January 19, 2010, 01:47:08 pm »
Yes there is a know problem with 15 but my problem was with and upgrade to 12.
I have now reinstalled from scratch and seem to have got 13 though some packages are labelled 15

29
Installation and Upgrades / dahdi-tools and asterisk meetings
« on: January 07, 2010, 01:22:01 pm »
Using ebox 1.3.12
I thought I would try out asterisk meetings but found I needed dahdi-linux and dahdi-tools to do it

sudo apt-get install dahdi-linux dahdi-tools tells me that dahdi-linux is already installed as the latest version but dahdi-tools can not be found
I tried enabling backports and partner archives but still dahdi-tools was not found - any idea where I can get this?

Thanks

30
Installation and Upgrades / ebox 1.3.12 no longer able to log in
« on: January 07, 2010, 12:36:52 pm »
Until today I had 3 ebox servers running in master/slave mode.
Previously egroupware worked fine on one of them but after an upgrade (then a reinstall) egroupware failed due to the mail server not running.
A upgrade today fixed that and I was able to get the mail server running and start egroupware then get all my users setup with egroupware.
While doing this I noticed that file sharing had stopped working although dashboard showed all the services were up and running.
I thought I would restart the server and see if this sorted it out - when I tried to log in through the web interface I got this -

A really nasty bug has occurred
Exception
Can't call method "bind" on an undefined value
Trace
Can't call method "bind" on an undefined value at /usr/share/perl5/EBox/Ldap.pm line 215.

The other 2 servers, which I also updated today, are running fine - one just has users and groups running (as master) and a web server.  The other has jabber and asterisk and is a slave to the web server.

My failed server is (or was) running egroupware, file share and PDC - file share and PDC were working fine before I upgraded but I had not checked after the upgrade if PDC still worked.

All the servers are running the monitor and software modules and I hope to be able to use the PDC machine to authenticate linux machines though this has not yet worked (perhaps as it is a slave not a master ldap server).

Any suggestions where to go next?

Pages: 1 [2] 3 4 5