Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Problem on Linux....

Please login with a confirmed email address before reporting spam

Hi,

I have a problem, when I try to install Comsol 4.0a on Ubuntu. When I run this comand :

francesco@ubuntu:/media/FRaNK/PROVA/COMSOL40a$ sh setup

setup: 497: /media/FRaNK/PROVA/COMSOL40a/bin/glnx86/setuplauncher: Permission denied

It return by "ACCESS DENIED", how I can solve this problem?

Thanks a lot.

10 Replies Last Post 2015年2月16日 GMT-5 10:18
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月6日 GMT-5 22:43
The OS thinks that the CD is write protected (which it is of course) and it won't allow you to run setup. You need to change your permissions or copy the contents of the CD to a temporary directory and run from there. The best option is to have the CD on the local machine, then run setup from another directory besides the directory the CD is on. For example:

cd /home/userid
/media/cdrom0/setup
The OS thinks that the CD is write protected (which it is of course) and it won't allow you to run setup. You need to change your permissions or copy the contents of the CD to a temporary directory and run from there. The best option is to have the CD on the local machine, then run setup from another directory besides the directory the CD is on. For example: cd /home/userid /media/cdrom0/setup

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月9日 GMT-5 04:04
Another reason could also be, that you don't have the permissions to execute the installation file.
As root (i.e. administrator), the following command could help (optionally after having copied the CD to a temporary folder on your local machine):

chmod u+x setup.sh (gives execute permission to the owner of that file) or
chmod a+x setup.sh (gives execute permission for all users for that file).

You might also have to do this for other files, that are executed during the setup procedure.

Hope that helps,
Juergen


Another reason could also be, that you don't have the permissions to execute the installation file. As root (i.e. administrator), the following command could help (optionally after having copied the CD to a temporary folder on your local machine): chmod u+x setup.sh (gives execute permission to the owner of that file) or chmod a+x setup.sh (gives execute permission for all users for that file). You might also have to do this for other files, that are executed during the setup procedure. Hope that helps, Juergen

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月9日 GMT-5 10:27
Related to this problem, I had similar issue installing COMSOL on our cluster. I do not have root priv on the cluster, but do have root priv on my local linux client machines. So, what I did was mount the COMSOL install CD on the local desktop (client) linux box and called it local:/mnt/cdrom. Then I logged into the cluster remotely, and issued the following command:

mkdir comsol_cd_image
cd comsol_cd_image
scp -pr local:/mnt/cdrom/ .

This will create an image of the COMSOL install CD on the local directory of the remote cluster. From there, I can run the linux installation process without admin or permissions problems.
Related to this problem, I had similar issue installing COMSOL on our cluster. I do not have root priv on the cluster, but do have root priv on my local linux client machines. So, what I did was mount the COMSOL install CD on the local desktop (client) linux box and called it local:/mnt/cdrom. Then I logged into the cluster remotely, and issued the following command: mkdir comsol_cd_image cd comsol_cd_image scp -pr local:/mnt/cdrom/ . This will create an image of the COMSOL install CD on the local directory of the remote cluster. From there, I can run the linux installation process without admin or permissions problems.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月9日 GMT-5 10:50

Related to this problem, I had similar issue installing COMSOL on our cluster. I do not have root priv on the cluster, but do have root priv on my local linux client machines. So, what I did was mount the COMSOL install CD on the local desktop (client) linux box and called it local:/mnt/cdrom. Then I logged into the cluster remotely, and issued the following command:

mkdir comsol_cd_image
cd comsol_cd_image
scp -pr local:/mnt/cdrom/ .

This will create an image of the COMSOL install CD on the local directory of the remote cluster. From there, I can run the linux installation process without admin or permissions problems.


Also, check this solution:
www.comsol.com/support/knowledgebase/1086/
See section "Mounting a CD-ROM/DVD".

