Author Topic: Error al activar el modulo "file sharing"  (Read 3164 times)

rolling

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Error al activar el modulo "file sharing"
« on: November 27, 2008, 12:28:06 pm »
Hola, al activar el modulo de "file sharing" tras tener activados "network" y "users and groups" me da error por que hay varios ficheros sin crear, que imagino los debia de haber creado ldap durante la instalacion. pego el log aqui, a ver que se puede hacer. Es un maquina con xbuntu 8.10 x86_64 con ebox instalado a traves de apt con las fuentes de intrepid. Igual es un bug..

Gracias.

"2008/11/27 11:59:13 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2008/11/27 11:59:13 WARN> Events.pm:623 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/smbldap-tools/smbldap.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/smbldap-tools/smbldap.conf does not exist. So we won't compute its digest
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/smbldap-tools/smbldap_bind.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/smbldap-tools/smbldap_bind.conf does not exist. So we won't compute its digest
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/ldap/slapd.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/ldap/slapd.conf does not exist. So we won't compute its digest
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/smbldap-tools/smbldap.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/smbldap-tools/smbldap.conf does not exist. So we won't compute its digest
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/smbldap-tools/smbldap_bind.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/smbldap-tools/smbldap_bind.conf does not exist. So we won't compute its digest
2008/11/27 11:59:27 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command test -e /etc/ldap/slapd.conf failed.
Error output:
Command output: .
Exit value: 1
2008/11/27 11:59:27 INFO> Manager.pm:601 EBox::ServiceModule::Manager::__ANON__ - File /etc/ldap/slapd.conf does not exist. So we won't compute its digest
2008/11/27 11:59:30 INFO> Module.pm:135 EBox::Module::restartService - Restarting service for module: users
2008/11/27 11:59:41 INFO> Module.pm:135 EBox::Module::restartService - Restarting service for module: samba
2008/11/27 11:59:42 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command /usr/share/ebox-samba/ebox-fix-sid S-1-5-21-3818554400-921237426-3143208535 failed.
Error output: Can't locate object method "fetchExternalCUPSPrinters" via package "EBox::Printers" at /usr/share/perl5/EBox/Samba.pm line 904.

Command output: .
Exit value: 1
2008/11/27 11:59:42 INFO> Module.pm:135 EBox::Module::restartService - Restarting service for module: samba
2008/11/27 11:59:42 ERROR> Sudo.pm:185 EBox::Sudo::_rootError - root command /usr/share//ebox-samba/ebox-samba-enable failed.
Error output: Can't locate object method "fetchExternalCUPSPrinters" via package "EBox::Printers" at /usr/share/perl5/EBox/Samba.pm line 904.
 invoke-rc.d: initscript ebox, action "samba" failed.

Command output:  * Stopping Samba daemons
    ...done.
  * Restarting eBox module: users
    ...done.
 Stopping OpenLDAP: slapd.
 Starting OpenLDAP: slapd.
  * Turning off quotas...
    ...done.
.
Exit value: 1
2008/11/27 11:59:42 ERROR> ConfigureModuleController.pm:71 EBox::CGI::ServiceModule::ConfigureModuleController::__ANON__ - Failed to enable
2008/11/27 12:17:02 INFO> Module.pm:135 EBox::Module::restartService - Restarting service for module: events
2008/11/27 12:17:03 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2008/11/27 12:17:03 WARN> Events.pm:623 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2008/11/27 12:17:03 WARN> Events.pm:473 EBox::Events::_adminDumbness - No event watchers have been enabled
"

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #1 on: November 27, 2008, 02:30:38 pm »
Puedes postear las fuentes exactas de eBox de tu apt sources porfavor?

rolling

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #2 on: November 27, 2008, 04:40:01 pm »
Si son las de la guia de instalacion:

deb http://ppa.launchpad.net/ebox-unstable/ubuntu intrepid main


Salu2.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #3 on: November 27, 2008, 09:11:43 pm »
Una pregunta, te ha aparecido algun error en la interfaz web diciendo que no ha podido activar el módulo o solo lo que has visto en los logs? Si es solo los logs, esa info es normal.

Un saludo

rolling

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #4 on: November 27, 2008, 11:08:28 pm »
Hola Javi, si da un error en la interfaz tras activar el modulo sale la ventana emergente diciendo todos los cambios que va a aplicar al iniciarlo y tras aceptar pasa un tiempo mientras hace los procesos correspondientes y finaliza con el siguiente error:
"Un error interno ha ocurrido. Lo mas probable es que sea un error, se puede encontrar informacion relevante en los logs"

y tras eso en modules status aparece como desactivado.

Gracias.

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Error al activar el modulo "file sharing"
« Reply #5 on: November 28, 2008, 09:14:49 am »
¿Puedes habilitar el modo de depuración? Para ello, edita el fichero /etc/ebox/99ebox.conf y pon el valor de "debug" a "yes". Después de ello, puedes repetir la secuencia de acciones para reproducir el error.

Gracias.
My secret is my silence...

rolling

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #6 on: November 28, 2008, 09:31:14 am »
Hola:

La salida tras hacer lo que me has dicho es lo siguiente:

"Failed to enable
\n

\n$VAR1 = bless( {
                 '-stacktrace' => 'Failed to enable at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 71
   EBox::CGI::ServiceModule::ConfigureModuleController::_process(\'EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x7f...\') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
   EBox::CGI::Base::run(\'EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x7f...\') called at /usr/share/perl5/EBox/CGI/Run.pm line 86
   EBox::CGI::Run::run(\'EBox::CGI::Run\', \'ServiceModule/ConfigureModuleController\') called at /usr/share/ebox/cgi/ebox.cgi line 19
   ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7f85149a1370)\') 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(0x7f85149a2db0)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
   ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7f85149a2db0)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
   ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7f85149a1370)\') called at -e line 0
   eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm',
                 '-text' => 'Failed to enable',
                 '-line' => 71,
                 '-package' => 'EBox::CGI::ServiceModule::ConfigureModuleController'
               }, 'EBox::Exceptions::Internal' );

\n
\n"


javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #7 on: November 28, 2008, 11:28:04 am »
Hola!

Había un bug en el módulo ebox-printers en el repositorio ebox-unstable. Acabo de subir una versión nueva. Porfavor prueba a acutalizar el paquete y ver si puedes habilitar el módulo.

Gracias y disculpa por los inconvenientes que haya causado el bug!

rolling

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Error al activar el modulo "file sharing"
« Reply #8 on: November 28, 2008, 11:48:41 am »
Hola:

Todo ok! Gracias a vosotros por vuestro trabajo. Es una version inestable, normal que tenga fallos. Es una maquina que estoy probando en mi red de casa, asi que trastorno cero.
Gracias de nuevo por vuestra rapidez y profesionalidad.

Salu2.