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

Pages: [1] 2 3
1
Installation and Upgrades / Re: can't log in Webadmin
« on: September 30, 2021, 03:06:26 pm »
Nice tip, thanks

2
Installation and Upgrades / Re: Stuck Upgrading from 5.1.3 to 6.0
« on: September 22, 2021, 08:24:24 pm »
dpkg -l | egrep -v '^(ii|rc)'

>> conflicto con samba
systemctl stop smbd
systemctl stop nmbd
systemctl stop winbind
apt-get purge zentyal-openchange                  
dpkg --configure -a      SI Resuelve (SOLVED)                  
systemctl disable smbd
systemctl disable nmbd
      
-> 6.1 Dev   6.1.6   18.04.5   LTS OK
-> 6.2 Dev   6.2.4   18.04.5   LTS OK

3
Installation and Upgrades / Re: Stuck Upgrading from 5.1.3 to 6.0
« on: September 22, 2021, 08:06:12 pm »
Hi all, trying to help
copy here my notes in spanish [ 07:00 jueves, ‎19‎ de ‎noviembre‎ de ‎2020 ]

Restaurar backup 5.1 x64   OK (Restore Backup)
Restauración Exitosa

INFO> Backup.pm:1224 EBox::Backup::restoreBackup - Restore successful

Salvar   (Save)
ERROR> GlobalImpl.pm:727 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 727
Error restarting service: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY
Reboot

kinit -k -t /var/lib/samba/private/dns.keytab dns-z51
tail -f /var/log/zentyal/zentyal.log
ERROR> Service.pm:967 EBox::Module::Service::restartService - root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: Password has expired
dns-z51@EMPRESA.COM.PY's Password:
 
# samba-tool user setexpiry dns-z51 --noexpiry

Ejecutar a mano
# kinit -k -t /var/lib/samba/private/dns.keytab dns-z51
No arrojó ningún error
El módulo DNS se ha reiniciado correctamente

Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente

Genera error de DNS al cambiar IP
ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY

Reboot               
Error restarting service: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY

Web GUI
Estado de los módulos
Detener DNS
Iniciar DNS
Dashboard
Reiniciar módulo DNS
El módulo DNS se ha reiniciado correctamente

Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente

-> 6.0 Dev   6.0.3   18.04.5   LTS
tail -f /var/log/zentyal/upgrade.log   14:29 - 14:57
      
Zentyal upgrade finished! Please restart your server now.

Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente

-> 6.1 Dev   6.1.6   18.04.5   LTS
tail -f /var/log/zentyal/upgrade.log   15:01 - 15:03

*** Zentyal upgrade finished! Please restart your server now.

Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente

-> 6.2 Dev   6.2.4   18.04.5   LTS
tail -f /var/log/zentyal/upgrade.log   15:08 - 15:11
         
cat /etc/apt//sources.list.d/zentyal-packages.list
## deb http://packages.zentyal.org/zentyal 6.1 main extra
         
*** Zentyal upgrade finished! Please restart your server now.

Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente

I hope this is help

4
Installation and Upgrades / Re: can't log in Webadmin
« on: September 22, 2021, 01:49:00 pm »
Hi all,
I think i have the same problem

My test server is a zentyal 6.2 upgraded to 7.0

Error inserting data: INSERT INTO audit_sessions ( `timestamp`, `event`, `username`, `ip`) VALUES ( ?, ?, ?, ?) Values: $VAR1 = [ '2021-9-20 10:47:40', 'expired', 'administrador', 3232235777 ]; at /usr/share/perl5/EBox/MyDBEngine.pm line 289

I think this is related to logging msg to/from MySQL

I have disabled LOG in zentyal, for a couple of days, NO errors.

Today i have enabled them again, an got this error

DBD::mysql::st execute failed: The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior. at /usr/share/perl5/EBox/MyDBEngine.pm line 281

Any help will be welcomed

5
Hi all
I've working with Zentyal Commercial Edition, testing Block HTTPS sites.
This is quite simple in Zentyal 7.0.4. Tested Windows 10 x64 Desktop, and notebooks, users can't access sites like facebook, youtube, netflix, using squid proxy filter and profiles.
I don't get error messages, like HTTP, because of HTTPS encapsulation. But, that is OK, for now, thansparent proxy works OK. My user can't open youtube in a particular time frame.

The real deal is Mobile Phones, this is a pain in the a. . . Googling i've found that android browsers use something called DoH, DNS over HTTPS. I can disable this option in Edge, Chrome, Firefox, Opera, in Windows Desktops. Mobiles ?, NOP. Mobile browsers use their own DNS configuration, DoH, they connect to specific DoH server, public servers.

Any experience blocking DoH servers using Zentyal Firewall ?

Thanks in advance

Regards, Saludos

6
Hi, Hola Daniel

Now is OK

root@zserver:~# unlink /etc/apparmor.d/disable/usr.sbin.dhcpd

root@zserver:~# apparmor_parser -r /etc/apparmor.d/usr.sbin.dhcpd

