Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while executing #1

Open
sai-kumar2413 opened this issue Nov 8, 2023 · 3 comments
Open

error while executing #1

sai-kumar2413 opened this issue Nov 8, 2023 · 3 comments

Comments

@sai-kumar2413
Copy link

i am getting an error while executing the code ns3.39

aborted. cond="ndi->second.m_rootQueueDisc", msg="Cannot install a root queue disc on a device already having one. Delete the existing queue disc first.", +0.000000000s -1 file=/home/sai/ns-allinone-3.39/ns-3.39/src/traffic-control/model/traffic-control-layer.cc, line=233
NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.39-source-code-default' died with <Signals.SIGABRT: 6>.

can resolve it?
Screenshot 2023-11-08 190631

@maahmed24712
Copy link
Owner

I went to the ‘ns-3.29/src/traffic-control/model’ directory and opened the ‘traffic-control-layer.cc’ file. I commented out lines 209-211, which then allowed me to change the existing ‘DropTail’ queue to a FIFO queue.

@Kikashii
Copy link

Kikashii commented Apr 3, 2024

which lines did you comment? Can you paste them here?

@Superdog-ccr
Copy link

U can try to uninstall the existing queue before install a root queue and it will work:

TrafficControlHelper tch;
tch.Uninstall(devices);
tch.SetRootQueueDisc("ns3::FifoQueueDisc");
tch.Install(devices);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants