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

Pages: 1 [2] 3
16
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 12:32:40 pm »
Yap, fnd this in logs:
Code: [Select]
2010/02/09 14:30:07 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 14:30:07 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addUser with param zerg on slave HASH(0x8daecc0) failed
2010/02/09 14:30:11 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 14:30:11 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addUser with param test on slave HASH(0x8daecc0) failed
2010/02/09 14:30:14 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 14:30:14 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addGroup with param test on slave HASH(0x8daecc0) failed
2010/02/09 14:30:14 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method delGroup with param test on slave HASH(0x8daecc0) failed


In slave ebox.log i find just this:
Code: [Select]
2010/02/09 14:35:07 DEBUG> UsersAndGroups.pm:2671 EBox::UsersAndGroups::waitSync - Master users: 1
2010/02/09 14:35:07 DEBUG> UsersAndGroups.pm:2672 EBox::UsersAndGroups::waitSync - Replica users: 1
2010/02/09 14:35:07 DEBUG> UsersAndGroups.pm:2673 EBox::UsersAndGroups::waitSync - Master groups: 11
2010/02/09 14:35:07 DEBUG> UsersAndGroups.pm:2674 EBox::UsersAndGroups::waitSync - Replica groups: 11
2010/02/09 14:35:10 DEBUG> UsersAndGroups.pm:2671 EBox::UsersAndGroups::waitSync - Master users: 1
2010/02/09 14:35:10 DEBUG> UsersAndGroups.pm:2672 EBox::UsersAndGroups::waitSync - Replica users: 1
2010/02/09 14:35:10 DEBUG> UsersAndGroups.pm:2673 EBox::UsersAndGroups::waitSync - Master groups: 11
2010/02/09 14:35:10 DEBUG> UsersAndGroups.pm:2674 EBox::UsersAndGroups::waitSync - Replica groups: 11
2010/02/09 14:35:14 DEBUG> UsersAndGroups.pm:2671 EBox::UsersAndGroups::waitSync - Master users: 1
2010/02/09 14:35:14 DEBUG> UsersAndGroups.pm:2672 EBox::UsersAndGroups::waitSync - Replica users: 1
2010/02/09 14:35:14 DEBUG> UsersAndGroups.pm:2673 EBox::UsersAndGroups::waitSync - Master groups: 11
2010/02/09 14:35:14 DEBUG> UsersAndGroups.pm:2674 EBox::UsersAndGroups::waitSync - Replica groups: 11
2010/02/09 14:35:14 DEBUG> Samba.pm:1241 EBox::Samba::_checkGroupExists - group test does not exist.

17
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 11:07:46 am »
Salve's logs are empty...

18
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 10:44:44 am »
There was this error on master size:
Code: [Select]
2010/02/09 12:00:05 DEBUG> SOAPClient.pm:108 EBox::SOAPClient::__ANON__ - 500 Can't connect to samba:443 (Bad hostname 'samba')
So i go to my dns (eBox 1.2), add master and slave names and IPs there, and everithings go fine... But i think it's not best way... Can i rewrite this somewhere?

And one more, while i try all of this on master i create some groups and users and now i have this in logs on master:
Code: [Select]
2010/02/09 12:15:07 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 12:15:07 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addUser with param zerg on slave HASH(0x8daecc0) failed
2010/02/09 12:15:10 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 12:15:10 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addGroup with param IT on slave HASH(0x8daecc0) failed
2010/02/09 12:15:13 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 12:15:13 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addUser with param test on slave HASH(0x8daecc0) failed
2010/02/09 12:15:17 ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 604.
2010/02/09 12:15:17 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method addGroup with param test on slave HASH(0x8daecc0) failed
2010/02/09 12:15:17 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method delGroup with param test on slave HASH(0x8daecc0) failed
2010/02/09 12:15:17 DEBUG> slave-sync:77 main::__ANON__ - Trying to run method delGroup with param IT on slave HASH(0x8daecc0) failed
As i can understand it's not bad, but it's not the best...

