LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem in executing .run file (updating PB) (https://www.linuxquestions.org/questions/linux-software-2/problem-in-executing-run-file-updating-pb-617798/)

art.love 01-31-2008 06:51 PM

[SOLVED]Problem in executing .run file (updating PB)
 
Hello

I have installed enemy territory (2.6), updated to the 2.60b patch and now i get the 20004# integrity kick because i need to update my punkbuster... i tried pbweb but it didn't work, i have to update from pbsetup.run (http://websec.evenbalance.com/downlo...ux/pbsetup.run).
i downloaded the file, moved it to my PB folder and tried to run it, but i got an error saying
Quote:

Couldn't display "/usr/local/games/enemy-territory/pb/pbsetup.run".
i tried running with terminal but it said "permission denied".
i edited the permission to +x with chmod and now i could run it with the terminal, but still, running it does nothing. (the process runs but quits after a few seconds, i checked from the system monitor)
Quote:

artlove@artlove:/usr/local/games/enemy-territory/pb> /usr/local/games/enemy-territory/pb/pbsetup.run
bash: /usr/local/games/enemy-territory/pb/pbsetup.run: Permission denied
artlove@artlove:/usr/local/games/enemy-territory/pb> sudo chmod +x pbsetup.run
artlove@artlove:/usr/local/games/enemy-territory/pb> /usr/local/games/enemy-territory/pb/pbsetup.run
artlove@artlove:/usr/local/games/enemy-territory/pb>
then i thought that maybe if i get the PB directory (already updated) from someone it may work, so i asked someone to send me his directory, i replaced them and unfortunately nothing happened (still getting kicked).

can anyone help me? I'm desperate.

thanks

Moderators, ive posted this twice (in games forum and software forum) so mo people will see it (not everyone goes to games forum i gess), if its wrong you can delete my post and im sorry.

dive 01-31-2008 08:24 PM

Try 'sh pbsetup.run'

That sometimes works when other ways fail. If not then I don't know really since you chmod'ed it.

Emerson 01-31-2008 08:55 PM

Quote:

edited the permission to +x with chmod and now i could run it with the terminal, but still, running it does nothing. (the process runs but quits after a few seconds, i checked from the system monitor)
How do you know "it does nothing"? No output in Unix world usually means "job done, no problems".

dive 01-31-2008 09:36 PM

Well I just tried it too and it always says 'cannot execute binary file'. I think it's a problem with the file. I would get in touch with pb and let them know that their linux downloads aren't working.

art.love 02-01-2008 06:23 AM

well, thanks for the help, i tried to sh it but it said cannot execute binary file....
i have already contacted PB about this, will see what they say, when i solve the problem ill post the answer here.

DOSJockey382 02-01-2008 09:32 AM

Trying running the pbsetup.run under sudo. Even though you installed without errors, you are still running into permission issues. Installing things using an admin account often fixes these permission issues.

art.love 02-01-2008 01:48 PM

i tried to sudo but it didnt help =\
im waiting PB to reply on my ticket

edit: problem solved
i found the solution on the net, to uncompress the pbsetup rife i had to "upx -d pbsetup.run" and then everything ran smooth.
if it doesnt work for someone just install the package from your distro CD, it should be there.


All times are GMT -5. The time now is 06:15 AM.