I have run into a problem today where I am unable to connect via SSH to my Google Cloud VM instance running debian-10-buster. SSH has been working until today when it suddenly lost connection while docker was running. I’ve tried rebooting the VM instance and resetting, but the problem still persists. This is the serial console output on GCE, but
If I bind a socket listener to a remote IP, can I still connect to the socket from localhost?
Normally, the IPC as configured in use is restricted to localhost (127.0.01) but a case has come up where a user requires the IPC connection to work additionally from a remote IP. If, in the call to the bind(2), I populate the relevant structure with the remote IP address, will I still be able to have other local processes connect
Text file is busy error from a shell script file
I am currently working on a project that writes and executes a shell script based on the input of the user. And I run the Shell file with this: But whenever the code executes the shell script, I get the error message: Text file is busy Answer All I had to do is close the file before executing it as
Grandchildren and Great-grandchildren of a process
I am trying to get the grandchildren and grand grandchildren PID’S of a certain PID that I pass as an argument. So, I am trying to find the simplest solution possible for a beginner. Now, I used pgrep -P $pid, to find the children of a certain PID, but now that I want to go even deeper, I think I
Renaming files in a directory based on an instructions file
I have a directory that regroups a .sql file and multiple data files. The .sql file contains an unload instructions for every .unl file the issue I have is that the names of the .unl files are not the same as the instructions on .sql. Usually the name should be TABLE_TABID.unl Im looking for a way to retreive the names
RabbitMQ in Linux randomly dropping connections in some deployment
In GNU/Linux I have an issue with an application I have made. It works in my development environment, most of the components running in dockers or natively, but it randomly (often, but not always) fails in the server environment where it needs to be deployed. Infrastructure: Both servers seem to have enough resources -4 CPUs, 4 GB RAM. The machine
.Net Web app SQL Server Connection String Linux Issue
I am having issues with a SQL Server connection string that is being used by a .net core App that is deployed on a Linux environment. The .net core app needs to access a sql server on a different server. My connection string I am using is as follows It works fine when i run locally on my windows pc
How can i define variable for default values in MariaDB structure?
I need to change a lot default values of the DB structure for new entries in MULTIPLE tables to have this new default value in DB I tried to use something like this: But the SET prefix does not fork for alter table command. Is there any way how to do this to use pre-defined value so I can only
gnu ld treating assembly output as linker script, how to fix? or am i doing something wrong in my compiling?
i’ve been working on my kernel project and to simulate it (that is to run it on QEMU), i need it as a .iso file. I have an assembly file and to assemble it – as –32 boot.s -o boot.o and for the main code (which is in c++), to compile it – gcc -S kernel.cpp -lstdc++ -o kernel.o gives
Linux: what’s a fast way to find all duplicate files in a directory?
I have a directory with many subdirs and about 7000+ files in total. What I need to find all duplicates of all files. For any given file, its duplicates might be scattered around various subdirs and may or may not have the same file name. A duplicate is a file that you get a 0 return code from the diff