1826332 Members
3444 Online
109692 Solutions
New Discussion

Re: acroread error

 
SOLVED
Go to solution
S.S.
Super Advisor

acroread error

Dear Experts,

For one our system, we have two versions Acrobat5 and Acrobat7.
But application teams are using Acrobat5 and when i tried to execute the 'acroread' file they are receiving the following error.

# ./acroread
An unknown error in early initialization has occurred
Unable to initialize user interface.

whereas for other server it is working fine ie., no issue by executing the same command.

Can help me how can we solve this?
Should i do uninstall this software and freshly install?

Thank you.
20 REPLIES 20
Dennis Handly
Acclaimed Contributor

Re: acroread error

>Should I do uninstall this software and freshly install?

There's probably not much else you can do.
I suppose you could use tusc on the good and bad server and see where the system calls diverge.
Steven Schweda
Honored Contributor

Re: acroread error

> [...] our system [...]

Not a very complete description.

> [...] other server [...]

Not a very complete description.

uname -a

> [...] when i tried to execute [...]

Where were you sitting when you did that?
Do any other GUI programs (like, say,
"xclock" or a Web browser) work in that
environment?
Michael Sillers
Trusted Contributor
Solution

Re: acroread error

I see two possibilities...
This may actually be acrobat 7 which requires an X server to be running.
Another possibility is that it is version 5 but hasen't been initialized. In order to d this, it needs to be run in GUI mode and the license agreed to. If you uninstall then reinstall, you'll need to do this anyway.
S.S.
Super Advisor

Re: acroread error

Hi Michael,

Thank you for advising me.

I will try to do uninstall and reinstall the Acrobat5 software.
May i know where can i get this software and also the installation steps?

S.S.
Super Advisor

Re: acroread error

Hi,

Actually the Acrobat5 is installed on /opt and consists of:

$ ls -lrt
total 32
drwxr-xr-x 2 root sys 8192 Oct 23 2007 installers
drwxr-xr-x 5 bin bin 8192 Oct 23 2007 Reader
drwxr-xr-x 3 bin bin 96 Oct 23 2007 Resource
drwxr-xr-x 3 bin bin 96 Oct 23 2007 Browsers
drwxr-xr-x 2 bin bin 96 Jun 7 18:37 bin

$ cd installers/
$ ls -lrt
total 100816
-rwxr-xr-x 1 root sys 2490880 Oct 23 2007 COMMON.TAR
-rwxr-xr-x 1 root sys 49041408 Oct 23 2007 HPUXRDR.TAR
-rwxr-xr-x 1 root sys 13598 Oct 23 2007 INSTALL
-rwxr-xr-x 1 root sys 22501 Oct 23 2007 LICREAD.TXT
-rwxr-xr-x 1 root sys 143 Oct 23 2007 MANIFEST
-rwxr-xr-x 1 root sys 23150 Oct 23 2007 README
$
Can i again directly reinstall by executing INSTALL?

Kindly advise me.

Thank you.

Kapil Jha
Honored Contributor

Re: acroread error

Can you try to run from X windows.
like from xmanager or smthing.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Suraj K Sankari
Honored Contributor

Re: acroread error

Hi,

Try to run from X-window

# ./acroread

Suraj
S.S.
Super Advisor

Re: acroread error

Have executed the acroread on the x-windows also but still getting the same error only.
Michael Sillers
Trusted Contributor

Re: acroread error

Acrobat 5.07 is available at http://download.adobe.com/pub/adobe/acrobatreader/unix/5.x/hpux-507.tar.gz

It is also on one of the OS install disks but I've got so many I can't find it.
S.S.
Super Advisor

Re: acroread error

Hi Experts,
I have uninstalled and reinstalled the software freshly but still i am encountering the same issue.

# ./acroread
An unknown error in early initialization has occurred enter
Unable to initialize user interface.

Kindly help me to solve this problem.
Steven Schweda
Honored Contributor

Re: acroread error

> Kindly help me to solve this problem.

Kindly answer old questions.
S.S.
Super Advisor

Re: acroread error

Hi Schweda,

$ uname -a
HP-UX B.11.11 U 9000/800 2705366965 unlimited-user license

You are correct Schwdeda, the xclock, xterm all are working fine.
I use export my IP and execute the ./acroread but receiving the following error.
# ./acroread
An unknown error in early initialization has occurred enter
Unable to initialize user interface.
I also did the uninstall and install the acrobat5 but was not worked still receiving the error when executing.

Please help me. Thank you.
Steven Schweda
Honored Contributor

Re: acroread error

