It is currently Thu Aug 22, 2019 4:52 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Can't figure it out...
PostPosted: Mon May 05, 2014 8:50 pm 
Offline

Joined: Sat Feb 08, 2014 7:38 pm
Posts: 13
I am having all kinds of permission issues and I was wondering if somebody could help me out here. Sometimes when I start GNS3 it gives me a license error.. then sometimes it doesn't. I also cannot save any projects. When I try to save them I get permission errors. I am not sure what I am doing wrong. Here is the error I get when I try to save projects.


Could not move file to /home/vandiar/Documents/GNS3/projects/idk.gns3/idk-files/iou/device-1/iouyap.log: [Errno 13] Permission denied: '/tmp/gns3-y2doka_c-files/iou/device-1/iouyap.log'
Could not move file to /home/vandiar/Documents/GNS3/projects/idk.gns3/idk-files/iou/device-1/iou.log: [Errno 13] Permission denied: '/tmp/gns3-y2doka_c-files/iou/device-1/iou.log'
Could not move file to /home/vandiar/Documents/GNS3/projects/idk.gns3/idk-files/iou/device-1/NETMAP: [Errno 13] Permission denied: '/tmp/gns3-y2doka_c-files/iou/device-1/NETMAP'
Could not move file to /home/vandiar/Documents/GNS3/projects/idk.gns3/idk-files/iou/device-1/iouyap.ini: [Errno 13] Permission denied: '/tmp/gns3-y2doka_c-files/iou/device-1/iouyap.ini'

This is what I do not understand. I created a tmp/gns3temp folder and gave it all of the user permissions. I changed it in the .config file.. however the tmp files are still stored in the /tmp directory instead of tmp/gns3temp directory. I am really lost on what I need to do. Here are the server logs.

The first two times I opened GNS3 and started it, it gave me the license error message. I closed it and opened it a third time and then it worked fine. I did not make any changes to the .iourc file.


[email protected]:~$ gns3server
GNS3 server version 1.0-alpha3
Copyright (c) 2007-2014 GNS3 Technologies Inc.
Running with Python 3.4.0 and has PID 6250
[I 140505 15:46:34 main:74] current locale is en_US.UTF-8
[W 140505 15:46:34 config:82] no configuration file could be found or read
[I 140505 15:46:34 base:126] dynamips module running with PID 6252
[I 140505 15:46:34 base:126] iou module running with PID 6253
[I 140505 15:46:34 base:79] ZeroMQ client (dynamips) connecting to 127.0.0.1:43986
[I 140505 15:46:34 server:208] ZeroMQ server listening to 127.0.0.1:43986
[I 140505 15:46:34 base:79] ZeroMQ client (iou) connecting to 127.0.0.1:43986
Starting server on 0.0.0.0:8000 (Tornado v3.1.1, PyZMQ v14.0.1, ZMQ v4.0.4)
[I 140505 15:46:50 jsonrpc_websocket:135] Websocket client 6cb004e8-a815-4c76-91ce-9123e7685fa4 connected
[I 140505 15:46:50 web:1635] 200 GET /version (127.0.0.1) 3.15ms
[I 140505 15:46:53 __init__:223] saving iourc file content to /tmp/tmpknao1th9
[I 140505 15:46:53 __init__:231] iouyap path set to /usr/local/bin/iouyap
[I 140505 15:46:53 __init__:235] this server is local with working directory path to /tmp/gns3-k1dx01o5-files
[I 140505 15:46:55 iou_device:258] IOU IOU1 [id=1]: working directory changed to /tmp/gns3-k1dx01o5-files/iou/device-1
[I 140505 15:46:55 iou_device:98] IOU device IOU1 [id=1] has been created
[I 140505 15:46:55 iou_device:281] IOU IOU1 [id=1]: console port set to 4001
[I 140505 15:46:56 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 15:46:56 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpknao1th9
[I 140505 15:46:56 iou_device:369] IOU IOU1 [id=1]: NETMAP file created
[I 140505 15:46:56 iou_device:465] starting IOU: ['/home/vandiar/Documents/ccna/cisco_iou_l2_l3/Cisco-IOU-L2-L3-Collection-v3/bin/i86bi-linux-l3-adventerprisek9-15.2.2.03T.bin', '-n', '128', '-m', '256', '-L', '1']
[I 140505 15:46:56 iou_device:467] logging to /tmp/gns3-k1dx01o5-files/iou/device-1/iou.log
[I 140505 15:46:56 iou_device:474] IOU instance 1 started PID=6285
[I 140505 15:46:56 iou_device:380] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140505 15:46:56 iou_device:350] IOU IOU1 [id=1]: iouyap.ini updated
[I 140505 15:46:56 iou_device:394] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140505 15:46:56 iou_device:396] logging to /tmp/gns3-k1dx01o5-files/iou/device-1/iouyap.log
[I 140505 15:46:56 iou_device:403] iouyap started PID=6287
[I 140505 15:46:56 ioucon:352] Telnet server ready for connections on 0.0.0.0:4001
[I 140505 15:46:59 ioucon:631] exiting...
[I 140505 15:46:59 iou_device:516] stopping iouyap PID=6287 for IOU instance 1
[I 140505 15:47:22 jsonrpc_websocket:189] Websocket client 6cb004e8-a815-4c76-91ce-9123e7685fa4 disconnected
[I 140505 15:47:22 iou_device:300] IOU device IOU1 [id=1] has been deleted
[I 140505 15:47:22 __init__:188] deleting iourc file /tmp/tmpknao1th9
[I 140505 15:47:22 __init__:193] IOU module has been reset
[I 140505 15:47:22 __init__:222] dynamips module has been reset
[I 140505 15:47:36 jsonrpc_websocket:135] Websocket client 53fbae46-a188-4cee-8954-021d6e2bdb10 connected
[I 140505 15:47:36 web:1635] 200 GET /version (127.0.0.1) 8.32ms
[I 140505 15:47:39 __init__:223] saving iourc file content to /tmp/tmpa5_7lgkj
[I 140505 15:47:39 __init__:231] iouyap path set to /usr/local/bin/iouyap
[I 140505 15:47:39 __init__:235] this server is local with working directory path to /tmp/gns3-zwidd7a4-files
[I 140505 15:47:40 iou_device:258] IOU IOU1 [id=1]: working directory changed to /tmp/gns3-zwidd7a4-files/iou/device-1
[I 140505 15:47:40 iou_device:98] IOU device IOU1 [id=1] has been created
[I 140505 15:47:40 iou_device:281] IOU IOU1 [id=1]: console port set to 4001
[I 140505 15:47:41 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 15:47:41 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpa5_7lgkj
[I 140505 15:47:41 iou_device:369] IOU IOU1 [id=1]: NETMAP file created
[I 140505 15:47:41 iou_device:465] starting IOU: ['/home/vandiar/Documents/ccna/cisco_iou_l2_l3/Cisco-IOU-L2-L3-Collection-v3/bin/i86bi-linux-l3-adventerprisek9-15.4.1T.bin', '-n', '128', '-m', '256', '-L', '1']
[I 140505 15:47:41 iou_device:467] logging to /tmp/gns3-zwidd7a4-files/iou/device-1/iou.log
[I 140505 15:47:41 iou_device:474] IOU instance 1 started PID=6316
[I 140505 15:47:41 iou_device:380] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140505 15:47:41 iou_device:350] IOU IOU1 [id=1]: iouyap.ini updated
[I 140505 15:47:41 iou_device:394] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140505 15:47:41 iou_device:396] logging to /tmp/gns3-zwidd7a4-files/iou/device-1/iouyap.log
[I 140505 15:47:41 ioucon:352] Telnet server ready for connections on 0.0.0.0:4001
[I 140505 15:47:41 iou_device:403] iouyap started PID=6318


Does anyone know why it is working like this? Sometimes it works, sometimes it doesn't. Sometimes I can save projects, sometimes I can't. Please help!




Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Mon May 05, 2014 9:22 pm 
Offline

Joined: Sat Feb 08, 2014 7:38 pm
Posts: 13
Without making any changes I fired up the gns3server and opened GNS3. Here is the first time..


Running with Python 3.4.0 and has PID 6596
[I 140505 15:57:55 main:74] current locale is en_US.UTF-8
[W 140505 15:57:55 config:82] no configuration file could be found or read
[I 140505 15:57:55 base:126] dynamips module running with PID 6598
[I 140505 15:57:55 base:126] iou module running with PID 6599
[I 140505 15:57:55 base:79] ZeroMQ client (iou) connecting to 127.0.0.1:39274
[I 140505 15:57:55 server:208] ZeroMQ server listening to 127.0.0.1:39274
[I 140505 15:57:55 base:79] ZeroMQ client (dynamips) connecting to 127.0.0.1:39274
Starting server on 0.0.0.0:8000 (Tornado v3.1.1, PyZMQ v14.0.1, ZMQ v4.0.4)
[I 140505 16:08:30 jsonrpc_websocket:135] Websocket client 8fea56dd-59cf-4eb8-bb45-62aba914a08f connected
[I 140505 16:08:30 web:1635] 200 GET /version (127.0.0.1) 2.79ms
[I 140505 16:08:33 __init__:223] saving iourc file content to /tmp/tmp6w48pzip
[I 140505 16:08:33 __init__:231] iouyap path set to /usr/local/bin/iouyap
[I 140505 16:08:33 __init__:235] this server is local with working directory path to /tmp/gns3-6cl5asx0-files
[I 140505 16:08:35 iou_device:258] IOU IOU1 [id=1]: working directory changed to /tmp/gns3-6cl5asx0-files/iou/device-1
[I 140505 16:08:35 iou_device:98] IOU device IOU1 [id=1] has been created
[I 140505 16:08:35 iou_device:281] IOU IOU1 [id=1]: console port set to 4001
[I 140505 16:13:04 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 16:13:04 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmp6w48pzip
[I 140505 16:13:04 iou_device:369] IOU IOU1 [id=1]: NETMAP file created
[I 140505 16:13:04 iou_device:465] starting IOU: ['/home/vandiar/Documents/ccna/cisco_iou_l2_l3/Cisco-IOU-L2-L3-Collection-v3/bin/i86bi-linux-l3-adventerprisek9-15.2.2.03T.bin', '-n', '128', '-m', '256', '-L', '1']
[I 140505 16:13:04 iou_device:467] logging to /tmp/gns3-6cl5asx0-files/iou/device-1/iou.log
[I 140505 16:13:04 iou_device:474] IOU instance 1 started PID=6702
[I 140505 16:13:04 iou_device:380] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140505 16:13:04 iou_device:350] IOU IOU1 [id=1]: iouyap.ini updated
[I 140505 16:13:04 iou_device:394] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140505 16:13:04 iou_device:396] logging to /tmp/gns3-6cl5asx0-files/iou/device-1/iouyap.log
[I 140505 16:13:04 ioucon:352] Telnet server ready for connections on 0.0.0.0:4001
[I 140505 16:13:04 iou_device:403] iouyap started PID=6704
[I 140505 16:13:05 iou_device:516] stopping iouyap PID=6704 for IOU instance 1
[I 140505 16:13:07 ioucon:631] exiting...
----

closed it and reopened. failed again

[I 140505 16:14:14 jsonrpc_websocket:189] Websocket client 8fea56dd-59cf-4eb8-bb45-62aba914a08f disconnected
[I 140505 16:14:14 iou_device:300] IOU device IOU1 [id=1] has been deleted
[I 140505 16:14:14 __init__:188] deleting iourc file /tmp/tmp6w48pzip
[I 140505 16:14:14 __init__:193] IOU module has been reset
[I 140505 16:14:14 __init__:222] dynamips module has been reset
[I 140505 16:14:44 jsonrpc_websocket:135] Websocket client 8c5d1b7a-b42e-40cb-8afb-6a3dea21be1a connected
[I 140505 16:14:44 web:1635] 200 GET /version (127.0.0.1) 2.46ms
[I 140505 16:14:47 __init__:223] saving iourc file content to /tmp/tmpt534et7i
[I 140505 16:14:47 __init__:231] iouyap path set to /usr/local/bin/iouyap
[I 140505 16:14:47 __init__:235] this server is local with working directory path to /tmp/gns3-cjn6q5xu-files
[I 140505 16:14:49 iou_device:258] IOU IOU1 [id=1]: working directory changed to /tmp/gns3-cjn6q5xu-files/iou/device-1
[I 140505 16:14:49 iou_device:98] IOU device IOU1 [id=1] has been created
[I 140505 16:14:49 iou_device:281] IOU IOU1 [id=1]: console port set to 4001
[I 140505 16:14:51 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 16:14:51 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpt534et7i
[I 140505 16:14:51 iou_device:369] IOU IOU1 [id=1]: NETMAP file created
[I 140505 16:14:51 iou_device:465] starting IOU: ['/home/vandiar/Documents/ccna/cisco_iou_l2_l3/Cisco-IOU-L2-L3-Collection-v3/bin/i86bi-linux-l3-adventerprisek9-15.2.2.03T.bin', '-n', '128', '-m', '256', '-L', '1']
[I 140505 16:14:51 iou_device:467] logging to /tmp/gns3-cjn6q5xu-files/iou/device-1/iou.log
[I 140505 16:14:51 iou_device:474] IOU instance 1 started PID=6734
[I 140505 16:14:51 iou_device:380] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140505 16:14:51 iou_device:350] IOU IOU1 [id=1]: iouyap.ini updated
[I 140505 16:14:51 iou_device:394] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140505 16:14:51 iou_device:396] logging to /tmp/gns3-cjn6q5xu-files/iou/device-1/iouyap.log
[I 140505 16:14:51 ioucon:352] Telnet server ready for connections on 0.0.0.0:4001
[I 140505 16:14:51 iou_device:403] iouyap started PID=6736
[I 140505 16:14:55 iou_device:516] stopping iouyap PID=6736 for IOU instance 1
[I 140505 16:14:57 ioucon:631] exiting...

----

third time is a charm

[I 140505 16:18:51 jsonrpc_websocket:189] Websocket client 3989eeeb-55e7-4983-b8dd-f855202ceb77 disconnected
[I 140505 16:18:51 iou_device:300] IOU device IOU1 [id=1] has been deleted
[I 140505 16:18:51 __init__:188] deleting iourc file /tmp/tmps5uigwj7
[I 140505 16:18:51 __init__:193] IOU module has been reset
[I 140505 16:18:51 __init__:222] dynamips module has been reset
[I 140505 16:19:03 jsonrpc_websocket:135] Websocket client 7fa2a0a5-a5d1-4a54-b1fc-cf865073216d connected
[I 140505 16:19:03 web:1635] 200 GET /version (127.0.0.1) 1.84ms
[I 140505 16:20:34 __init__:223] saving iourc file content to /tmp/tmpi0pb0zv0
[I 140505 16:20:34 __init__:231] iouyap path set to /usr/local/bin/iouyap
[I 140505 16:20:34 __init__:235] this server is local with working directory path to /tmp/gns3-j9bkuf89-files
[I 140505 16:20:36 iou_device:258] IOU IOU1 [id=1]: working directory changed to /tmp/gns3-j9bkuf89-files/iou/device-1
[I 140505 16:20:36 iou_device:98] IOU device IOU1 [id=1] has been created
[I 140505 16:20:36 iou_device:281] IOU IOU1 [id=1]: console port set to 4001
[I 140505 16:20:38 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 16:20:38 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpi0pb0zv0
[I 140505 16:20:38 iou_device:369] IOU IOU1 [id=1]: NETMAP file created
[I 140505 16:20:38 iou_device:465] starting IOU: ['/home/vandiar/Documents/ccna/cisco_iou_l2_l3/Cisco-IOU-L2-L3-Collection-v3/bin/i86bi-linux-l3-adventerprisek9-15.4.1T.bin', '-n', '128', '-m', '256', '-L', '1']
[I 140505 16:20:38 iou_device:467] logging to /tmp/gns3-j9bkuf89-files/iou/device-1/iou.log
[I 140505 16:20:38 iou_device:474] IOU instance 1 started PID=6816
[I 140505 16:20:38 iou_device:380] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140505 16:20:38 iou_device:350] IOU IOU1 [id=1]: iouyap.ini updated
[I 140505 16:20:38 iou_device:394] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140505 16:20:38 iou_device:396] logging to /tmp/gns3-j9bkuf89-files/iou/device-1/iouyap.log
[I 140505 16:20:38 ioucon:352] Telnet server ready for connections on 0.0.0.0:4001
[I 140505 16:20:38 iou_device:403] iouyap started PID=6818
[I 140505 16:21:52 iou_device:226] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140505 16:21:52 iou_device:203] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpi0pb0zv0


works just fine.


Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Tue May 06, 2014 1:23 am 
Offline

Joined: Sat Feb 08, 2014 7:38 pm
Posts: 13
I take it nobody else is having this issue? I am running Ubuntu 14.4. Like I said, it is really sporadic. Thanks!


Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Wed May 07, 2014 12:54 pm 
Offline

Joined: Thu May 01, 2014 6:05 pm
Posts: 12
Vandiar, are you running it on VM or linux?

If you have permission problem you will get:
In this case remove /tmp/netio* folders/files.


Also there must be something wrong with your ip configuration or...


Please be more specified


Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Thu May 08, 2014 10:28 pm 
Offline

Joined: Sat Feb 08, 2014 7:38 pm
Posts: 13
chinatown wrote:
Vandiar, are you running it on VM or linux?

If you have permission problem you will get:
In this case remove /tmp/netio* folders/files.


Also there must be something wrong with your ip configuration or...


Please be more specified


I am running it on Ubuntu 14.04 not VMware. It is really weird that much I know.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Sat May 10, 2014 4:21 am 
Offline

Joined: Thu May 01, 2014 6:05 pm
Posts: 12
Dude sorry 4 for the delay.

Look, I would advice you to reinstall it again and play more attention to all commands that you will type.
And make sure that no the update is 100%

I am using win7 and Linux mint16 Cinnamon(x64), and as you know it already
Cinnamon 2.0 is an Ubuntu-based distribution.

Please just do the same as in the following;
it's worked for me as well as I will for you too!

file:///media/gns3/NO/GNS3/my URL/GNS3 • View topic - Noobs Guide To Install GNS3 Alpha On Linux Mint In 10 Steps.htm


Top
 Profile  
 
 Post subject: Re: Can't figure it out...
PostPosted: Sat May 10, 2014 11:19 am 
Offline

Joined: Fri May 04, 2012 11:37 am
Posts: 57
Location: Point Cook, Australia
vandiar wrote:
I am running it on Ubuntu 14.04 not VMware. It is really weird that much I know.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


I'm running it on the same version of Ubuntu. I migrated form 12.04 (via fresh install not upgrade) specifically to resolve issues I was having there. One thing to note on my setup is that I always run mine as root due to some problems I've had in the past with permissions issues related to NIO ports.

Try running as root and see if you still have the permissions issues.

Cheers,
ak.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO