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

Pages: [1] 2 3 4
1
hi
#wget -T 15 -q --spider https://google.com
#echo $?
#8  This is the result

2
hi

Please help me to solve the following error DNS EXTERNAL updating 7.0.9 to 7.1


# bash -x /usr/share/zentyal/release-upgrade
+ SOURCES=/etc/apt/sources.list
+ UPGRADE_FILE=/var/lib/zentyal/.upgrade-finished
++ lsb_release -c
++ awk '{print $2}'
+ CURCODE=focal
+ DSTCODE=focal
++ dpkg -l
++ grep zentyal-core
++ awk '{print $3}'
++ cut -d. -f1
+ CURMAJORV=7
++ dpkg -l
++ grep zentyal-core
++ awk '{print $3}'
++ cut -d. -f2
+ CURMINORV=0
++ wget --quiet -O - http://update.zentyal.org/update-from-7.0.txt
++ cut -d. -f1
+ DESTMAJOR=7
++ wget --quiet -O - http://update.zentyal.org/update-from-7.0.txt
++ cut -d. -f2
+ DESTMINOR=1
+ CURRV=7.0
+ DESTV=7.1
+ ZEN_KEYS_URL='
https://keys.zentyal.org/zentyal-7.1-packages-org.asc
https://keys.zentyal.org/zentyal-7.1-packages-com.asc
'
+ IPS_KEY_ID=D7F87B2966EB736F
+ RED='\033[0;31m'
+ GREEN='\033[0;32m'
+ YELLOW='\033[1;33m'
+ NC='\033[0m'
++ tput bold
+ BOLD=''
++ tput sgr0
+ NORM=''
+ echo

+ echo -e '\033[0;32m Doing some initial checks...\033[0m'
 Doing some initial checks...
+ echo

+ [[ 0 -eq 1 ]]
+ prepareUpgrade
+ checkifupgrade
+ echo -e '\033[0;32m - Checking if there is a Zentyal upgrade available...\033[0m'
 - Checking if there is a Zentyal upgrade available...
+ [[ -z 7 ]]
+ [[ -z 1 ]]
+ echo -e '\033[0;32m...OK\033[0m'
...OK
+ echo

+ checkZentyalVersion
+ echo -e '\033[0;32m - Checking the version of Zentyal...\033[0m'
 - Checking the version of Zentyal...
+ '[' 7 -gt 7 ']'
+ '[' 7 -gt 7 ']'
+ '[' 0 -gt 1 ']'
+ '[' 0 -eq 1 ']'
+ echo -e '\033[0;32m...OK\033[0m'
...OK
+ echo

+ checkUbuntuVersion
+ echo -e '\033[0;32m - Checking the version of Ubuntu...\033[0m'
 - Checking the version of Ubuntu...
+ '[' focal '!=' focal ']'
+ echo -e '\033[0;32m...OK\033[0m'
...OK
+ echo

+ checkIfCommercial
+ echo -e '\033[0;32m - Checking if the server is a Commercial edition...\033[0m'
 - Checking if the server is a Commercial edition...
+ '[' -f /var/lib/zentyal/.commercial-edition ']'
+ echo -e '\033[1;33m   Zentyal Development edition\033[0m'
   Zentyal Development edition
+ echo -e '\033[0;32m...OK\033[0m'
...OK
+ echo

+ checkInternetAccess
+ echo -e '\033[0;32m - Checking if there external DNS resolution...\033[0m'
 - Checking if there external DNS resolution...
+ wget -T 15 -q --spider https://google.com
+ '[' 8 -ne 0 ']'
+ echo -e '\033[0;31m   Your server does not have external DNS resolution...\033[0m'
  Your server does not have external DNS resolution...
+ exit 130

----------------
#nslookup google.com
Server:      127.0.0.1
Address:   127.0.0.1#53

Non-authoritative answer:
Name:   google.com
Address: 142.250.217.174
Name:   google.com
Address: 2607:f8b0:4008:80a::200e


ping PING google.com (142.250.217.174) 56(84) bytes of data.
64 bytes from mia07s60-in-f14.1e100.net (142.250.217.174): icmp_seq=1 ttl=112 time=51.9 ms
64 bytes from mia07s60-in-f14.1e100.net (142.250.217.174): icmp_seq=2 ttl=112 time=51.9 ms

Thx

3
Installation and Upgrades / Error output: kinit: Password incorrect
« on: January 27, 2022, 04:32:22 pm »
hello community

I have the following error. where could I look to correct it,
greetings

########
## DNS Errors on log file
########

Error output: kinit: Password incorrect

--
2021/12/23 09:37:19 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command kinit -k -t /var/lib/samba/private/dns.keytab dns-zentyalplc failed.
Error output: kinit: Password incorrect

--
Exit value: 1 at root command kinit -k -t /var/lib/samba/private/dns.keytab dns-zentyalplc failed.
Error output: kinit: Password incorrect

4
Installation and Upgrades / error samba
« on: April 23, 2021, 04:14:49 pm »
Hello Community

