Problem when running the install_vertica

Moderator: NorbertKrupa

hemhum
Newbie
Newbie
Posts: 8
Joined: Wed Dec 19, 2012 4:10 pm

Problem when running the install_vertica

Post by hemhum » Sat Apr 27, 2013 4:00 pm

Hi, When I run the install_vertica script I get an error.

# /opt/vertica/sbin/install_vertica -r /root/vertica-ce-6.0.1-0.x86_64.RHEL5.rpm -u vdbadmin

ERROR: A Python interpreter must be installed on any host on which you want to use the Administration Tools. See the Python home page for information and downloads.

then i try to execute the command below:
# /opt/vertica/oss/python/bin/python
-bash: /opt/vertica/oss/python/bin/python: cannot execute binary file

how to resolve this problem,knicely87 ?? Any suggestion appreciated. Thanks.
the platform: linux rhel 5.1 x64

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Problem when running the install_vertica

Post by JimKnicely » Sun Apr 28, 2013 3:12 am

Vertica requires Python Version 2.4.6, 2.5.4 or 2.6.2. Do you even have it installed? If not, you can install python using the yum install python command...

Better yet, maybe maybe check out this site:

http://bda.ath.cx/blog/2009/04/08/insta ... -or-rhel5/

If you have it installed, which version? Use the python -V command to find out.
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

hemhum
Newbie
Newbie
Posts: 8
Joined: Wed Dec 19, 2012 4:10 pm

Re: Problem when running the install_vertica

Post by hemhum » Sun Apr 28, 2013 3:51 am

knicely87 wrote:Vertica requires Python Version 2.4.6, 2.5.4 or 2.6.2. Do you even have it installed? If not, you can install python using the yum install python command...

Better yet, maybe maybe check out this site:

http://bda.ath.cx/blog/2009/04/08/insta ... -or-rhel5/

If you have it installed, which version? Use the python -V command to find out.
yes,I have installed python 2.7.4 already

login as root,use command:
# cd
# python
Python 2.7.4 ......
type "help","copyright"...
>>>

and then, execute command: /opt/vertica/oss/python/bin/python
the same error : cannot execute binary file
the reason is lack of some package? I guess
the python in vertica is not complied correctly?
I'm sure that I have installed vertica**.rpm successfully

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Problem when running the install_vertica

Post by JimKnicely » Tue Apr 30, 2013 1:30 pm

Hi,

Can you verify that files on your system have the same permission as on my test box? I can launch python fine from the /opt/vertica/oss/pythin/bin directory.
python-directory.png
python-directory.png (78.41 KiB) Viewed 14161 times
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

hemhum
Newbie
Newbie
Posts: 8
Joined: Wed Dec 19, 2012 4:10 pm

Re: Problem when running the install_vertica

Post by hemhum » Thu May 02, 2013 2:50 am

knicely87 wrote:Hi,

Can you verify that files on your system have the same permission as on my test box? I can launch python fine from the /opt/vertica/oss/pythin/bin directory.
The attachment python-directory.png is no longer available
yes,I also granted rwx permission for all,login as root
# chmod 777 -R /opt/vertia
#chmod +x /opt/vertica/oss/python/bin/python
1.jpg
1.jpg (94.12 KiB) Viewed 14154 times
os system environment
2.jpg
2.jpg (63.23 KiB) Viewed 14154 times
[root@p550 bin]# free
total used free shared buffers cached
Mem: 8089984 5118656 2971328 0 908992 3651584
-/+ buffers/cache: 558080 7531904
Swap: 2031488 0 2031488

ELF cause the error?
The os is 64bit or 32bit?? I was confused

I installed linux rhel 5.4 x64 and vertica ce 6.0 on VMware for testing,it just fine.
knicely87? any other suggestion? thanks very much

hemhum
Newbie
Newbie
Posts: 8
Joined: Wed Dec 19, 2012 4:10 pm

Re: Problem when running the install_vertica

Post by hemhum » Thu May 02, 2013 10:01 am

additional information:
The hardware is IBM POWER Architecture

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Problem when running the install_vertica

Post by JimKnicely » Fri May 03, 2013 3:11 pm

POWER is a reduced instruction set computer (RISC) instruction set architecture (ISA). I do not believe you can install Vertica on this hardware.

There are several key architecture-specific differences between IBM POWER and x86:
  • 1. Endianness or byte ordering
    2. Data type length in 32- and 64-bit environments
    3. Data alignment differences in the architectures
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Installation”