LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-04-2005, 04:38 PM   #1
ryedawg
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
no such file or directory exists when trying to execute a exe


Hi everyone,


i have just downloaded ubuntu and installed it on my linux server...
i am now trying to install plesk from the command line....my problem is this...

i login to root

i mount the cdrom that the plesk auto installer cd resides.....

the i copy it to my root folder


root@dlkfj/media/cdrom0# cp filename_of _installer /root
and it copies it to the root folder

i change my current directory to my root folder

cd /root

and do an ls to make sure the file is in there...

and it is...and its in green so i know its an executable file...

i change the permissions on it

chmod +x filename

and the check to see if it worked.....
it did


now i try to execute the file by typing


./filename


and it keeps saying that no such file or directory exists...


ami going crazy...it shows that its there but then when i try to run it it says that its not....ive rechecked the filename a hundred times to ensure that im typing it correct and actually use the trick where you type the first few letters and hit tab so it types the rest for you which works fine......

anyone help me????? really stuck here.
 
Old 12-04-2005, 04:48 PM   #2
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 396

Rep: Reputation: 32
try ./filename from cdrom
 
Old 12-04-2005, 05:46 PM   #3
ryedawg
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thank you for helping me thats a good idea
but....
I cant run it from the cd rom because the permissions when you download are set to read only..

chmod +x filename
i get permission denied if i do that...

when you download the installation from plesk.com the instructions are
step 1-- download the installer cd
step 2-- change permissions
chmod +x filename
step 3-- execute the program
./filename

anymore ideas??

oh yeah another thing...i find it quite weird that when i copy it from the disk to my /root directory it takes only about a millisecond...is that normal?
 
Old 12-04-2005, 06:09 PM   #4
ryedawg
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i tried running the manual install instead which is a tar.gz

i type the command


tar xvzf filename

and it ran through all the files and for every one it said no such file or directory....??? i cannot figure this out..
 
Old 12-05-2005, 12:55 AM   #5
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 396

Rep: Reputation: 32
did you have a md5sum for the file you may have a bad download

try tar -xvzpf filename

if you know you have a good download
 
Old 12-05-2005, 06:42 AM   #6
ryedawg
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thanx ! worked great

it installed a a few directorys and my instructions tell me to go to the directory called base and install all the .deb packages..
first of all...is there a way to install them all rather that type each one in individually?

dpkg -i filename.deb

and secondly

when i typed that above i get this

package architecture (i386) does not match system (amd64)

any ideas from here?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to execute a .exe file in linux environment from a c program? aakanksh_c Linux - General 1 09-18-2005 05:26 AM
execute exe file mtitu11 Linux - General 2 09-12-2005 06:25 PM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 09:29 AM
How to get .exe to execute in linux stardog2112 Linux - Newbie 2 11-18-2003 11:03 PM
can't execute the .exe and .tar.gz files Vieux Linux - General 12 12-01-2002 06:36 PM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration