Error when opening McIDAS V

Errors and unexpected results
Post Reply
User avatar
glez_b
Posts: 87
Joined: Thu May 05, 2011 9:19 pm
Contact:

Error when opening McIDAS V

Post by glez_b »

I installed McIDAS-V on a new PC with Fedora 27. When I opening McIDAS-V, this message appeared (see attached message)

How to solve this?
Attachments
LocalServerStop.png
LocalServerStop.png (8.91 KiB) Viewed 4212 times
Boris_MCS
User avatar
jayh
Posts: 424
Joined: Thu Jan 15, 2009 10:34 pm

Re: Error when opening McIDAS V

Post by jayh »

Hi Boris-

With the following information, I'm assuming you never had McIDAS-V installed on this new PC. We support -V on Linux Red Hat and have many users on CentOS. We have seen that error previously on other types of Linux systems that don't have 32 libraries installed. We have this information in our User's Guide:

Q. Why do I see 'Local servers cannot write to userpath:' errors when starting McIDAS-V?

A. To use local servers in McIDAS-V, there is a background server listening process called mcservl. This process run for the duration of the session, and after McIDAS-V is exited, the process take extra time to terminate. If McIDAS-V is closed and started again before the mcservl process terminates, local servers will not be able to start and the 'Local servers cannot write to userpath:' error occurs. Once this error comes up, click OK. If you attempt connecting to a local dataset, a message will pop up directing you to the ADDE Data Manager, where navigating to the Local Servers -> Start Local Servers menu item will start up the local servers correctly so that local servers can be used in the session. To avoid this error, it is recommended that a user waits about 10 seconds after exiting McIDAS-V before starting again.

Additionally, if running 64bit Debian or Ubuntu operating systems, this message can appear at startup if the ia32-libs package is not installed on the workstation. The ia32-libs are the 32bit libraries that 32bit applications need to execute on a 64bit system.


The adde servers are built on 32-bit machines and distributed as binaries, this can cause these problems with unsupported Linux systems that don't have these 32-bit libraries installed by default. To further diagnose this, I'd like you to go to a terminal and try these commands:

1. cd to your McIDAS-V-System directory (e.g. /home/borisvladimir/McIDAS-V-System)
2. cd adde/bin
3. mcservl (Please post the result of this command, it may give us information as to what the problem is or confirmation that your system is lacking the 32-bit libraries.)

If this information is leading us to the 32-bit library problem, you should look for the Fedora equivalent of the ia32-libs package for Ubuntu/Debian Linux. Installing that package(s) may solve the problem.

Other background and trouble shooting steps can be found in this forum thread. Making sure you have the correct 64 bit Linux installer, permissions, etc.

I hope this information helps. Let us know if you have further questions.

Thanks, Jay
User avatar
glez_b
Posts: 87
Joined: Thu May 05, 2011 9:19 pm
Contact:

Re: Error when opening McIDAS V

Post by glez_b »

jayh wrote:Hi Boris-

With the following information, I'm assuming you never had McIDAS-V installed on this new PC. We support -V on Linux Red Hat and have many users on CentOS. We have seen that error previously on other types of Linux systems that don't have 32 libraries installed. We have this information in our User's Guide:

Q. Why do I see 'Local servers cannot write to userpath:' errors when starting McIDAS-V?

A. To use local servers in McIDAS-V, there is a background server listening process called mcservl. This process run for the duration of the session, and after McIDAS-V is exited, the process take extra time to terminate. If McIDAS-V is closed and started again before the mcservl process terminates, local servers will not be able to start and the 'Local servers cannot write to userpath:' error occurs. Once this error comes up, click OK. If you attempt connecting to a local dataset, a message will pop up directing you to the ADDE Data Manager, where navigating to the Local Servers -> Start Local Servers menu item will start up the local servers correctly so that local servers can be used in the session. To avoid this error, it is recommended that a user waits about 10 seconds after exiting McIDAS-V before starting again.

Additionally, if running 64bit Debian or Ubuntu operating systems, this message can appear at startup if the ia32-libs package is not installed on the workstation. The ia32-libs are the 32bit libraries that 32bit applications need to execute on a 64bit system.


