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.


Messages - jrtaylor

Pages: [1] 2
1
One big thing that I want to note here is that the IDS/IPS system seems to block some of the upgrade. After turning it off almost ALL my problems went away!!! The only thing I still see are these messages.

Code: [Select]
Apr  7 22:31:25 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  7 22:31:26 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  7 22:31:26 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  7 22:31:27 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  7 22:31:28 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  7 22:31:31 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.


2
Still trying to upgrade a system that was installed 6.0 and upgraded to 6.2.x with no problems. I cloned the system and have attempted to upgrade to 7. After a bit I reboot and get stuff like this in the logs.

Code: [Select]
Apr  1 15:32:10 mx1 systemd[1]: Reloading.
Apr  1 15:32:10 mx1 systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Apr  1 15:32:10 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  1 15:32:10 mx1 systemd[1]: /lib/systemd/system/dovecot.service:19: PIDFile= references a path below legacy directory /var/run/, updating /var/run/dovecot/master.pid → /run/dovecot/master.pid; please update the unit file accordingly.
Apr  1 15:32:20 mx1 systemd[1]: Reloading.
Apr  1 15:32:20 mx1 systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Apr  1 15:32:20 mx1 systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr  1 15:32:20 mx1 systemd[1]: /lib/systemd/system/dovecot.service:19: PIDFile= references a path below legacy directory /var/run/, updating /var/run/dovecot/master.pid → /run/dovecot/master.pid; please update the unit file accordingly.


3
Hi,
I have two machines with zentyal 6.2 and I have the offer on the web gui to upgrade to zentyal 7.0, however the process gets stuck on preparing. On both machines I have zentyal core 6.2.3, on web gui there is 6.2.8 suggestion (it redirects to doc page), but I cannot update it even via command line.
Any idea?
Thank you

You have to upgrade to 6.2.8 before attempting to upgrade to 7.0. Make sure you have a backup or snapshot before attempting an upgrade.

4
I tried that command and all I get is :

[0;32m - Checking the zentyal-core version...
 Your system is up to date

It does nothing clicking the button.
The documentation on this is very sparse.
Is there a reference to how to get from 6.2.4 to 6.2.8?

You need to upgrade your 6.2.x to 6.2.8 by using the web interface or command line.

web interface
Software Management--> Zentyal Components--> Update tab
Software Management--> System Updates

command line (this will update both zentyal and system at the same time)
apt update
apt upgrade

5
Removed failed source. Not sure where it came from. The upgrade still failed. I cannot upload the log file. This looks like the problem.

This seems to provide zentyal-ips.

Code: [Select]
apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                               
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                                                                                   
Hit:4 http://packages.zentyal.org/zentyal 7.0 InRelease                                                                                                     
Get:5 http://ppa.launchpad.net/oisf/suricata-stable/ubuntu focal InRelease [17.5 kB]                           
Get:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]                     
Err:5 http://ppa.launchpad.net/oisf/suricata-stable/ubuntu focal InRelease                                                                                                                               
  Connection timed out [IP: 91.189.95.85 80]