> # ./acroread

And where is "." when you do this?

It's been a long time since I used Acrobat,
but as I recall, "acroread" is the Acrobat
_Reader_, not the real Acrobat program.
What, exactly, are you running (and is that
what you want to be running)?

Do all users have the same problem?

Knowing nothing, if some commercial program
emits some unclear error message, I normally
ask the program's vendor about it.
Michael Sillers
Trusted Contributor

Re: acroread error

I've researched this issue and there seems to be suggestion of a permissions problem but I still suspect it's looking for a GUI interface.

Can you run it as root?

Have you tried running it from the cde desktop?

Are the results the same?

Also - acroread will try to open a GUI interface unless you tell it exactly what you want it to do in the command line. What is the exact command you are trying to run?

If you need to run it in the cde desktop, you need an XWindows server. In Windows, I use Cygwin X and have attached a doc file giving install instructions. Of course, it's specific to our environment so you'll have to change some of the directories and IP addresses to suit your environment.
S.S.
Super Advisor

Re: acroread error

Hi Michael,

Thank you for researching my problem and your suggestion.

Here is the procedure which i did:
1. Before executing the acroread file, i have opened the Reflection X in my PC and exported my IP address on the server.
2. I use to logon to root to execute acroread.
3. cd /opt/Acrobat5/bin
# ./acroread
An unknown error in early initialization has occurred
Unable to initialize user interface.
4. Where as when i followed the same steps on other HPUX systems the acroread file is initialised.
5. Note that, for this problematic server, we have installed the security patches in the month of February but for other servers we didn't do patching.
6. Application team reporting this problem of issue after installing the patches.

>>Can you run it as root?
yes

>>Have you tried running it from the cde desktop?
yes, but still the same error


Thank you.

S.S.
Super Advisor

Re: acroread error

Dear Experts,
When i use the Acrobat7 version, after executing the acroread file it is generating a core file.

# ./acroread
/usr/lib/dld.sl: Can't find path for shared library: libgdk_pixbuf_xlib-2.0.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

# ll
total 20096
-rwxr-xr-x 1 root sys 22266 Jan 6 2007 acroread
-rw------- 1 root sys 8816252 Jun 14 10:36 core

# gdb
HP gdb 5.4.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.

(gdb) core core
"/opt/Acrobat7/bin/acroread": can't read symbols: File format not recognized.
(gdb) exit

# what core
core:
HP-UX libisamstub.sl 19991217 (135120) B3907DB/B3909DB B.11.01.11
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
fs_amod.s $Revision: 1.9.1.1 $
libcl.sl version B.11.XX.21 - Jun 22 2005
$ PATCH_11.11/PHCO_38279 Jul 3 2009 04:56:42 $
SMART_BIND
92453-07 dld dld dld.sl B.11.68 090608

Is this the issue due to the patch "PHCO_38279" installed?

In the month of Feb we have installed security patches and also included this patch.
If this issue is reported due to because of this then kindly recommend me the patch to fix.

Thank you.
Dennis Handly
Acclaimed Contributor

Re: acroread error

>When I use the Acrobat7 version, after executing the acroread file it is generating a core file.
>dld.sl: Can't find path for shared library: libgdk_pixbuf_xlib-2.0.sl

Don't even think of looking at the core file. Your problem is the missing shlib above. Where is it installed?

>Is this the issue due to the patch PHCO_38279 installed?

I don't see how libc would have anything to do with a missing shlib? (That's why you don't use what(1) on a core file. You jump to the wrong conclusions.)
Michael Sillers
Trusted Contributor

Re: acroread error

Just poking around in the dark at this point but since it runs as administrator and doesn't as anyone else, check the .profile of administrator against that of another user who can't run acroread and see if there are any differences in the library paths.

You might also try checking into the security where the supposedly missing library is and the acrobat directories.
S.S.
Super Advisor

Re: acroread error

Dear Experts,

I have rectified the problem of Acrobat7 version ie., libary files path missing.
For that, i have exported the missing library path to the environmental variable and have tried the execution of acroread file of Acrobat7. It is working fine.

However, still the problem with the Acrobat5 has not yet resolved.

# ./acroread
An unknown error in early initialization has occurred
Unable to initialize user interface.

I am unable to trace the cause for this issue.

I have executed this script in the X windows also but still the problem.

S.S.
Super Advisor

Re: acroread error

I have run the tusc utility and have traced the issue that this is due to the barcode font installed on the server.
Have temporarly moved that font to different location. Now i can able to run the acrobat with the acroread script.

Problem solved.

Thank you!