[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031103: McIDAS Build Errors under Redhat 9 (cont.)



>From: "Patrick O'Reilly" <address@hidden>
>Organization: UNI
>Keywords: 200310311747.h9VHlZOb021585 McIDAS-X v2002 RedHat 9.0 Linux

Patrick,

>Hope you have nothing else to do today.

Oh, how I wish that was the case :-(

>Got McIDAS installed and tested
>fine.  I must've had way too restrictive settings at first (umask 077), then
>did something screwy second, then I found "setenv CFLAGS -o" in mcidas'
>.cshrc instead of "setenv CFLAGS -O".

Excellent!

>Anyway, about installing the ADDE remote server, I ran:
>
>sh ./mcinet2003.sh install mcadde
>
>and got some trouble.  Output of fun and games is below.  Seems isakmp is
>using port 500.

Right.  This is a problem for McIDAS now, but it will go away in a
future release when the only port used for access will be 112, the port
that Unidata registered with Iana for McIDAS use a number of years
ago.

>Didn't get /etc/xinetd.d/mcserv file created, as I answered
>NO not to override isakmp.  Can I write mcserv by hand specifying another
>port?  My guess is no.

The absolute easiest thing to do at this point is:

<as 'root'>
cd /home/mcidas
sh ./mcinet2003.sh uninstall mcadde
sh ./mcinet2003.sh install mcadde

This time, answer YES to the question asking about overriding isakmp.

>Also the error about not finding the command
>"service".

Comments about 'service' below.

>Thanks again for your time and effort!
>
>[root@thunder src]# cd ~mcidas/
>[root@thunder mcidas]# grep mcserv /etc/services
>[root@thunder mcidas]# sh ./mcinet2003.sh install mcadde
>mcinet2003: ERROR: Port 500 already in use by isakmp
>mcinet2003: INPUT: Override isakmp? (yes/no):
>no
>mcinet2003: /etc/services: mcidas: adding service lines
>19973
>20013
>mcinet2003: /etc/services: mccompress: adding service lines
>20013
>20063
>mcinet2003: xinet: Using xinetd.d to set up services
>mcinet2003: /etc/hosts.allow: mcidas: adding service lines
>161
>214
>mcinet2003: /etc/hosts.allow: mccompress: adding line
>214
>271
>mcinet2003: /etc/xinetd.d/mcidas: modifying file
>mcinet2003: /etc/xinetd.d/mcserv: modifying file
>mcinet2003: /etc/xinetd.d/mccompress: modifying file
>mcinet2003: telling xinetd to reread its configuration
>./mcinet2003.sh: line 1071: service: command not found
>mcinet2003: ERROR: could not tell xinetd to reread its configuration
>(service xinetd restart)
>[root@thunder mcidas]# service xinetd restart
>bash: service: command not found
>[root@thunder mcidas]# which service
>/usr/bin/which: no service in
>(/home/mcidas/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/X11R6/bin
>)

Don't worry about 'service' not being found (it should have been
installed with the OS install, but hey...).

All that mcinet2003.sh is trying to do is have xinetd reread its
configuration files.  This can be accomplished 'by hand' by sending  a
HUP signal to the xinetd process as 'root'.  The same thing is
accomplished by stopping and restarting xinetd either by hand or by
reboot.

Tom