root@zserver:~# aa-status
apparmor module is loaded.
5 profiles are loaded.
5 profiles are in enforce mode.
   /usr/bin/freshclam
   /usr/sbin/dhcpd
   /usr/sbin/mysqld
   /usr/sbin/named
   /usr/sbin/ntpd
0 profiles are in complain mode.
3 processes have profiles defined.
2 processes are in enforce mode.
   /usr/sbin/named (1702)
   /usr/sbin/ntpd (2079)
0 processes are in complain mode.
1 processes are unconfined but have a profile defined.
   /usr/sbin/mysqld (868)
root@zserver:~#

root@zserver:~# dpkg --configure -a
Configurando zentyal-dhcp (7.0.2) ...
 * Restarting Zentyal module: dhcp                                                                                                                                                             [ OK ]
Procesando disparadores para zentyal-core (7.0.3) ...
 * Restarting Zentyal module: webadmin                                                                                                                                                         [ OK ]
 * Restarting Zentyal module: logs                                                                                                                                                             [ OK ]
root@zserver:~#

Now everything is fine.

Two servers have the same simptom

Same problem, SOLVED

Thanks for your help, Gracias por tu ayuda.

7
Hi, Hola

The file exists

08:06:13 > ls -la /etc/apparmor.d/usr.sbin.dhcpd
-rw-r--r-- 1 root root 1838 abr 10  2020 /etc/apparmor.d/usr.sbin.dhcpd

File permissions are OK

Anyway, what i did

> mv /etc/apparmor.d/usr.sbin.dhcpd . (my HOME)

Created a new one
> vim /etc/apparmor.d/usr.sbin.dhcpd

Set permission
> chmod 0644 /etc/apparmor.d/usr.sbin.dhcpd

Set owner and group
chown root:root /etc/apparmor.d/usr.sbin.dhcpd

> unlink /etc/apparmor.d/disable/usr.sbin.dhcpd

 > dpkg --configure -a

Same result

apparmor_parser: Unable to remove "/usr/sbin/dhcpd".  Profile doesn't exist

Thanks !, Gracias !

8
13:26:11 > rm /etc/apparmor.d/disable/usr.sbin.dhcpd

13:26:29 > dpkg --configure -a
Configurando zentyal-dhcp (7.0.2) ...
 * Restarting Zentyal module: dhcp                                                                                                                                                             [ OK ]
apparmor_parser: Unable to remove "/usr/sbin/dhcpd".  Profile doesn't exist
dpkg: error al procesar el paquete zentyal-dhcp (--configure):
 el subproceso instalado paquete zentyal-dhcp script post-installation devolvió el código de salida de error 254
Procesando disparadores para zentyal-core (7.0.3) ...
 * Restarting Zentyal module: webadmin                                                                                                                                                         [ OK ]
 * Restarting Zentyal module: logs                                                                                                                                                             [ OK ]
Se encontraron errores al procesar:
 zentyal-dhcp

I dont know what is error 254

Zenks

9
Hi guys, any idea what is going on ?

Thanks before hand

10:36:55 > aptitude upgrade -y;
Se configurarán los siguientes paquetes que están ahora parcialmente instalados:
  zentyal-dhcp
No se instalará, actualizará o eliminará ningún paquete.
0 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B.
Configurando zentyal-dhcp (7.0.2) ...
 * Restarting Zentyal module: dhcp                                                                                                                                                             [ OK ]
ln: failed to create symbolic link '/etc/apparmor.d/disable/usr.sbin.dhcpd': File exists
dpkg: error al procesar el paquete zentyal-dhcp (--configure):
 el subproceso instalado paquete zentyal-dhcp script post-installation devolvió el código de salida de error 1
Procesando disparadores para zentyal-core (7.0.3) ...
 * Restarting Zentyal module: webadmin                                                                                                                                                         [ OK ]
 * Restarting Zentyal module: logs                                                                                                                                                             [ OK ]
Se encontraron errores al procesar:
 zentyal-dhcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Configurando zentyal-dhcp (7.0.2) ...
 * Restarting Zentyal module: dhcp                                                                                                                                                             [ OK ]
ln: failed to create symbolic link '/etc/apparmor.d/disable/usr.sbin.dhcpd': File exists
dpkg: error al procesar el paquete zentyal-dhcp (--configure):
 el subproceso instalado paquete zentyal-dhcp script post-installation devolvió el código de salida de error 1
Procesando disparadores para zentyal-core (7.0.3) ...
 * Restarting Zentyal module: webadmin                                                                                                                                                         [ OK ]
 * Restarting Zentyal module: logs                                                                                                                                                             [ OK ]
Se encontraron errores al procesar:
 zentyal-dhcp

This is a virtual machine, zentyal 5 upgraded to 6.2 upgraded to 7.0

My VM Zentyal 7.0 installed brand new, no problem at all

Thanks, Regards

10
Thank you, it worked !

11
Installation and Upgrades / Re: Zentyal 5/6 Lxdm Login Page Change
« on: December 12, 2018, 02:35:18 pm »
Hi all,

This what i did

Edit lxdm configuration file

cat /etc/lxdm/default.conf

Change this line

bg=/usr/share/backgrounds/background.jpg

Restart lxdm daemon
systemctl restart zentyal.lxdm.service