The adde servers are built on 32-bit machines and distributed as binaries, this can cause these problems with unsupported Linux systems that don't have these 32-bit libraries installed by default. To further diagnose this, I'd like you to go to a terminal and try these commands:

1. cd to your McIDAS-V-System directory (e.g. /home/borisvladimir/McIDAS-V-System)
2. cd adde/bin
3. mcservl (Please post the result of this command, it may give us information as to what the problem is or confirmation that your system is lacking the 32-bit libraries.)

If this information is leading us to the 32-bit library problem, you should look for the Fedora equivalent of the ia32-libs package for Ubuntu/Debian Linux. Installing that package(s) may solve the problem.

Other background and trouble shooting steps can be found in this forum thread. Making sure you have the correct 64 bit Linux installer, permissions, etc.

I hope this information helps. Let us know if you have further questions.

Thanks, Jay


This appears when executing the indicated command
Attachments
Captura de pantalla de 2018-01-18 13-31-24.png
Boris_MCS
User avatar
jayh
Posts: 424
Joined: Thu Jan 15, 2009 10:34 pm

Re: Error when opening McIDAS V

Post by jayh »

Hi Boris-

Thanks for the information. We don't require that shared library on our test machines, so we aren't sure why Fedora wants it. We have created a new nightly that contains libgfortran.so.3. Please download the installer from: http://www.ssec.wisc.edu/mcidas/software/v/unstable/ and install. Let us know how it works.

Thanks, Jay
User avatar
lbelobra
Posts: 1
Joined: Fri Aug 02, 2019 7:35 pm

Re: Error when opening McIDAS V

Post by lbelobra »

Having the same issue, how do I download the same file? This one listed requires a login.
User avatar
bobc
Posts: 987
Joined: Mon Nov 15, 2010 5:57 pm

Re: Error when opening McIDAS V

Post by bobc »

Hello,

The login and password to install the nightly are both: mcv

Please note that the nightly builds are automatically created every day and include all of the previous day's programming changes. This means that not everything has been fully tested and there may be bugs.

This being said, the post suggesting to use the nightly was written in January of 2018. This means that the change would also be included in core McIDAS-V 1.8, which was released in December of 2018. It's unlikely that downloading/installing the 1.9beta1 nightly build will resolve the issue.

A few things for you to answer/check:
  1. Could you please verify that you installed McIDAS-V as your own user (not administrator) and it's installed in your Users/home account (dependent on operating system) and not in some type of a shared directory (such as Program Files).
  2. We've seen cases in the past where this can occur if you don't have full permissions to the McIDAS-V and McIDAS-V-System directories. Could you verify that you have full permissions to these directories?
  3. McIDAS-V's local server process, which is what is throwing this error, requires port 8112 to be open on your machine. Could you please verify that this port is open?
  4. Could you please let me know what operating system you are running on?

Something that you could try that might give us some more information about what's going on:
  1. Start up McIDAS-V, and from the Main Display window choose Edit > Preferences.
  2. From the User Preferences window, select the Advanced tab.
  3. Change the "Log Level" dropdown from "INFO" to "TRACE" and click OK.
  4. Exit and restart McIDAS-V.
  5. Click OK through the Error.
  6. In the Main Display window, choose Help > Show Support Request Form.
  7. Fill out the fields Request McIDAS-V Support window. Mention in the Description that the report you're sending is related to this forum post.
  8. Click Send Request.

This support request could potentially give us a more detailed error message, as well as some information about your system that may help us diagnose what's going on.

Thanks,
Bob Carp
McIDAS Help Desk
User avatar
bobc
Posts: 987
Joined: Mon Nov 15, 2010 5:57 pm

Re: Error when opening McIDAS V

Post by bobc »

Hello,

Thanks for submitting the support request. Probably the most significant point is that you're on a Ubuntu machine. We don't have an Ubuntu machine here to test ourselves (we only have Red Hat Enterprise Linux). However, there is actually another forum post where an Ubuntu user was having problems with local servers as well.

Local servers cannot write to userpath

This user was running on a 64-bit Ubuntu machine. It's a bit of a lengthy thread with some testing we had him do, but ultimately what fixed the problem was to install the ia32-libs package. If this isn't installed, could you install it and give McIDAS-V another try? If this doesn't work, we'll have you run some additional tests.

Thanks again,
Bob
Post Reply