At 16h16, the Mcunlock trigger started producing endlessly
messages of the kind:
................................................................
MCunlock: 22 Sep 2001 (16:16:38): FATAL in FdCmGetFrameHandler:
frame received from FbmMainOP is NULL.
................................................................
The last "normal" message was:
................................................................
MCunlock: 22 Sep 2001 (16:16:27): Results frame 16075 of run 22
(672.374kB) written in shared memory.
................................................................
We stopped the process. Ctrl-C was not enough so I had to use
a "kill -9".
Then we restarted it and everything seemed to get back to normal.
Follwing a request from the Annecy group, I have created a
new Virgo environment in view of the run E0.
Here are the changes:
Dy v8r02 -> v8r03 (with root v3r1p6 et Fd v3r7)
Fd v3r5p2 -> v3r7
Fr v4r31 -> v4r42
root v3r0 -> v3r1p6
vega v0r57 -> v0r58 (with root v3r1p6 et Fr v4r31)
VirgoNoUI v1r22 -> v1r23
Virgo v2r24 -> v2r25
This morning, I tried to see if the nameserver could be moved
transparently from one machine to the other without disturbing
the applications.
The first thing to do is to use an alias instead of a hostname
in the CmDomains file (starting from v7r11, the NameServer.start
script has been modified to accomodate this). I chose the alias
cmnsTest which I inititally set to ax3.
I also recompiled in ~teuler/Cm the v7r11 in order to be able
to make any change without interfering with the production
applications.
In CmDomainTest domain, I launched a client and a server
applications.
I stopped the server application, then launched it again and, as
expected, it was able to receive messages from the client.
Then I stopped the nameserver on ax3, changed the alias cmnsTest
to point towards ax4, and I resubmitted the nameserver on ax4
(Note : a change in the rc.virgotTest file is required as this
file is presently supposed to refer only to hostnames).
The new nameserver was able to see the client and the server
applications (with cm names).
Final test : I stopped the server application and restarted it.
Unfortunately, the client was unable to follow the move. When he
saw that the server application was not there any more, he
contacted the nameserver, but at the old address (ax3), and it
failed as the nameserver was now on ax4.
So what is missing in Cm is a mechanism in which in case of
failure the CmDomains file is reread. I will write to Christian
to explain him this requirement.
This morning, ax7 was frozen.
I restarted it at 10am.
The name server could restart all its connections.
One hour later, some people reported that the name server was
not answering.
This seems to correspond to a period when the nameserver was
struggling with some errors:
................................................................
NS> Jul 16 11:07:00 CmConnectCheckInputData> Status -1 errno=60
Connect Guardian_NI_damp host rio48A.virgo.infn.it
NS> Jul 16 11:08:15 CmConnectCheckInputData> Status -1 errno=60
Connect Sa_ServerSM_NI host rio48A.virgo.infn.it
NS> Jul 16 11:09:30 CmConnectCheckInputData> Status -1 errno=54
Connect GxC:ax6_1 host ax6.virgo.infn.it
NS> Jul 16 11:09:30 Cm> Signal 13 received
NS> Jul 16 11:09:30 NSGetAddressHandler> Error sending answer to
FbmDet
NS> Jul 16 11:09:30 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax15.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax12.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax15.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax12.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax12.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect GxC:ax6_1 host ax6.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect GxC:ax6_1 host ax6.virgo.infn.it
NS> Jul 16 11:09:31 CmConnectCheckInputData> Status -1 errno=54
Connect cm_1 host ax1.virgo.infn.it
................................................................
In fact, things came back to normal little later, without
intervention.
This remains to be explained...
The environments have been modified this morning at 10am:
VirgoRun v1r14 -> v1r15
VirgoNoUI v1r21 -> v1r22
Virgo v2r23 -> v2r24
These changes have been made necessary following the requests
from Didier Verkindt and Benoit Mours to integrate new releases
for their packages:
Dy v7r03 -> v8r02
Fd v3r4 -> v3r5p2
Fbm v4r4 -> v4r6
Fbs v6r3 -> v7r1
GxC v0r3 -> v0r96
Note: As Dy uses root, and as root has been compiled with the
new compiler, Dy cannot be run on ax1.
As VPC was continuously crashing this afternoon, i recompiled it
with -g and tried to debug the cores, but the debugger failed
(with a core dump!) saying that there were undefined symbols.
So I recompiled it on ax2 and launched it on ax2.
In order to do this, I had to change the ~virgod/virgo.daemons
file.
Fortunately (!), it crashed again, but this time with a core
dump which I could analyse, showing that the crash occurred
while trying to communicate with the ErrorLogger.
So I solved the problem simply by restarting the ErrorLogger.
Now the ErrorLogger and VPC run fine.
I have copied the core dump in /virgoData/VPC/data/coreEl.
I will let it this way (with everything on ax2) for Bruno Mansoux
in case he wants to do a more detailed analysis.
I have modified the /virgoApp/cshrc-sys file to add the following
instruction
unset autlogout
in order not to limit in time inactive users sessions (the defaut
tcsh behaviour is to limit sessions to 60 minutes of inactivity).
(Continuation of the problem with set_append and set_prepend
PATH)
There were some spaces missing in theses macros (these spaces
are used to separate the different components of the path).
I have added these spaces and I have regenerated the
initialization files.
(Continued).
Actually, I had problems generating the jpeg support, though
the jpeg library was correctly installed.
For an unknown reason, a program using the function
jpeg_read_header cannot be linked with
-L/usr/local/lib -ljpeg.
It has to be linked with /usr/local/lib/libjpeg.a
I by-passed the problem by forcing the LDFLAGS variable to
"-static"
By the way, I also forced CC to cc
Following a request from Andrea Vicere, I have installed the
ImageMagick package (version 5.3.5) on the DEC workstations.
Note: As it has been compiled on a new workstation, it will not
be usable on ax1.
Following a problem reported by Henrich Heitmann when using
the supervisor startup script /virgoDev/Bs/SUStart.csh, I have
investigated a little and have discovered that this was due
to an improper use of an environment variable.
This OCONFIG variable was previously defined by OPACS but it is
not any more. So it has disappeared with the environment change
of yesterday. This has created some problems
for the scripts in /virgoDev that were using this variable, so I
took the liberty to change them directly by replacing the
variable OCONFIG with the variable WOCONFIG. Here are the scripts
that I modified:
/virgoDev/Bs/BSVSU/BSVSUUI/v1r2/mgr/OSF1.csh
/virgoDev/Cm/Cmo/v1r1/cmt/OSF1.csh
/virgoDev/Su/VSU/VSUUI/v5/cmt/OSF1.csh
/virgoDev/Db/DbUI/v1r3/cmt/OSF1.csh
/virgoDev/El/ElUI/v1r5/cmt/OSF1.csh
/virgoDev/VMM/v1r4/cmt/OSF1.csh
/virgoDev/Gb/Gbo/v1/cmt/OSF1.csh
/virgoDev/VirgoAll/v1/cmt/OSF1.csh
Starting from May 7 to May 30, I have undertaken a large
recompilation campaign in order to make the most used packages "Virgo Policy Compliant".
In the process, the packages have been upgraded in order to
incorporate the most recent bug fixes.
Here is the list of these packages:
...................................
CSet v2r5
Cm v7r11
CmTimer v1r1 Cm
CmXt v1r1 Cm
Cmo v1r1 Cm
Co v3 OPACS
Db v4r5
DbUI v1r3 Db
El v4r5
ElUI v1r5 El
Fsm v6r7
FsmGb v1r1 Fsm
GATimingUseUI v1 M-Modules/GATiming
GLo v3 OPACS
Gb v4r1
Gbo v1 Gb
Go v3 OPACS
HTMLo v3 OPACS
Ho v3 OPACS
MClockUseUI v1 M-Modules/MClock
Mo v5 OPACS
OPACS v3
Shm v1r3
VMC v1
VMM v1r4
W3o v3 OPACS
Wo v3 OPACS
Xo v3 OPACS
Xx v3 OPACS
...................................
I have installed the new releases of the Virgo environments
(VSE v2r23):
Virgo v2r22 -> v2r23
VirgoNoUI v1r20 -> v1r21
VirgoRun v1r14 -> v1r14
The differences between the two releases are minimal:
1. The standard release of CMT is now v1r8
2. El has been downgraded from El v4r5 to v4r4 (in fact the v4r5
release was not the official version)
3. Fr v4r22 -> v4r31
4. The false OPACS environment variables have been cleared out
(G3o, G4o, Xz)
5. The LD_LIBRARY_PATH variable does not exist any more (because
vega does no longer need it)
6. memwatch v2r64 -> v2r64p1 (for Virgo compliance reasons)
7. root v2.25 -> v3r0 (root is now in /virgoApp)
8. siesta v3r78 -> v3r80
9. vega v0r50 -> v0r57
10. VPC v3r2 -> v3r3
I have modified the requirements files of the most recent versions of packages that used "set PATH" macros of the form
....................
set PATH "foo $PATH"
....................
to
....................
set_prepend PATH foo
....................
In fact, the "$PATH" part was misinterpreted by CMT (v1r8) and
resulted in a null string.
Most probably, I could have also rewrittend $PATH as ${PATH}
but I have prefered using set_append and set_preprend.
I have installed bash 2.05 on the workstations (in /usr/local/bin).
Moreover, I have created a small script in /usr/local/bin/b to
call directly "bash -login".
As I have explained it before, I have succeded in creating a
test environment with all the Virgo daemons.
Unfortunately, when a daemon fails and VPC restarts it, the
daemon restarted by VPC is not the one belonging to the test
environment.
This is due to problems in the server startup scripts, which do
not take into account the arguments sent to them, and also to a
problem with VPC which does not send all the required arguments.
I have reported this problem to Bruno Mansoux.
Following a request from Marie-Anne Bizouard, I have installed
an intermediate version of El (v4r4p1).
In order to integrate it among the standard Virgo daemons, I
have had to modify slightly the "virgo.daemons" file. The
previous one used to initialize the El environment with the
mgr/OSF1.csh script generated by methods. As the installation has
been done with cmt, I have used cmt/setup.csh instead.
I have also modified the config.dat file to update the version of
El to v4r4p1.
As of today 12 a.m., the current name server daemon is the v7r11
daemon.
In view of this change, I have had to introduce two other modifications:
1) The configuration file of VPC (~virgod/config.dat) has been
changed to take into account this new version
2) The virgo.daemons file has also been changed:
a) The version of the nameserver daemon has been changed
b) The shell used to submit this daemon has been changed from "sh" to "csh"
(it was the only daemon to use "sh"; now everything is
homogeneous).
c) As this new version uses cmt, the environment initialization
procedure has been changed from mgr/OSF1.sh to cmt/setup.csh
Following requests from Christian Arnault and Didier Verkindt, I
have installed in /virgoApp three new releases of Virgo Software
Packages:
* Cm v7r10 -> v7r11
* Fbm v4r2 -> v4r4
* Fd v3r1 -> v3r4
A new software environment has been prepared and put into operation:
* Virgo v2r21 -> v2r22
* VirgoNoUI v1r19 -> v1r20
* VirgoRun v1r13 -> v1r14
Note: The installation of Cm under VGPW2 has not been simple:
1) The installation on all the other platforms has been done with
cmt but as cmt is not available on VGPW2 I have had to use
methods on this platform.
2) On this platform, the "make" failed with messages like
No rule to make target `../OSF1/CmConnect.o', needed by...
3) So I saved the compilation script generated on another
platform and I adapted it manually for VGPW2. The installation
then proceeded successfully.
Report on the installation of root and vega on ax3
(with the new version of the O.S. and compilers).
1) I unwrapped root in /scratch/virgoTest/root/v3.00
2) I created a cmt directory with the following requirements file
................................................................
package root
version v3.00
set ROOTSYS $(ROOTROOT)
.................................................................
3) I have configured root with the following options
.................................................................
./configure alphacxx6 --enable-rpath --prefix=/scratch/virgoTest/root/v3.00
--bindir=/scratch/virgoTest/root/v3.00/OSF1
--libdir=/scratch/virgoTest/root/v3.00/OSF1
--etcdir=/scratch/virgoTest/root/v3.00/etc
.................................................................
The important things to note are the alphacxx6 argument (which
selects the right configuration file), the --enable-rpath option,
which sets the "-rpath" (location of the shared libs stored in
the executables) and the location of the bindir, libdir (for
Virgo compatibility) and etcdir (for avoiding writing in /etc)
4) In the compilation, I encountered two small problems, due to
the fact the "statfs" dans "fstatfs" were redeclared in the root
code in a mode slightly different from the system includes (
(without "inline"). I just remove these redeclarations and
everything went fine.
5) In the "gmake install" step, there were script interpretation
errors. I solved them by forcing the SHELL variable in the
Makefile to /bin/ksh (in fact, I used a personal bash shell
instead).
6) I went on to take care of vega. I created a cmt directory with
the following requirements :
.................................................................
use Fr v4r22 /scratch/virgoTest
use root v3.00 /scratch/virgoTest
alias vega ${VEGAROOT}/${UNAME}/vega
set VEGA ${VEGAROOT}
.................................................................
7) I used the Makefile.osf1.cxx6 with slight modifications. Here
is the diff file:
.................................................................
8c8
< SRCFR = /virgoApp/Fr/v4r02/src
---
> SRCFR = $(FRROOT)/src
10,12d9
< # Path to ROOT
< ROOTSYS = /virgoApp/root
<
26c23
< OBJD = ../OSF1
---
> OBJD = ../$(VEGACONFIG)
36,37c33,36
< LDFLAGS = -g
---
> LDFLAGS = -g
> -Wl,-rpath,$(VEGAROOT)/$(VEGACONFIG):$(ROOTROOT)/$(ROOTCONFIG)
.................................................................
These modifications consisted in
a) using the environment variables set by cmt instead of
hard-coded paths
b) cancelling the "ROOTSYS" definition (already done by cmt)
c) Forcing a "rpath" option for the shared libraries.
8) I modified also the "Make-macros" file in order to take
advantage of these environment variables.
9) I then compiled vega. I had a few compiler errors due to the
fact that some default values of arguments were repeated. I just
suppressed these values.
10) The net result of this installation is that one can now use
root and vega in a standard cmt context WITHOUT defining the
LD_LIBRARY_PATH variable.
Complement to the previous message about MetaCard.
The LD_LIBRARY_PATH variable can be set with a "path_append"
instruction for cmt, but with methods it has to be set as a
general environment variable in a user
script (see user.csh in /virgoApp/Bs/MetaCard/v2.01/mgr)