" /> Solaris 10 LCA Install Issue (cant run install.sh) - Genesys CTI User Forum

Author Topic: Solaris 10 LCA Install Issue (cant run install.sh)  (Read 5980 times)

Offline gustav

  • Newbie
  • *
  • Posts: 44
  • Karma: 0
Solaris 10 LCA Install Issue (cant run install.sh)
« on: June 11, 2010, 09:07:52 PM »
Advertisement
Im trying to run install.sh on a solaris 10 server, however, I'm getting the folling results:

[code]
$ pwd
/export/home/gcti/Framework_Binaries/management_layer/lca/solaris
$ ls -la
total 23746
drwxr-xr-x  2 genesys  genadmin      13 Dec 15 18:45 .
drwxr-xr-x  8 genesys  genadmin      8 Dec 15 18:45 ..
-rwxr-xr-x  1 genesys  genadmin 7444983 Dec  4  2009 data.tar.gz
-rwxr-xr-x  1 genesys  genadmin    4892 Dec  4  2009 genesys_silent.ini
-rwxr-xr-x  1 genesys  genadmin  103824 Dec  4  2009 gunzip
-rwxr-xr-x  1 genesys  genadmin    4788 Dec  4  2009 install.sh
-rwxr-xr-x  1 genesys  genadmin 1957244 Dec  4  2009 installer.tar.gz
-rwxr-xr-x  1 genesys  genadmin    1487 Dec  4  2009 ip_description.xml
-rwxr-xr-x  1 genesys  genadmin    7590 Dec  4  2009 iscript.tar.gz
-rwxr-xr-x  1 genesys  genadmin  43498 Dec  4  2009 ospatchlist.txt
-rwxr-xr-x  1 genesys  genadmin    5660 Dec  4  2009 read_me.html
-rwxr-xr-x  1 genesys  genadmin 2392064 Dec  4  2009 tar
-rwxr-xr-x  1 genesys  genadmin  36270 Dec  4  2009 tar_gunzip_license.txt
$ ./install.sh
/tmp/2010_06_11_14_44_47_1443/install.sh: ./tar: cannot execute
/tmp/2010_06_11_14_44_47_1443/install.sh: ./tar: cannot execute
/tmp/2010_06_11_14_44_47_1443/install.sh: ./Perl: not found
/tmp/2010_06_11_14_44_47_1443/install.sh: ./cleanup.sh: not found
lca.pl: No such file or directory
$ /tmp/2010_06_11_14_44_47_1443/install.sh: ./gunzip: not found
/tmp/2010_06_11_14_44_47_1443/install.sh: ./gunzip: not found
[/code]


It would appear that ./tar can not be called from this directory, even though the tar executable resides in the folder.  Has anyone had similar issues with Unix/Solaris?

Offline gustav

  • Newbie
  • *
  • Posts: 44
  • Karma: 0
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #1 on: June 11, 2010, 10:26:28 PM »
So, in my attempt to work around this issue, I copied the 'tar' binary from /usr/bin to the install directory.  Now if I run ./tar I get a response (where before the script and prompt would not recognize the tar executable provided by the Genesys install.

I re-ran the install and got the following results:

[code]
$ ./install.sh
/tmp/2010_06_11_16_23_59_1541/install.sh: ./gunzip: cannot execute
tar: blocksize = 0
/tmp/2010_06_11_16_23_59_1541/install.sh: ./gunzip: cannot execute
tar: blocksize = 0
/tmp/2010_06_11_16_23_59_1541/install.sh: ./Perl: not found
/tmp/2010_06_11_16_23_59_1541/install.sh: ./cleanup.sh: not found
lca.pl: No such file or directory
[/code]

It looks like there is still an issue with the blocksize.  I know you can pass a blocksize as a paremeter with tar, however, I dont want to go in and start updating the install script.  Is there wa way to do this globally?

Edit: I did the same thing with gunzip and now its only complaining about ./perl  I tried the same with that executable but unlike tar and gunzip it did not resolve the error.

Also, I should add that I am using Soaris 10 ix86, does it only work with SPARC?
« Last Edit: June 11, 2010, 10:44:36 PM by gustav »

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #2 on: June 12, 2010, 02:22:22 AM »
Hi gustav,

Can you manually start those apps from the installation directory? Do you have the correct user access privileges?

Cheers.

E.

Offline borkokrz

  • Full Member
  • ***
  • Posts: 154
  • Karma: 6
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #3 on: June 12, 2010, 11:53:01 AM »
Check in which mode you have uploaded files by ftp or upload them again. All files: *.ini, *.sh, *.html, *.xml, *.txt should be uploaded in text mode, the rest of them in binary mode. I've had similar problems on AIX - in install.sh after transfer there was some additional signs at the end of each line.

Offline rpenney

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 2
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #4 on: June 12, 2010, 11:45:33 PM »
My impression is that it won't work with Solaris x86.
Look at the file type for say gunzip and I think you will find it not the right executable type for your system. If it isn't then the Genesys executables won't work either.

Offline gustav

  • Newbie
  • *
  • Posts: 44
  • Karma: 0
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #5 on: June 14, 2010, 03:11:58 PM »
Very Interesting, I did check permissions (even chmod 777 and ran with root) that was not an issue.  borkokrz-  good suggestion about the files being moved as text, I have had this issue before and made sure all files were moved as binaries.

rpenney - I think you are on to something here, when I looked at the Genesys Supported Operating Systems Guide, I noticed it only mentions SPARC.  Im beginning to think that Solaris x86 is not supported!  I'm going to try to get SPARC setup, however, if I need to go to Linux, is there a preferred flavor (I notice Genesys recommends Red Hat)?

Thanks for all your help.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Solaris 10 LCA Install Issue (cant run install.sh)
« Reply #6 on: June 14, 2010, 03:44:09 PM »
Hi Gustav,

Solaric SPARC and x86 are binary incompatible and Genesys doesn't support x86 release. It's really not worth trying as it won't work. There are some commercial add-ons available for Solaris x86 allowing you run SPARC executable but it would better to use Linux in that case.

Genesys does support officially Red Hat 4 or 5 (check the documentation as support differs per product) only. I'm running my lab machine on CentOS that is built using Red Hat sources and everything works fine. However, I would use Red Hat for production system...

R.