Modify

Ticket #3662 (closed defect: worksforme)

Opened 18 months ago

Last modified 17 months ago

certificate file not found when trying to copy it

Reported by: jb.simmen@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jacalvo@…) (diff)

Registered my server :-(

Error

root command cp '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3272DB150B8BA1.pem' '/var/lib/zentyal/tmp/certificate_path' failed. 
Error output: cp: cannot stat `/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3272DB150B8BA1.pem': No such file or directory

Command output: . 
Exit value: 1

Trace

root command cp '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3272DB150B8BA1.pem' '/var/lib/zentyal/tmp/certificate_path' failed. 
Error output: cp: cannot stat `/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3272DB150B8BA1.pem': 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/zentyal/conf/remoteservices/subscription/vmg-pd...', 'output', 'ARRAY(0x7f8960820f98)', 'error', 'ARRAY(0x7f8960771c90)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/Z16qs9qREy.cmd 2>...', 'cp \'/var/lib/zentyal/conf/remoteservices/subscription/vmg-pd...', 256, 'ARRAY(0x7f8960820f98)', 'ARRAY(0x7f8960771c90)') called at /usr/share/perl5/EBox/Sudo.pm line 182
	EBox::Sudo::_root(1, 'cp \'/var/lib/zentyal/conf/remoteservices/subscription/vmg-pd...') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('cp \'/var/lib/zentyal/conf/remoteservices/subscription/vmg-pd...') called at /usr/share/perl5/EBox/OpenVPN/Client.pm line 585
	EBox::OpenVPN::Client::setCertificatesFilesForName('EBox::OpenVPN::Client', 'R_D_SRVS_07f2473d0', 'caCertificate', '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/cac...', 'certificate', '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3...', 'certificateKey', '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/Jea...') called at /usr/share/perl5/EBox/OpenVPN.pm line 1386
	EBox::OpenVPN::_setClientConf('EBox::OpenVPN=HASH(0x7f895ea6e9b0)', 'R_D_SRVS_07f2473d0', 'proto', 'tcp', 'ripPasswd', 123456, 'certificate', '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3...', 'service', ...) called at /usr/share/perl5/EBox/OpenVPN.pm line 1361
	EBox::OpenVPN::_doNewClient('EBox::OpenVPN=HASH(0x7f895ea6e9b0)', 'R_D_SRVS_07f2473d0', 'proto', 'tcp', 'ripPasswd', 123456, 'certificate', '/var/lib/zentyal/conf/remoteservices/subscription/vmg-pdc/FE3...', 'lport', ...) called at /usr/share/perl5/EBox/OpenVPN.pm line 1323
	EBox::OpenVPN::newClient('EBox::OpenVPN=HASH(0x7f895ea6e9b0)', 'R_D_SRVS_07f2473d0', 'internal', 1, 'service', 1, 'proto', 'tcp', 'servers', ...) called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 220
	EBox::RemoteServices::Auth::vpnClientForServices('EBox::RemoteServices::Backup=HASH(0x7f89607e4510)') called at /usr/share/perl5/EBox/RemoteServices/Auth.pm line 364
	EBox::RemoteServices::Auth::isConnected('EBox::RemoteServices::Backup=HASH(0x7f89607e4510)') called at /usr/share/perl5/EBox/RemoteServices.pm line 590
	EBox::RemoteServices::isConnected('EBox::RemoteServices=HASH(0x7f895e92e668)') called at /usr/share/perl5/EBox/RemoteServices.pm line 720
	EBox::RemoteServices::subscriptionLevel('EBox::RemoteServices=HASH(0x7f895e92e668)') called at /usr/share/perl5/EBox/SysInfo.pm line 114
	EBox::SysInfo::generalWidget('EBox::SysInfo=HASH(0x7f895e92dee8)', 'EBox::Dashboard::Widget=HASH(0x7f896030c838)', undef) called at /usr/share/perl5/EBox/Module/Base.pm line 704
	EBox::Module::Base::widget('EBox::SysInfo=HASH(0x7f895e92dee8)', 'general') called at /usr/share/perl5/EBox/CGI/Dashboard/Index.pm line 90
	EBox::CGI::Dashboard::Index::masonParameters('EBox::CGI::Dashboard::Index=HASH(0x7f89602ead68)') called at /usr/share/perl5/EBox/CGI/Base.pm line 522
	EBox::CGI::Base::_process('EBox::CGI::Dashboard::Index=HASH(0x7f89602ead68)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::Dashboard::Index=HASH(0x7f89602ead68)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'Dashboard/Index', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f89606daec0)') 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(0x7f896031b2b8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f896031b2b8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f89606daec0)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (132.0 KB) - added by anonymous 18 months ago.
zentyal.log

Change History

Changed 18 months ago by anonymous

zentyal.log

comment:1 Changed 18 months ago by jacalvo@…

  • Owner changed from jacalvo@… to ejhernandez@…
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to certificate file not found when trying to copy it

comment:2 Changed 18 months ago by jamor@…

Hello Jb Simmen,

could you give me the output of the following command:

find /var/lib/zentyal/conf/remoteservices/subscription/

Regards,

Javier

comment:3 Changed 18 months ago by jamor@…

  • Owner changed from ejhernandez@… to jamor@…

comment:4 Changed 17 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to worksforme

Sorry but I cannot look into this without more feedback.

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.