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.
Pages: [1]
1
Installation and Upgrades / Re: DNS ADD HOSTNAMES ERROR: After Upgrade from 4.2 to 5.0
« on: July 20, 2018, 03:13:53 pm »
Same problem here. We have now 2 DCs. PDC was upgraded from 4.2 to 5.0 and then 5.1. Afterwards we added new ADC - pure 5.1 installation.
Although ADC can resolve any hostname that PDC had configured, they are not showing in ADC webadmin.
PDC is throwing error you both mentioned on DNS (re)start or edit. If I add any new record to PDC, it throws error. Said hostname is shown in PDCs webadmin, but it's not resolving.
If I add new record to ADC, it succeed without any error and both DNS servers are able to resolve hostname, but I can't see it in PDCs webadmin.
It looks like upgrade from 4.2 to 5 broke DNS.
Although ADC can resolve any hostname that PDC had configured, they are not showing in ADC webadmin.
PDC is throwing error you both mentioned on DNS (re)start or edit. If I add any new record to PDC, it throws error. Said hostname is shown in PDCs webadmin, but it's not resolving.
If I add new record to ADC, it succeed without any error and both DNS servers are able to resolve hostname, but I can't see it in PDCs webadmin.
It looks like upgrade from 4.2 to 5 broke DNS.
2
Directory and Authentication / Re: Samba can't open secrets.tdb
« on: July 20, 2018, 03:00:55 pm »
It turned out I put ADC FQDN in Domain controller FQDN field, but should be PDC FQDN. I feel silly, but I'm glad it works now.
3
Directory and Authentication / Re: Samba can't open secrets.tdb
« on: July 17, 2018, 11:10:27 am »
We have exactly same problem, except our primary DC is another Zentyal 5.1 server.
4
Other modules / Re: Configuration backup problem
« on: July 10, 2017, 04:54:47 pm »
Hello,
i have similar warnings on Zentyal 5.0 Developer, but it says that backup was Successful. I didn't try the recovery yet.
Constant subroutine EBox::Samba::Group::MAXGROUPLENGTH redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SAMBACONFFILE redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::PRIVATE_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SYSVOL_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::PROFILES_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SAMBA_DNS_UPDATE_LIST redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Backup stored into file /var/lib/zentyal/conf//backups/2017-07-10-164916.tar
Did you solve the problem?
i have similar warnings on Zentyal 5.0 Developer, but it says that backup was Successful. I didn't try the recovery yet.
Constant subroutine EBox::Samba::Group::MAXGROUPLENGTH redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SAMBACONFFILE redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::PRIVATE_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SYSVOL_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::PROFILES_DIR redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Constant subroutine EBox::Samba::SAMBA_DNS_UPDATE_LIST redefined at /usr/share/perl/5.22/constant.pm line 171, <DATA> line 755.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Use of uninitialized value $test in string eq at /usr/share/perl5/Perl6/Junction/Any.pm line 83.
Backup stored into file /var/lib/zentyal/conf//backups/2017-07-10-164916.tar
Did you solve the problem?
5
Directory and Authentication / Re: Couldn't delete entry! - net cache flush
« on: October 13, 2016, 09:33:24 am »
Hello @jfaria,
the same situation with lots of net cache flush happened to me . When you removed this line from cron, was it ok?
Thank you.
the same situation with lots of net cache flush happened to me . When you removed this line from cron, was it ok?
Thank you.
6
Directory and Authentication / Re: Zentyal 4.2.2 samba high memory usage
« on: October 10, 2016, 04:21:41 pm »
Hi segelfreak, all
it is great that we are not alone with this issue. As I stated we have more similar zentyal servers (same zentyal version, same samba version, same kernel different users) and just one has this problem.
I checked the dns.keytab and error in logs, but i didn't find any of this error and my dns.keytab looks fine:
I did further investigation what is different with these processes and found util pmap (which lists memory usage of process), but i am not any wiser:
It looks like this:
and problematic is the heap which uses actually 752MB RAM out of 1,3GB of whole process and getting bigger. When I used pmap -XX i didn't get more info, and with pmap -x i just received info that it is anonymous and "dirty". It looks like samba is using memory for something and doesn't cleanup. I can't get any more info.
If you have any tips which tools use to troubleshoot, i am open to any suggestions. Till that, we need to restart the samba service every 3 days.
it is great that we are not alone with this issue. As I stated we have more similar zentyal servers (same zentyal version, same samba version, same kernel different users) and just one has this problem.
I checked the dns.keytab and error in logs, but i didn't find any of this error and my dns.keytab looks fine:
Code: [Select]
-rw-r----- 1 root bind 797 okt 28 2015 dns.keytab
I did further investigation what is different with these processes and found util pmap (which lists memory usage of process), but i am not any wiser:
It looks like this:
Code: [Select]
# pmap -X 15098
15098: samba -D
Address Perm Offset Device Inode Size Rss Pss Referenced Anonymous Swap Locked Mapping
5609461e2000 r-xp 00000000 fd:01 1193099 60 60 4 60 0 0 0 samba
5609463f1000 r--p 0000f000 fd:01 1193099 4 4 0 0 4 0 0 samba
5609463f2000 rw-p 00010000 fd:01 1193099 4 0 0 0 0 4 0 samba
56094698d000 rw-p 00000000 00:00 0 132 72 35 48 72 60 0 [heap]
5609469ae000 rw-p 00000000 00:00 0 28724 26780 25686 25992 26780 1944 0 [heap]
5609485bb000 rw-p 00000000 00:00 0 752248 752228 752228 719872 752228 0 0 [heap]
...................
and problematic is the heap which uses actually 752MB RAM out of 1,3GB of whole process and getting bigger. When I used pmap -XX i didn't get more info, and with pmap -x i just received info that it is anonymous and "dirty". It looks like samba is using memory for something and doesn't cleanup. I can't get any more info.
If you have any tips which tools use to troubleshoot, i am open to any suggestions. Till that, we need to restart the samba service every 3 days.
7
Directory and Authentication / Zentyal 4.2.2 samba high memory usage
« on: October 05, 2016, 12:17:08 pm »
Hi all,
we have a problem on one production server zentyal 4.2.2 running as PDC, VPN server and file server (no exchange) with high memory usage of one samba process (not smbd). Memory usage builds up and takes around 4-5 days till it eats all memory (2GB RAM and 2GB swap) and then the server freeezes. Before it has enough memory, #service zentyal samba restart helps sometimes and sometimes helps only kill -9.
it looks like this in top:
When I checked #lsof |grep 2913
I see many open pipes:
999 according to wc vs 8 in other samba process
I couldn't find any error in /var/log/samba/samba.log but these lines are occuring every minute:
I did ps tree to see the rest samba processes:
And as you can see, problematic is just one process (pid 2913) rest of them are ok.
Zentyal is regularly updated and configuration is almost default, it is running zentyal 4.2.2 with samba --version: Version 4.3.4-Zentyal on Ubuntu 14.04.1 and kernel 3.19.0-65-generic
we have a problem on one production server zentyal 4.2.2 running as PDC, VPN server and file server (no exchange) with high memory usage of one samba process (not smbd). Memory usage builds up and takes around 4-5 days till it eats all memory (2GB RAM and 2GB swap) and then the server freeezes. Before it has enough memory, #service zentyal samba restart helps sometimes and sometimes helps only kill -9.
it looks like this in top:
Code: [Select]
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2913 root 20 0 2305860 1,027g 3692 D 0,3 52,6 111:09.30 samba
..................
When I checked #lsof |grep 2913
I see many open pipes:
Code: [Select]
............
samba 2913 root 1022w FIFO 0,9 0t0 4045559 pipe
samba 2913 root 1023w FIFO 0,9 0t0 4045570 pipe
............
999 according to wc vs 8 in other samba process
I couldn't find any error in /var/log/samba/samba.log but these lines are occuring every minute:
Code: [Select]
[2016/10/05 11:56:31.676466, 2] ../lib/util/modules.c:196(do_smb_load_module)
Module 'samba4' loaded
[2016/10/05 11:56:31.880586, 2] ../lib/util/modules.c:196(do_smb_load_module)
Module 'acl_xattr' loaded
[2016/10/05 11:56:31.892361, 2] ../lib/util/modules.c:196(do_smb_load_module)
Module 'dfs_samba4' loaded
[2016/10/05 11:56:31.892425, 2] ../source3/modules/vfs_acl_xattr.c:193(connect_acl_xattr)
connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service IPC$
I did ps tree to see the rest samba processes:
Code: [Select]
#ps auxf|less
root 2903 0.0 0.2 538740 4468 ? Ss okt02 0:00 samba -D
root 2905 0.0 0.1 538740 3464 ? S okt02 0:00 \_ samba -D
root 2908 0.0 0.1 523692 3372 ? Ss okt02 0:09 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 2921 0.0 0.0 507312 1344 ? S okt02 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 2927 0.0 0.3 523728 6380 ? S okt02 0:02 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 4886 0.0 0.1 546664 2840 ? S okt02 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 6054 0.0 0.2 546768 4964 ? S okt02 0:01 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 6327 0.0 0.3 551412 7988 ? S okt03 0:01 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 3837 0.0 0.1 546808 3488 ? S 03:59 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 21028 0.0 0.2 551348 4936 ? S 07:21 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 26144 0.0 0.4 550960 8220 ? S 08:31 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 26599 0.0 0.3 551348 7948 ? S 08:38 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
michael+ 26967 0.0 0.4 552408 8504 ? S 08:44 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 27697 0.0 0.4 552396 8752 ? S 08:55 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 27842 0.0 0.2 546808 5716 ? S 08:55 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 27947 0.0 0.2 551384 6108 ? S 08:56 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 27973 0.0 0.3 551348 6356 ? S 08:57 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 27986 0.0 0.4 551348 8536 ? S 08:57 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 28953 0.0 0.4 551360 8592 ? S 09:10 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 29401 0.0 0.4 552408 8992 ? S 09:16 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
marek.c+ 4371 0.0 0.6 552408 14108 ? S 11:03 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 7195 0.0 0.6 547196 12636 ? S 11:44 0:00 | \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
root 2906 0.0 1.0 549600 21148 ? S okt02 1:22 \_ samba -D
root 2907 0.0 0.2 542892 5444 ? S okt02 0:09 \_ samba -D
root 2909 0.0 0.1 538740 3492 ? S okt02 0:00 \_ samba -D
root 2910 0.5 3.6 574872 74656 ? S okt02 21:29 \_ samba -D
root 2911 0.0 0.4 538732 10000 ? S okt02 0:13 \_ samba -D
root 2912 0.0 0.8 549160 17616 ? S okt02 0:54 \_ samba -D
root 2913 2.8 55.0 2311432 1128168 ? D okt02 111:17 \_ samba -D
root 2914 0.0 0.4 538732 9056 ? S okt02 0:00 \_ samba -D
root 2915 0.0 0.8 542884 16964 ? S okt02 0:46 \_ samba -D
root 2916 0.0 0.4 538740 9040 ? S okt02 0:07 \_ samba -D
root 2917 0.0 0.1 538740 3532 ? S okt02 0:00 \_ samba -D
root 2918 0.0 0.3 487780 6340 ? Ss okt02 0:08 \_ /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
root 2923 0.0 0.3 487224 7692 ? S okt02 0:04 \_ /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
root 2925 0.0 0.3 487764 6544 ? S okt02 0:04 \_ /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
root 2926 0.0 0.4 487780 9796 ? S okt02 0:09 \_ /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
And as you can see, problematic is just one process (pid 2913) rest of them are ok.
Zentyal is regularly updated and configuration is almost default, it is running zentyal 4.2.2 with samba --version: Version 4.3.4-Zentyal on Ubuntu 14.04.1 and kernel 3.19.0-65-generic
Code: [Select]
#cat /proc/version
Linux version 3.19.0-65-generic (buildd@lgw01-01) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #73~14.04.1-Ubuntu SMP Wed Jun 29 21:05:22 UTC 2016
We have more zentyal servers on different sites, set up similarly (just the companies are different) and we have problem just with this one. Right now we have to restart service every 3-4 days. Do you have any other solution or experience?
8
Directory and Authentication / Samba shared folders unavaiable
« on: November 24, 2015, 03:55:56 pm »
We have a problem on one Zentyal server with samba authentication and mapping user's primary group. I found out Zentyal developers was trying change sssd to winbind, but they revert it before releasing. Probably revert wasn't complete and winbind is now staring with smb process.
User can not connect to all shared folders (except home folders and sysvol) on lastest Zentyal Devel server (Ubuntu and Zentyal completely updated)
Whole problem is in winbind user's primary group lookup. All users has primary group "users" (gid 100) and not "domain users". I can see in smbstatus all connected users with primary group "users".
So user doesn't have any permission to access to /home/samba, because is not in domain users group.
Temporary fix is here, but after few hours all problems come back:
http://serverfault.com/questions/476086/samba-winbind-user-resolution
In old version (4.1) is all fine.
Please help, it's URGENT.
User can not connect to all shared folders (except home folders and sysvol) on lastest Zentyal Devel server (Ubuntu and Zentyal completely updated)
Whole problem is in winbind user's primary group lookup. All users has primary group "users" (gid 100) and not "domain users". I can see in smbstatus all connected users with primary group "users".
So user doesn't have any permission to access to /home/samba, because is not in domain users group.
Temporary fix is here, but after few hours all problems come back:
http://serverfault.com/questions/476086/samba-winbind-user-resolution
In old version (4.1) is all fine.
Please help, it's URGENT.
Pages: [1]