Unsolved

This post is more than 5 years old

3846

April 13th, 2011 22:00

iconv_open failed for gst

Hello

At the moment i installing a new Networker Server on an OpenSuse 11.4 x86_64.

Networker Version is 7.6.1

When I start my browser pointing to HOST:9000 to start the Networker Management Console it crashs with a HTTP 500 Error and in web_output i see the following error:

[Wed Apr 13 15:37:36 2011] [error] [client 10.32.9.28] Function 'iconv_open' failed for ANSI to UTF-8 conversion. The function may be unable to determine the current locale. Verify appropriate values in environment variables LC_MESSAGES, LC_ALL and LANG.
[Wed Apr 13 15:37:36 2011] [error] [client 10.32.9.28] Premature end of script headers: update_jnlp.cgi

Is there any solution to fix this?

445 Posts

April 14th, 2011 01:00

Rene,

I think you have the locale setting incorrectly set on the Linux server. WE usually see this type of message on Solaris servers where you have to install packages to get the function, however Linux usually has this by default. there is a support solution on Powerlink ref esg83524, this is not for NetWorker but I believe you should find the resolution here to your issue for NMC.

Regards,

Bill Mason

240 Posts

April 14th, 2011 07:00

Rene,

Are you trying to connect from the local NetWorker server, or a remote (management) desktop?

Either way, I would try using the other.

Also, I agee - I would verify the locale is set correctly.

Mark

April 14th, 2011 23:00

First I have to thank about the reply

I checked my locales:

default locale shows this:

LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=

Following esg83524 I changed utf8 to UTF-8:

for i in `locale |cut --delimiter="=" -f1`; do export $i=de_DE.UTF-8; done

then locale shows this:

LANG=de_DE.UTF-8

LC_CTYPE="de_DE.UTF-8"

LC_NUMERIC="de_DE.UTF-8"

LC_TIME="de_DE.UTF-8"

LC_COLLATE="de_DE.UTF-8"

LC_MONETARY="de_DE.UTF-8"

LC_MESSAGES="de_DE.UTF-8"

LC_PAPER="de_DE.UTF-8"

LC_NAME="de_DE.UTF-8"

LC_ADDRESS="de_DE.UTF-8"

LC_TELEPHONE="de_DE.UTF-8"

LC_MEASUREMENT="de_DE.UTF-8"

LC_IDENTIFICATION="de_DE.UTF-8"

LC_ALL=de_DE.UTF-8

I also have investigated the /etc/init.d/gst and it shows, there are some Lang Envirenment Variables set on start (here I also changed utf8 to UTF-8) :

host:/opt/lgtonmc/logs # head /etc/init.d/gst -n 39 |tail -n 3

declare -x LANG="de_DE.UTF-8"

declare -x LC_ALL="de_DE.UTF-8"

declare -x LC_MESSAGES="de_DE.UTF-8"

But all this will not help and my problem exists.

Did I forget something?

4 Operator

 • 

14.3K Posts

April 17th, 2011 02:00

I didn't check, but is opensuse supported as platform?  I know suse is, but open one not so sure (nor if any difference there might have effect).

April 17th, 2011 22:00

Dont know

My old Legato Server runs on OpenSuse.

But its an old Version (10.3)

240 Posts

April 18th, 2011 06:00

I just reviewed the EMC Information Protection Software Compatibility Guide located at http://powerlink.emc.com/km/live1//en_US/Offering_Technical/Technical_Documentation/InformationProtection_SCG.pdf on Powerlink.  The supported only version of SuSE is SuSE Linux Enterprise Server (SLES) versions 9, 10 and 11

This does NOT mean it will not run on open OpenSuSE - it just means you will not get support from EMC.  Also, there are some issue you may need to work through, such as the one you have encountered.

That having been said, I will dig some more into our KB articles and see what I can find for you.

Mark

240 Posts

April 18th, 2011 07:00

Just for clarification,  what version of OpenSuSE are you using and what is the hardware?  64-bit or 32-bit?

Also, what version of NetWorker did you download?  Was it for 32-bit or 64-bit?

Thanks,

Mark

240 Posts

April 18th, 2011 07:00

Working with the Function 'iconv_open' failed for UTF-8 to ANSI conversion error message, I have found this article concerning the exact error message you are receiving:  http://solutions.emc.com/EMCSolutionView.asp?id=esg115541&usertype=C

I know this is related to Solaris, but it points to the possibility that there is an install option or package of the OS that may need to be added.

As I am reviewing this further, there are no mentions of this issue on either SuSE of OpenSuSE.  However, the package issues (mainly solaris) seems to be a Windows emmulation package that is missing (SUNWuiu8 for example).  It is not clear to me what the equivelent package is in OpenSuSE, but for Solaris I am seeing the need of this package all over the place - and not just for NetWorker.

Although no one states it, it appears that this a package that allows 32-bit applications to run on 64-bit hardware.

I would suggest you look in that direction to see if there is a package that will resolve this issue.  I have searched the OpenSuSE website, but I am not finding anything related to this error at all.  I have also searched in general on the internet and there are no clear answers there either.

I will continue to look, but I wanted to get this information out to you and anyone that may have seen this error before who can assist.

Mark

April 18th, 2011 22:00

many thanks for your reply

I know the Solaris solution. But I was also unable to determain which package is needed on Linux hosts.

I have installed a OpenSuse 11.4 x86_64.

The Networker I am trying to use is 7.6.1 in x86_64 version.

At the moment I have a working workaround for my issue.

Just have put the gconsole.jnlp and  javahelp.jnlp in an Apache webserver.

1 Message

February 15th, 2012 05:00

Hi Rene,

i assume you have already a solution. For all who do not have one ...

I ran into the same issue today (SLES11SP1, 64 Bit, Networker 7.6.3-1)

A strace -f on the gstd process shows following error:

[pid 14544] open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)

[pid 14544] open("/usr/lib/gconv/gconv-modules", O_RDONLY) = -1 ENOENT (No such file or directory)

These files are part of the package "glibc-locale-32bit-2.11.1-0.17.4".

In my setup this fixed the error.

Regards,

Torsten

No Events found!

Top