Ryu OF version error - sdn

I'm trying to integrate the REST API to a simple switch based on the example in the Ryu book, here: chapter 4 here
now when I run my code I get an error stating the OF version i'm using isn't supported and breaks at the event EventOFPHello. Even though I explicitly set the OF version to 1.3 as required as well as make sure the ports on mininet and ryu are matching!
am I missing something ?
Here's a screenshot of the error message I'm getting

Ok, I'm not entirely sure if this was causing the problem, but I managed to get it working by updating openvswitch from 1.1 to a newer version (2.3.0)

Related

Feature Disabled error when trying to download a Briefcase

After months of working fine, my primary test iModel no longer appears to be accessible. Was working with iModel API 2.3, but, even after upgrading to 2.18 and switching over to BriefCaseManager.downloadBriefCase, I still can't fetch the BriefCase. The error I recieve: Error |imodelhub-client.iMdoelHub| 501 iModelHup.FeatureIsDisabled: Feature is disabled.
Any insights on what I can do to get past this? I'm not seeing any options in PlantSight to enable/disable features that might be related to this
2.18.0 version contains the fixes which address the FeatureIsDisabled error. Could you please verify that you've built your project with 2.18 version?

Typo3 6.2 Upgrade Version Matrix Issue

I am trying to upgrade from Typo3 6.2 to a later version (to be determined). When I run the Core Update in the install tool the 'Fetched list of released versions' works, however, it is then followed by a 'General error'. In the log, this is the error:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1380898792: No version matrix found in registry, call updateVersionMatrix() first. | TYPO3\CMS\Install\Service\Exception\CoreVersionServiceException thrown in file /home/usr/public_html/typo3/sysext/install/Classes/Service/CoreVersionService.php in line 271. Requested URL: https://domain.dev/typo3/sysext/install/Start/Install.php?install[action]=importantActions&install[context]=backend&install[controller]=tool&install%5Bcontroller%5D=ajax&install%5Baction%5D=coreUpdateIsUpdateAvailable&_=1608549770287
I have looked around for ages and can't find a fix that works. I will be very grateful for any help, please.
I don't think that you can update such an old Version by the install-tool update mechanism any more. since that version a lot has changed.
newer versions of 6.2 are only available as paid service (ELTS) from the TYPO3 GmbH.
And I think the server structure also changed meanwhile so that old ULRs might fail.
your way of update should be a manual update to (any outdated version of) 7 LTS, then the same for 8 LTS until you come to 9 LTS and 10 LTS
on each version do the upgrade wizards and fresh up the extensions if possible (including the upgrade wizards of the extensions).
individual extensions need their own updates.
use the deprecation log on each version to identify possible failures for the next TYPO3 version.
somewhere between you might change the installation to composer installation, which will result in a cleaner update way (if you are familiar with composer). for the future it will be very helpful to understand composer.

Issue when trying to run passenger on Apache

I am getting this issue when running
httpd -t
httpd: Syntax error on line 545 of /private/etc/apache2/httpd.conf: Syntax error on line 1 of /private/etc/apache2/other/passenger.conf: Cannot load /Users/sbaidon/.rvm/gems/ruby-2.2.5/gems/passenger-5.3.5/b
uildout/apache2/mod_passenger.so into server: dlopen(/Users/sbaidon/.rvm/gems/ruby-2.2.5/gems/passenger-5.3.5/buildout/apache2/mod_passenger.so, 10): no suitable image found. Did find:\n\t/Users/sbaidon/.rv
m/gems/ruby-2.2.5/gems/passenger-5.3.5/buildout/apache2/mod_passenger.so: code signature in (/Users/sbaidon/.rvm/gems/ruby-2.2.5/gems/passenger-5.3.5/buildout/apache2/mod_passenger.so) not valid for use in p
rocess using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.\n\t/Users/sbaidon/.rvm/gems/ruby-2.2.5/gems/passenger-5.3.5/buildout/apache2/mod_passen
ger.so: stat() failed with errno=22
Passenger installation is just fine.
I ran into this too: the issue is that the built-in httpd that comes with macOS Mojave has Library Validation turned on, which means any modules it loads must be properly signed. Unfortunately, mod_passenger.so is not signed, so loading fails. Actually, a lot of people are having this problem with loading Apache modules on macOS Mojave (especially during the beta), some example references:
https://github.com/GrahamDumpleton/mod_wsgi/issues/357
https://github.com/phpredis/phpredis/issues/1406
I believe it's possible to set up a plist somewhere to give an entitlement to httpd to disable library validation (com.apple.security.cs.disable-library-validation) as described at https://developer.apple.com/documentation/security/com_apple_security_cs_disable-library-validation. For instance, here's a recent WebKit patch where they add it to allow plugin loading: https://bugs.webkit.org/show_bug.cgi?id=183252. Similarly, here's the Mozilla people talking about how they need to enable this (and other) properties: https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1470597.
Unfortunately, I don't do macOS development (I just do development on macOS) and I have absolutely no idea how to apply it to the built-in Apache, I'm sorry.
At this point I'm kind of sick of every major macOS update nerfing all my httpd settings and generally being a pain (it's infrequent but it's still annoying), so I'm doing what I should have done years ago: stop using the built-in httpd that comes with OS/X and just use Homebrew httpd.
Here's some instructions I found regarding setting up Homebrew httpd (and disabling the built-in macOS httpd), it's pretty straightforward and you don't have to follow all of the directions about multiple PHP versions etc: https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions
If someone can figure out how to disable Library Validation in the built-in httpd, or if there is some way to provide signing on mod_passenger.so (seems unlikely since both the Homebrew and gem passenger need to be buildable from source), you don't need to junk the built-in httpd. But I personally think the best solution is to move away from it entirely and use the Homebrew version instead.
For anyone having this issue or any issue with library validation in macOS Mojave, I found an incredibly easy fix to disable it. https://github.com/mologie/macos-disable-library-validation
This is fixed in macOS 10.14.4

rabbitmq cli error getting messages

I am trying to consume the messages from the CLI application (rabbitmqadmin) using the following command:
$ rabbitmqadmin --host rabbitmq get queue=test requeue=false
*** [{key_missing,ackmode}]
I have seen in working before, but I cannot figure out what I am doing wrong at the moment.
I am using rabbitmq 3.7.2. Any hints?
Please try with ackmode=ack_requeue_false instead of requeue=false
https://github.com/rabbitmq/rabbitmq-management/issues/521#issuecomment-352178039
You need to make sure that the raabitmq-server version and the raabitmqadmin version must be same.
In case, you have upgraded your raabitmq from an earlier version to 3.7.2 then you need to replace the older rabbitmqadmin version with the current version (should be same as currently running raabitmq-server version)
For installation of raabitmqadmin correct version, you can refer https://www.rabbitmq.com/management.html
You can also directly download the binary rabbitmqadmin from the link https://raw.githubusercontent.com/rabbitmq/rabbitmq-management/v3.7.2/bin/rabbitmqadmin

SensorKinect not installing?

I was recently following a tutorial in a "Kinect Hacking" book that I purchased on Amazon. The first thing I was asked to do, is to check to see if my Kinect plug would fit into my laptop's which it did. I was then asked to download OpenNI from the following link: http://www.openni.org/Downloads/OpenNIModules.aspx
The only problem is that the link given above redirects to a "unknown page" (which is probably due to a recent site update...Anyway, I download OpenNI from here instead: http://www.openni.org/openni-sdk/ (for Windows), and it installed fine, though after then asked to additionally install Sensor Kinect from the following link: https://github.com/avin2/SensorKinect (that link did work) and executing the .exe file, I received an error message saying to: "Please install OpenNI version 1.2.0.4 or higher!"
So...what should I do?
Thanks in advance! (I haven't had any help on the OpenNI forums, so I posted here).
P.S I'm running Windows 8
Apparently I'm not the only one with this problem, and after some research I found that the new OpenNI isn't compatible with the SensorKinect, so in order to fix this I have to download the version that is slightly dated, luckily a site called "ZigFu" has all the necesary plugins built onto one: http://zigfu.com/en/downloads/browserplugin/