Fetched 324 kB in 30s (10.6 kB/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ppa.launchpad.net/oisf/suricata-stable/ubuntu/dists/focal/InRelease  Connection timed out [IP: 91.189.95.85 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

6
Hangs during upgrade.

Code: [Select]
*** Preparing for upgrade to Zentyal 7.0...
+ echo

+ prepareZentyalRepositories
+ wget -qO - keys.zentyal.org/zentyal-7.0-packages.asc
+ sudo apt-key add -
OK
+ '[' -f /etc/apt/sources.list.d/zentyal-archive.list ']'
+ '[' -f /var/lib/zentyal/.commercial-edition ']'
+ sed -ri '/zentyal(.)6.2/d' /etc/apt/sources.list
+ echo 'deb http://packages.zentyal.org/zentyal 7.0 main extra'
+ grep -qR http://ppa.launchpad.net/oisf/suricata-stable/ubuntu /etc/apt/sources.list /etc/apt/sources.list~ /etc/apt/sources.list.d
+ echo 'deb http://ppa.launchpad.net/oisf/suricata-stable/ubuntu focal main'
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D7F87B2966EB736F
Executing: /tmp/apt-key-gpghome.LfsjAz87zp/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys D7F87B2966EB736F

7
Just upgraded from 6.2.8 to 7.0 and the webadmin would not start because of the ssl problem. Ran these and the problem went away.

sudo rm -rf /var/lib/zentyal/conf/ssl
sudo /usr/share/zentyal/create-certificate /var/lib/zentyal/conf/ssl `hostname --fqdn`
sudo systemctl start zentyal.webadmin-nginx.service

Problem not fixed.

Ugdate:

I did have to roll back the upgrade. Lots of stuff did not update and the upgrade had a key error. I have seen this before with other 18.x to 20 upgrades.

8
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.2.29_amd64.deb
sudo dpkg --install --force-downgrade libapt-pkg5.0_1.2.29_amd64.deb

9
Go to Software Management -> Zentyal Components and update from there.

10
Installation and Upgrades / Re: Stuck Upgrading from 5.1.3 to 6.0
« on: December 05, 2018, 07:29:13 pm »
I had something like this happen when upgrading from 5.0 to 6.01. Do a "ps -ef" or "ps -aux" and find the stuck process. In my case zentyal-core package would not finish running "dpkg --configure -a" so I kill the last process in the chain and the upgrade started to finish. I did have to do this several times to get it to finish. After it said the upgrade was done I rebooted the server and ran "sudo dpkg --configure -a" to make sure all the zentyal packages finished.

11
You have to be on the latest 5.x core version before the upgrade button will show up. Yo have have to reboot.

12
Seems that the new packages have install problems. I had the same problem on a new install.

Install the 5.01 Dev iso. When you get to the config wizard DO NOT install anything.

Click the skip button. Complete the wizard by setting up the network. At this point make sure you have a working network in the webadmin and it is enabled before continuing.

After that is done open the console with root privileges.

At the command prompt enter "apt-get autoremove" and let it finish. This will make sure that the system is clean.

Next enter "apt-get install zentyal-firewall" and let it install. Once it is done go to the webadmin and add the firewall rules that you need and save the changes.

Once this is done all the other packages will install.

13
Email and Groupware / Re: Zentyal 5 Spam Filter?
« on: March 12, 2017, 04:03:58 am »

14
Installation and Upgrades / Re: Zentyal 5 DDNS will nopt update
« on: March 09, 2017, 11:20:47 pm »
So after a lot of digging I found the problem. The kerberos ticket is expired under root. As a temp fix I created a cron job that does a kinit every hour.

Code: [Select]

@hourly /usr/bin/kinit --password-file=/root/admin.pass Administrator@TAYLORTELEPHONE.COM

Created a password file that only root can read and put the Administrator password in on a single line.

-rw-------  1 root root      11 Mar  4 09:54 admin.pass


15
Installation and Upgrades / Zentyal 5 DDNS will nopt update
« on: February 27, 2017, 06:36:45 pm »
Fresh install of Zentyal 5. Has current updates as of 2/27/17 am.

Feb 27 11:24:29 zentyal named[28034]: samba_dlz: starting transaction on zone taylordatacom.com
Feb 27 11:24:29 zentyal named[28034]: client 192.168.183.148#57884: update 'taylordatacom.com/IN' denied
Feb 27 11:24:29 zentyal named[28034]: samba_dlz: cancelling transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: starting transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: allowing update of signer=WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM name=WIN10-XEN-TEST1.taylordatacom.com tcpaddr= type=AAAA key=916-ms-7.1-688d.981cf53b-fd11-11e6-d59b-ae4e2acb856e/160/0
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: allowing update of signer=WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM name=WIN10-XEN-TEST1.taylordatacom.com tcpaddr= type=A key=916-ms-7.1-688d.981cf53b-fd11-11e6-d59b-ae4e2acb856e/160/0
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: allowing update of signer=WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM name=WIN10-XEN-TEST1.taylordatacom.com tcpaddr= type=A key=916-ms-7.1-688d.981cf53b-fd11-11e6-d59b-ae4e2acb856e/160/0
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#60272/key WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM: updating zone 'taylordatacom.com/NONE': deleting rrset at 'WIN10-XEN-TEST1.taylordatacom.com' AAAA
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#60272/key WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM: updating zone 'taylordatacom.com/NONE': deleting rrset at 'WIN10-XEN-TEST1.taylordatacom.com' A
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#60272/key WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM: updating zone 'taylordatacom.com/NONE': adding an RR at 'WIN10-XEN-TEST1.taylordatacom.com' A 192.168.183.148
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: added rdataset WIN10-XEN-TEST1.taylordatacom.com 'WIN10-XEN-TEST1.taylordatacom.com.#0111200#011IN#011A#011192.168.183.148'
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: subtracted rdataset taylordatacom.com 'taylordatacom.com.#0113600#011IN#011SOA#011zentyal.taylordatacom.com. hostmaster.taylordatacom.com. 2 900 600 86400 3600'
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: added rdataset taylordatacom.com 'taylordatacom.com.#0113600#011IN#011SOA#011zentyal.taylordatacom.com. hostmaster.taylordatacom.com. 3 900 600 86400 3600'
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: committed transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#61913: update '183.168.192.in-addr.arpa/IN' denied
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#51795/key WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM: updating zone '183.168.192.in-addr.arpa/IN': update failed: rejected by secure update (REFUSED)
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: starting transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#50794: update 'taylordatacom.com/IN' denied
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: cancelling transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: starting transaction on zone taylordatacom.com
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: allowing update of signer=WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM name=WIN10_XEN_TEST1.taylordatacom.com tcpaddr= type=A key=916-ms-7.1-688d.981cf53b-fd11-11e6-d59b-ae4e2acb856e/160/0
Feb 27 11:24:30 zentyal named[28034]: client 192.168.183.148#50711/key WIN10-XEN-TEST1\$\@TAYLORDATACOM.COM: updating zone 'taylordatacom.com/NONE': deleting an RR at WIN10_XEN_TEST1.taylordatacom.com A
Feb 27 11:24:30 zentyal named[28034]: samba_dlz: committed transaction on zone taylordatacom.com

Using domain server:
Name: 192.168.183.240
Address: 192.168.183.240#53
Aliases:

Host 148.183.168.192.in-addr.arpa. not found: 3(NXDOMAIN)


root@zentyal:~# dpkg -l zentyal*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      Architecture                 Description
+++-==============================================-============================-============================-==================================================================================================
ii  zentyal                                        5.0.1                        all                          Zentyal - Core metapackage
ii  zentyal-antivirus                              5.0.1                        all                          Zentyal - Antivirus
ii  zentyal-ca                                     5.0                          all                          Zentyal - Certification Authority
un  zentyal-common                                 <none>                       <none>                       (no description available)
ii  zentyal-core                                   5.0.7                        all                          Zentyal - Core
ii  zentyal-dhcp                                   5.0                          all                          Zentyal - DHCP Server
ii  zentyal-dns                                    5.0.1                        all                          Zentyal - DNS Server
ii  zentyal-firewall                               5.0                          all                          Zentyal - Firewall
ii  zentyal-groupware                              5.0.1                        all                          Zentyal - Mail and Groupware
ii  zentyal-jabber                                 5.0                          all                          Zentyal - Jabber
ii  zentyal-mail                                   5.0.4                        all                          Zentyal - Mail
ii  zentyal-mailfilter                             5.0                          all                          Zentyal - Mail Filter
ii  zentyal-network                                5.0.5                        all                          Zentyal - Network Configuration
ii  zentyal-ntp                                    5.0                          all                          Zentyal - NTP Service
un  zentyal-objects                                <none>                       <none>                       (no description available)
un  zentyal-openchange                             <none>                       <none>                       (no description available)
ii  zentyal-openvpn                                5.0                          all                          Zentyal - VPN
ii  zentyal-samba                                  5.0.4                        all                          Zentyal - Domain Controller and File Sharing
un  zentyal-services                               <none>                       <none>                       (no description available)
ii  zentyal-software                               5.0.1                        all                          Zentyal - Software Management
ii  zentyal-sogo                                   5.0.1                        all                          Zentyal - Web Mail
ii  zentyal-squid                                  5.0.1                        all                          Zentyal - HTTP Proxy
root@zentyal:~# dpkg -l bind*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      Architecture                 Description
+++-==============================================-============================-============================-==================================================================================================
un  bind                                           <none>                       <none>                       (no description available)
ii  bind9                                          1:9.10.3.dfsg.P4-8ubuntu1.5  amd64                        Internet Domain Name Server
un  bind9-doc                                      <none>                       <none>                       (no description available)
ii  bind9-host                                     1:9.10.3.dfsg.P4-8ubuntu1.5  amd64                        Version of 'host' bundled with BIND 9.X
ii  bind9utils                                     1:9.10.3.dfsg.P4-8ubuntu1.5  amd64                        Utilities for BIND
root@zentyal:~# dpkg -l dhcp*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      Architecture                 Description
+++-==============================================-============================-============================-==================================================================================================
un  dhcp                                           <none>                       <none>                       (no description available)
un  dhcp-client                                    <none>                       <none>                       (no description available)
un  dhcp3-client                                   <none>                       <none>                       (no description available)
un  dhcpcd                                         <none>                       <none>                       (no description available)
root@zentyal:~# dpkg -l samba*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      Architecture                 Description
+++-==============================================-============================-============================-==================================================================================================
ii  samba                                          2:4.5.4+dfsg-1ubuntu1        amd64                        SMB/CIFS file, print, and login server for Unix
un  samba-ad-dc                                    <none>                       <none>                       (no description available)
ii  samba-common                                   2:4.5.4+dfsg-1ubuntu1        all                          common files used by both the Samba server and client
ii  samba-common-bin                               2:4.5.4+dfsg-1ubuntu1        amd64                        Samba common files used by both the server and the client
un  samba-doc                                      <none>                       <none>                       (no description available)
ii  samba-dsdb-modules                             2:4.5.4+dfsg-1ubuntu1        amd64                        Samba Directory Services Database
ii  samba-libs:amd64                               2:4.5.4+dfsg-1ubuntu1        amd64                        Samba core libraries
un  samba-tools                                    <none>                       <none>                       (no description available)
ii  samba-vfs-modules                              2:4.5.4+dfsg-1ubuntu1        amd64                        Samba Virtual FileSystem plugins
un  samba4                                         <none>                       <none>                       (no description available)
un  samba4-common                                  <none>                       <none>                       (no description available)
un  samba4-common-bin                              <none>                       <none>                       (no description available)


Pages: [1] 2