[LON-CAPA-admin] loncontrol not starting
Stuart Raeburn
raeburn at msu.edu
Thu Dec 21 12:16:40 EST 2017
Paul,
The error: "undefined symbol: Perl_Gthr_key_ptr" suggests an
incompatibility between the compiled tth.so installed at
/home/httpd/lib/perl/ and the perl version on your new LON-CAPA
instance.
The tth module is one part of LON-CAPA for which the source is not
distributed. Instead compiled tth.so* files are included in the
LON-CAPA tarball.
When you run ./UPDATE to install or update LON-CAPA, the script:
<some directory>/loncapa-2.11.2/modules/TexConvert/tthperl/commands
is run (where <some directory> is the location of the uncompressed
LON-CAPA tarball from where ./UPDATE is being run).
That script will attempt to identify your Linux distro, architecture,
and perl version, and copy the appropriate tth.so* from
<some directory>/loncapa-2.11.2/modules/TexConvert/tthperl/compiles
to
/home/httpd/lib/perl/tth.so
If you ran an rsync that copied tth.so* from an old instance of
LON-CAPA (with a different perl version) to your new instance *after*
running ./UPDATE that will have replaced the tth.so in
/home/httpd/lib/perl/. (The same is true of capa.so).
If that is what happened, you can either run ./UPDATE again, or you could do:
cd <some directory>/loncapa-2.11.2/modules/TexConvert/tthperl/
bash commands
It is recommended to exclude tth.so and capa.so when running rsync to
copy from one LON-CAPA instance to another, unless the two VMs are the
same distro, architecture and perl version.
Stuart Raeburn
LON-CAPA Academic Consortium
> Hello All,
>
> I just built a new VM to take over as lon-capa.bsu.edu. I tested
> everything on it and everything seemed to work. We just cut over the
> DNS to make lon-capa.bsu.edu point to the new VM. And I rebooted the
> system to give us a "clean" start with the new DNS.
>
> Now I can't connect to the system using
https://urldefense.proofpoint.com/v2/url?u=https-3A__lon-2Dcapa.bsu.edu&d=DwICAw&c=nE__W8dFE-shTxStwXtp0A&r=6g24AmpQZBPFulGSIuS5JJ6GiSlM0WnvLBs7abAf0Go&m=Rd985iV55eCQdDvH6JglblBjCs523j-igTao3v1O3hQ&s=sM7pZ0hW3GPCRPlVjsAegRxoZJShdaYJCytL6TwtCr4&e=
so I connected by ssh to the box and found that neither httpd nor
loncontrol was running and when I try to start loncontrol, I get the
following
> error:
>
> [root at lon-capa01 ~]# /etc/init.d/loncontrol start
> Opening firewall access on port 5663.
> Port already open for 128 IP addresses
> Starting LON-CAPA
> Starting LON-CAPA client and daemon processes (please be patient)
> /usr/bin/perl: symbol lookup error: /home/httpd/lib/perl//tth.so:
> undefined symbol: Perl_Gthr_key_ptr
>
> What's going on here? Everything was working yesterday and this
> morning, but now loncontrol won't start and we have a dead lon-capa.
> Any idea what tth.so is and why are there **two** slashes in the
path?
>
> Thanks,
> Paul
More information about the LON-CAPA-admin
mailing list