--
Niklas
[QUOTE] Related to this problem, I had similar issue installing COMSOL on our cluster. I do not have root priv on the cluster, but do have root priv on my local linux client machines. So, what I did was mount the COMSOL install CD on the local desktop (client) linux box and called it local:/mnt/cdrom. Then I logged into the cluster remotely, and issued the following command: mkdir comsol_cd_image cd comsol_cd_image scp -pr local:/mnt/cdrom/ . This will create an image of the COMSOL install CD on the local directory of the remote cluster. From there, I can run the linux installation process without admin or permissions problems. [/QUOTE] Also, check this solution: http://www.comsol.com/support/knowledgebase/1086/ See section "Mounting a CD-ROM/DVD". -- Niklas

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月1日 GMT-4 17:49
When you run a command on linux that needs administrator privileges you have two options:
type:
user@linux ~ $ sudo setup

in the cdrom directory, (it will ask you for the root password)

or:

user@linux ~ $ su

it will ask you for the root password, to log as superuser and it change to:

user@linux ~ #

the # symbol means that you are administrator, and from here just type : "sh setup"

I hope this is useful for someone.
When you run a command on linux that needs administrator privileges you have two options: type: user@linux ~ $ sudo setup in the cdrom directory, (it will ask you for the root password) or: user@linux ~ $ su it will ask you for the root password, to log as superuser and it change to: user@linux ~ # the # symbol means that you are administrator, and from here just type : "sh setup" I hope this is useful for someone.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月1日 GMT-4 17:51
Sorry, in the first line i meant:

user@linux ~ $ sudo sh setup

or

user@linux ~ $ sudo ./setup

is the same.
Sorry, in the first line i meant: user@linux ~ $ sudo sh setup or user@linux ~ $ sudo ./setup is the same.

Ximena Paz Barrios Pizarro

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年9月15日 GMT-4 23:14
Hello

I'm trying to install COMSOL in Linux, but when the Installer is in the Install tab and I press the buttom Install to continue, it appears an error message:
"Not possible to create installation folder"

What can I do?

Hello I'm trying to install COMSOL in Linux, but when the Installer is in the Install tab and I press the buttom Install to continue, it appears an error message: "Not possible to create installation folder" What can I do?

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年9月16日 GMT-4 09:31
Are you installing as root or a normal user ? The default file installation location, under /usr/local, normally requires root access. You can change this to your home directory in order to install as a normal user.
Are you installing as root or a normal user ? The default file installation location, under /usr/local, normally requires root access. You can change this to your home directory in order to install as a normal user.

Ximena Paz Barrios Pizarro

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年9月17日 GMT-4 23:42
I was using a normal user, so I changed to a root user and it's working! I hope installation is ok.
Thank you!
I was using a normal user, so I changed to a root user and it's working! I hope installation is ok. Thank you!

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月16日 GMT-5 10:18

Hi,

I have a problem, when I try to install Comsol 4.0a on Ubuntu. When I run this comand :

francesco@ubuntu:/media/FRaNK/PROVA/COMSOL40a$ sh setup

setup: 497: /media/FRaNK/PROVA/COMSOL40a/bin/glnx86/setuplauncher: Permission denied

It return by "ACCESS DENIED", how I can solve this problem?

Thanks a lot.



you need to change the permission of file ("setuplauncher) by using chmod command
like
chmod a+x bin/glnx86/setuplauncher

then type:
sh setup

it should work.


[QUOTE] Hi, I have a problem, when I try to install Comsol 4.0a on Ubuntu. When I run this comand : francesco@ubuntu:/media/FRaNK/PROVA/COMSOL40a$ sh setup setup: 497: /media/FRaNK/PROVA/COMSOL40a/bin/glnx86/setuplauncher: Permission denied It return by "ACCESS DENIED", how I can solve this problem? Thanks a lot. [/QUOTE] you need to change the permission of file ("setuplauncher) by using chmod command like chmod a+x bin/glnx86/setuplauncher then type: sh setup it should work.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.