[LON-CAPA-admin] 7.3 install help
Lars Jensen
jensen at physics.unr.edu
Thu Jan 2 20:45:57 EST 2003
Hi Scott,
Actually my httpd has been changed in that the 3 include lines have been
added at the end of httpd.conf by the UPDATE script. However, I still
can't login - I get an error that login token is missing, inaccessible
or expired.
Also, the login page cannot load any images or icons...
Lars.
On Thu, 2 Jan 2003, Scott Harrison wrote:
> Hi Lars,
>
> httpd.conf should have been changed.
>
> In the UPDATE script, there is a line called:
> "make postinstall"
>
> The "make postinstall" calls another target:
> "make webserverconf"
>
> which calls webserverconf.piml which generates the
> following code
> (as can be seen by,
> cd loncom/build; make LAUNCH='| more' webserverconf)
>
> --beginsnippet--
> $flag=0;
> open(IN,'</etc/httpd/conf/httpd.conf');
> while (<IN>) {
> if (/^\s*Include\s+conf\/loncapa_apache.conf/) {
> $flag=1;
> }
> }
> close(IN);
> unless ($flag==1) {
> open(OUT,'>>/etc/httpd/conf/httpd.conf');
> print(OUT 'Include conf/loncapa_apache.conf'."\n");
> close(OUT);
> }
> --endsnippet--
>
> So, would you please give a repeatable recipe for the error you are finding,
> because I cannot figure it out with the information you have provided.
>
> Regards,
> Scott
>
> On Thu, Jan 02, 2003 at 04:38:16PM -0800, Lars Jensen wrote:
> > Hi Mark,
> >
> > Thanks for the info - didn't know the script would create the www user,
> > so I already did it by hand. That seems to be working. I also ran the
> > UPDATE script, getting no errors or warnings or anything! I still notice
> > that my httpd.conf is unchanged. I assume I have to edit some
> > configuration files after running UPDATE? Like the httpd.conf, and
> > smb.comf.
> >
> > Do I have toedit any others?
> >
> > The weather out here is fine today, but we have had a lot of snow storms
> > this season.
> >
> > Lars.
> >
> >
> > On Thu, 2 Jan 2003, Mark Lucas wrote:
> >
> > > Hi-
> > >
> > > Are you doing a fresh install of loncapa from the tar file?
> > >
> > > If you are using the instructions under
> > > http://install.lon-capa.org/docs/install/rh73.html
> > >
> > > It will automatically create the www user in the script that
> > > also installs any extra needed rpms. This is the route I've been doing
> > > for fresh installs and it has been working well.
> > >
> > > When copying passwd files, what I do (for better or worse) is
> > > pwunconv on the original passwd/shadow file and the new file, merge the
> > > necessary entries, then pwconv. Probably more work than I need, but
> > > it has behaved. I've had the luxury of rolling machines from one machine
> > > to another in the upgrades, so I have both up at once.
> > >
> > > Check the system portion of the passwd files, but I think there
> > > were some differences between 6.2 and 7.3.
> > >
> > > How's the weather out there?
> > >
> > > Later,
> > > Mark
> > >
> > > On Thu, 2 Jan 2003, Lars Jensen wrote:
> > >
> > > > Right now, I'm in the middle of the 7.3 configuration:
> > > >
> > > > The 7.3 apache runs under user and group apache. Should I create a new
> > > > user www and run apache as this user? If I don't, won't this create
> > > > permission issues for several files in the home directory?
> > > >
> > > > How do I restore users and passwords/shadow passwords? Do I simply copy
> > > > from the 6.2 passwd and group files? What about the shadow password
> > > > files?
> > > >
> > > > Thanks,
> > > > Lars.
> > > >
> > > > --
> > > > Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999.
> > > > Internet: <jensen at physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
> > > > Tel: 775.673.7113 FAX: 775.674.7592
> > > >
> > > > _______________________________________________
> > > > LON-CAPA-admin mailing list
> > > > LON-CAPA-admin at mail.lon-capa.org
> > > > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > > >
> > >
> > > ----------------------------------------------------------------------------
> > > Mark Lucas email: lucasm at 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-admin mailing list
> > > LON-CAPA-admin at mail.lon-capa.org
> > > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > >
> >
> > --
> > Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999.
> > Internet: <jensen at physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
> > Tel: 775.673.7113 FAX: 775.674.7592
> >
> > _______________________________________________
> > LON-CAPA-admin mailing list
> > LON-CAPA-admin at mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > ------( NOTE )------------->
> > This E-mail was scanned for viruses by Ramcell Online (http://www.ramcell.net/antivirus.asp)
> >
>
> --
> On Thu, Jan 02, 2003 at 04:38:16PM -0800, Lars Jensen wrote:
> > Hi Mark,
> >
> > Thanks for the info - didn't know the script would create the www user,
> > so I already did it by hand. That seems to be working. I also ran the
> > UPDATE script, getting no errors or warnings or anything! I still notice
> > that my httpd.conf is unchanged. I assume I have to edit some
> > configuration files after running UPDATE? Like the httpd.conf, and
> > smb.comf.
> >
> > Do I have toedit any others?
> >
> > The weather out here is fine today, but we have had a lot of snow storms
> > this season.
> >
> > Lars.
> >
> >
> > On Thu, 2 Jan 2003, Mark Lucas wrote:
> >
> > > Hi-
> > >
> > > Are you doing a fresh install of loncapa from the tar file?
> > >
> > > If you are using the instructions under
> > > http://install.lon-capa.org/docs/install/rh73.html
> > >
> > > It will automatically create the www user in the script that
> > > also installs any extra needed rpms. This is the route I've been doing
> > > for fresh installs and it has been working well.
> > >
> > > When copying passwd files, what I do (for better or worse) is
> > > pwunconv on the original passwd/shadow file and the new file, merge the
> > > necessary entries, then pwconv. Probably more work than I need, but
> > > it has behaved. I've had the luxury of rolling machines from one machine
> > > to another in the upgrades, so I have both up at once.
> > >
> > > Check the system portion of the passwd files, but I think there
> > > were some differences between 6.2 and 7.3.
> > >
> > > How's the weather out there?
> > >
> > > Later,
> > > Mark
> > >
> > > On Thu, 2 Jan 2003, Lars Jensen wrote:
> > >
> > > > Right now, I'm in the middle of the 7.3 configuration:
> > > >
> > > > The 7.3 apache runs under user and group apache. Should I create a new
> > > > user www and run apache as this user? If I don't, won't this create
> > > > permission issues for several files in the home directory?
> > > >
> > > > How do I restore users and passwords/shadow passwords? Do I simply copy
> > > > from the 6.2 passwd and group files? What about the shadow password
> > > > files?
> > > >
> > > > Thanks,
> > > > Lars.
> > > >
> > > > --
> > > > Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999.
> > > > Internet: <jensen at physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
> > > > Tel: 775.673.7113 FAX: 775.674.7592
> > > >
> > > > _______________________________________________
> > > > LON-CAPA-admin mailing list
> > > > LON-CAPA-admin at mail.lon-capa.org
> > > > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > > >
> > >
> > > ----------------------------------------------------------------------------
> > > Mark Lucas email: lucasm at 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-admin mailing list
> > > LON-CAPA-admin at mail.lon-capa.org
> > > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > >
> >
> > --
> > Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999.
> > Internet: <jensen at physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
> > Tel: 775.673.7113 FAX: 775.674.7592
> >
> > _______________________________________________
> > LON-CAPA-admin mailing list
> > LON-CAPA-admin at mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > ------( NOTE )------------->
> > This E-mail was scanned for viruses by Ramcell Online (http://www.ramcell.net/antivirus.asp)
> >
>
> --
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
--
Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999.
Internet: <jensen at physics.unr.edu>, http://www.scsr.nevada.edu/~jensen
Tel: 775.673.7113 FAX: 775.674.7592
More information about the LON-CAPA-admin
mailing list