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.
Pages: [1]
1
Installation and Upgrades / Missing VPN config after upgrading to 8 (resolved)
« on: April 12, 2024, 04:00:15 am »
I have a strange issue after upgrading. Everything else looks to be fine after the upgrade, but in the console it says I have no servers or clients configured for the VPN. But if I look on the filesystem in /etc/openvpn, I see the server and client I previously had configured. I do have a backup from 7.1.1 I made just before the upgrade and can see the openvpn.bak folder in the backup file. Is there a way to get Zentyal to recognize the files that are already there?
2
Installation and Upgrades / [SOLVED] Issue with samba restore from Zentyal 7 backup
« on: March 18, 2021, 12:54:00 am »
As part of my testing, I do a backup of my live system, then try to restore to a standby system in case of a need for disaster recovery. I made a post-upgrade backup of my 7.0 live system, and installed 7.0 from the ISO on a standby system.
However, I'm getting an error when it gets to the Samba restore part. In the log it appears that there is an extra / being put into the path, but I can't figure out where that is coming from. Here is the output of the zentyal.log file for the error:
However, I'm getting an error when it gets to the Samba restore part. In the log it appears that there is an extra / being put into the path, but I can't figure out where that is coming from. Here is the output of the zentyal.log file for the error:
Quote
2021/03/17 18:44:50 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/ failed.
Error output: ln: target '/var/lib/samba/bind-dns//dns/sam.ldb.d/' is not a directory: No such file or directory
Command output: .
Exit value: 1 at root command ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/ failed.
Error output: ln: target '/var/lib/samba/bind-dns//dns/sam.ldb.d/' is not a directory: No such file or directory
Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jwJ1aMsNvC.cmd 2> /var/lib/zentyal/tmp/stderr', 'ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/', 256, 'ARRAY(0x557b12d63088)', 'ARRAY(0x557b0de880a8)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/') called at /usr/share/perl5/EBox/Samba.pm line 1954
EBox::Samba::restoreConfig('EBox::Samba=HASH(0x557b1179d9c8)', '/var/lib/zentyal/tmp//backup.bLiQqo/eboxbackup/samba.bak', 'installMissing', 0, 'progress', 'EBox::ProgressIndicator=HASH(0x557b10274448)', 'forceZentyalVersion', 0, 'continueOnModuleFail', 0, 'forceDependencies', 0, 'modsToExclude', 'ARRAY(0x557b0c978cb8)', 'dataRestore', 1, 'revokeAllOnModuleFail', 1, 'deleteBackup', 0) called at /usr/share/perl5/EBox/Module/Config.pm line 108
EBox::Module::Config::aroundRestoreConfig('EBox::Samba=HASH(0x557b1179d9c8)', '/var/lib/zentyal/tmp//backup.bLiQqo/eboxbackup/samba.bak', 'installMissing', 0, 'progress', 'EBox::ProgressIndicator=HASH(0x557b10274448)', 'forceZentyalVersion', 0, 'continueOnModuleFail', 0, 'forceDependencies', 0, 'modsToExclude', 'ARRAY(0x557b0c978cb8)', 'dataRestore', 1, 'revokeAllOnModuleFail', 1, 'deleteBackup', 0) called at /usr/share/perl5/EBox/Module/Base.pm line 420
EBox::Module::Base::restoreBackup('EBox::Samba=HASH(0x557b1179d9c8)', '/var/lib/zentyal/tmp//backup.bLiQqo/eboxbackup', 'forceZentyalVersion', 0, 'installMissing', 0, 'progress', 'EBox::ProgressIndicator=HASH(0x557b10274448)', 'modsToExclude', 'ARRAY(0x557b0c978cb8)', 'continueOnModuleFail', 0, 'forceDependencies', 0, 'dataRestore', 1, 'revokeAllOnModuleFail', 1, 'deleteBackup', 0) called at /usr/share/perl5/EBox/Backup.pm line 1338
EBox::Backup::_restoreModule('EBox::Backup', 'EBox::Samba=HASH(0x557b1179d9c8)', '/var/lib/zentyal/tmp//backup.bLiQqo', 'HASH(0x557b100fcd88)') called at /usr/share/perl5/EBox/Backup.pm line 1190
eval {...} at /usr/share/perl5/EBox/Backup.pm line 1189
eval {...} at /usr/share/perl5/EBox/Backup.pm line 1186
eval {...} at /usr/share/perl5/EBox/Backup.pm line 1164
EBox::Backup::restoreBackup('EBox::Backup', '/var/lib/zentyal/tmp/path', 'dataRestore', 1, 'revokeAllOnModuleFail', 1, 'installMissing', 0, 'forceZentyalVersion', 0, 'progress', 'EBox::ProgressIndicator=HASH(0x557b10274448)', 'forceDependencies', 0, 'continueOnModuleFail', 0, 'deleteBackup', 0) called at /usr/share/zentyal/restore-backup line 105
eval {...} at /usr/share/zentyal/restore-backup line 104
2021/03/17 18:44:50 ERROR> Backup.pm:1210 EBox::Backup::restoreBackup - Error while restoring: root command ln /var/lib/samba/private//sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/bind-dns//dns/sam.ldb.d/ failed.
Error output: ln: target '/var/lib/samba/bind-dns//dns/sam.ldb.d/' is not a directory: No such file or directory
Command output: .
Exit value: 1
3
Installation and Upgrades / Possible to configure IPv6?
« on: March 05, 2017, 05:17:20 am »
Hello all,
I have a 4.2 installation, and was wondering if it is possible to use stubs to configure IPv6. I realize that none of the GUI tools will work with IPv6, and everything will have to be done command-line.
I seem to have it working from the Zentyal instance itself out to the Internet. But so far no luck with machines on the LAN segment behind the Zentyal box.
I've used the interfaces.mas file in the stub directory to manually set the IPv6 addresses for eth0 and eth1. I was delegated a /56 address, so I used one /64 subnet for the outside eth0 interface and another /64 for the inside. I configured radvd to send info to the internal network on eth1. I set sysctl.conf to forward ipv6, and there is a default route going out eth0. I can successfully run the tests at test-ipv6.com from the browser of the Zentyal machine. But on any LAN machine if I run a traceroute it ends at the link local address of eth1.
I've check ip6tables, and they are empty at the moment. I'm sure I'm probably missing something simple and obvious, but I can't for the life of me figure out what it is. Has anyone else had any luck getting native IPv6 (not tunneling) work when using a Zentyal box for internal machines?
I have a 4.2 installation, and was wondering if it is possible to use stubs to configure IPv6. I realize that none of the GUI tools will work with IPv6, and everything will have to be done command-line.
I seem to have it working from the Zentyal instance itself out to the Internet. But so far no luck with machines on the LAN segment behind the Zentyal box.
I've used the interfaces.mas file in the stub directory to manually set the IPv6 addresses for eth0 and eth1. I was delegated a /56 address, so I used one /64 subnet for the outside eth0 interface and another /64 for the inside. I configured radvd to send info to the internal network on eth1. I set sysctl.conf to forward ipv6, and there is a default route going out eth0. I can successfully run the tests at test-ipv6.com from the browser of the Zentyal machine. But on any LAN machine if I run a traceroute it ends at the link local address of eth1.
I've check ip6tables, and they are empty at the moment. I'm sure I'm probably missing something simple and obvious, but I can't for the life of me figure out what it is. Has anyone else had any luck getting native IPv6 (not tunneling) work when using a Zentyal box for internal machines?
Pages: [1]