Re: [gembud] NMAP2 Crashing

Hi Nathan,

Don't update openmotif with YUM. For some reason the package's shared libraries don't play nice with nmap2. Rebuild openmotif from source as you propose below, although I would add:

1. cd into openmotif directory
2. (as root) type "make uninstall"
3. (as user) type ./configure --prefix=/usr/local --libdir=/usr/lib64 (if you are running a 64 bit kernel, or /usr/lib if you are running a 32 bit kernel)
4. (as user) make all
5. (as root) make install

You shouldn't need to rebuild GEMPAK at all. The next time you run nmap2, it should read the rebuilt openmotif libraries and all should be fine again.

I would still advise you to periodically update your Fedora system as there are plenty of security updates as well as bug fixes. As far as I know, this is the first time in a looooong time that I recall a Fedora update breaking an aspect of N-AWIPS/GEMPAK.

--Kevin ______________________________________________________________________
Kevin Tyle, Systems Administrator               **********************
Dept. of Atmospheric & Environmental Sciences   ktyle@xxxxxxxxxxxxxxxx
University at Albany, ES-235                    518-442-4578 (voice)
1400 Washington Avenue                          518-442-5825 (fax)
Albany, NY 12222                                **********************
______________________________________________________________________

On Sun, 24 Apr 2011, Nathan Parker wrote:

Hi Kevin!

I haven't yet. Basically, do I just need to cd to my openmotif directory and
run a make all and make install, or do I need to rebuild through yum?

Yeah, I'm set to auto-update Fedora, so it could have broken something.

Thanks!

Nathan Parker

WeatherBug Backyard Support


From:  "Kevin R. Tyle" <ktyle@xxxxxxxxxxxxxxxx>
Date:  Mon, 25 Apr 2011 00:58:11 +0000 (UTC)
To:  Nathan Parker <parkernathan@xxxxxx>
Cc:  <gembud@xxxxxxxxxxxxxxxx>
Subject:  Re: [gembud] NMAP2 Crashing

Hi Nathan,

Did you try rebuilding openmotif?  If you have run any updates on your
fedora installation, this can cause nmap2 to crash upon program load until
you rebuild the openmotif libraries from source.

--Kevin

______________________________________________________________________
Kevin Tyle, Systems Administrator               **********************
Dept. of Atmospheric & Environmental Sciences   ktyle@xxxxxxxxxxxxxxxx
University at Albany, ES-235                    518-442-4578 (voice)
1400 Washington Avenue                          518-442-5825 (fax)
Albany, NY 12222                                **********************
______________________________________________________________________

On Sun, 24 Apr 2011, Nathan Parker wrote:

 Hi Michael!

 I seemed to be able to re-install the fonts it was asking me for:

 [gempak@WxBugLIVEWorkstation ~]$ su
 Password:
 [root@WxBugLIVEWorkstation gempak]# yum install fonts-ISO8859-*
 Loaded plugins: langpacks, presto, refresh-packagekit
 Adding en_US to language list
 google-chrome                                            |  951 B     00:00

 rpmfusion-free-updates                                   | 3.3 kB     00:00

 rpmfusion-nonfree-updates                                | 3.3 kB     00:00

 updates/metalink                                         |  17 kB     00:00

 updates                                                  | 4.7 kB     00:00

 updates/primary_db                                       | 5.4 MB     00:27

 Setting up Install Process
 Resolving Dependencies
 --> Running transaction check
 ---> Package iso8859-2-100dpi-fonts.noarch 0:1.0-24.fc14 set to be installed
 --> Processing Dependency: iso8859-2-fonts-common = 1.0-24.fc14 for package:
 iso8859-2-100dpi-fonts-1.0-24.fc14.noarch
 ---> Package iso8859-2-75dpi-fonts.noarch 0:1.0-24.fc14 set to be installed
 ---> Package iso8859-2-misc-fonts.noarch 0:1.0-24.fc14 set to be installed
 --> Running transaction check
 ---> Package iso8859-2-fonts-common.noarch 0:1.0-24.fc14 set to be installed
 --> Finished Dependency Resolution

 Dependencies Resolved


=============================================================================
===
  Package                      Arch         Version           Repository
  Size

=============================================================================
===
 Installing:
  iso8859-2-100dpi-fonts       noarch       1.0-24.fc14       fedora
1.0
 M
  iso8859-2-75dpi-fonts        noarch       1.0-24.fc14       fedora
916
 k
  iso8859-2-misc-fonts         noarch       1.0-24.fc14       fedora
75
 k
 Installing for dependencies:
  iso8859-2-fonts-common       noarch       1.0-24.fc14       fedora
10
 k

 Transaction Summary

=============================================================================
===
 Install       4 Package(s)

 Total download size: 2.0 M
 Installed size: 2.0 M
 Is this ok [y/N]: y
 Downloading Packages:
 Setting up and reading Presto delta metadata
 Processing delta metadata
 Package(s) data still to download: 2.0 M
 (1/4): iso8859-2-100dpi-fonts-1.0-24.fc14.noarch.rpm     | 1.0 MB     00:03

 (2/4): iso8859-2-75dpi-fonts-1.0-24.fc14.noarch.rpm      | 916 kB     00:03

 (3/4): iso8859-2-fonts-common-1.0-24.fc14.noarch.rpm     |  10 kB     00:00

 (4/4): iso8859-2-misc-fonts-1.0-24.fc14.noarch.rpm       |  75 kB     00:00


-----------------------------------------------------------------------------
---
 Total                                           269 kB/s | 2.0 MB     00:07

 Running rpm_check_debug
 Running Transaction Test
 Transaction Test Succeeded
 Running Transaction
   Installing     : iso8859-2-fonts-common-1.0-24.fc14.noarch
  1/4
   Installing     : iso8859-2-75dpi-fonts-1.0-24.fc14.noarch
 2/4
   Installing     : iso8859-2-misc-fonts-1.0-24.fc14.noarch
  3/4
   Installing     : iso8859-2-100dpi-fonts-1.0-24.fc14.noarch
  4/4

 Installed:
   iso8859-2-100dpi-fonts.noarch 0:1.0-24.fc14

   iso8859-2-75dpi-fonts.noarch 0:1.0-24.fc14

   iso8859-2-misc-fonts.noarch 0:1.0-24.fc14


 Dependency Installed:
   iso8859-2-fonts-common.noarch 0:1.0-24.fc14


 Complete!
 [root@WxBugLIVEWorkstation gempak]# yum install
 xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi
 Loaded plugins: langpacks, presto, refresh-packagekit
 Adding en_US to language list
 Setting up Install Process
 Package xorg-x11-fonts-ISO8859-1-75dpi-7.2-12.fc14.noarch already installed
 and latest version
 Resolving Dependencies
 --> Running transaction check
 ---> Package xorg-x11-fonts-ISO8859-1-100dpi.noarch 0:7.2-12.fc14 set to be
 installed
 --> Finished Dependency Resolution

 Dependencies Resolved


=============================================================================
===
  Package                            Arch      Version          Repository
  Size

=============================================================================
===
 Installing:
  xorg-x11-fonts-ISO8859-1-100dpi    noarch    7.2-12.fc14      updates
1.1
 M

 Transaction Summary

