Trouble running apps from command line

Hi there,

I’ve recently installed openSUSE 12.2 x64. I did a fresh install rather than upgrade existing openSUSE 12.1, but kept my /home folder and let the installer fix the perms on that. Everything seems to run pretty good, but some games and benchmarks installed and carried over from my home folder no longer start from command line… an example I just downloaded is Unigine Valley benchmark - when I run the script I get the following…

chris@blobspawn:~/Downloads/Unigine_Valley-1.0> ./valley
bash: ./valley: Permission denied

I thought the exec bit needed setting, but on looking at the perms for that script they are…

chris@blobspawn:~/Downloads/Unigine_Valley-1.0> ls -l valley
-rwxr-xr-x 1 chris users 278 Feb 15 03:00 valley

The script itself is quite simple, and just determines if its 32 or 64 bit binaries to run…

#!/bin/bash

cd ./bin
ARCH=$(uname -m)
if “$ARCH” == x86_64 ]; then
export LD_LIBRARY_PATH=./x64:$LD_LIBRARY_PATH
./browser_x64 -config …/data/launcher/launcher.xml
else
export LD_LIBRARY_PATH=./x86:$LD_LIBRARY_PATH
./browser_x86 -config …/data/launcher/launcher.xml
fi

Every software I have installed in my /home is not running, giving the same error.

Any clues from anyone to help me to get these softwares working on 12.2?

Best regards,

Chris Wilkinson, New Zealand.

Try:


ldd valley

(while in the appropriate directory). That will tell you which dynamic libraries are needed. The chances are that some are missing.

On 2013-03-08 23:56, Chrisblob wrote:
> Every software I have installed in my /home is not running, giving the
> same error.

Is the /home partition mounted “noexec”?


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Yes, that was it - is it a default behavior of the installer to set noexec on the partition? I don’t recall ever having that trouble on previous updates from one version of openSUSE to another…

Cheers,

Chris W.

Please, next time, do not use QUOTE tags, but CODE tags around your computer copy/paste text. It is the # button in the toolbar.

And that setting of noexec isn’t normal. What is the fs type of that file system?

Hello Henk,

It is ext4. From memory I did what I always do when installing a new openSUSE, and that is to create the same user as previously (chris), and let the installer take over the existing /home/chris directory, since I have collected so much stuff in that folder.

Cheers,

Chris W.

On 2013-03-09 10:46, hcvv wrote:
> And that setting of noexec isn’t normal. What is the fs type of that
> file system?

Yes, it is normal and intentional. Some dev wrote about that or I got it
on some bugzilla. Have a read of man mount, there are some settings that
imply noexec, too.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

On 2013-03-09 05:56, Chrisblob wrote:
> Yes, that was it - is it a default behavior of the installer to set
> noexec on the partition? I don’t recall ever having that trouble on
> previous updates from one version of openSUSE to another…

Yes, it is a default setting since some time ago.
upgrades are not affected, but you are not doing upgrades, are you?

Online upgrade
method

[/UR


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
](“http://en.opensuse.org/SDB:Offline_upgrade”)

[QUOTE=robin_listas;2533219]On 2013-03-09 05:56, Chrisblob wrote:
> Yes, that was it - is it a default behavior of the installer to set
> noexec on the partition? I don’t recall ever having that trouble on
> previous updates from one version of openSUSE to another…

Yes, it is a default setting since some time ago.
upgrades are not affected, but you are not doing upgrades, are you?

Online upgrade
method

[

Yes this time was a fresh install, not an upgrade, as I had modified partitioning on the hard disk containing the system to free up disk space before installing 12.2. The hard disk with /home was untouched.

Cheers,

Chris W, NZ.](“http://en.opensuse.org/SDB:Offline_upgrade”)