MiniShift error virNetSocketReadWire:1806 - minishift

How do I deal with this error? I'm getting it after I ran minishift start in a VM without nested virtualization turned on? I've now turned it on, but keep seeing errors that look like file corruption.
error : virNetSocketReadWire:1806 : End of file while reading data: Input/output error
I'm seeing it in /var/log/messages, sytemctl's output from libvirtd status and when I run minishift start.

Run minishift delete to clean up the environment as it is only partially setup and the run minishift start to get going again.

Probably missing qemu driver.
yum -y install libvirt-daemon-driver-qemu && systemctl restart libvirtd

Related

How to fix HTTPD (Apache) Error 256 on OSX Monterey 12.5

I have a Apache2 installed with Homebrew on a Mac running OSX Monterey. I haven't done LAMP development for a while, so I'm not sure when the error started, but I've recently updated OSX to 12.5. When I returned to working on a LAMP project, my Apache installation stopped working. Running brew services produced the following output: Name Status User File httpd error 256 root ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist mysql started Nizz0k ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist.
Running the stop, start, and restart commands produces "success" output in the terminal, but Apache doesn't work. I can't navigate to my local vhosts, and of course, running brew services still shows an error.
In running apachectl -e error Apache complains about permissions to the error logs
I have tried:
uninstalling and reinstalling HTTPD
The apr-utilities fix.
confirming Mac installed Apache is stopped.
At this point, I think my problem is that there was conflicting information about how to run Apache on Homebrew. Earlier versions apparently required sudo, but running it this was now produces warnings like this:
Warning: Taking root:admin ownership of some httpd paths:
/usr/local/Cellar/httpd/2.4.54/bin
/usr/local/Cellar/httpd/2.4.54/bin/httpd
/usr/local/opt/httpd
/usr/local/opt/httpd/bin
/usr/local/var/homebrew/linked/httpd
This will require manual removal of these paths using `sudo rm` on
brew upgrade/reinstall/uninstall.
Warning: httpd must be run as non-root to start at user login!
/Library/LaunchDaemons/homebrew.mxcl.httpd.plist: service already bootstrapped
Bootstrap failed: 37: Operation already in progress
Error: Failure while executing; `/bin/launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.httpd.plist` exited with 37.
The issue is even after removing the paths as suggested in the error, a reinstallation brings Root back as the owner.
I do have the same problem with nginx.
Manually unloaded it and then restarting it worked fine.
Try:
sudo launchctl bootout system /Library/LaunchDaemons/homebrew.mxcl.httpd.plist
sudo brew services start httpd

RabbitMQ Boot failed. Getting logger error

I am trying to run rabbitmq server on my mac and i keep getting this error:
Starting broker...Logger - error: {removed_failing_handler,rabbit_log}
BOOT FAILED
I have tried reinstalling it several times and even logged into local host but see the same error.
Managed to fix it. Ran these commands to fully uninstall RabbitMQ (vhosts, users too).
sudo apt-get remove --auto-remove rabbitmq-server
sudo apt-get purge --auto-remove rabbitmq-server
Then after I reinstalled everything worked.
Another possibility is that you are running it on Big Sur- it keeps on giving errors to me that I didn't get previously.
Try pip3 uninstall rabbitmq-server then pip3 install rabbitmq server- that worked for me.

PythonAnywhere "Could not install packages due to an EnvironmentError: [Errno 122] Disk quota exceeded "

I'm trying to upload a bot to the server and encountered this error when installing numpy. Although before that I also installed it and everything worked then I changed the virtual environment and this error popped up.
There is still a lot of free memory, I even tried to delete everything and fill the project with a new one, but I still encounter this error.
Perhaps this is the problem exactly PythonAnywhere someone may have encountered
Disabling the cache worked for me
first clear the cache
pip3 cache purge
then install without caching
pip3 install -r requirements.txt --no-cache-dir
So, did you check the disk quota for the virtual environment, i.e the virtual disk allocated should be enough for the work. Please check.

What is going on and how do I fix it?

https://prnt.sc/hlt4ey
I'm trying to get onto the xfce4 client from my chromebook (and it has worked before), however now this error is popping up. How do I fix this error?
My guess is you may not have the right user privileges. According to the error message you provided you are running an Ubuntu Linux environment.
If you haven't tried running the program through the terminal yet, attempt to do so.
The terminal can typically be opened by the key combination Ctrl+Alt+T on ubuntu linux.
Try using sudo command before running the program. This will run the command you enter using root privileges.
For example, if running the program on your terminal is
myName#ubuntu: xfce4
And this encounters an error, try to use sudo beforehand like so:
myName#ubuntu: sudo xfce4
Alternatively you can log in and not have to type sudo before every command.
myName#ubuntu: sudo bash
password:
If this fails you may need to update the package that contains the library. This can be done on the terminal in a fashion similar to:
myName#ubuntu: sudo apt-get install --only-upgrade xfce4

Error while installing from script ZeroBraneStudio

When executing ZeroBraneStudioEduPack-1.70-linux.sh i get this error: xdg-desktop-menu: No writable system menu directory found.
It could be related to my desktop environment ? currently i'm using sway with xwayland.
According to this answer, seems to be an xdg bug. You can check if running sudo mkdir /usr/share/desktop-directories/ before running the install command fixes the issue. I'll consider adding it to the install script if it helps.