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.
46
Installation and Upgrades / Re: Backup/restore
« on: March 10, 2009, 10:47:22 pm »
if i do this shall i backup/restore as normal and after that get the "unstable" ldap import script.
where iis the parse script? I had a search but couldn't find on the forum
I then need to run that on the ldif i extract from the backup tar, right, after deleting the ldap directory. and i can test after resetting permissions etc.
where iis the parse script? I had a search but couldn't find on the forum
I then need to run that on the ldif i extract from the backup tar, right, after deleting the ldap directory. and i can test after resetting permissions etc.
47
Installation and Upgrades / Re: Backup/restore
« on: March 10, 2009, 05:44:58 pm »
Hi is there any follow up to this/ has the script been updated? as i'm planning to migrate another server tonight if you've sorted it.
48
Installation and Upgrades / Re: Backup/restore
« on: March 02, 2009, 11:33:12 am »
That's great, i'll watch the thread, thanks!
49
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 08:40:54 pm »
maybe i should load up the old ebox installation, update it to the latest, then save a backup, and then follow javi's 7 steps on the diff in there? Would that sort me out?
50
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 07:22:57 pm »
well i changed the password line to read:
userPassword: ebox****96841436164
and repeated the same process but now i get a new error,
to be honest I'm not sure whether I have introduced these problems via this procedure, i might have had it earlier, as i didn't test directly before or after the restore, (and the reason i am moving vm is because i was also running fog [fogproject.org] in this machine which had it's own web interface which seemed to break only images on ebox but that's all- but i'm not sure whether i'd had this problem..) when i try and edit the user/group via eg https://192.168.8.2/ebox/UsersAndGroups/Groups, i get the listing fine but as soon as i click the pencil to edit the group I get: An internal error has ocurred. This is most probably a bug, relevant information can be found in the logs.
An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.
the /var/log/ebox/error.log shows that for groups
this error is:
[Sat Feb 28 18:12:52 2009] [error] [client 10.10.0.2] File does not exist: /usr/share/ebox/www/images/thead-b.png, referer: https://192.168.8.2/ebox/UsersAndGroups/Groups
and for users:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/EBox/MailAliasLdap.pm line 291.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/EBox/MailAliasLdap.pm line 291.
creating a new user gives this error:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Hmmm.
<edit> given latest response I can see that maybe i'll need to re-run the restore officially due to version mismatches? should i do that and then maybe do a slightly different slapcat stripping out some windows client stuff? would that even be possible?
userPassword: ebox****96841436164
and repeated the same process but now i get a new error,
to be honest I'm not sure whether I have introduced these problems via this procedure, i might have had it earlier, as i didn't test directly before or after the restore, (and the reason i am moving vm is because i was also running fog [fogproject.org] in this machine which had it's own web interface which seemed to break only images on ebox but that's all- but i'm not sure whether i'd had this problem..) when i try and edit the user/group via eg https://192.168.8.2/ebox/UsersAndGroups/Groups, i get the listing fine but as soon as i click the pencil to edit the group I get: An internal error has ocurred. This is most probably a bug, relevant information can be found in the logs.
An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.
the /var/log/ebox/error.log shows that for groups
this error is:
[Sat Feb 28 18:12:52 2009] [error] [client 10.10.0.2] File does not exist: /usr/share/ebox/www/images/thead-b.png, referer: https://192.168.8.2/ebox/UsersAndGroups/Groups
and for users:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/EBox/MailAliasLdap.pm line 291.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/EBox/MailAliasLdap.pm line 291.
creating a new user gives this error:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Hmmm.
<edit> given latest response I can see that maybe i'll need to re-run the restore officially due to version mismatches? should i do that and then maybe do a slightly different slapcat stripping out some windows client stuff? would that even be possible?
51
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 06:55:40 pm »
funilly enough i've actually been here before with openldap.. solution was to
sudo chown openldap.openldap /var/lib/ldap/*
now i'll be able to check if this was resolved when i pop into the office.
aha <edit> got your new reply.. will update password..
thanks!
sudo chown openldap.openldap /var/lib/ldap/*
now i'll be able to check if this was resolved when i pop into the office.
aha <edit> got your new reply.. will update password..
thanks!
52
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 06:15:28 pm »
the logs state:
Feb 28 16:52:29 brighton1 slapd[25622]: /etc/ldap/slapd.conf: line 98: rootdn is always granted unlimited privileges.
Feb 28 16:52:29 brighton1 slapd[25623]: hdb_db_open: database "dc=ebox": alock package is unstable.
Feb 28 16:52:29 brighton1 slapd[25623]: backend_startup_one: bi_db_open failed! (-1)
Feb 28 16:52:29 brighton1 slapd[25623]: slapd stopped.
Feb 28 16:52:29 brighton1 slapd[25623]: connections_destroy: nothing to destroy.
I did follow the above instructions after winscp'ing the ldif file into /root
Should I restore my backup i made after reinstalling ebox and restore the whole backup again?
Feb 28 16:52:29 brighton1 slapd[25622]: /etc/ldap/slapd.conf: line 98: rootdn is always granted unlimited privileges.
Feb 28 16:52:29 brighton1 slapd[25623]: hdb_db_open: database "dc=ebox": alock package is unstable.
Feb 28 16:52:29 brighton1 slapd[25623]: backend_startup_one: bi_db_open failed! (-1)
Feb 28 16:52:29 brighton1 slapd[25623]: slapd stopped.
Feb 28 16:52:29 brighton1 slapd[25623]: connections_destroy: nothing to destroy.
I did follow the above instructions after winscp'ing the ldif file into /root
Should I restore my backup i made after reinstalling ebox and restore the whole backup again?
53
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 05:56:45 pm »
Hi
when importing i did get the following warning(?)
/etc/ldap/slapd.conf: line 98: rootdn is always granted unlimited privileges.
and now when I check users or groups I get the following:
"An internal error has ocurred. This is most probably a bug, relevant information can be found in the logs"
..
when importing i did get the following warning(?)
/etc/ldap/slapd.conf: line 98: rootdn is always granted unlimited privileges.
and now when I check users or groups I get the following:
"An internal error has ocurred. This is most probably a bug, relevant information can be found in the logs"
..
54
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 05:10:26 pm »
Thanks, Javi
I just had a thought - since i've still got access to the old server (I just backup/restore to move into kvm on a proxmox host) is there a way to export/import this machine account info into the new server and save me trudging around the office giving a three finger salute to 30-odd PCs this weekend?
for example using some ldap tools mentioned upstream?
I just had a thought - since i've still got access to the old server (I just backup/restore to move into kvm on a proxmox host) is there a way to export/import this machine account info into the new server and save me trudging around the office giving a three finger salute to 30-odd PCs this weekend?
for example using some ldap tools mentioned upstream?
55
Installation and Upgrades / Re: Backup/restore
« on: February 28, 2009, 03:23:09 am »
I have the same problem.
i don't know if it's because i forgot to update ebox before running the backup, or if this bug still hasn't been repaired, but what it means is that I must rejoin all the pcs to the domain if i restore from backup on a new server.
What should be done, report as a bug?
i don't know if it's because i forgot to update ebox before running the backup, or if this bug still hasn't been repaired, but what it means is that I must rejoin all the pcs to the domain if i restore from backup on a new server.
What should be done, report as a bug?