LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-20-2015, 09:44 AM   #1
Rita Ahmad
LQ Newbie
 
Registered: Mar 2015
Posts: 28
Blog Entries: 3

Rep: Reputation: Disabled
Segmentation fault (core dumped) message when running nam command in ubuntu 14


I would like to know what to do with the error msg: "Segmentation fault (core dumped) ". I get it everytime I try to run the nam command. I installed ns2.35 for the first time and I want to know what to do exactly. I'm really facing a big problen since it's my first time to use ubunto.
 
Old 03-20-2015, 12:23 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 6,615
Blog Entries: 12

Rep: Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296Reputation: 2296
How did you install this software? Did you just copy files and attempt to run them?

Segmentation fault is a memory access error and it could be because you're trying to run an executable file which is inappropriate for your particular system.
 
Old 03-20-2015, 06:16 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,026

Rep: Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444Reputation: 3444
Welcome to LQ.

The Ubuntu 'nam' packages have not been usable for a long time.
Please do : $ sudo apt-get remove nam

And then download a package that will work ...
http://www.linuxquestions.org/questi...-4175524760/#2
... When downloaded, click the package : It will be installed.



-

Last edited by knudfl; 03-20-2015 at 06:19 PM.
 
Old 03-21-2015, 03:07 AM   #4
Rita Ahmad
LQ Newbie
 
Registered: Mar 2015
Posts: 28
Blog Entries: 3

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your reply. I followed your instructions.I downloaded the nam from the link you mentioned and installed it.But when I tried to run nam on terminal after installing the package, this message appeared:

bash: /usr/bin/nam: No such file or directory

Could you help me solve this?


Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

The Ubuntu 'nam' packages have not been usable for a long time.
Please do : $ sudo apt-get remove nam

And then download a package that will work ...
http://www.linuxquestions.org/questi...-4175524760/#2
... When downloaded, click the package : It will be installed.



-
 
Old 03-21-2015, 03:39 AM   #5
Rita Ahmad
LQ Newbie
 
Registered: Mar 2015
Posts: 28
Blog Entries: 3

Original Poster
Rep: Reputation: Disabled
I run on the terminal: $ hash -r to flush the bash cache. I run nam again and got the nam animator window.
Thanks again for your help.

Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

The Ubuntu 'nam' packages have not been usable for a long time.
Please do : $ sudo apt-get remove nam

And then download a package that will work ...
http://www.linuxquestions.org/questi...-4175524760/#2
... When downloaded, click the package : It will be installed.



-
 
  


Reply

Tags
ns2


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
After du -akL command on a directorI get the error: Segmentation Fault - core dumped jglenton Solaris / OpenSolaris 0 11-23-2010 09:03 AM
Segmentation fault (core dumped) mayankladoia Programming 4 07-17-2010 02:11 AM
[ubuntu] [7.10] Xsane gives Segmentation fault (core dumped) linkmaster03 Linux - Software 4 04-27-2008 09:48 AM
Segmentation fault (core dumped) nasim751 Programming 2 01-28-2008 02:56 PM
Segmentation Fault (core dumped) newuser455 Linux - Software 3 08-28-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration