From lon-capa-dev@mail.lon-capa.org Thu Mar 10 16:26:59 2011 From: lon-capa-dev@mail.lon-capa.org (Stuart Raeburn) Date: Thu, 10 Mar 2011 11:26:59 -0500 Subject: [LON-CAPA-dev] Updating LON-CAPA on a development server In-Reply-To: <20110227121453.9e9xz6qrxck8ows4@loncapa.org> References: <20110227121453.9e9xz6qrxck8ows4@loncapa.org> Message-ID: <20110310112659.jk7fdbv9dwg8wsso@loncapa.org> As of 3/10/2011, the additional line: "make aboutVERSION", advertised on 2/27/2011 as being needed when updating a development server, is no longer required, as that call has now been included within the operations which occur when using "make install". So the update procedure is once again, simply: cd /somewhere/loncapa cvs update -d -A cd loncom/build make build su make install /etc/init.d/loncontrol stop /etc/init.d/loncontrol start /etc/init.d/httpd restart Stuart Raeburn > A part of the changes made for LON-CAPA 2.10 was the inclusion of > version checking to determine whether a course featured any specific > version requirements arising from included response types and/or > parameter settings. > > Roles in courses requiring a specific version (or later) of LON-CAPA > can not be selected on a server hosting the user's session if that > server's version is too old. > > The question then arises - how best to accommodate development servers? > - for which traditionally the Version has remained as the default, > i.e., set to: which is blank on a web page. > > Given that developers need to be able to test future code changes to > version checking and or dependencies etc., continued use of is not a good solution. > > Instead development servers will include a version number similar to > 2.11.CVS_HEAD-2011022621 where the first part is the number of the next > version (in the form N.M) and 2011022621 is the date/time of the last > update to CVS_HEAD, in the form YYYYMMDDHH. > > The N.M and CVS_HEAD in the version number come from the values set in > Makefile for VERSION and NEXTVERSION respectively. > > The procedure for updating a development server used to be: > > cd /somewhere/loncapa > cvs update -d -A > cd loncom/build > make build > su > make install > > One additional line is now added so it becomes: > > cd /somewhere/loncapa > cvs update -d -A > cd loncom/build > make build > make aboutVERSION > su > make install > > > Stuart Raeburn From lon-capa-dev@mail.lon-capa.org Mon Mar 21 22:22:17 2011 From: lon-capa-dev@mail.lon-capa.org (Lucas, Mark) Date: Mon, 21 Mar 2011 17:22:17 -0400 Subject: [LON-CAPA-dev] 2.10 - lon balancer Message-ID: <40B76860-AEDE-48DA-9EEF-57D2D9905D64@ohio.edu> --_000_40B76860AEDE48DA9EEF57D2D9905D64ohioedu_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I think I found the issue. I've been using hashes(#) to comment out lines = in the spares.tab. In the jump from 2.9.1 to 2.10, it looks like LON-CAPA is less= tolerant of the comments. When I took out these lines in spares.tab, it behaves. Mark -- Mark Lucas email: lucasm@ohiou.edu 252D Clippinger Lab phone: (740)597-2984 Department of Physics and Astronomy fax: (740)593-0433 Ohio University Athens, OH 45701 --_000_40B76860AEDE48DA9EEF57D2D9905D64ohioedu_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I think I found the issue. &= nbsp;I've been using hashes(#) to comment out lines in the
spares= .tab.  In the jump from 2.9.1 to 2.10, it looks like LON-CAPA is less = tolerant
of the comments. When I took out these lines in spares.t= ab, it behaves.

Mark

-- 
Mark Lucas  email: l= ucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department = of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701=

= --_000_40B76860AEDE48DA9EEF57D2D9905D64ohioedu_-- From lon-capa-dev@mail.lon-capa.org Mon Mar 21 14:14:42 2011 From: lon-capa-dev@mail.lon-capa.org (Lucas, Mark) Date: Mon, 21 Mar 2011 09:14:42 -0400 Subject: [LON-CAPA-dev] 2.10 RC2 - Lonbalancer Message-ID: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> --_000_868D773F4507412D91A07CDF57EF5211ohioedu_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi, Out of curiosity, has anyone tried a lonbalancing machine using 2.10? I just bumped most of my cluster up to 2.10. My balancing machine will authenticate a login, but not pass along the connection to another machine. It returns to the authentication machine. I did have a goof when updating to 2.10, and I updated twice. I also found a problem with a commented line #msua2 in the spare table. When I backed off to 2.9.1, things seem to work. My simple questions are (a) whether anyone has tried lonbalancer in 2.10 RC= 2, and (b) has anyone seen anything like this? I just don't want to pound on = this if it's a known issue. I'll probably try to update again later today or tomorr= ow morning. Thanks! Mark -- Mark Lucas email: lucasm@ohiou.edu 252D Clippinger Lab phone: (740)597-2984 Department of Physics and Astronomy fax: (740)593-0433 Ohio University Athens, OH 45701 --_000_868D773F4507412D91A07CDF57EF5211ohioedu_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi,

Out of cur= iosity, has anyone tried a lonbalancing machine using 2.10?

<= /div>
I just bumped most of my cluster up to 2.10.  My balancing m= achine
will authenticate a login, but not pass along the connecti= on to another
machine. It returns to the authentication machine.<= /div>

I did have a goof when updating to 2.10, and I upd= ated twice.
I also found a problem with a commented line #msua2 i= n the
spare table.

When I backed off to = 2.9.1, things seem to work.

My simple questions ar= e (a) whether anyone has tried lonbalancer in 2.10 RC2,
and (b) h= as anyone seen anything like this?  I just don't want to pound on this= if
it's a known issue. I'll probably try to update aga= in later today or tomorrow morning.

Thanks!
<= div>Mark
 
-- 
Mark Lucas  email: l= ucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department = of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701=

= --_000_868D773F4507412D91A07CDF57EF5211ohioedu_-- From lon-capa-dev@mail.lon-capa.org Tue Mar 29 15:53:24 2011 From: lon-capa-dev@mail.lon-capa.org (hkng) Date: Tue, 29 Mar 2011 10:53:24 -0400 Subject: [LON-CAPA-dev] 2.10 RC2 - Lonbalancer In-Reply-To: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> References: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> Message-ID: --0016e640cf70e4d260049fa0383a Content-Type: text/plain; charset=ISO-8859-1 I ran into this problem also. So I revert lonbalancer server to 2.9.1 whereas all the others are 2.10 RC2. There seems to be some extra domain configurations needed with 2.10. -hk 2011/3/21 Lucas, Mark > Hi, > > Out of curiosity, has anyone tried a lonbalancing machine using 2.10? > > I just bumped most of my cluster up to 2.10. My balancing machine > will authenticate a login, but not pass along the connection to another > machine. It returns to the authentication machine. > > I did have a goof when updating to 2.10, and I updated twice. > I also found a problem with a commented line #msua2 in the > spare table. > > When I backed off to 2.9.1, things seem to work. > > My simple questions are (a) whether anyone has tried lonbalancer in 2.10 > RC2, > and (b) has anyone seen anything like this? I just don't want to pound on > this if > it's a known issue. I'll probably try to update again later today or > tomorrow morning. > > Thanks! > Mark > > -- > Mark Lucas email: lucasm@ohiou.edu > 252D Clippinger Lab phone: (740)597-2984 > Department of Physics and Astronomy fax: (740)593-0433 > Ohio University > Athens, OH 45701 > > --0016e640cf70e4d260049fa0383a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I ran into this problem also. So I revert lonbalancer server to 2.9.1 where= as all the others are 2.10 RC2. There seems to be some extra domain configu= rations needed with 2.10. -hk


2011/3/= 21 Lucas, Mark <luc= asm@ohio.edu>
Hi,

Out of curiosi= ty, has anyone tried a lonbalancing machine using 2.10?

I just bumped most of my cluster up to 2.10. =A0My balancing machine<= /div>
will authenticate a login, but not pass along the connection to anothe= r
machine. It returns to the authentication machine.
I did have a goof when updating to 2.10, and I updated twice.<= /div>
I also found a problem with a commented line #msua2 in the
s= pare table.

When I backed off to 2.9.1, things see= m to work.

My simple questions are (a) whether any= one has tried lonbalancer in 2.10 RC2,
and (b) has anyone seen anything like this? =A0I just don't want t= o pound on this if
it's a known issue.=A0I'll probably tr= y to update=A0again later today or tomorrow morning.

Thanks!
Mark
=A0
--=A0
Mark Lucas=A0 = email:=A0lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy = fax: (740)593-0= 433
Ohio University
Athens, OH 45701


--0016e640cf70e4d260049fa0383a-- From lon-capa-dev@mail.lon-capa.org Tue Mar 29 15:56:27 2011 From: lon-capa-dev@mail.lon-capa.org (hkng) Date: Tue, 29 Mar 2011 10:56:27 -0400 Subject: [LON-CAPA-dev] 2.10 - lon balancer In-Reply-To: <40B76860-AEDE-48DA-9EEF-57D2D9905D64@ohio.edu> References: <40B76860-AEDE-48DA-9EEF-57D2D9905D64@ohio.edu> Message-ID: --00163630fbe1c24891049fa04367 Content-Type: text/plain; charset=ISO-8859-1 Interesting, my spare.tab does not have any # comment lines. - -hk 2011/3/21 Lucas, Mark > I think I found the issue. I've been using hashes(#) to comment out lines > in the > spares.tab. In the jump from 2.9.1 to 2.10, it looks like LON-CAPA is less > tolerant > of the comments. When I took out these lines in spares.tab, it behaves. > > Mark > > -- > Mark Lucas email: lucasm@ohiou.edu > 252D Clippinger Lab phone: (740)597-2984 > Department of Physics and Astronomy fax: (740)593-0433 > Ohio University > Athens, OH 45701 > > --00163630fbe1c24891049fa04367 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Interesting, my spare.tab does not have any # comment lines. - -hk

<= br>
2011/3/21 Lucas, Mark <<= a href=3D"mailto:lucasm@ohio.edu">lucasm@ohio.edu>
I think I found the issue. =A0I&= #39;ve been using hashes(#) to comment out lines in the
spares.ta= b. =A0In the jump from 2.9.1 to 2.10, it looks like LON-CAPA is less tolera= nt
of the comments. When I took out these lines in spares.tab, it behaves= .

Mark

--=A0
Mark Lucas=A0 = email:=A0lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy = fax: (740)593-0= 433
Ohio University
Athens, OH 45701


--00163630fbe1c24891049fa04367-- From lon-capa-dev@mail.lon-capa.org Tue Mar 29 17:38:27 2011 From: lon-capa-dev@mail.lon-capa.org (Stuart Raeburn) Date: Tue, 29 Mar 2011 12:38:27 -0400 Subject: [LON-CAPA-dev] 2.10 RC2 - Lonbalancer In-Reply-To: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> References: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> Message-ID: <20110329123827.cjck1vt41wog8ocw@loncapa.org> Mark, > Out of curiosity, has anyone tried a lonbalancing machine using 2.10? Yes. loncapa.msu.edu (s9) is MSU's lonBalancer machine, and it has been running 2.10.0.RC2 since January. There have been no problems with it off-loading sessions both with and without Single Sign On. Stuart Raeburn MSU LON-CAPA group Quoting "Lucas, Mark" : > Hi, > > Out of curiosity, has anyone tried a lonbalancing machine using 2.10? > > I just bumped most of my cluster up to 2.10. My balancing machine > will authenticate a login, but not pass along the connection to another > machine. It returns to the authentication machine. > > I did have a goof when updating to 2.10, and I updated twice. > I also found a problem with a commented line #msua2 in the > spare table. > > When I backed off to 2.9.1, things seem to work. > > My simple questions are (a) whether anyone has tried lonbalancer in 2.10 RC2, > and (b) has anyone seen anything like this? I just don't want to > pound on this if > it's a known issue. I'll probably try to update again later today or > tomorrow morning. > > Thanks! > Mark > > -- > Mark Lucas email: lucasm@ohiou.edu > 252D Clippinger Lab phone: (740)597-2984 > Department of Physics and Astronomy fax: (740)593-0433 > Ohio University > Athens, OH 45701 > > From lon-capa-dev@mail.lon-capa.org Wed Mar 30 18:54:37 2011 From: lon-capa-dev@mail.lon-capa.org (hkng) Date: Wed, 30 Mar 2011 13:54:37 -0400 Subject: [LON-CAPA-dev] 2.10 RC2 - Lonbalancer In-Reply-To: <20110329123827.cjck1vt41wog8ocw@loncapa.org> References: <868D773F-4507-412D-91A0-7CDF57EF5211@ohio.edu> <20110329123827.cjck1vt41wog8ocw@loncapa.org> Message-ID: --0016361e7c70cf4509049fb6de39 Content-Type: text/plain; charset=ISO-8859-1 The problem that I encountered was not for fsu users but for fsuK12 users. fsuK12 domain is shared with fsu on the same server. When students from fsuK12 domain log in, they get directed to the library server but did not get authenticated. So there was this log (in lonnet) where they try to log in again. -hk On Tue, Mar 29, 2011 at 12:38 PM, Stuart Raeburn wrote: > Mark, > > > Out of curiosity, has anyone tried a lonbalancing machine using 2.10? >> > > Yes. > > loncapa.msu.edu (s9) is MSU's lonBalancer machine, and it has been running > 2.10.0.RC2 since January. > > There have been no problems with it off-loading sessions both with and > without Single Sign On. > > Stuart Raeburn > MSU LON-CAPA group > > > > Quoting "Lucas, Mark" : > > Hi, >> >> Out of curiosity, has anyone tried a lonbalancing machine using 2.10? >> >> I just bumped most of my cluster up to 2.10. My balancing machine >> will authenticate a login, but not pass along the connection to another >> machine. It returns to the authentication machine. >> >> I did have a goof when updating to 2.10, and I updated twice. >> I also found a problem with a commented line #msua2 in the >> spare table. >> >> When I backed off to 2.9.1, things seem to work. >> >> My simple questions are (a) whether anyone has tried lonbalancer in 2.10 >> RC2, >> and (b) has anyone seen anything like this? I just don't want to pound >> on this if >> it's a known issue. I'll probably try to update again later today or >> tomorrow morning. >> >> Thanks! >> Mark >> >> -- >> Mark Lucas email: lucasm@ohiou.edu >> >> 252D Clippinger Lab phone: (740)597-2984 >> Department of Physics and Astronomy fax: (740)593-0433 >> Ohio University >> Athens, OH 45701 >> >> >> > > _______________________________________________ > LON-CAPA-dev mailing list > LON-CAPA-dev@mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-dev > --0016361e7c70cf4509049fb6de39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The problem that I encountered was not for fsu users but for fsuK12 users. = fsuK12 domain is shared with fsu on the same server. When students from fsu= K12 domain log in, they get directed to the library server but did not get = authenticated. So there was this log (in lonnet) where they try to log in a= gain.

-hk

On Tue, Mar 29, 2011 at 12:38 PM,= Stuart Raeburn <ra= eburn@msu.edu> wrote:
Mark,


Out of curiosity, has anyone tried a lonbalancing machine using 2.10?

Yes.

loncapa.msu.edu (s= 9) is MSU's lonBalancer machine, and it has been running 2.10.0.RC2 sin= ce January.

There have been no problems with it off-loading sessions both with and with= out Single Sign On.

Stuart Raeburn
MSU LON-CAPA group



Quoting "Lucas, Mark" <lucasm@ohio.edu>:

Hi,

Out of curiosity, has anyone tried a lonbalancing machine using 2.10?

I just bumped most of my cluster up to 2.10. =A0My balancing machine
will authenticate a login, but not pass along the connection to another
machine. It returns to the authentication machine.

I did have a goof when updating to 2.10, and I updated twice.
I also found a problem with a commented line #msua2 in the
spare table.

When I backed off to 2.9.1, things seem to work.

My simple questions are (a) whether anyone has tried lonbalancer in 2.10 RC= 2,
and (b) has anyone seen anything like this? =A0I just don't want to =A0= pound on this if
it's a known issue. I'll probably try to update again later today o= r =A0tomorrow morning.

Thanks!
Mark

--
Mark Lucas =A0email: = lucasm@ohiou.edu<mailto:lucasm@ohiou.edu>

252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701




_______________________________________________
LON-CAPA-dev mailing list
LON-CAP= A-dev@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-dev

--0016361e7c70cf4509049fb6de39--