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.


Topics - kcurtis

Pages: [1] 2
1
Other modules / DNS server error when restarting
« on: April 21, 2021, 03:29:21 pm »
When I click on the [Restart] in the GUI for DNS it will error out. The log files is showing;
Code: [Select]
2021/04/21 08:08:19 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dhcp
2021/04/21 08:08:19 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 114.
2021/04/21 08:08:19 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - readdir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 17.
2021/04/21 08:08:19 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - closedir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 21.
2021/04/21 08:08:22 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1

Code: [Select]
Command output: .
Exit value: 2
2021/04/21 08:12:02 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1
2021/04/21 08:22:12 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dns
2021/04/21 08:22:14 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2021/04/21 08:22:21 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/dPpKIkTmYg failed.
2021/04/21 08:22:21 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/dPpKIkTmYg fai$
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default c$

Command output: .
Exit value: 2
2021/04/21 08:22:21 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/dPpKIkTmYg failed.
2021/04/21 08:22:21 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command nsupdate -g -t 10 /var/lib/z$
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default c$

Command output: .
Exit value: 2
2021/04/21 08:22:22 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1


Can anyone point me in the direction to getting this fixed?

2
Installation and Upgrades / DNS errors after restore of 6.2
« on: March 30, 2021, 10:04:54 pm »
When I had tried to upgrade to 7.0 it crashed my PDC . I ended up doing a fresh 6.2 install and restoring from a backup.

But now I am having a number of issues. The biggest one is the DNS will not save or restart. When I try to restart from the GUI it says error restarting service and this is from the log file;
Code: [Select]
2021/03/30 14:55:10 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1
2021/03/30 14:55:14 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dns
2021/03/30 14:55:16 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2021/03/30 14:55:23 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/HBCTalpQq8 failed.
2021/03/30 14:55:23 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/HBCTalpQq8 failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Ticket expired.

Command output: .
Exit value: 2
2021/03/30 14:55:23 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/HBCTalpQq8 failed.
2021/03/30 14:55:23 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/HBCTalpQq8 failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Ticket expired.

Command output: .
Exit value: 2
2021/03/30 14:55:26 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1

I also noticed if I issue wbinfo -u it deos not replay with anything, -G does show my groups and -T says it was successful

I am not sure if that is anything or park if the same thing.

Any help would be great

3
I issued the upgrade to 7.0 from my 6.2 server. After the reboot it does not seem to be working. I have no web interface. When I putty in and try # zs restart there are a few error in stopping but when it starts the services the following fail;
network
ca
samba
mail
webadmin

If I try to start them I am getting
Code: [Select]
root@zdomain:/home/protel# zs samba start
 * Restarting Zentyal module: samba                                                                                                [fail]
Invalid value for Default login shell: /usr/bin/bash.
Choose a value within the value set: /bin/rbash, /bin/sh, /usr/bin/screen, /bin/bash, /bin/dash

Is there anything I can do to fix this?





4
Other modules / DNS error when changing/adding or restarting
« on: February 08, 2021, 07:26:03 pm »
I am having an issue with my Zentyal 6.2.6 upgrade not letting me change or even restart DNS.
This is a server that I vitalized. It is our main domain controller, with a 2nd as an additional.

Somewhere in the back of my mind I remember something about a password expiring but I can't find anything about that.
I did fine that the DNS-[hostname] user was not in the DnsAdmins so I added it there and checked the password never expires box.

When I try to change the IP of one of the hostsname in the GUI I get
Quote

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: dns

The error log shows
Code: [Select]
2021/02/08 12:01:49 INFO> GlobalImpl.pm:617 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall dns
2021/02/08 12:01:49 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2021/02/08 12:01:50 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2021/02/08 12:01:59 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2021/02/08 12:02:05 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0).

Command output: .
Exit value: 2 at root command nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0).

Command output: .
Exit value: 2 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/PR_Yom_awN.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY', 512, 'ARRAY(0x561491c2b4e8)', 'ARRAY(0x56148c672a28)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY') called at /usr/share/perl5/EBox/DNS.pm line 967
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x56148f924228)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 948
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x56148f924228)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::DNS=HASH(0x56148f924228)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 649
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 648
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x56148e751af8)', 'progress', 'EBox::ProgressIndicator=HASH(0x56148e7142d0)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x56148a592a20)', 'progress', 'EBox::ProgressIndicator=HASH(0x56148e7142d0)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2021/02/08 12:02:05 ERROR> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/5a11iItZTY failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0).

Command output: .
Exit value: 2
2021/02/08 12:02:05 ERROR> GlobalImpl.pm:728 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: dns  at The following modules failed while saving their changes, their state is unknown: dns  at /usr/share/perl5/EBox/GlobalImpl.pm line 728
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x56148e751af8)', 'progress', 'EBox::ProgressIndicator=HASH(0x56148e7142d0)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x56148a592a20)', 'progress', 'EBox::ProgressIndicator=HASH(0x56148e7142d0)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30


Any idea what the fix is for this?



5
Installation and Upgrades / upgrade to 6.2.5 from 6.2.4 chashed server
« on: December 31, 2020, 04:05:36 pm »
I upgraded to 6.2.5 this morning. At first it errored with an apt error about the certificate but I found online where to correct that and ran the update.
Now Zentyal is not running right. I have no GUI, domain control, etc.
The main error I am seeing is in the zentyal.log
Code: [Select]
EBox::WebAdmin::_CAs - Ignoring CA /var/lib/zentyal/conf/remoteservices/subscription/zdomain/cacert.pem: cannot read the file or not is a regular file

I checked the status of each module (zs module status)
The only one that shows as stopped is webadmin.

I am not an expert here but is that not saying that the only issue is the cert file (.pem) is corrupted? and if so can I reissue from CLI or is that anything to do to restore the GUI so I can issue it?


6
Our backup Zentyal server crashed so I will need to build up a replacement.

By default I always reach for the trusty backup, but is that best? We run domain, AD, and DHCP.
Once I set it as an additional controller will it just come up. I know I have to manually copy the GPO's
Is it better to just have a fresh install or go with the backup? Note the secondary server has been down for over a week. If I restore from a backup that was a week old that would restore a 2 week old server.


7
Other modules / Hand copy GPO to backup domain server? [SOLVED]
« on: September 02, 2020, 02:01:32 pm »
I am loosing the fight to get rsync to copy my group policys to our 2nd Zentyal (6.2.3) server.

While I try to get that working is it posible to just copy the GPO's from the main Zentyal and replace the old unupdated ones on the 2nd server?
Would it be that simple to get it working right away?


8
We have 2 Zentyal servers to handle our active directory.
The PDC is on an old work station and I want to get it upgraded to a real server.

Will it be as simple as moving the drive(s) to the new case and fire it off? I have done that with other Linux servers in the past but not sure how it will work on a Zentyal server


Thanks for any info

9
Directory and Authentication / GPO issues (rsync sysval?)
« on: August 10, 2020, 09:26:49 pm »
We have 2 Zentyal domain servers running (Controller and an Additional)
I am trying to work on our Domain Group policy by adding some OU's with their own GPO's.

It does not seem to be working. After hunting online I read that you had to set up Rsync to copy the SysVol files.

Does anyone know if this is correct with version 6.2? I don't want to make things worse!

Here is the site I was sent to;
https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround

10
Other modules / How to use dns to redirect url (youtube.com)?
« on: March 19, 2020, 01:33:34 pm »
I am using 6.1 as my domain AD server. Enabled transparent DNS cache.

What I wouold like to do is redirect anyone who tries to go to youtube.com to one of our servers with a web page that this site is blocked. I know this is sort of easy in window$ DNS manager. How do I do it in Zentyal?

11
I have 3 Zentyal boxes (6.0.1, 5.1.1, 6.0.1) Our main DC crashed and I loaded a new one but it came up also as additional. When I go to change it to the main Domain Controller it says the database will be reprovisioned and all computers will need to rejoin the domain.

Is this true? Will I need to go to every workstation, remove them from the domain, rejoin them? Or is that saying I will need to just reboot them?

Also, promoting it will keep all user accounts correct?

12
I had our main domain server crash when I tried to upgrade to 6.0. I ended up doing a fresh install of 6.0 and setting it as an ADC so now I have my two domain controllers set as Additional.

Is it as simple as changing the new 6.0 to DC and it will keep all the users and computers it collected?

I can't have another 1/2 day down

13
Quick history and what issues we have now:
When our Windows server 2003 crashed I decided to switch to Zentyal to run the domain and Freenas for our files. Because I had to use older PCs I made 3 Zentyal servers to make sure the domain would always be up if one crashed. Most of the time everything works great, but at times some workstations can loose their log in to the raid on the FreeNas when accessing with the host name. They can access fine with the IP if the NAS but need to reboot to get access back. I need to stop or minimize this problem so my thoughts are to move the file storage to a 4th Zentyal. I now have this server (domain4) running, I see all users and groups just as expected and it is time to add the drives for the file shares. I have 4 3t drives I would like to make in to 2 raid1 drives.  How the questions.

1) Is this going to fix my authentication issues?

2) How hard will it be in add a software raid to the box and be able to monitor the health   

14
Installation and Upgrades / 4.1 Conditional forwarding
« on: April 10, 2015, 03:02:14 pm »
I need to be able to set conditional fwds as well.

We have a VPN to another huge company and need to send all calls for web.ABC.com to their DNS server (in fact we have a huge list to fwd).
Right now I am using a linux gateway that was setup before I started and I use vtysh to set them.

I'm not sure if I can use that on Zentyal and even if I can if the entries will stay with updates.
This seems like kinda a basic feature that is on every other gateway I have worked with

Any help?

15
Installation and Upgrades / Backup from command line?[SOLVED]
« on: December 11, 2014, 02:30:01 pm »
I have lost webadmin access from my server. Everything else seems to be working fine.

Is there a way to force a backup from command line so I can do a fresh install and restore from the backup and hope the GUI comes back?

Pages: [1] 2