Download a PIC to use as background
wget https://cdn.hipwallpaper.com/i/86/48/HugvwJ.jpg -O /home/administrador/HugvwJ.jpg

Change this file as i wanted
I want to see IP address of this server at login screen
convert -font "/usr/share/fonts/truetype/ubuntu/Ubuntu-M.ttf" -pointsize 36 -fill yellow -draw "text 640,150 '192.168.0.246'" /home/administrador/DYBfT7.png /home/administrador/BGDYBfT7.png

Copy this new Background file to its place
cp /home/administrador/BGDYBfT7.png /usr/share/backgrounds/background.jpg -f

systemctl restart zentyal.lxdm.service

From now on, i can see my new background an my Server IP Address at login screen

Thanks, regards
Saludos

12
Installation and Upgrades / Zentyal 5/6 Lxdm Login Page Change
« on: December 11, 2018, 07:00:10 pm »
HI all

Is there any way to Zentyal 5/6 Lxdm Login Page Personalization ?

At login : Console i wanted to see N#1 o N#2 to identify servers

Thanks and regards

13
Installation and Upgrades / Zentyal 6.0 + Transparent Proxy
« on: October 31, 2018, 08:34:21 pm »
HI all,

I'm doing a fresh install of  Zentyal 6.0 with a Transpatent Prxoy and i'm getting this error

Proxy HTTP
Configuración General
[X] Proxy Transparente

Puerto  :  3128
Tamaño de los ficheros de cáche (MB)  [2048]
[Cambiar]

Summit Changes

Can't locate object method "throw" via package "Can't call method "value" on an undefined value at /usr/share/perl5/EBox/Squid/Model/GeneralSettings.pm line 111. " (perhaps you forgot to load "Can't call method "value" on an undefined value at /usr/share/perl5/EBox/Squid/Model/GeneralSettings.pm line 111. "?) at /usr/share/perl5/EBox/Model/DataTable.pm line 1367. ...propagated at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 232.

Any ideas ?  Thanks

Regards / Saludos

14
Installation and Upgrades / Re: Samba share is not visible in lan
« on: May 24, 2018, 08:26:36 pm »
Thanks por previous posts

This is what i did

For Zentyal 4.x
# update-rc.d nmbd defaults
# /etc/init.d/nmbd start
# /etc/init.d/nmbd status

For Zentyal 5.x
# systemctl enable nmbd.service
# systemctl start nmbd.service
# systemctl status nmbd.service

Reboot, it works

Regards, Saludos

15
Spanish / Problemas al cargar Registro TXT DKIM Zentyal 5.0.10
« on: January 17, 2018, 05:53:51 pm »
Buenas a todos

Estoy probando cargar los registros de DNS TXT de tipo SPF y DKIM a un Zentyal 5.0.10 actualizado al 2018-01-17

El registro es el siguiente

El error que arroja en /var/log/zentyal/zentyal.log:

2018/01/17 11:54:09 ERROR> Service.pm:964 EBox::Module::Service::restartService - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/MdpZGIU_Xe failed.

2018/01/17 11:54:09 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/MdpZGIU_Xe failed.
Error output: 17-Jan-2018 11:54:09.813 dns_rdata_fromtext: buffer-0x7f128b1bb590:1: near '"v=DKIM1': syntax error
 invalid rdata format: syntax error
 syntax error

Command output: .
Exit value: 1

No tengo idea de cual sea el error de sintexis,

Mirando el archivo /var/lib/zentyal/tmp/MdpZGIU_Xe  :

Estas son las lineas en cuestión :

El Registro de tipo SPF se carga y el servicio de DNS funciona sin problemas

update add mycompany.com.py. 259200 TXT "v=spf1 include:spf.os-ns.com ip4:199.99.99.99 ip4:199.99.99.99 a:mailpro.xcloud.com.py a:mail.mycompany.com.py mx:mycompany.com.py ~all"

El siguiente es uno de tipo DKIM

update add mycompany.com.py. 259200 TXT "v=DKIM1; g=*; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy8RucePKt/TVS7p65/ZwZ4lrFBr0Ov65VJroFCJhNS+e+NR3RoWy/nNpNiGCay0N55ymsbSfKTlAa1JGfRjFr6IHM1CCj6OrtjLPmxJ9jMOZkA7eP+x6k6R6lZErg2rj1+Me2/HRiqo4FAvRgdE8FT3XecsxK5ArFIAIezLA7UW4rolG1JpLBZu56lSHafuqF+3MCGX98W0q/TJb34nlXdx7nON9YvgU+Gzh3i89G3mWw91gNAANesc88pr334aFi5zvFbvwKJv0Y+ntMPpp8HdvooEdjqrsGY8SEJUK/EkMWnVqr+NC9GFZL9R3tV2txDWyuWu5j5LF0iVNoV6V7QIDAQAB"

Zentyal puede manejar este tipo de registros del DNS?,

Necesito que mi servidor de correo pueda verificar ern el servidor de DNS (este zentyal) que la firma DKIM esta cargada

Alguna ayuda será bienvenida

Gracias de antemano

Pages: [1] 2 3