Error 1-661qjd while Installing MATLAB R2013b on Ubuntu 16.04 - matlab

I am trying to install the R2013b version on 16.04. It is successfully installed but i am only stuck in activation.
I get an error: 1-661qjd. Googling shows that this error has been resolved for 12.10 here. But Ubuntu 16.04 doesn't have any files in /etc/udev/rules.d/ let alone the file named 70-persistent-net.rules. So the steps in that post don't work out for me. So can someone please tell how to solve this problem for R2013b on 16.04. It seems since Ubuntu 14.04 or maybe even earlier, the file named 70-persistent-net.rules has been discontinued. However, this issue is solved in R2014a and later versions and there is no need for a eth0 interface to exist. But i only have access to R2013b from college licensed and free.
PS:
An answer that does not involve restarting the computer would be great, if possible.

i don't know if there aren't more correct or logical ways of handling this error code. But issuing the following command from the terminal worked for me:
sudo ifconfig eno1 down && time sudo ip link set eno1 name eth0 && time sudo ifconfig eth0 up
The crux is to rename the active NIC to eth0. The more recent versions of MATLAB take care of this issue internally.

Related

How I can open pgadmin4 in fedora 36?

Good evening people, I am trying to install pgadmin4 on fedora 36, I followed all the steps in the documentation and pgadmin4 and its dependencies were installed correctly but I do not know how to start it, or open it and it does not let me configure it on the web because I do not create the directory described in the final step to configure the web version.
I had the same problem. I solved it installing pgadmin4 from linux-pachages
https://linux-packages.com/fedora-36/package/pgadmin4-qtx86-64
I followed the same instructions but mistakenly changing "yum" to "dnf" out of force of habit. I found I got an install out of it which seemed OK at a glance, but it was just documentation and not an executable, and there was no shortcut added to run pgAdmin. Perhaps you might have inadvertently done something similar? After uninstalling, I tried again using "yum" exactly as documented and the latest executable installed without any issue. So the steps to install that would work for me were as follows. (Desktop version in my case.)
sudo rpm -e pgadmin4-fedora-repo
sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop
The QT workaround also mentioned as an answer worked for me, but I wanted to avoid that since it is an earlier release (6.9) than the current 6.11, isn't officially supported and fires a warning about that every time on start up saying some functionality may be missing, which is not good for clients to see potentially in my case.
Same problem - couldn't open it after installing. You have to install pgadmin4-desktop not pgadmin4.

v4l2loopback doesn't create the /dev/video/ files

im trying to make v4l2loopback work on my desktop PC (no hardware camera) with mint 19.3, kernel 5.4.0-42-generic x86_64.
I followed the official instructions and compiled from git the v4l2loopback module and everything seem to run correctly, as no error prompted while running the instructions, but when i do ll /dev/v* there's no /dev/videoN entry.
I also tried with the flags exclusive_caps=1 and devices=2 but to no avail.
Any idea what i might be missing or doing wrong?
you need to load the module (e.g. using modprobe) before you can use it.
see also https://github.com/umlaeute/v4l2loopback#run

PostGIS Installation "could not open extension control file"

I've been scouring posts trying to figure out how to resolve this issue - could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory
I'm installing PostgreSQL and PostGIS with apt-get install postgresql-12 postgis postgresql-12-postgis-3 into a Docker container running python:latest. I'd initially been running Alpine however it seemed there were a number of issues getting PostGIS installed successfully on Alpine distributions.
I've located the file with find /usr -name postgis.control under /usr/share/postgresql/12/extension/postgis.control. I've attempted to move this to the directory PostGIS expects, but I'm still seeing the same error.
It's been driving me totally mad!
Any help is appreciated, and happy to answer any questions that will help me find an answer.
I was never able to resolve this issue, so I ended up switching to the official postGIS docker image which worked flawlessly. Would recommend it to anyone else in a similar situation.
I had the same issue, but installing PostGIS on the ubuntu machine worked for me.
apt-get install postgis*
After the installation above, I was able to create the extension as expected.
CREATE EXTENSION postgis

Running Kafka-python causes whole computer to freeze (ESXi 6.5 VM Virtual Machine Freeze Kernel Panic)

I am running Python2.7 with Zookeeper and kafka (0.8.2.1).
I am using the latest Kafka-python client (pip install kafka).
The following is a minimally reproducible example:
from kafka import KafkaConsumer
BOOTSTRAP_SERVER = 'myserver.com:my_port'
consumer = KafkaConsumer('my-topic', bootstrap_servers=BOOTSTRAP_SERVER)
print 'about to print messages'
for msg in consumer:
print msg
This prints 'about to print messages', and then the whole VM (Ubuntu Xenial, 16.04 LTS) freezes. I can't even see the cursor inside the VM.
Funny thing is, I am running the exact same Ubuntu Image on one of my other computers (not a VM) and it works.
The VM is running on ESXi 6.5.
This answer PyCharm freezing whole computer on Ubuntu said it could be openjdk's fault (I don't use pycharm; I execute the code from the terminal), so I switched to Oraclejdk. Didn't solve the problem. I have tried literally everything I can think of and am at my wit's end (ubuntu trusty is downloading, and I am going to try running it on that image and see if that works on the VM).
Any pointers/help appreciated.
Thank you!
UPDATE: If you are getting this issue as well on Ubuntu Xenial (16.04) or newer, try a Trusty (14.04) image. SEEMS to have solved the problem for me, but probably too soon to tell.
UPDATE 2 I was wrong. Still doesn't work. Seems like a bug in the kernel.
This is a known ESX bug. Apparently the reason for this is some invalid op code in certain intel CPUs that gets triggered by the newer versions of Ubuntu (Xenial and above).
I solved it by using Ubuntu 14.04 (trusty) instead of 16.04. Hope this helps someone.
Other solutions that didn't work for me (as well as reference links) are below:
launchpad bug-report (edit vmx file a little, didn't work for me)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1630774
vmware-recommended workaround (edit grub file a little didn't work for me)
https://communities.vmware.com/message/2626830#2626830

Installing MATLAB Runtime on CentOS 7

I am trying to install the MATLAB Runtime (see www.mathworks.com/products/compiler/mcr) on Cent0S 7. I think I have installed MCR correctly because the install finishes through saying it completed after running
sudo ./install -mode silent -agreeToLicense yes
However, I am currently getting a error of:
Fatal error loading library /usr/local/MATLAB/MATLAB_Compiler_Runtime/v80/bin/glnxa64/libmwmclmcr.so Error: libXmu.so.6: cannot open shared object file
I have searched around on the forums and found a couple of post that indicate this may be an issue with either 32-bit vs. 64-bit libraries and/or X Windows. Also, I am pretty sure I am setting the following environment LD_LIBRARY_PATH and XAPPLRESDIR set variables correctly.
Has anyone out there successfully installed MATLAB Runtime on CentOS 7? Any help would be appreciated.
Thanks,
Derek
In case anyone else has this issue the following library install fixed the issue for me:
sudo yum install libXmu.x86_64