Recent Posts

Pages: [1] 2 3 ... 10
1
Other modules / sa-learn / Spamassassin error
« Last post by segelfreak on December 14, 2019, 09:02:20 pm »
Hi,

Spamassassin is giving me a hard time.
I'm trying to run sa-learn, but no matter what I try, I'm always getting an error. debug log shows me that there's a problem with the DB connection:

Code: [Select]
dbg: bayes: unable to connect to database: Access denied for user 'amavis'@'localhost' (using password: YES)
This also keeps the system from learning by feeding in some Bayes box files.

Annone having an idea how to get it working?


2
Installation and Upgrades / Re: DNS records of domain machines doesn't update
« Last post by Maekar on December 14, 2019, 05:32:28 pm »
Hi, I did it and nothing seems wrong to me.
No broken packages, all are updated, no errors in zentyal.log...
I repeat the samba_dnsupdate test and this time does not return errors.

Our environmet is really simple. We did a clean installation of Zentyal 6.0 last summer and configured the domain from scratch, without restore any backup. Then, updated to 6.1 from dashboard without errors and all those problems come.

Dynamic DNS updates are not working at all for domain clients.

And what is worst: I'm having again complains with DNS and Youtube for clients machines, I wonder if is related: https://forum.zentyal.org/index.php/topic,34793.0.html

Thanks!

3
Other modules / Re: DNS - Referencing a single IP address from different domains
« Last post by scoobymac on December 14, 2019, 10:12:01 am »
If you login to the Zentyal server via a ssh client (Putty etc..) then edit /etc/zentyal/dns.conf and set the "allow_duplicated_ips" to yes.


<--snippet from dns.conf file-->

# Setting this key to 'yes' allows to add IP addresses already present
# in other hosts or domains
allow_duplicated_ips = yes


You will need to restart the DNS server afterwards although in my case a reboot was
ncessary as there were Zentyal updates waiting to be applied.
After changing this setting I can set the same IP address in DNS for hosts on different domains.


4
Spanish / Re: error en update
« Last post by havacuban on December 13, 2019, 07:51:08 pm »
hola
resuelto mi problema , use esta vía

baje el paquete de aquí http://packages.zentyal.org/zentyal/dists/6.1/main/binary-i386/Packages.gz y renombre a
packages.zentyal.org_zentyal_dists_6.1_main_binary-i386_Packages.gz
lo moví por el que estaba con problemas /var/lib/apt/lists/partial/packages.zentyal.org_zentyal_dists_6.1_main_binary-i386_Packages.gz.FAILED
apt update
y no dio error y actualizo correctamente
saludos



5
Spanish / Re: error en update
« Last post by havacuban on December 13, 2019, 07:11:24 pm »
hola
Gracias doncamilo por reponder ,mantengo el mismo problema, no se que comando poner para arreglar , pero ya limpie cache del apt y sigue igual.

saludos
6
Directory and Authentication / Re: Corrupt db?
« Last post by doncamilo on December 13, 2019, 06:06:09 pm »
 :)

Please check the replication status:

Code: [Select]
sudo samba-tool drs showrepl

You can force manually the replication by using samba-tool. Read this: https://wiki.samba.org/index.php/Manually_Replicating_Directory_Partitions

NB: don't mistakes DC1 and DC2!

(If you have some issues with deleted objects (I have seen it in old systems running without active management) read about these commands:

Code: [Select]
sudo ldbsearch --cross-ncs --show-deleted -H /var/lib/samba/private/sam.ldb | grep "\0ADEL"
sudo ldbdel -H /var/lib/samba/private/sam.ldb <DN-of-conflicting-object> [--relax]
# or remove the reference to the deleted object
sudo ldbedit -H /var/lib/samba/private/sam.ldb -b <object dn> -s base
)

Tell me if you need some more help.

Cheers!
7
Directory and Authentication / Re: Canot share folder
« Last post by doncamilo on December 13, 2019, 05:31:10 pm »
 :)

Zentyal has his own shell.

Code: [Select]
root@zentyal:~# zs module start
module is not a valid module name
Module list:
network firewall antivirus audit dns ebackup logs ntp samba webadmin
root@zentyal:~# zs
Usage: /usr/bin/zs start|stop|restart
       /usr/bin/zs <module> start|stop|status|enabled|restart

Also useful OS level:

Code: [Select]
root@zentyal:~# systemctl list-units | grep zentyal
  zentyal.loggerd.service                                                                  loaded active running   Zentyal logger daemon                                                       
  zentyal.lxdm.service                                                                     loaded active running   Zentyal LXDE Display Manager                                                 
  zentyal.samba-sync.service                                                               loaded active running   Zentyal daemon to check uid and gid numbers                                 
  zentyal.service                                                                          loaded active exited    Zentyal start/stop task                                                     
  zentyal.webadmin-nginx.service                                                           loaded active running   Nginx http daemon for Zentyal web admin                                     
  zentyal.webadmin-uwsgi.service                                                           loaded active running   uWSGI daemon for Zentyal webadmin       

And so, for instance:

Code: [Select]
root@zentyal:~# systemctl status zentyal.service
● zentyal.service - Zentyal start/stop task
   Loaded: loaded (/lib/systemd/system/zentyal.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2019-12-13 12:16:17 CET; 4h 35min ago
  Process: 820 ExecStart=/usr/bin/zs start (code=exited, status=0/SUCCESS)
 Main PID: 820 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 3573)
   CGroup: /system.slice/zentyal.service

dic 13 12:16:17 zentyal sudo[2316]: pam_unix(sudo:session): session opened for user root by (uid=0
dic 13 12:16:17 zentyal sudo[2316]: pam_unix(sudo:session): session closed for user root
dic 13 12:16:17 zentyal sudo[2321]:     ebox : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh -
dic 13 12:16:17 zentyal sudo[2321]: pam_unix(sudo:session): session opened for user root by (uid=0
dic 13 12:16:17 zentyal zs[820]:  * Starting Zentyal module: webadmin
dic 13 12:16:17 zentyal zs[820]:    ...done.
dic 13 12:16:17 zentyal sudo[2321]: pam_unix(sudo:session): session closed for user root
dic 13 12:16:17 zentyal systemd[1]: Started Zentyal start/stop task.
dic 13 12:18:19 zentyal sudo[1775]: pam_unix(sudo:session): session closed for user root
dic 13 12:18:19 zentyal sudo[1635]: pam_unix(sudo:session): session closed for user root

Most of time you will use the zs command.

Cheers
8
 :)

Zentyal uses the samba version released for Ubuntu.

Cheers!
9
Spanish / Re: error en update
« Last post by doncamilo on December 13, 2019, 03:05:05 pm »
 :)

He hecho unas cuantas pruebas y el problema parece estar solucionado.

Salud!
10
Spanish / Re: error en update
« Last post by doncamilo on December 13, 2019, 02:43:04 pm »
 :)

Tiene toda la pinta de ser algún problema con los repositorios de Zentyal. Hay que esperar a que arreglen el problema.

Salud!
Pages: [1] 2 3 ... 10