Ansys install problem

Discussions Regarding Software

Moderator: Moderators

Ansys install problem

Postby Emanuele » Tue Mar 18, 2014 18:27

Hi,
I need to have ansys installed in my laptop for my university activities. I have the two .iso files provided by the univeristy.
When i try to run the ./INSTALL script that what i get:
# ./INSTALL
copying necessary files to /tmp/ans_install_tmp7305/
./INSTALL: line 278: /tmp/ans_install_tmp7305/INSTALL: Permission denied
./INSTALL: line 278: exec: /tmp/ans_install_tmp7305/INSTALL: cannot execute: Permession denied

I tried to copy the .iso contnent into my home dir and change the INSTALL permissions with "chmod 777" as written here: http://ubuntuforums.org/showthread.php?t=1783646

I even tried to follow the same path i followed to successfully install Matlab:
# chmod u+x INSTALL and then running it as
# /home/.../INSTALL -root /home/.../ansys1/ -tmpdir /home/emanuele/AnsysTemp

But nothing seems to work, i hope it's just something easy to solve that i didn't get...
Emanuele
Baby Hen
 
Posts: 4
Joined: Sat Mar 08, 2014 23:45
Location: Farra di Soligo (Italy)

Re: Ansys install problem

Postby Stupot » Tue Mar 18, 2014 19:14

It sounds like it's copying files to /tmp/ans_install_tmp7305/, but then the INSTALL file located at /tmp/ans_install_tmp7305/ doesn't have the right permissions.

After you attempt to run it, what is the output of:

Code: Select all
ls -la /tmp/ans_install_tmp7305/


The security settings of /tmp/ are kind of hard to understand, and they've changed in the past few years, which could be part of the problem. Nothing that can't be worked around though.
Stupot
Sagely Hen
 
Posts: 1516
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Ansys install problem

Postby Emanuele » Wed Mar 19, 2014 9:21

Ok, the output is quite long so i wiped everything but what concern ansys.
I ran:
tmp # ls -l
...
drwxr-xr-x 6 root root 480 19 mar 09.11 ans_install_tmp4510
...

And then:
# ls -la /tmp/ans_install_tmp4510/
....
drwxr-xr-x 6 root root 480 19 mar 09.11 .
drwxrwxrwt 13 root root 360 19 mar 09.11 ..
-rwxr-xr-x 1 1659 dialout 8234 7 ott 2011 .ans_uninstall.sh
drwxr-xr-x 2 root root 100 19 mar 09.11 config
-rwxr-xr-x 1 1659 dialout 2834 7 ott 2011 de.msg
-rwxr-xr-x 1 1659 dialout 2667 7 ott 2011 en.msg
-rwxr-xr-x 1 1659 dialout 3003 7 ott 2011 fr.msg
drwxr-xr-x 2 1659 dialout 80 7 ott 2011 icons
drwxr-xr-x 2 root root 80 19 mar 09.11 imageformats
drwxr-xr-x 2 1659 dialout 340 7 ott 2011 images
-rwxr-xr-x 1 root root 16793 19 mar 09.11 INSTALL
...

Al the other files are -rwxr-xr-x 1 1659 dialout
Emanuele
Baby Hen
 
Posts: 4
Joined: Sat Mar 08, 2014 23:45
Location: Farra di Soligo (Italy)

Re: Ansys install problem

Postby Stupot » Wed Mar 19, 2014 16:19

Very interesting. I think the best way I can help is if I attempt to install it myself, although obviously I won't have a license so I won't be able to help with many run time issues. I'll see if I can't try that out tonight.

I've found somebody who's successfully installed it in the past, so it should be able to be done: http://www.cfd-online.com/Forums/cfx/25 ... post361733
Stupot
Sagely Hen
 
Posts: 1516
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Ansys install problem

Postby Stupot » Fri Mar 21, 2014 16:00

I see a lot of people installing ansys with a noroot option.

./INSTALL -noroot

Make sure you're installing it in your home directory.
Stupot
Sagely Hen
 
Posts: 1516
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Ansys install problem

Postby Emanuele » Fri Mar 21, 2014 17:55

I'm still stucked in the same problem: permission denied in the /tmp dir...(i just tried with the -noroot option)
Emanuele
Baby Hen
 
Posts: 4
Joined: Sat Mar 08, 2014 23:45
Location: Farra di Soligo (Italy)

Re: Ansys install problem

Postby Stupot » Fri Mar 21, 2014 22:54

Unfortunately, I don't know of any way for me to attempt to install this software, so it's hard for me to fully help out.

I've seen some people who have /tmp mounted as noexec, thus you can't run things out of /tmp.

In which case, try moving the directory (/tmp/ans_install_tmp7305/) /home/<user>/ans_install_tmp7305/, then run ./install.

A lot of install scripts have a way to change the tmp directory they use, but it's impossible for me to know for yours atm. You might only need to do something like:
# ./INSTALL -noroot -tmpdir /home/<user>/ansys_install/

or you could attempt to remount /tmp as exec. All of this is assuming that's actually the problem...
Stupot
Sagely Hen
 
Posts: 1516
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Ansys install problem

Postby Emanuele » Tue Mar 25, 2014 10:17

Ok, the -tmpdir command semmes to don't work for me, anyway i've got it done editing fstab and changing the noexec option to exec.

Thanks
Emanuele
Baby Hen
 
Posts: 4
Joined: Sat Mar 08, 2014 23:45
Location: Farra di Soligo (Italy)


Return to Software in General

Who is online

Users browsing this forum: No registered users and 3 guests