Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Fri, Apr 24, 2009 at 1:58 AM, Hamilton Chua wrote: > I'm using SoaS, I have modified schoolserver.py to register with my XS > and keep the generated serial and uuid in gconf. I have also modified > ds-backup.py to read the SN from gconf. Cool that you're starting to poke at the code :-) > I'm not sure if this is an issue with the hacks I've made but I got an > error in the moodle UI backup tab that says > > Problem opening /library/users//datastore-x/store So you do have /library/users//datastore-x , but not the 'store' directory inside? Maybe your changes to the code on the XO changed the rsync call? cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ds-backup.py backup_url server check
On Thu, Apr 23, 2009 at 10:58 PM, Dave Bauer wrote: > I don't see anything on the XS that responds on this URL. Should this > respond or do I have the wrong version of this script or I am confused? > If something should respond on this URL, is it part of Moodle, ds-backup > server or something else? rpm -ql ds-backup-server should list the files you're after :-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ds-backup.py backup_url server check
Check the web server error log on the XS, it might have more diagnostic info. On Thu, Apr 23, 2009 at 7:05 PM, Dave Bauer wrote: > > > On Thu, Apr 23, 2009 at 6:44 PM, Dave Bauer wrote: > >> >> >> On Thu, Apr 23, 2009 at 5:52 PM, Carol Farlow Lerche wrote: >> >>> When the client references "schoolserver", it depends on client >>> configuration where and if it finds it. Places that can affect this lookup >>> process are the configuration designating what is your DNS server, the >>> configuration of your resolver (e.g. does it supply a default domain if the >>> requested name is not fully qualified. So if your local domain is >>> configured to be "mydom.com", schoolserver.mydom.com might be the actual >>> name that is looked up. Finally if you have an /etc/hosts file you can >>> supply a local name for an arbitrary IP address, so you could have a line >>> there that gave "192.0.2.1 schoolserver" >>> >>> If your "schoolserver" is not named schoolserver in your same domain, >>> just add an /etc/host entry. >>> >> >> Hi, yes i can connect to the XS at http://schoolserver, ping schoolserver >> etc. It does look like its configured correctly. The SoaS is getting a DHCP >> address from the XS. >> > > > I put print e.code in the HTTPError handler in check_server_availble and > the error code is "403" for Unauthorized. I can connect to Moodle with the > magic cookie in Browse so I am not sure what is expected for authentication > for the backup. > > Dave > > >> >> Thanks >> >> Dave >> >> >>> >>> On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote: >>> Hi, I have updated my XS to the lastest code and I have the ds-backup server code on there. I have ds-backup-client on my client (slightly modified SoaS). Now I am investigating how this works and I am reviewing ds-backup.py to see why my backups are not working. I am looking around line 114 and I see this backup_url = 'http://schoolserver/backup/1' I see that the serial number from the client is appended to this. I don't see anything on the XS that responds on this URL. Should this respond or do I have the wrong version of this script or I am confused? If something should respond on this URL, is it part of Moodle, ds-backup server or something else? Thanks! Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel >>> >>> >>> -- >>> "I don't consider him a particularly reliable source of information." >>> >>> -- Secretary of State Hillary Clinton, at a House Foreign Affairs >>> Committee meeting, on former Vice President Dick Cheney. >>> >> >> >> >> -- >> Dave Bauer >> d...@solutiongrove.com >> http://www.solutiongrove.com >> > > > > -- > Dave Bauer > d...@solutiongrove.com > http://www.solutiongrove.com > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- "I don't consider him a particularly reliable source of information." -- Secretary of State Hillary Clinton, at a House Foreign Affairs Committee meeting, on former Vice President Dick Cheney. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ds-backup.py backup_url server check
On Thu, Apr 23, 2009 at 6:44 PM, Dave Bauer wrote: > > > On Thu, Apr 23, 2009 at 5:52 PM, Carol Farlow Lerche wrote: > >> When the client references "schoolserver", it depends on client >> configuration where and if it finds it. Places that can affect this lookup >> process are the configuration designating what is your DNS server, the >> configuration of your resolver (e.g. does it supply a default domain if the >> requested name is not fully qualified. So if your local domain is >> configured to be "mydom.com", schoolserver.mydom.com might be the actual >> name that is looked up. Finally if you have an /etc/hosts file you can >> supply a local name for an arbitrary IP address, so you could have a line >> there that gave "192.0.2.1 schoolserver" >> >> If your "schoolserver" is not named schoolserver in your same domain, just >> add an /etc/host entry. >> > > Hi, yes i can connect to the XS at http://schoolserver, ping schoolserver > etc. It does look like its configured correctly. The SoaS is getting a DHCP > address from the XS. > I put print e.code in the HTTPError handler in check_server_availble and the error code is "403" for Unauthorized. I can connect to Moodle with the magic cookie in Browse so I am not sure what is expected for authentication for the backup. Dave > > Thanks > > Dave > > >> >> On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote: >> >>> Hi, >>> >>> I have updated my XS to the lastest code and I have the ds-backup server >>> code on there. >>> I have ds-backup-client on my client (slightly modified SoaS). >>> >>> Now I am investigating how this works and I am reviewing ds-backup.py to >>> see why my backups are not working. >>> >>> I am looking around line 114 and I see this >>> >>>backup_url = 'http://schoolserver/backup/1' >>> >>> I see that the serial number from the client is appended to this. >>> >>> I don't see anything on the XS that responds on this URL. Should this >>> respond or do I have the wrong version of this script or I am confused? >>> If something should respond on this URL, is it part of Moodle, ds-backup >>> server or something else? >>> >>> Thanks! >>> Dave >>> >>> -- >>> Dave Bauer >>> d...@solutiongrove.com >>> http://www.solutiongrove.com >>> >>> ___ >>> Server-devel mailing list >>> Server-devel@lists.laptop.org >>> http://lists.laptop.org/listinfo/server-devel >>> >>> >> >> >> -- >> "I don't consider him a particularly reliable source of information." >> >> -- Secretary of State Hillary Clinton, at a House Foreign Affairs >> Committee meeting, on former Vice President Dick Cheney. >> > > > > -- > Dave Bauer > d...@solutiongrove.com > http://www.solutiongrove.com > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Thu, Apr 23, 2009 at 7:58 PM, Hamilton Chua wrote: > I'm using SoaS, I have modified schoolserver.py to register with my XS > and keep the generated serial and uuid in gconf. I have also modified > ds-backup.py to read the SN from gconf. > > I'm not sure if this is an issue with the hacks I've made but I got an > error in the moodle UI backup tab that says > > Problem opening /library/users//datastore-x/store > > where is the serial and is the data and time when the backup > was made. > > I looked at these directories in the XS and I could not a find a store > folder or file in "datastore-" > Wait close but a different error. datastore-latest is supposed to be a symlink to the lastest backup. If there anything inside the /library/users// directory at all? Dave > Any ideas ? > > Thanks :-) > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Thu, Apr 23, 2009 at 7:58 PM, Hamilton Chua wrote: > I'm using SoaS, I have modified schoolserver.py to register with my XS > and keep the generated serial and uuid in gconf. I have also modified > ds-backup.py to read the SN from gconf. > > I'm not sure if this is an issue with the hacks I've made but I got an > error in the moodle UI backup tab that says > > Problem opening /library/users//datastore-x/store > > where is the serial and is the data and time when the backup > was made. > > I looked at these directories in the XS and I could not a find a store > folder or file in "datastore-" > Actually I think this happens, from my reading of the code, when there haven't been any backups yet. You need to make sure the backup process has run on the client side first. Dave > > Any ideas ? > > Thanks :-) > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
I'm using SoaS, I have modified schoolserver.py to register with my XS and keep the generated serial and uuid in gconf. I have also modified ds-backup.py to read the SN from gconf. I'm not sure if this is an issue with the hacks I've made but I got an error in the moodle UI backup tab that says Problem opening /library/users//datastore-x/store where is the serial and is the data and time when the backup was made. I looked at these directories in the XS and I could not a find a store folder or file in "datastore-" Any ideas ? Thanks :-) signature.asc Description: This is a digitally signed message part ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ds-backup.py backup_url server check
On Thu, Apr 23, 2009 at 5:52 PM, Carol Farlow Lerche wrote: > When the client references "schoolserver", it depends on client > configuration where and if it finds it. Places that can affect this lookup > process are the configuration designating what is your DNS server, the > configuration of your resolver (e.g. does it supply a default domain if the > requested name is not fully qualified. So if your local domain is > configured to be "mydom.com", schoolserver.mydom.com might be the actual > name that is looked up. Finally if you have an /etc/hosts file you can > supply a local name for an arbitrary IP address, so you could have a line > there that gave "192.0.2.1 schoolserver" > > If your "schoolserver" is not named schoolserver in your same domain, just > add an /etc/host entry. > Hi, yes i can connect to the XS at http://schoolserver, ping schoolserver etc. It does look like its configured correctly. The SoaS is getting a DHCP address from the XS. Thanks Dave > > On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote: > >> Hi, >> >> I have updated my XS to the lastest code and I have the ds-backup server >> code on there. >> I have ds-backup-client on my client (slightly modified SoaS). >> >> Now I am investigating how this works and I am reviewing ds-backup.py to >> see why my backups are not working. >> >> I am looking around line 114 and I see this >> >>backup_url = 'http://schoolserver/backup/1' >> >> I see that the serial number from the client is appended to this. >> >> I don't see anything on the XS that responds on this URL. Should this >> respond or do I have the wrong version of this script or I am confused? >> If something should respond on this URL, is it part of Moodle, ds-backup >> server or something else? >> >> Thanks! >> Dave >> >> -- >> Dave Bauer >> d...@solutiongrove.com >> http://www.solutiongrove.com >> >> ___ >> Server-devel mailing list >> Server-devel@lists.laptop.org >> http://lists.laptop.org/listinfo/server-devel >> >> > > > -- > "I don't consider him a particularly reliable source of information." > > -- Secretary of State Hillary Clinton, at a House Foreign Affairs Committee > meeting, on former Vice President Dick Cheney. > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ds-backup.py backup_url server check
When the client references "schoolserver", it depends on client configuration where and if it finds it. Places that can affect this lookup process are the configuration designating what is your DNS server, the configuration of your resolver (e.g. does it supply a default domain if the requested name is not fully qualified. So if your local domain is configured to be "mydom.com", schoolserver.mydom.com might be the actual name that is looked up. Finally if you have an /etc/hosts file you can supply a local name for an arbitrary IP address, so you could have a line there that gave "192.0.2.1 schoolserver" If your "schoolserver" is not named schoolserver in your same domain, just add an /etc/host entry. On Thu, Apr 23, 2009 at 1:58 PM, Dave Bauer wrote: > Hi, > > I have updated my XS to the lastest code and I have the ds-backup server > code on there. > I have ds-backup-client on my client (slightly modified SoaS). > > Now I am investigating how this works and I am reviewing ds-backup.py to > see why my backups are not working. > > I am looking around line 114 and I see this > >backup_url = 'http://schoolserver/backup/1' > > I see that the serial number from the client is appended to this. > > I don't see anything on the XS that responds on this URL. Should this > respond or do I have the wrong version of this script or I am confused? > If something should respond on this URL, is it part of Moodle, ds-backup > server or something else? > > Thanks! > Dave > > -- > Dave Bauer > d...@solutiongrove.com > http://www.solutiongrove.com > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- "I don't consider him a particularly reliable source of information." -- Secretary of State Hillary Clinton, at a House Foreign Affairs Committee meeting, on former Vice President Dick Cheney. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] ds-backup.py backup_url server check
Hi, I have updated my XS to the lastest code and I have the ds-backup server code on there. I have ds-backup-client on my client (slightly modified SoaS). Now I am investigating how this works and I am reviewing ds-backup.py to see why my backups are not working. I am looking around line 114 and I see this backup_url = 'http://schoolserver/backup/1' I see that the serial number from the client is appended to this. I don't see anything on the XS that responds on this URL. Should this respond or do I have the wrong version of this script or I am confused? If something should respond on this URL, is it part of Moodle, ds-backup server or something else? Thanks! Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel