LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-25-2013, 12:38 AM   #1
nisar083
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Installing 2.34 in fedora 14 in vmware workstation


hi sir,
i am installing ns2.34 in fedora14 in vmware
but i got the following error
bash: ./install: Permission denied
plz help me out from this……
i need your help,waiting for your reply…….
thanks in advance….
Nisar Ahmad
 
Old 01-25-2013, 03:01 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

The error says it all: permission denied! Are you running that as a regular user? If so, try using sudo. For help on sudo type:
Code:
man sudo
And by the way, Fedora 14 has been unsupported for over a year now. If you want to keep running Fedora I suggest you upgrade to the latest release if you have no specific reason to stay with Fedora 14 which will not receive updates any more.

Kind regards,

Eric
 
Old 01-25-2013, 03:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,220

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
Welcome to LQ.
Quote:
bash: ./install: Permission denied
May be you unpacked the tarball ns-allinone-2.34.tar.gz as root ?
Which is wrong.
No ns2 commands are meant to be run as root (or with sudo).

Suggest : Delete ns-allinone-2.34/, and start from scratch :
If one shell script has wrong permissions or isn't executable,
there can be a lot more corrupt files.

P.S. : The install command ..
cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && sh install


-

Last edited by knudfl; 01-25-2013 at 03:33 AM.
 
Old 01-25-2013, 03:35 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,154

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
I am not 100% sure that fedora 14 had "sudo" even installed
Even fedora 18 dose not configure it , nor use it ( by default )

"su" and "su -" are normally used to become root .

nisar083 unless you must , 100% MUST use fedora 14
save your self a LOT of problems ans hassles
you are going to have problems installing programs on an unsupported version of fedora

so please install fedora 18
 
Old 01-25-2013, 04:36 AM   #5
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Quote:
Originally Posted by John VV View Post
I am not 100% sure that fedora 14 had "sudo" even installed
Even fedora 18 dose not configure it , nor use it ( by default )

"su" and "su -" are normally used to become root .
Hi,

I guess that depends on what ISO you use, if there is a difference in that matter between them. It doesn't make any sense to not have sudo installed and configured if the first thing when creating a first user is to add it to the administrator group. I've only been using Fedora for a year, used Debian before but as far as I remember I never had to install / configure sudo. Since you made me doubt I just did a clean install in a VirtualBox machine with the Fedora 18 LiveCD (the first option you encounter when you go to get.fedora.org and after the 'Install to Hard disk' finished when rebooted I had to create my user, added it to the administrator group which makes sense since the use of root account for daily work is not advised. After that I could just use sudo to execute commands that need root privileges. Maybe you were right about Fedora 14, but at least in 17 and 18, at least for the ISOs I use(d), sudo does come installed and configured (if you include your user in the administrator group). if you don't include a user in the administrator group when creating and he tries to use sudo an error will be given that the user is not in the sudoers list.

Kind regards,

Eric
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VMWare Workstation on Fedora 15? the_gripmaster Fedora 7 06-20-2011 03:33 PM
Error while installing Vmware workstation on Fedora 8 anurag2202 Linux - Virtualization and Cloud 3 08-16-2010 05:53 PM
Fedora 11 + VMware Workstation 6.5 Chunky77 Fedora 1 10-07-2009 09:52 AM
Installing Vmware Workstation in Fedora 11 deibertine Linux - Newbie 5 09-04-2009 01:06 PM
VMware Workstation 6.02 with Fedora 8 Dummy-in-Linux Fedora 4 12-11-2007 04:54 PM


All times are GMT -5. The time now is 12:53 PM.

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