Modify

Ticket #2493 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Cloud Activation

Reported by: miguel.simoes@… Owned by: javier.amor.garcia@…
Milestone: Component: base
Severity: normal Keywords:
Cc:

Description

While activating Zentyal Testing service the following error report was generated.

Attachments

ebox.log Download (52.4 KB) - added by anonymous 3 years ago.
ebox (1).log Download (75.3 KB) - added by miguel.simoes@… 3 years ago.
Report with debug enabled
gateway.zip Download (4.3 KB) - added by miguel.simoes@… 3 years ago.
Requested Files

Change History

Changed 3 years ago by anonymous

comment:1 Changed 3 years ago by ejhernandez@…

  • Owner changed from jacalvo@… to ejhernandez@…

Hi Miguel,

Could you set the debug variable to yes in /etc/ebox/99ebox.conf and repeat the process? Paste here the trace to track down your problem.

Best,

comment:2 Changed 3 years ago by ejhernandez@…

  • Cc jamor@… added

Changed 3 years ago by miguel.simoes@…

Report with debug enabled

comment:3 follow-up: ↓ 4 Changed 3 years ago by miguel.simoes@…

  • Summary changed from Could Activation to Cloud Activation

Hi,

The log has been uploaded has requested.

Thank you.

comment:4 in reply to: ↑ 3 Changed 3 years ago by ejhernandez@…

Replying to miguel.simoes@construlink.com:

Hi,

Hi again Miguel,

The log has been uploaded has requested.

I asked you for the trace that you see when the error happens to you. It is shown in the GUI when you have debug activated as I have told you above.

Thanks for your patience and feedback. It is really appreciated.

comment:5 Changed 3 years ago by miguel.simoes@…

Sorry, an unexpected error has ocurred root command cp '/var/lib/ebox/conf/remoteservices/subscription/gateway/ARRAY(0x7f18b3b89388)' '/var/lib/ebox/tmp/certificateKey_path' failed. Error output: cp: cannot stat `/var/lib/ebox/conf/remoteservices/subscription/gateway/ARRAY(0x7f18b3b89388)': No such file or directory Command output: . Exit value: 1

To show technical details click here.

Trace root command cp '/var/lib/ebox/conf/remoteservices/subscription/gateway/ARRAY(0x7f18b3b89388)' '/var/lib/ebox/tmp/certificateKey_path' failed. Error output: cp: cannot stat `/var/lib/ebox/conf/remoteservices/subscription/gateway/ARRAY(0x7f18b3b89388)': No such file or directory

Command output: . Exit value: 1 at /usr/share/perl5/Error.pm line 182 Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'cp \'/var/lib/ebox/conf/remoteservices/subscription/gateway/A...', 'output', 'ARRAY(0x7f18b2e063d8)', 'error', 'ARRAY(0x7f18b2e063f0)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 212 EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/ebox/tmp/2XUPml1FrI.cmd 2> /v...', 'cp \'/var/lib/ebox/conf/remoteservices/subscription/gateway/A...', 256, 'ARRAY(0x7f18b2e063d8)', 'ARRAY(0x7f18b2e063f0)') called at /usr/share/perl5/EBox/Sudo.pm line 181 EBox::Sudo::_root(1, 'cp \'/var/lib/ebox/conf/remoteservices/subscription/gateway/A...') called at /usr/share/perl5/EBox/Sudo.pm line 136 EBox::Sudo::root('cp \'/var/lib/ebox/conf/remoteservices/subscription/gateway/A...') called at /usr/share/perl5/EBox/OpenVPN/Client.pm line 535 EBox::OpenVPN::Client::setCertificatesFilesForName('EBox::OpenVPN::Client', 'R_D_SRVS_3e21ab62f', 'caCertificate', '/var/lib/ebox/conf/remoteservices/subscription/gateway/cacert...', 'certificate', '/var/lib/ebox/conf/remoteservices/subscription/gateway/FE3272...', 'certificateKey', '/var/lib/ebox/conf/remoteservices/subscription/gateway/ARRAY(...') called at /usr/share/perl5/EBox/OpenVPN.pm line 1413 EBox::OpenVPN::_setClientConf('EBox::OpenVPN=HASH(0x7f18b23970f8)', 'R_D_SRVS_3e21ab62f', 'proto', 'udp', 'ripPasswd', 123456, 'certificate', '/var/lib/ebox/conf/remoteservices/subscription/gateway/FE3272...', 'service', ...) called at /usr/share/perl5/EBox/OpenVPN.pm line 1388 EBox::OpenVPN::_doNewClient('EBox::OpenVPN=HASH(0x7f18b23970f8)', 'R_D_SRVS_3e21ab62f', 'proto', 'udp', 'ripPasswd', 123456, 'certificate', '/var/lib/ebox/conf/remoteservices/subscription/gateway/FE3272...', 'certificateKey', ...) called at /usr/share/perl5/EBox/OpenVPN.pm line 1350 EBox::OpenVPN::newClient('EBox::OpenVPN=HASH(0x7f18b23970f8)', 'R_D_SRVS_3e21ab62f', 'internal', 1, 'service', 1, 'proto', 'udp', 'servers', ...) called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 203 EBox::RemoteServices::Auth::vpnClientForServices('EBox::RemoteServices::Backup=HASH(0x7f18b3f7fad0)') called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 484 EBox::RemoteServices::Auth::_vpnConnect('EBox::RemoteServices::Backup=HASH(0x7f18b3f7fad0)') called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 306 EBox::RemoteServices::Auth::_connect('EBox::RemoteServices::Backup=HASH(0x7f18b3f7fad0)') called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 338 EBox::RemoteServices::Auth::_assureConnection('EBox::RemoteServices::Backup=HASH(0x7f18b3f7fad0)') called at /usr/share/perl5/EBox/RemoteServices/Base.pm line 79 EBox::RemoteServices::Base::connection('EBox::RemoteServices::Backup=HASH(0x7f18b3f7fad0)') called at /usr/share/perl5/EBox/RemoteServices/Model/Subscription.pm line 173 EBox::RemoteServices::Model::Subscription::setTypedRow('EBox::RemoteServices::Model::Subscription=HASH(0x7f18b12cc780)', , 'HASH(0x7f18b15cd590)', 'force', undef, 'readOnly', undef) called at /usr/share/perl5/EBox/Model/DataForm.pm line 340 EBox::Model::DataForm::setRow('EBox::RemoteServices::Model::Subscription=HASH(0x7f18b12cc780)', undef, 'password', 'HVjyERPH', 'eboxCommonName', 'gateway', 'filter', , 'id', ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 121 EBox::CGI::Controller::DataTable::editField('EBox::CGI::Controller::DataTable?=HASH(0x7f18b02814f8)') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 226 EBox::CGI::Controller::DataTable::_process('EBox::CGI::Controller::DataTable?=HASH(0x7f18b02814f8)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 174 EBox::CGI::ClientRawBase::run('EBox::CGI::Controller::DataTable?=HASH(0x7f18b02814f8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120 EBox::CGI::Run::run('EBox::CGI::Run', 'RemoteServices/Controller/Subscription?', '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(0x7f18b15cd500)') 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(0x7f18accf7e88)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f18accf7e88)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f18b15cd500)') called at -e line 0 eval {...} called at -e line 0

comment:6 Changed 3 years ago by ejhernandez@…

  • Cc jamor@… removed
  • Owner changed from ejhernandez@… to javier.amor.garcia@…

comment:7 Changed 3 years ago by javier.amor.garcia@…

  • Status changed from new to assigned

Hello,

to be able to reproduce and fix your bug I need some configuration files. The files needed are those with '.conf' extension in the directory /var/lib/ebox/conf/remoteservices/subscription/gateway/. (if there is only one file that's OK)

Thanks,

Javier

comment:8 Changed 3 years ago by miguel.simoes@…

Hello, attached are the requested files. Hope it helps.

Regards, - Miguel Simões

Changed 3 years ago by miguel.simoes@…

Requested Files

comment:9 Changed 3 years ago by javier.amor.garcia@…

Hello,

this was a error due to having ',' and '.' characters in the company identifier in our database. I have changed the unallowed characters in the database.

Try to subscribe again but with a different name (if you use again the same name the incorrect files will be downloaded again)

Cheers,

Javier

comment:10 Changed 3 years ago by jamor@…

  • Status changed from assigned to closed
  • Resolution set to fixed

I assume that there are not more problems with this. Reopen the ticket if I am wrong

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.