Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
i ve installed ns2.35 in ubantu14.04,
i hav successfully run tcl script, bt when i've tried to execute nam command, it gave me " Segmentation fault (core dump)" .
although i can sucessfully run awk & Xgraph commands, bt unable to run nam
plz help me out...
Segmentation fault = memory fault. It probably tried to access a page of memory that didn't exist. Usually a dud software package.
Check all dependencies are present; run 'ldd /path/to/nam |grep found' (remove quotes and fill in /path/to)
There should be no output. Then reinstall it - it could be a poor download. Post back telling us how each thing worked out.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
The 'nam' that you can build from ns2 (ns235) often fails.
And the Ubuntu nam that you can install with $ sudo apt-get install nam ,
... has not been OK for some time.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #4 .
Which version of Ubuntu 14.04 are you using ? i686 or x86_64 ?
* This command will tell : $ uname -m
? What happens, when you type the nam command by itself : $ nam
* If it is an "out.nam" file that fails, like $ nam out.nam
.. then you will have to attach the file that creates "out.nam".
File.tcl must be attached as file.tcl.txt .
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #6 .
When nam is run with no arguments, and shows "segmentation fault" :
a) Delete the nam-1.15/ folder and any other <nam-version>/ folder.
b) $ sudo apt-get remove nam
When nam is run with no arguments, and shows "segmentation fault" :
a) Delete the nam-1.15/ folder and any other <nam-version>/ folder.
b) $ sudo apt-get remove nam
Thanku so soooooooooo much.
it was really helful, both the linkes are really
worth for me.
now i am able to run "nam" Sucessfully in
ns2.35.
u hav solved our prob wich we've tried to reslove
from almost 1 month.
me & my teams is very thankful to
Kundfl ....
when i try to run nam executable.. i get a segentation fault error.
I have followed the steps mentioned above and downloaded the nam_1.15-10*.deb file from the link mentioned above
but i am not sure of how to extract it and install it..
can you please peovide me the commands used to extarct the nam*.deb file and how to install the same.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post #11, @eepthi18 : Welcome to LQ.
You don't extract a <package>.deb :
Click the package, and the `Package Intaller' will update
the faulty Ubuntu package to the new version nam_1.15-10 .
I am new to unix n hence did not know how to install *.deb package.
I tried by installing by clicking on it,
i got some msg inbetween the installation, i have attached the doc regarding the same.
it did not show any msg like installation completed successfully, after some installation progress status, it went back to 1st screen of install.
I dont see any nam folders created in /usr/local/bin nor in my /home/deepthi/Documents/ns_allinone-2.35/ directories.
i am not sure if it is installed correctly..
when try to run the nam executable in terminal i get the below message
bash: /usr/local/bin/nam : No such file or directory
- i am using ubuntu 14.04
- some how unable to start the mysql server gives error as
"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
- and even unable to uninstall or reinstall
- tried issueing few commands after searching online but even that does'nt work for me
- and now i got error while installing mysql server as "Segmentation fault (core dumped)"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.