-
Notifications
You must be signed in to change notification settings - Fork 95
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
GNS3 version 2.1.8 does returns unknown error on Ubuntu 18.04 with dynamips version 0.2.18 #124
Comments
Would be happy to provide any more information required to debug/narrow down this issue |
I am also affected by this bug. Glad it's getting attention. Thank you. |
I confirm I don't have the issue when running Ubuntu 18.04 in a VM. |
Can you try the 32-bit version of Dynamips on physical hardware please? You can compile it yourself or download it from https://drive.google.com/open?id=16cpF6CP6KuzbXRS2QTcGcST0vcNmvom5 (you still need to install the 32-bit libraries with To compile from scratch:
Thanks! |
I get an error.
Here are the steps.
=================================================
walter@lenovo:~$ sudo apt install libc6-dev-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-dev-i386 is already the newest version (2.27-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
walter@lenovo:~$ sudo apt install libelf-dev:i386 libpcap0.8-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libelf-dev:i386 is already the newest version (0.170-0.4).
libpcap0.8-dev:i386 is already the newest version (1.8.1-6ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
walter@lenovo:~$ sudo apt install git cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.10.2-1ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
walter@lenovo:~$ git clone https://github.com/GNS3/dynamips.git
Cloning into 'dynamips'...
remote: Counting objects: 2958, done.
remote: Total 2958 (delta 0), reused 0 (delta 0), pack-reused 2958
Receiving objects: 100% (2958/2958), 2.70 MiB | 275.00 KiB/s, done.
Resolving deltas: 100% (1986/1986), done.
walter@lenovo:~$ cd dynamips/
walter@lenovo:~/dynamips$ mkdir build
walter@lenovo:~/dynamips$ cd build/
walter@lenovo:~/dynamips/build$ cmake .. -DDYNAMIPS_ARCH=x86
-- CMAKE_MODULE_PATH=/home/walter/dynamips/cmake
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- dependencies - BEGIN
-- Performing Test ARCH_AMD64
-- Performing Test ARCH_AMD64 - Success
-- Performing Test ARCH_X86
-- Performing Test ARCH_X86 - Failed
-- ARCH_AMD64=1
-- ARCH_X86=
-- DYNAMIPS_ARCH=x86
CMake Error at cmake/dependencies.cmake:95 (message):
cannot build target arch DYNAMIPS_ARCH=x86
Call Stack (most recent call first):
CMakeLists.txt:32 (include)
…-- Configuring incomplete, errors occurred!
See also "/home/walter/dynamips/build/CMakeFiles/CMakeOutput.log".
See also "/home/walter/dynamips/build/CMakeFiles/CMakeError.log".
=================================================
Logs attached.
CMakeOutput.log
<https://drive.google.com/file/d/1aywtQjv5Vht97KiGyS2Yqd0wvcH7NH5Y/view?usp=drive_web>
CMakeError.log
<https://drive.google.com/file/d/15b6QFSTvrdKQ6h6AreuvRrLS41_RbFyg/view?usp=drive_web>
On Tue, Jul 10, 2018 at 3:13 PM Jeremy Grossmann ***@***.***> wrote:
Compiling Dynamips for x86 may solve the problem.
Can you try the 32-bit version of Dynamips on physical hardware please?
You can compile it yourself or download it from
https://drive.google.com/open?id=16cpF6CP6KuzbXRS2QTcGcST0vcNmvom5 (you
still need to install the 32-bit libraries with sudo apt install
libelf-dev:i386 libpcap0.8-dev:i386)
To compile from scratch:
sudo apt install libc6-dev-i386
sudo apt install libelf-dev:i386 libpcap0.8-dev:i386
sudo apt install git cmake
git clone https://github.com/GNS3/dynamips.git
cd dynamips
mkdir build
cd build
cmake .. -DDYNAMIPS_ARCH=x86
make
sudo make install
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-403817051>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAletfpwbn3dz6E7QKV4QmN70KsY6bi_ks5uFKhvgaJpZM4U2lSl>
.
|
Try this command: Thanks! |
please check below
================
walter@lenovo:~/dynamips/build$ sudo apt install libelf-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libelf-dev is already the newest version (0.170-0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
walter@lenovo:~/dynamips/build$ sudo apt install libpcap0.8-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpcap0.8-dev is already the newest version (1.8.1-6ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
walter@lenovo:~/dynamips/build$ cmake .. -DDYNAMIPS_ARCH=x86
-- CMAKE_MODULE_PATH=/home/walter/dynamips/cmake
-- dependencies - BEGIN
-- ARCH_AMD64=1
-- ARCH_X86=
-- DYNAMIPS_ARCH=x86
CMake Error at cmake/dependencies.cmake:95 (message):
cannot build target arch DYNAMIPS_ARCH=x86
Call Stack (most recent call first):
CMakeLists.txt:32 (include)
…-- Configuring incomplete, errors occurred!
See also "/home/walter/dynamips/build/CMakeFiles/CMakeOutput.log".
See also "/home/walter/dynamips/build/CMakeFiles/CMakeError.log".
===============================
On Tue, Jul 10, 2018 at 6:55 PM Jeremy Grossmann ***@***.***> wrote:
Try this command: sudo apt install libelf-dev libpcap0.8-dev then start
again from cmake .. -DDYNAMIPS_ARCH=x86
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-403893279>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAletXwKIFW4kCgoHJ58sEhr-KsGaxDgks5uFNx6gaJpZM4U2lSl>
.
|
What is the content of |
It's attached to the last mail I sent.
Here is the dump anyway...
Performing C SOURCE FILE Test ARCH_X86 failed with the following output:
Change Dir: /home/walter/dynamips/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2b335/fast"
/usr/bin/make -f CMakeFiles/cmTC_2b335.dir/build.make
CMakeFiles/cmTC_2b335.dir/build
make[1]: Entering directory
'/home/walter/dynamips/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2b335.dir/src.c.o
/usr/bin/cc -DARCH_X86 -m32 -o CMakeFiles/cmTC_2b335.dir/src.c.o -c
/home/walter/dynamips/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_2b335
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b335.dir/link.txt
--verbose=1
/usr/bin/cc -DARCH_X86 -m32 -rdynamic
CMakeFiles/cmTC_2b335.dir/src.c.o -o cmTC_2b335 -ldl
/usr/bin/x86_64-linux-gnu-ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/7/libgcc.a when searching for -lgcc
/usr/bin/x86_64-linux-gnu-ld: cannot find -lgcc
/usr/bin/x86_64-linux-gnu-ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/7/libgcc.a when searching for -lgcc
/usr/bin/x86_64-linux-gnu-ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_2b335.dir/build.make:97: recipe for target 'cmTC_2b335'
failed
make[1]: *** [cmTC_2b335] Error 1
make[1]: Leaving directory '/home/walter/dynamips/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2b335/fast' failed
make: *** [cmTC_2b335/fast] Error 2
Source file was:
#if defined(__i386) || defined(__i386__) || defined(_M_IX86)
int main (void) { return 0; }
#else
#error cmake_FAIL
#endif
…On Tue, 10 Jul 2018, 19:36 Jeremy Grossmann, ***@***.***> wrote:
What is the content of
/home/walter/dynamips/build/CMakeFiles/CMakeError.log?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-403905677>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAletW8VO-e1WTBtiEly7OcHTfxDklYUks5uFOYVgaJpZM4U2lSl>
.
|
Hi I tried installing gns3 from the same Ubuntu repos ppa in version 16.04 and everything works. Just curious if it’s something to do with some dependencies specific to 18.04 ? Thanks |
my bad. I probably should've started from scratch after the last install of
libelf-dev and lipcap0.8-dev.
I install gcc-multilib as well. (don't know if this was needed.)
I removed the dynamips and started from scratch and it built successfully.
Tested GNS3 and dynamips is now working!!!!!
Thanks for your help Jeremy. Hopefully you can assist with a fix now
without going the 32bit route.
Let me know if I can help with testing...
…On Tue, Jul 10, 2018 at 7:49 PM Balaji G ***@***.***> wrote:
Hi
I tried installing gns3 from the same Ubuntu repos ppa in version 16.04
and everything works. Just curious if it’s something to do with some
dependencies specific to 18.04 ?
Thanks
Balaji
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-403909796>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAletQVKiR-8g7jC8MAPQxBVffp9vs-Eks5uFOk1gaJpZM4U2lSl>
.
|
I did it all over and can confirm that I do need gcc-multilib. Doesn't work
without.
On Tue, Jul 10, 2018 at 8:11 PM Walter Scharnick <[email protected]>
wrote:
… my bad. I probably should've started from scratch after the last install
of libelf-dev and lipcap0.8-dev.
I install gcc-multilib as well. (don't know if this was needed.)
I removed the dynamips and started from scratch and it built successfully.
Tested GNS3 and dynamips is now working!!!!!
Thanks for your help Jeremy. Hopefully you can assist with a fix now
without going the 32bit route.
Let me know if I can help with testing...
On Tue, Jul 10, 2018 at 7:49 PM Balaji G ***@***.***> wrote:
> Hi
>
> I tried installing gns3 from the same Ubuntu repos ppa in version 16.04
> and everything works. Just curious if it’s something to do with some
> dependencies specific to 18.04 ?
>
> Thanks
> Balaji
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/GNS3/gns3-server/issues/1363#issuecomment-403909796>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAletQVKiR-8g7jC8MAPQxBVffp9vs-Eks5uFOk1gaJpZM4U2lSl>
> .
>
|
Thanks for the feedback. I think we going to stick to the 32-bit route for now since we have no idea how we can fix the 64-bit version at the moment. |
Hi Walter If you could document the steps on how to make this work in Ubuntu 18.04, it would be really helpful. Thanks for your help |
Hi Balaji. Sorry for the delay. Steps are basically above, but to combine
and compress it in one go. Here you go. Will keep this noted for myself for
future reference, but someone might wanna post where other's can find....
sudo add-apt-repository ppa:gns3/ppa
sudo apt update
sudo apt install gns3-gui
sudo apt install libc6-dev-i386 gcc-multilib libelf-dev libelf-dev:i386
libpcap0.8-dev libpcap0.8-dev:i386 git cmake
git clone https://github.com/GNS3/dynamips.git
cd dynamips/
mkdir build && cd build
cmake .. -DDYNAMIPS_ARCH=x86
make
sudo make install
…On Wed, Jul 11, 2018 at 11:00 AM Balaji G ***@***.***> wrote:
Hi Walter
If you could document the steps on how to make this work in Ubuntu 18.04,
it would be really helpful.
Thanks for your help
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-404097311>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAletVYtNid1C9SbwdgIliQMOo4cIHAPks5uFb6_gaJpZM4U2lSl>
.
|
Hi Walter Thanks a lot. Would try this out. I had to move back to 16.04 just because GNS3 was not working. Now i could happily move to 18.04 :) Thanks for your help in testing out the recommendations and also for the quick how to :)
|
I have the same issue with VM. |
same issue with linux mint 19 (ubuntu 18.04) Error: Could not send Dynamips command 'vm get_status "AUTOIDLEPC"' to 127.0.0.1:59775: Connection lost, process running: False this how to not successfully fix the problem sudo add-apt-repository ppa:gns3/ppa sudo apt update sudo apt install gns3-gui sudo apt install libc6-dev-i386 gcc-multilib libelf-dev libelf-dev:i386 libpcap0.8-dev libpcap0.8-dev:i386 git cmake git clone https://github.com/GNS3/dynamips.git cd dynamips/ mkdir build && cd build cmake .. -DDYNAMIPS_ARCH=x86 make sudo make install |
I noticed we already build Dynamips 32-bit on our PPA. Something like this should be enough to install:
Please let us know if this fixes the problem. |
once I run sudo apt install dynamips:i386,the dynamips(64) and gns3-gui,gns3-server would be automatically removed. |
I have try like this : |
I think the reason is that dynamips is a dependency of gns3-server. I am considering moving it to a recommendation instead so users are free to install the 64-bit or 32-bit version or nothing at all if they don't need dynamips at all. Current control file for the gns3-server package is:
We would remove |
I'm installing GNS3 from source, so the following is just theoretical. Here a documentation about the dependencies: https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends I think, that the gns3-server package depends on packages, that are not really necessary to use the server, so something like the following might be an alternative:
Maybe even But the drawback moving package to |
I will only have Dynamips as a weak dependency (move it to the recommends field) for now to try to fix this current issue and we will consider moving more things like vpcs and Qemu in GNS3 version 2.2. Also, I think libvirt-bin is a core functionality. |
Starting with version 2.1.9 packages, the Dynamips package is not installed by default anymore. I installed Dynamips 32-bit on a fresh Ubuntu 18.04 64-bit VM using the following commands and tested with c3725 and c7200 images and got no crash. However, the headache with this Dynamips crash is that it apparently doesn't happen when running Ubuntu 18.04 in a VM. The only thing we can do at the moment is to let our Ubuntu users know about the problem and how to install Dynamips 32-bit as a work around, then get feedback.
|
Walter, thank you very much for your workaround, it helped me, its working (vm ubuntu18.04 64bit) |
hi bro gns3 worked for only 1 day and after restarting the pc it gives me this error and i made and run all previous command and this is not work |
@shiblovich can you try the following workaround? Thanks |
just worked like a charm! thank you. |
Yup , it's solved thank you very much |
This issue should be fixed by installing Dynamips v0.2.19. No need to specifically install the 32-bit version or to set the timezone. See #91 (comment) for details. |
perfect thanks a lot |
docker support? |
@ericmalatji do you mean we could Dockerize Dynamips? |
no, I was trying to add a docker image to emulate Siebel CRM for Oracle 18c
REST Api proof of concept
My Manager would like us to develop a way to have Netconf provide info into
the Oracle 18c database via REST
Regards
Eric Malatji
FOA: CFOT, CFOS D / H # 7071462
https://www.youracclaim.com/badges/0a180a84-924c-450e-9939-f6eb8d97c59f/public_url
…On Mon, Apr 15, 2019 at 5:21 AM Jeremy Grossmann ***@***.***> wrote:
@ericmalatji <https://github.com/ericmalatji> do you mean we could
Dockerize Dynamips?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/GNS3/gns3-server/issues/1363#issuecomment-483094641>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI3jqU328fCZx44sTmBM6O9X9gQK6Rshks5vg_A1gaJpZM4U2lSl>
.
|
How to use this fix on Windows? |
I'm using ubuntu 20.10 and the last release of GNS3 but i still get this problem, any help ?
|
Yeah, it seems that after updating to 20.10 this problem came back. Wasn't an issue on 20.04. |
any solution? |
I am going to investigate. Have you tried 21..04? |
No, Do you think its gonna fix on version 21.04?
|
Please try to run Dynamips directly to narrow down the issue: |
thanks for trying to help; i got this output:
|
Same on Ubuntu 21.04 |
I tried following the code to build using: I got stuck on cmake .. -DDYNAMIPS_ARCH=x86 with error: -- Configuring incomplete, errors occurred! How can I fix this? |
Hello! I'm just a bit busy for last time. Maybe I will find some time for this issue in next two week. |
No worries, thanks a lot :) |
You can use the following workaround
Maybe someone can suggest a better way to install the dependencies, but it works. |
hello , |
If someone else gets this issue, getting a gdb backtrace would help a lot. |
I am using gns3 version 2.1.8 on Ubuntu 18.04. On loading any IOS image with dynamips installed, i get the following error
Dynamips hypervisor process has stopped, return code: -11
C3745 'Ghost': generic_nvram_extract_config: Unknown error -61605
I have tried with many IOS images and all return the same error. These IOS images used to work in Ubuntu 16.04.
Please note: I installed gns3-gui using the apt-get method from the GNS3 Ubuntu PPA and didnt compile dynamips or any other package separately.
The text was updated successfully, but these errors were encountered: