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 - doncamilo

Pages: 1 ... 4 5 [6] 7 8 ... 32
76
Installation and Upgrades / Re: Zentyal update failed, not boot.
« on: September 10, 2020, 06:14:07 pm »
Hello, can you tell me what you changed or how the server restarted, I have the same problem and can't get any further. Thank you very much in advance.

Greeting Mathias

 :)

Can you see the grub splash screen? If you can't you'll have to use a Linux LiveCD in order to debug. Tell me if you need some more help.

Cheers!

77
Other modules / Re: accessing zentyal sbs remotely from windows pcs
« on: September 10, 2020, 06:01:27 pm »
 :)

If your issue is that you have to logon to the domain through the internet, I recommend you use the Zentyal OpenVPN module. I think that it will improve the security of your DC and will fix your issue.

Read this: https://doc.zentyal.org/en/vpn.html#virtual-private-network-vpn-service-with-openvpn It's really easy to configure and deploy it.

Cheers!

78
Spanish / Re: Migración de Correos a un nuevo servidor
« on: September 09, 2020, 06:01:02 pm »
 :)

Para los grupos y usuarios:

Si tu servidor es una versión 6.1 o posterior mira ésto https://doc.zentyal.org/es/directory.html#importacion-y-exportacion-de-usuarios-y-grupos

Se trata de los scripts:

  • /usr/share/zentyal-samba/groups-export.pl
  • /usr/share/zentyal-samba/groups-import.pl
  • /usr/share/zentyal-samba/users-import.pl
  • /usr/share/zentyal-samba/users-export.pl[\li]
Si tu versión es anterior, aún podrás hacerlos funcionar. Descárgalos desde el github de zentyal en la carpeta /usr/share/zentyal-samba. por ejemplo:

Code: [Select]
sudo su -
cd /usr/share/zentyal-samba
wget https://raw.githubusercontent.com/zentyal/zentyal/master/main/samba/src/scripts/users-export.pl
chmod u+x users-export.pl
./users-export.pl usuarios.csv

El fichero usuarios.csv debería albergar los datos necesarios para el script users-import.pl que debe ser utilizado en el nuevo servidor con el archivo usuarios.csv del viejo.

Según qué versión tengas es posible que el script arroje un error acerca del módulo TryCatch. Entonces usa este comando:

Code: [Select]
# En la misma carpeta  /usr/share/zentyal-samba y como root
sed -i 's/use TryCatch;/#use TryCatch;/' users-export.pl

Ya puedes volver a ejecutarlo.

Con el script de groups-export.pl haz las mismas operaciones (los otros dos no los necesitas en la máquina vieja)

Continuará...

Salud.




79
Portuguese / Re: Conexão PPPoe
« on: September 08, 2020, 06:26:34 pm »
 :)

Si su configuración PPPoE es correcta, este comando debería reiniciar su módulo de red.

Code: [Select]
sudo zs network restart
Pegue aquí su configuración PPPoE (quitando contraseñas e ips, etc) si cree que podría ser incorrecta.

Su archivo /var/log/zentyal/zentyal.log contiene seguramente mucha información útil para examinar este problema.

¡Salud!

80
Other modules / Re: Hand copy GPO to backup domain server? [SOLVED]
« on: September 08, 2020, 04:22:20 pm »
 :)

Thank you kcurtis,

I like to meet some command line lovers here!

If you need some help with the sysvol rsync workaround I could help you.

Cheers!

81
Installation and Upgrades / Re: Update log file location
« on: September 07, 2020, 02:19:12 pm »
 :)

The postinst script of the zentyal-dns packages only invoques the /usr/share/zentyal/initial-setup script, restart the dns module and invoques dpkg-trigger to zentyal-core. Check your /var/log/zentyal/zentyal.log It has probably logged the issue that prevents your system to configure the dns package.

Cheers!

82
Directory and Authentication / Re: GPO issues (rsync sysval?)
« on: August 17, 2020, 10:43:39 am »
 :)

Code: [Select]
sudo find / -iname sysvol -type d
...
/var/lib/samba/sysvol

In general, if you have to search in the filesystem tree, use the find command: https://danielmiessler.com/study/find/

Cheers!


83
 :)

Don't worry, all the sysadmins have had these experiences. Good sysadmins are those who learn from them.

Try to restart all the services:

Code: [Select]
sudo su -
services=(network dns samba mail clamav mailfiter sogo)
for service in "${services[@]}";do zs $service restart;done;

If this doesn't fix your issues, paste here the "/var/log/zentyal/zentyal.log" records regarding these modules (sanityze them, could contain private data)

cheers!


84
Directory and Authentication / Re: GPO issues (rsync sysval?)
« on: August 11, 2020, 02:46:46 pm »
 :)

Yes, it's the officially proposed workaround. It doesn't depends on the samba4 version.

PS: Bear in mind that it isn't a bi-directional solution. Only one of the sysvol is synchronized in the rest of the sysvols, so, the GPOs have to be ever created in the "one" domain controller.

Cheers!

85
Installation and Upgrades / Re: Restore fails on new server
« on: August 10, 2020, 01:54:08 pm »
 :)

Did you check the disk from a Ubuntu LiveCD? Run this:

Code: [Select]
sudo fdisk -l

Cheers!

86
 :)

The key points is here:

Code: [Select]
sudo systemctl status clamav-daemon.service
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
           └─extend.conf
   Active: inactive (dead)
Condition: start condition failed at Mon 2020-08-10 13:37:24 CEST; 6s ago
           └─ ConditionPathExistsGlob=/var/lib/clamav/main.{c[vl]d,inc} was not met
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/

Run these commands:

Code: [Select]
# because "ConditionPathExistsGlob=/var/lib/clamav/main.{c[vl]d,inc} was not met"
sudo freshclam
# enable and start the daemon
sudo systemctl start clamav-daemon.service
sudo systemctl enable clamav-daemon.service

Check your amavis system, for instance by sending the EICAR https://www.eicar.org/?page_id=3950

Cheers!

87
 :)

Your logs show that could be SOGo the module which is throwing the errors.  Bind9 is the DNS server, but you need information about the amavis, postfix and dovecot services.

Code: [Select]
sudo systemctl status dovecot
sudo systemctl status postfix
sudo systemctl status amavis
sudo systemctl status sogo

Probably, the last command will throw an error saying you to check this service with "journalctl..." do it, and paste here the output.

Cheers!


88
Other modules / Re: Signing a CSR?
« on: August 07, 2020, 12:41:20 pm »
 :)

If you need to generate a CSR for an external CA, you have to use the openssl command line instead of your Zentyal CA. Here you have an useful tutorial https://www.tecmint.com/generate-csr-certificate-signing-request-in-linux/

Bear in mind that you have to store the private key in a secure location. This is an useful book with some free on-line chapters https://www.feistyduck.com/library/openssl-cookbook/online/

Cheers!


89
 :)

Correct, you don't have broken packages. It means your problem isn't the bug that was detected and fixed in this thread.

You'll have to study your logs. The first log you should check is '/var/log/zentyal/zentyal.log'. Check the status of the services through 'zs' and 'systemctl' too.

Cheers!

90
Installation and Upgrades / Re: error updating zentyal-core
« on: August 04, 2020, 04:04:35 pm »
 :)

You shouldn't upgrade your Zentyal server from the command line (it's possible, but Zentyal uses some special options as Dpkg::Options:="--force-confdef" Dpkg::Options:="--force-confold" which modify the behavior of apt. If you want  learn about this, read your /var/log/apt/history.log files) Use the "software Management" module instead.

In your case, zentyal-core post-installation script throws an error. It can't connect to the MySQL server ( MySQL server is one of the most annoying dependencies in the zentyal-core package :P)

So you have to fix your MySQL server in order to fix your zentyal-core package.

First, you have to check if the MySQL server is running:

Code: [Select]
root@kh:~# systemctl status mysql
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: en
   Active: active (running) since Tue 2020-08-04 15:37:43 CEST; 12min ago
 Main PID: 849 (mysqld)
    Tasks: 32 (limit: 4678)
   CGroup: /system.slice/mysql.service
           └─849 /usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid

ago 04 15:37:29 kh systemd[1]: Starting MySQL Community Server...
ago 04 15:37:43 kh systemd[1]: Started MySQL Community Server.

If this mysql service is down try starting it:

Code: [Select]
sudo systemctl start mysql
# check the service an other time to be sure that the MySQL is running

You can see the UNIX socket used by MySQL this way:

Code: [Select]
zenadmin@kh:~$ ss -unix | grep mysql
u_str ESTAB  0        0                      /var/run/mysqld/mysqld.sock 26047                                            * 24943 

PS: the command needed to configure an half-configured package is:

Code: [Select]
sudo dpkg --configure <package-name>

Let me know if you need some more detailed help.  ;)

Cheers!




Pages: 1 ... 4 5 [6] 7 8 ... 32