=============================================================================
===
 Install       1 Package(s)

 Total download size: 1.1 M
 Installed size: 1.0 M
 Is this ok [y/N]: y
 Downloading Packages:
 Setting up and reading Presto delta metadata
 updates/prestodelta                                      | 993 kB     00:04

 Processing delta metadata
 Package(s) data still to download: 1.1 M
 xorg-x11-fonts-ISO8859-1-100dpi-7.2-12.fc14.noarch.rpm   | 1.1 MB     00:04

 Running rpm_check_debug
 Running Transaction Test
 Transaction Test Succeeded
 Running Transaction
   Installing     : xorg-x11-fonts-ISO8859-1-100dpi-7.2-12.fc14.noarch
 1/1

 Installed:
   xorg-x11-fonts-ISO8859-1-100dpi.noarch 0:7.2-12.fc14


 Complete!
 [root@WxBugLIVEWorkstation gempak]# yum install xfs
 Loaded plugins: langpacks, presto, refresh-packagekit
 Adding en_US to language list
 Setting up Install Process
 Resolving Dependencies
 --> Running transaction check
 ---> Package xorg-x11-xfs.x86_64 1:1.0.5-8.fc14 set to be installed
 --> Processing Dependency: ttmkfdir for package:
 1:xorg-x11-xfs-1.0.5-8.fc14.x86_64
 --> Processing Dependency: libFS.so.6()(64bit) for package:
 1:xorg-x11-xfs-1.0.5-8.fc14.x86_64
 --> Running transaction check
 ---> Package libFS.x86_64 0:1.0.1-5.fc12 set to be installed
 ---> Package ttmkfdir.x86_64 0:3.0.9-32.fc12 set to be installed
 --> Finished Dependency Resolution

 Dependencies Resolved


=============================================================================
===
  Package             Arch          Version                  Repository
 Size

=============================================================================
===
 Installing:
  xorg-x11-xfs        x86_64        1:1.0.5-8.fc14           fedora
71
 k
 Installing for dependencies:
  libFS               x86_64        1.0.1-5.fc12             fedora
32
 k
  ttmkfdir            x86_64        3.0.9-32.fc12            fedora
42
 k

 Transaction Summary

=============================================================================
===
 Install       3 Package(s)

 Total download size: 145 k
 Installed size: 292 k
 Is this ok [y/N]: y
 Downloading Packages:
 Setting up and reading Presto delta metadata
 Processing delta metadata
 Package(s) data still to download: 145 k
 (1/3): libFS-1.0.1-5.fc12.x86_64.rpm                     |  32 kB     00:00

 (2/3): ttmkfdir-3.0.9-32.fc12.x86_64rpm                 |  42 kB     00:00

 (3/3): xorg-x11-xfs-1.0.5-8.fc14.x86_64.rpm              |  71 kB     00:00


-----------------------------------------------------------------------------
---
 Total                                            76 kB/s | 145 kB     00:01

 Running rpm_check_debug
 Running Transaction Test
 Transaction Test Succeeded
 Running Transaction
   Installing     : libFS-1.0.1-5.fc12.x86_64
  1/3
   Installing     : ttmkfdir-30.9-32.fc12.x86_64
  2/3
   Installing     : 1:xorg-x11-xfs-1.0.5-8.fc14.x86_64
 3/3

 Installed:
   xorg-x11-xfs.x86_64 1:1.0.5-8.fc14


 Dependency Installed:
   libFS.x86_64 0:1.0.1-5.fc12          ttmkfdir.x86_64 0:3.09-32.fc12


 Complete!
 [root@WxBugLIVEWorkstation gempak]# /etc/init.d/xfs start
 Starting xfs:                                              [  OK  ]

 But now it's giving me a new error, "Segmentation Fault":
 [root@WxBugLIVEWorkstation gempak]# cd NAWIPS
 [root@WxBugLIVEWorkstation NAWIPS]# . Gemenviron.profile
 [root@WxBugLIVEWorkstation NAWIPS]# ntl
 Resource File:  /home/gempak/GEMPAK6.2.0/resource/Ntop
 graphic, satellite, radar, fax -- 33 95 20 2
  Invoke ... /home/gempak/GEMPAK6.2.0/os/linux64/bin/nmap2
 Finished reading tables...
 Resource File:  /home/gempak/GEMPAK6.2.0/resource/Nmap
 [root@WxBugLIVEWorkstation NAWIPS]# nmap2
 Finished reading tables...
 Resource File:  /home/gempak/GEMPAK6.2.0/resource/Nmap
 Segmentation fault (core dumped)
 [root@WxBugLIVEWorkstation NAWIPS]#

 What do I need to do to resolve that?

 Thanks!

 Nathan Parker

 WeatherBug Backyard Support

 PS. Sorry to switch email accounts. Our corporate account is down right now.