Unable to run files with 700-777 permissions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unable to run files with 700-777 permissions
# 8  
Old 02-06-2014
I had already tried the full path before posting, but it rendered the same results:

Code:
# /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt
bash: /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt: No such file or directory

# /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt*
bash: /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt: No such file or directory

# /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt\*
bash: /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt*: No such file or directory

I tried ldd, but it said this was not an executable even though the file command clearly says it is...

Code:
# ldd /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt
    not a dynamic executable

# file /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt
/home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0xc3be8a7df9f4535d5d1977fc1577f967bcce3385, not stripped

# 9  
Old 02-06-2014
A safe bet is that you're trying to run a 32-bit x86 binary on a 64-bit amd64 system. Is there a 64-bit version of the app?

Regards,
Alister
This User Gave Thanks to alister For This Post:
# 10  
Old 02-06-2014
Odd, its a 64-bit Intel, like on my Debian machine. The Debian box still requires the 32-bit archtechure for its packages. Sure enough, I ran the path to the 64-bit version in Chakra and it worked. I had ran other 32-bit versions of other software on Chakra with no problem, but I guess this processor prefers it. Good thing I installed the x86_64 version of the OS.

Thanks for the help!
# 11  
Old 02-06-2014
Quote:
Originally Posted by Azrael
I tried ldd, but it said this was not an executable even though the file command clearly says it is...

Code:
# ldd /home/user/bitcoin-0.8.6-linux/bin/32/bitcoin-qt
    not a dynamic executable

Actually, ldd is not denying that it's an executable; it's just saying that it's not dynamically linked. ldd is failing to comprehend the binary and is mistakenly identifying it as statically linked. I believe that, on that system, you would probably need to use ldd32 to get an accurate list of 32-bit library dependencies.

Regards,
Alister
This User Gave Thanks to alister For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Permissions to run ZFS Snapshots

Hi, I work as an Oracle Technical consultant (mainly DBA related), and I have used ZFS snapshots on previous projects which has helped me a great deal. I often take snapshots before doing some dev work, and then I can roll it back if I want to start again, or if it goes pear shaped!! I have... (4 Replies)
Discussion started by: AndyG
4 Replies

2. Solaris

Unable to delete directory even with 777 perm

Hi, I have an 'empty' directory 'tmp' of which I am the owner and 777 permission. But when I try to delete the directory using rmdir or rm command, it gives error. Command prompt snapshot: => uname SunOS ... (4 Replies)
Discussion started by: platinum81
4 Replies

3. AIX

find command to list all the 777 files and directories owned by root user

Hi I'm logged in to an AIX box now and we need to do an audit on this box. cbssapr01:# pwd / Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
8 Replies

4. Shell Programming and Scripting

777 files and dir

i have four files that have 777 permission find /var/tttt/ -type f -perm 0777 /var/ttt/1 /var/ttt/2 /var/ttt/3 /var/ttt/4 if any file other than above 4 have 777 permission then move that file to /garbage/yyyy-mmm-dd . Also email me that this have abcd have 777 permission. (6 Replies)
Discussion started by: learnbash
6 Replies

5. Cybersecurity

Unable to run 'su' and 'sudo' after changing permissions on /etc

Hello, I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for: -rw-r--r-- 1 root root 1966 May 19... (2 Replies)
Discussion started by: susja
2 Replies

6. Cybersecurity

can another user 777 and existing 777 dirctory?

User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Discussion started by: zlek131
4 Replies

7. Shell Programming and Scripting

find and tar 700 files

i have some 700 files of the same pattern differing only in their datestamp. below some of the files. i want to tar them all into one tar file.but the below normal command is telling me "arg list too long" tar -cvf Archive1.tar CurrentCollectorMeterReadBackup* also i tried the below... (6 Replies)
Discussion started by: ali560045
6 Replies

8. Solaris

Unable to run xclock

Hello. I am trying to run xclock on newly built solaris box - These are the steps I followed: # DISPLAY=localhost:0.0 # export DISPLAY # xclock xclock: not found # cd /usr/openwin/bin # ./xclock Error: Can't open display: localhost:0.0 # Please suggest, what am i doing wrong? Thank... (27 Replies)
Discussion started by: panchpan
27 Replies

9. Shell Programming and Scripting

unable to run a script

thi is (10 Replies)
Discussion started by: angelina
10 Replies

10. UNIX for Advanced & Expert Users

How to run my own FTP server without root permissions

Hi all, I need your help with this problem. I have my own ftp server implemented in java. If I start it as root it is successfully binded to port 21 and everything works. Now I want to run it as non-root user, but for binding to port 21 it needs root rights. How to solve it? I alrady try... (3 Replies)
Discussion started by: giorgione
3 Replies
Login or Register to Ask a Question