LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Executing a .run file (http://www.linuxquestions.org/questions/linux-newbie-8/executing-a-run-file-938366/)

macy 04-05-2012 05:30 PM

Executing a .run file
 
Hi, I have an xTuple-3.8.0-linux-installer.run file which I want to run in Centos 6.2. I have changed the mode to execute the file i.e.

chmod 755 xTuple-3.8.0-linux-installer.run

and executed it using,

./xTuple-3.8.0-linux-installer.run

But to no avail. I am logging into the server using VNC viewer. Does it have to do anything with the installer not working? I have tried all that is possible but nothing is working. Please Help!!!!
I appreciate an early response. Thanks in advance.

MS3FGX 04-05-2012 05:45 PM

What happens when you try and run it?

macy 04-05-2012 05:49 PM

1 Attachment(s)
Basically nothing happens. It just returns to the command prompt ready to take in the next command.

John VV 04-06-2012 12:12 AM

try this
Code:

sh *.run
that / in the command is the problem
also from only the 755 you did not make the file an executable
you forgot the " +x "

ukiuki 04-06-2012 01:03 AM

With:
Code:

ls -la *.run
you will see the file status.

Regards

bsat 04-06-2012 02:28 AM

What is the expected behavior ?

macy 04-06-2012 10:18 AM

Thanks for the support guys.

Quote:

try this

Code:
sh *.runthat / in the command is the problem
also from only the 755 you did not make the file an executable
you forgot the " +x "

I made it an executable by giving "+x"
I got result as:
xTuple-3.8.0-linux-installer.run: xTuple-3.8.0-linux-installer.run: cannot execute binary file

Code:

ls -la xTuple-3.8.0-linux-installer.run
gave me

Code:

-rwxr-xr-x. 1 xtuple xtuple 86928270 Apr 5 13:30 xTuple-3.8.0-linux-installer.run

Quote:

What is the expected behavior ?
Expexted result is a GUI is supposed to open where I can install xtuple.

jkirchner 04-06-2012 10:24 AM

Have you tried:

Code:

sh ./xTuple-3.8.0-linux-installer.run

Cultist 04-06-2012 10:28 AM

It might be that the file was corrupted during download. Have you tried redownloading the file?

macy 04-06-2012 10:33 AM

Code:

sh ./xTuple-3.8.0-linux-installer.run
gave me
Code:

./xTuple-3.8.0-linux-installer.run: xTuple-3.8.0-linux-installer.run: cannot execute binary file
And I did try redownloading it again many times to check the same. But still not working :(

jkirchner 04-06-2012 10:44 AM

Do you need to run it as root? Have you tried that? Some installs require root access. Do an su - and enter the password when prompted then do the command.

macy 04-06-2012 10:46 AM

Quote:

Do you need to run it as root? Have you tried that? Some installs require root access. Do an su - and enter the password when prompted then do the command.
I am running it as root only.

jkirchner 04-06-2012 11:46 AM

You might want to look over here at the xTuple site. There are a few issues I saw that can make the installer not appear. It may be faster to get help there as they are more familiar.

macy 04-06-2012 12:27 PM

Thanks a lot... That actually helped :)

macy 04-06-2012 01:09 PM

I was able to run the installer after installing some 32 bit libraries. But now I am not able to open the xtuple executable

Code:

cd /opt/xTuple-3.8.0/xTupleERP
./xtuple
/opt/xTuple-3.8.0/xTupleERP/xtuple.bin: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Now what should I do?


All times are GMT -5. The time now is 11:45 PM.