Debian Wheezy Networking Spontaneously Shuts Down [closed] - networking

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have just recently upgraded to Wheezy. Since I have updated my server will spontaneously kill networking. What logs could I look in to see if I can find the issue? I have looked in /var/log and there are no logs that look relevant that have been updated in the past few days. This server runs headless so re-enabling networking means turning the server off and on again as I can't ssh to it.
Any suggestions would be welcome.
Thanks

var/log/syslog should have something. You can run dmesg which may pick it up if it's a kernel module problem or something - to find the module name use lspci -v | grep -i ethernet and look for the module name a few lines later (it could be e1000 or something). Use the module name when grepping the dmesg output.

Related

How to make sure that a process on Gunicorn3 runs continuously? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I have a flask app deployed on a Ubuntu server. I use Nginx, and Gunicorn3. I know from this StackOverflow post that one of the correct ways to have the app running continuously on the server is to use something like:
gunicorn3 app:application --workers 3 --bind=127.0.0.1:1001 --daemon
But to be completely safe, since there are many other processes running on that server, I would like to find a way to check whether this process IS indeed running, and if it is NOT running (for whatever reasons) then to start it again.
In addition to that question, to make the app working at reboot, I use the following cronjob:
#reboot bash ~/restart_processes.sh
Where the .sh file executes the command line given above for starting Gunicorn3. Is this good practice or is there a better way to achieve the same result?
Thank you!
Kind regards,
I always use to deploy it in production with supervisorctl + nginx. Check this tutorial . You can simply start, restart or stop with a command.

How to disable MAAS temporarily without uninstalling it so that I can run Fuel? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a lab cluster meant for Openstack testing. I've used it for Ubuntu Openstack using Juju/MAAS, and separately, for Fuel 9.2 running on a VM on the same machine. I have been able to test Fuel and Juju separately after tearing down the stack. I can get MAAS running after shutting down the Fuel VM, but Fuel only works after I uninstall MAAS. I'm guessing it's because of the DHCP services running in Fuel and MAAS that interfere with each other.
I want to be able to disable MAAS without uninstalling it. How can I disable MAAS (without uninstalling it) to allow Fuel to work as intended?

How do I make rsync demon log to stdout (instead of a logfile)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm running rsync underneath Supervisor. I normally start rsync daemon like this:
rsync --daemon --config=/home/zs6ftad/deployments/cmot_rsync_daemon/rsyncd.conf --no-detach
I'd like to make it so that any log messages get echo'd to standard output instead of being stored in the log-file. Is there an option which will make an rsync server behave this way?
You can get rsyncd to log to stdout by setting the --log-file argument to /dev/stdout
rsync --daemon --no-detach --log-file=/dev/stdout

RTNETLINK answers: Operation not supported [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
In fact, I want to use pipework to add an ipoib interface into docker container.
Pipework use ip command to do this. But when running the command...
ip link add link ib0 name ib0.2613 type ipoib
I get
RTNETLINK answers: Operation not supported
I searched google and find this
It list all the kernel configuration that iproute2 need. I try this ,but it dosn't work for me.
My OS is "3.19.0-25-generic #26~14.04.1-Ubuntu".
Any help would be appreciate!
I got a similar error,
you should try this:
# apt-get install wireguard-dkms wireguard-tools linux-headers-$(uname -r)
It worked for me, kernel headers missing :shrug:
Maybe you're missing linux-headers. That was my case when I tried to install wireguard and got similar error after typing sudo ip link add dev wg0 type wireguard.
I resolved this by installing the linux-headers corresponding to my kernel version.
In my case, I had kernel version 4.9.0-8-amd and so I installed the package linux-headers-4.9.0-8-amd:
sudo apt install linux-headers-4.9.0-8-amd
There is little informations about this on the internet and I had to find this on the wiki of ArchLinux.
Update the kernel version to 4.17 or above
For me the solution was to disable the secure boot in the bios / uefi and then to reboot my laptop. After that, no more "RTNETLINK answers: Operation not supported" issue !

Understanding user login flow for AIX [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I know that when a user logs into the AIX server, the system files csh.cshrc and csh.login are called. /etc/passwd also come into the picture. Can someone point me to a document that clearly explains the log in flow for a AIX machine. I mean which files are called and in what order?
This is not really AIX specific but shell specific. What csh does is not the same as what ksh does. If you install bash, it does something different still.
IBM pubs for 6.1 start here. Other versions of pubs have a similar path. In your case, do a search for: login csh
man csh has information about your question as well.
Hope this helps.

Resources