19
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 09:49:47 am »
No, it's good in both ways, master to slave and slave to master... But the same way it dosn't work... =((

20
Installation and Upgrades / Re: Instalation failed in Russian locale.
« on: February 09, 2010, 07:21:56 am »
Ok, I'll try it next time...

21
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 07:11:26 am »
Yap, on the master size all changes have been shown:
Code: [Select]
Slave Operation Parameter
samba addUser zerg
samba addGroup IT
samba updateGroup IT
samba updateGroup IT
samba delUser zerg
samba addUser test
samba updateGroup IT
samba addGroup test

22
Installation and Upgrades / Re: Master/slave problems again
« on: February 08, 2010, 06:06:07 pm »
Code: [Select]
sudo slapcat -F /etc/ldap/slapd-replica.d/ -s 'uid=test,ou=Users,dc=ldap,dc=kodi,dc=local'
dn: uid=test,ou=Users,dc=ldap,dc=kodi,dc=local
cn: first last
uid: test
sn: last
uidNumber: 2001
gidNumber: 1901
homeDirectory: /nonexistent
userPassword:: e1NIQX1qTElqZlFaNXlvamJaR1RxeGcycFkwVlJPV1E9
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: passwordHolder
eboxSha1Password: {SHA}jLIjfQZ5yojbZGTqxg2pY0VROWQ=
eboxMd5Password: {MD5}gnzLDuqKcGxMNKFokfhOew==
eboxLmPassword: AEBD4DE384C7EC43AAD3B435B51404EE
eboxNtPassword: 7A21990FCD3D759941E45C490F143D5F
eboxDigestPassword: {MD5}kNEjvJZpIxeUJZ7fZUYRyg==
eboxRealmPassword: {MD5}90d123bc9669231794259edf654611ca
structuralObjectClass: inetOrgPerson
entryUUID: 51a56d1e-a905-102e-8ba5-991f8442c7a4
creatorsName: cn=ebox,dc=ldap,dc=kodi,dc=local
createTimestamp: 20100208135511Z
givenName: first
description: test
entryCSN: 20100208135511.360681Z#000000#000#000000
modifiersName: cn=ebox,dc=ldap,dc=kodi,dc=local
modifyTimestamp: 20100208135511Z
Code: [Select]
sudo slapcat -F /etc/ldap/slapd-translucent.d/ -s 'uid=test,ou=Users,dc=ldap,dc=kodi,dc=local'said nothing... =((

Code: [Select]
ldapsearch -D 'cn=ebox,dc=ldap,dc=kodi,dc=local' -H 'ldap://127.0.0.1:1390/' -x -w $(sudo cat /var/lib/ebox/conf/ebox-ldap.passwd) -b 'uid=test,ou=Users,dc=ldap,dc=kodi,dc=local'
# extended LDIF
#
# LDAPv3
# base <uid=test,ou=Users,dc=ldap,dc=kodi,dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# test, Users, ldap.kodi.local
dn: uid=test,ou=Users,dc=ldap,dc=kodi,dc=local
cn: first last
uid: test
sn: last
uidNumber: 2001
gidNumber: 1901
homeDirectory: /nonexistent
userPassword:: e1NIQX1qTElqZlFaNXlvamJaR1RxeGcycFkwVlJPV1E9
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: passwordHolder
eboxSha1Password: {SHA}jLIjfQZ5yojbZGTqxg2pY0VROWQ=
eboxMd5Password: {MD5}gnzLDuqKcGxMNKFokfhOew==
eboxLmPassword: AEBD4DE384C7EC43AAD3B435B51404EE
eboxNtPassword: 7A21990FCD3D759941E45C490F143D5F
eboxDigestPassword: {MD5}kNEjvJZpIxeUJZ7fZUYRyg==
eboxRealmPassword: {MD5}90d123bc9669231794259edf654611ca
givenName: first
description: test

# search result
search: 2
result: 32 No such object

# numResponses: 2
# numEntries: 1
Code: [Select]
ldapsearch -D 'cn=ebox,dc=ldap,dc=kodi,dc=local' -H 'ldap://127.0.0.1:1390/' -x -w $(sudo cat /var/lib/ebox/conf/ebox-ldap.passwd) -b 'uid=test,ou=Users,dc=ldap,dc=kodi,dc=local' sambaAcctFlags
# extended LDIF
#
# LDAPv3
# base <uid=test,ou=Users,dc=ldap,dc=kodi,dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: sambaAcctFlags
#

# test, Users, ldap.kodi.local
dn: uid=test,ou=Users,dc=ldap,dc=kodi,dc=local

# search result
search: 2
result: 32 No such object

# numResponses: 2
# numEntries: 1

23
Installation and Upgrades / Re: Master/slave problems again
« on: February 08, 2010, 05:56:45 pm »
Here is it:
Code: [Select]
sudo slapcat -F /etc/ldap/slapd-replica.d | head
dn: dc=ldap,dc=kodi,dc=local
structuralObjectClass: glue
objectClass: top
objectClass: glue
entryUUID: 284ce4fa-a901-102e-8276-514b5f009df6
creatorsName: cn=ebox,dc=ldap,dc=kodi,dc=local
createTimestamp: 20100208122324Z
entryCSN: 20100208122324.079157Z#000000#000#000000
modifiersName: cn=ebox,dc=ldap,dc=kodi,dc=local
modifyTimestamp: 20100208122324Z
slapcat: error writing output.

24
It's realy so... Just some time ago I had to reinstall 2 servers, couse can't get normal replication...

25
Installation and Upgrades / Re: Master/slave problems again
« on: February 08, 2010, 03:54:23 pm »
Here is out:
Code: [Select]
sudo slapcat -F /etc/ldap/slapd-replica.d/ -s 'uid=test,ou=Users,dc=kodi,dc=local'
slapcat: slap_init no backend for "uid=test,ou=Users,dc=kodi,dc=local"
Code: [Select]
sudo slapcat -F /etc/ldap/slapd-translucent.d/ -s 'uid=test,ou=Users,dc=kodi,dc=local'
slapcat: slap_init no backend for "uid=test,ou=Users,dc=kodi,dc=local"
Code: [Select]
ldapsearch -D 'cn=ebox,dc=kodi,dc=local' -H 'ldap://127.0.0.1:1390/' -x -w $(sudo cat /var/lib/ebox/conf/ebox-ldap.passwd) -b 'uid=test,ou=Users,dc=kodi,dc=local'
ldap_bind: Invalid credentials (49)
Code: [Select]
ldapsearch -D 'cn=ebox,dc=kodi,dc=local' -H 'ldap://127.0.0.1:1390/' -x -w $(sudo cat /var/lib/ebox/conf/ebox-ldap.passwd) -b 'uid=test,ou=Users,dc=kodi,dc=local' sambaAcctFlags
ldap_bind: Invalid credentials (49)

I think something realy wrong...

26
Installation and Upgrades / Re: Instalation failed in Russian locale.
« on: February 08, 2010, 03:41:00 pm »
Yap, i have done it... =)) In english instalation everything go fine

27
Installation and Upgrades / Master/slave problems again
« on: February 08, 2010, 03:04:54 pm »
I have 1.4 eBox instaled to 2 servers, one of them is master and have just ebox-userandgroups package, the second is slave, it have ebox-samba. Replication come good, but after it I cant look the information about user, or group in slave. Insted of info i get this:
Code: [Select]
A really nasty bug has occurred
Exception
Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received
Trace
Unknown error at EBox::SambaLdapUser::_getAccountFlags Referral received at /usr/share/perl5/EBox/Ldap.pm line 712
EBox::Ldap::_errorOnLdap('Net::LDAP::Search=HASH(0xa741660)', 'HASH(0xa66ace8)') called at /usr/share/perl5/EBox/Ldap.pm line 351
EBox::Ldap::search('EBox::Ldap=HASH(0x96916d8)', 'HASH(0xa66ace8)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 848
EBox::SambaLdapUser::_getAccountFlags('EBox::SambaLdapUser=HASH(0xa20a2f8)', 'test') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 858
EBox::SambaLdapUser::_userSharing('EBox::SambaLdapUser=HASH(0xa20a2f8)', 'test') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 459
EBox::SambaLdapUser::_userAddOns('EBox::SambaLdapUser=HASH(0xa20a2f8)', 'test') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2135
EBox::UsersAndGroups::allUserAddOns('EBox::UsersAndGroups=HASH(0x96914d4)', 'test') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/User.pm line 50
EBox::CGI::UsersAndGroups::User::_process('EBox::CGI::UsersAndGroups::User=HASH(0x90484a0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::User=HASH(0x90484a0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/User', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x8f90c34)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x8f90cd0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x8f90cd0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x8f90c34)') called at -e line 0
eval {...} called at -e line 0
Olso new share folder doesn't creat in /home/samba/user.

What i have done wrong, i had install this from this FAQ http://trac.ebox-platform.com/wiki/Document/HowTo/EBoxMasterSlaveSetup

28
Installation and Upgrades / Instalation failed in Russian locale.
« on: February 08, 2010, 09:25:51 am »
First a wall, thank you for your work... GREAT work...

I'm from Russia and have some truble while install 1.4 eBox... In standart instalation of common server 8.04 there is no packege console-cyrrilic, without this packege instalation fall, after asking amin name.

29
Installation and Upgrades / Re: Web templates
« on: January 23, 2010, 11:57:08 am »
+1 I can't be shure myself to do something like this, but it's a good idea, it's linux way we must have a choiсe... =))

30
Sorry, guess i make one more mistake... No, I havn't any problems with LDAP, i have them with LOG module - I can't see any logs in web... When i try to see any logs i get this:
Code: [Select]
Exception
(in cleanup) Can't call method "disconnect" on an undefined value
Trace
(in cleanup) Can't call method "disconnect" on an undefined value at /usr/share/perl5/EBox/PgDBEngine.pm line 112.

About backup - I haven't use eBox eBackup, it's just tar archive of "/" exclude some directory... So I have an old versions of eBox modules...

Pages: 1 [2] 3