Zentyal 7.0.3.

I have the following error to the restart the samba module sought in the forum and I have not been able to solve the problem
 * Restarting Zentyal module: samba                                                                                                          [fail]
root@zentyalplc:/# tail -f /var/log/zentyal/zentyal.log
2021/04/23 10:10:53 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
2021/04/23 10:10:53 ERROR> Service.pm:971 EBox::Module::Service::restartService - Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
 at Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
 at /usr/share/perl5/EBox/Module/Service.pm line 971
EBox::Module::Service::restartService('EBox::Samba=HASH(0x5591da249d60)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('samba', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 247
EBox::Util::Init::moduleRestart('samba') called at /usr/bin/zs line 62
main::main at /usr/bin/zs line 82
2021/04/23 10:10:55 INFO> SyncDaemon.pm:340 EBox::Samba::SyncDaemon::run - Samba sync daemon started
*
Rafael

5
Spanish / error al restart samba
« on: April 23, 2021, 04:12:33 pm »
hola comunidad
zentyal 7.0.3
tengo el siguiente error al restart el modulo samba .he buscado en el forum y no he podido solucionar el problema

* Restarting Zentyal module: samba                                                                                                          [fail]
root@zentyalplc:/# tail -f /var/log/zentyal/zentyal.log
2021/04/23 10:10:53 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
2021/04/23 10:10:53 ERROR> Service.pm:971 EBox::Module::Service::restartService - Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
 at Could not get ticket: could not acquire credentials using an initial credentials context: Preauthentication failed
 at /usr/share/perl5/EBox/Module/Service.pm line 971
EBox::Module::Service::restartService('EBox::Samba=HASH(0x5591da249d60)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('samba', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 247
EBox::Util::Init::moduleRestart('samba') called at /usr/bin/zs line 62
main::main at /usr/bin/zs line 82
2021/04/23 10:10:55 INFO> SyncDaemon.pm:340 EBox::Samba::SyncDaemon::run - Samba sync daemon started

le agradesco su ayuda
Rafael

6
Installation and Upgrades / Re: error mail upgrade 6 to 7 version
« on: March 29, 2021, 09:00:17 pm »
Hi
thanks for your quick response

samba-tool user list | grep 'zentyal-mail-'

The USER Zentyal-Mail-Zentyalplc P does not exist as it should occur and the ZS mail can not generate
As you could recreate user manually, by Jxplorer and samba-tool try to generate it and it tells me that I do not have permissions to create.

Try reinstalling the Mail module and generated me the same error mentioned above.

Best regards, havacuban

7
Hi
I have problems with the Mail to Restart Module Service gives me the following error after upgrade 6 to 7
zentyal 7.0.3
module mail 7.0.1
zentyal pdc

 error * Restarting Zentyal module: mail                                                                                                                               [fail]
Error en la creaci�n de entrada de LDAP: The request contains a value which does not meet with certain constraints.
This result can be returned as a consequence of

 * The request was to add or modify a user password, and the password fails to
meet the criteria the server is configured to check. This could be that the
password is too short, or a recognizable word (e.g. it matches one of the
attributes in the users entry) or it matches a previous password used by
the same user.

 * The request is a bind request to a user account that has been locked
.<br/> Operation parameters:'add []
'
Best regards, havacuban

-----------------SOLVED--------------------------
The issue was the rIDNextRID in samba update.
just modified that value whit
ldbedit -H /var/lib/samba/private/sam.ldb CN="RID Set"
and restart samba-ad-dc service

8
Installation and Upgrades / Re: error proxy upgrade 6.2 to 7
« on: March 29, 2021, 05:10:16 pm »
Hi
Resolved the problem :
 Jxplorer to the LDAP tree and delete the user Zentyal-Squid-ZentyalPLCB.
 restart the squid
module squid status ok

9
Installation and Upgrades / Re: error proxy upgrade 6.2 to 7
« on: March 29, 2021, 04:14:27 pm »
Hi,

These are the outputs

zentyalplcb

dns-ZENTYALPLCB

Best regards, havacuban

10
Installation and Upgrades / error proxy upgrade 6.2 to 7
« on: March 26, 2021, 11:06:25 pm »
 
Hello
I have the following error in the log output
zentyal 7.0.3
HTTP Proxy 7.0.2
 Additional Controller of an existing domain

* Restarting Zentyal module: squid                                                                                [fail]
root command samba-tool group addmembers 'Domain Admins' zentyal-squid-zentyalplcb failed.
Error output: ldb_wrap open of secrets.ldb
 string_to_sid: SID zentyal-squid-zentyalplcb is not in a valid format
 ERROR(ldb): Failed to add members "zentyal-squid-zentyalplcb" to group "Domain Admins" - Attribute member already exists for target GUID e77c12ea-511e-4e12-977b-811024e77d75
   File "/usr/lib/python3/dist-packages/samba/netcmd/group.py", line 245, in run
     samdb.add_remove_group_members(groupname, groupmembers,
   File "/usr/lib/python3/dist-packages/samba/samdb.py", line 320, in add_remove_group_members
     self.modify_ldif(addtargettogroup)
   File "/usr/lib/python3/dist-packages/samba/__init__.py", line 241, in modify_ldif
     self.modify(msg, controls)

Command output: .
Exit value: 255
regards

11
Installation and Upgrades / Re: upgrade 6.2 to 7.0 - CA problem
« on: March 20, 2021, 06:04:09 pm »
Hello
I keep the problem
Zentyal-CA 7.0.1

Error desconocido. Se ofrece la salida de OpenSSL: Can't load /var/lib/zentyal/.rnd into RNG 140351545197888:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:98:Filename=/var/lib/zentyal/.rnd Generating a RSA private key ..................++++ .....................................................................++++ writing new private key to '/var/lib/zentyal/CA/private/cakey.pem' ----- Cannot write random bytes: 140351545197888:error:24070079:random number generator:RAND_write_file:Cannot open file:../crypto/rand/randfile.c:233:Filename=/var/lib/zentyal/.rnd

Solved the problem

remove zentyal-ca
delete .rd in / var / lib / zentyal
install zentyal-ca

12
Installation and Upgrades / Re: upgrade from 6.2 to 7.0
« on: February 17, 2021, 02:29:17 pm »
Hello
I have the same problem ?
havacuban

13
Spanish / Re: Error al realizar copia de seguridad
« on: April 20, 2020, 05:44:55 pm »
hola
 Revisa el espacio de tu disco donde esta instalado el zentyal porque no puede hacer backup de seguridad por espacio,
por consola puedes usar este comando df -lh y  observa el uso de las particiones que tienes en el disco.

saludos

14
Spanish / Re: Problemas con el dasboard
« on: December 19, 2019, 06:15:15 pm »
gracias por la pronta respuesta
bueno esto es lo que tengo
1.  apt-get check
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho

2.*** Starting uWSGI 2.0.15-debian (64bit) on [Tue Dec 17 10:43:06 2019] ***
compiled with version: 7.3.0 on 28 September 2018 15:41:15
os: Linux-4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019
nodename: correozentyal
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /
detected binary path: /usr/bin/uwsgi-core
dropping root privileges as early as possible
setgid() to 116
set additional group 4 (adm)
set additional group 42 (shadow)
setuid() to 110
your processes number limit is 31343
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /run/zentyal-webadmin/webadmin.sock fd 3
dropping root privileges after socket binding
initialized Perl 5.26.1 main interpreter at 0x5578bb5d2eb0
dropping root privileges after plugin initialization
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 157824 bytes (154 KB) for 1 cores
*** Operational MODE: single process ***
PSGI app 0 (/usr/share/zentyal/psgi/zentyal.psgi) loaded in 0 seconds at 0x5578bfbc7340 (interpreter 0x5578bb5d2eb0)
dropping root privileges after application loading
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 9627)
spawned uWSGI worker 1 (pid: 9629, cores: 1)
Tue Dec 17 10:53:30 2019 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 296] during GET / (127.0.0.1)
[pid: 9629|app: 0|req: 1/1] 127.0.0.1 () {46 vars in 710 bytes} [Tue Dec 17 10:43:06 2019] GET / => generated 0 bytes in 623722 msecs (HTTP/1.1 200) 2:

3.2019/10/14 09:46:33 [error] 4053#4053: *693291 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /SysInfo/RestartService?module=mail&restart=Reiniciar HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/"
2019/10/14 09:46:53 [error] 4053#4053: *693232 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Dashboard/WidgetJSON?module=sysinfo&widget=general HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/10/14 09:46:53 [error] 4053#4053: *693474 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Dashboard/WidgetJSON?module=sysinfo&widget=modules HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/10/14 09:46:53 [error] 4053#4053: *693493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Dashboard/WidgetJSON?module=sysinfo&widget=links HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/10/14 09:46:53 [error] 4053#4053: *693483 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Dashboard/WidgetJSON?module=network&widget=interfaces HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/10/14 09:46:53 [error] 4053#4053: *693669 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Dashboard/WidgetJSON?module=dhcp&widget=dhcpleases HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/10/14 10:03:17 [error] 4053#4053: *693669 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /SysInfo/RestartService?module=mailfilter&restart=Reiniciar HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Dashboard/Index"
2019/11/25 14:42:53 [error] 4031#4031: *684 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /SysInfo/Controller/Halt HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "localhost:8443", referrer: "https://localhost:8443/SysInfo/View/Halt"

4.Zentyal: status module network:         [ RUNNING ]


esto son las salidas de los log
saludos y gracias

15
Spanish / Problemas con el dasboard
« on: December 18, 2019, 05:17:12 pm »
hola comunidad

Tengo un problema después de actulizar el zentyal-core 6.1.2 no puedo abrir mi dasboard , me da el siguiente error 504 gateway time-out
revisando he modificado algunos parámetros en nginx pero sin resultados .
alguien me pude dar alguna pista para buscar ?

saludos

Pages: [1] 2 3 4