599 questions
0
votes
0
answers
25
views
Reboot TeamCity agent between build pipeline
If I have 2 TeamCity build configurations (A and B), B with a snapshot dependency on A and the option to use the same build agent selected. If I have as a last step in A that reboots the build agent, ...
1
vote
0
answers
70
views
Changes in usb_deregister_device_driver() are not reflected
I changed the code in kernel-source/drivers/usb/core/driver.c to:
void usb_deregister_device_driver(struct usb_device_driver *udriver)
{
pr_info("%s: deregistering device driver %s\n",
...
0
votes
0
answers
50
views
Xamarin to Maui update with an apk on a rooted device
Observations:
Xamarin to Xamarin update:
Reboot occurs as expected after updating from a Xamarin build to a new Xamarin build.
MAUI to MAUI update:
Reboot occurs as expected after updating from a MAUI ...
0
votes
1
answer
287
views
Kong API Gateway - docker container on windows, fail to bind - port in use after laptop reboot
Each time I reboot my laptop, Kong API Gateway fails to bind and start.
If I delete and recreate it's all fine, just the reboots mean recreating each time and reperforming setup.
I am using Kong ...
1
vote
0
answers
179
views
reboot via script run by cron
I'm going nuts over something seemingly simple.
I want to run a script every minute which reboots when it finds something in a log.
It simply does not run via cron.
My script in /home/root/...
2
votes
1
answer
472
views
How reboot remote machine via ssh avoiding timeout?
I have this part of code where I am trying to reboot a remote machine over ssh :
def check_and_reboot(ssh, hostname):
# if not ssh_connect(ssh, hostname):
# print("SSH failed, ...
2
votes
0
answers
115
views
Container does not have access to serial port over reboots despite privileged and device
Host - Ubuntu 20.04 on Raspberry pi 4
Container - arm64v8/ros:noetic-ros-core
I'm using docker compose to bring my container up. When launched from the CLI, everything works fine. However, when i ...
0
votes
0
answers
117
views
Where to put Flask Initialization code in a Container so it runs after server reboot
Where should I put my initialization code for a containerized flask application so that it gets executed after a host server reboot.
I currently have code to starts a Schedule thread in the main ...
1
vote
0
answers
135
views
How to debug the linux kernel panic by the reboot command
I tried to reboot the linux by the reboot command on the prompt.
I think that the busybox normally executed the function 'static void halt_reboot_pwoff(int sig)' because of the following boot message.
...
0
votes
0
answers
63
views
Power off screen - i do not know how to continue
I'm working on an app (JobService) that should restart the device once a week using an ADB command (from the code). This works very well. Background: The device is used for navigation and is ...
0
votes
0
answers
23
views
Is it possible to run after rebooting process a python script that has camera feature in RPI?
`
model = load_model("model", compile=False)
class_names1 = open("labels.txt", "r").readlines()
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
camera = cv2.VideoCapture(2)...
-1
votes
1
answer
175
views
Automount ext4 format thumb drive via NFS on a raspberry pi in cluster with fstab fails on reboot
I am trying to automount (on reboot) an NFS thumb drive onto another raspberry pies in a cluster using fstab.
I have tried all the solutions on how to auto mount NFS drive on reboot using fstab
https:...
0
votes
0
answers
86
views
Endless reboot cycle on Mac after using sudo shutdown
Without proper verification I used the code generated by ChatGPT, thinking that I would set up my Mac for automatic rebooting every hour. The commands here are quite simple, and someone knowledgeable ...
2
votes
2
answers
219
views
Different Python versions during bash-terminal- and crontab@reboot- and ssh-execution (while using pyenv)
I'm using pyenv 2.3.22 on a Raspberry Pi, with ./profile entry:
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(...
1
vote
0
answers
135
views
Cancel movefile operation
I tried to schedule a movefile (using the sysinternals tool movefile) operation to delete "C:\ProgramData\Microsoft\Windows Defender\Definition Updates\Backup" but I forgot the quotes and ...
0
votes
0
answers
118
views
My screen shows "ubuntu 20.04.1 LTS usertty2, user login(here I can type ) when I press enter it shows PASSWORD: (I cannot type anything here)
I cannot restart my laptop. Before rebooting my harddisk was full I don't know if this caused the problem. Now I can see a blankscreen and an underscore where I cannot type anything(automatically ...
0
votes
1
answer
2k
views
Cannot Reboot Windows 2019 Server Using Powershell: Privilege not held [closed]
I am having a hell of a time trying to get a very basic script to reboot my Windows 2019 Server. I am logged in as a Domain and Local Administrator (in the Administrator group).
When I run this basic ...
-3
votes
1
answer
131
views
Why can't the Python script be executed during reboot?
The simple Python script /home/debian/project/del_video.py works fine:
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import os
import time
today = time.strftime("%w",time.localtime())
...
1
vote
1
answer
485
views
The difference both reboot and poweroff of Linux by systemctl control
Both reboot and poweroff are mapped to /bin/systemctl, how does systemctl control shutdown and restart. When entering reboot or poweroff, how does systemctl get which command should be executed?
It ...
0
votes
0
answers
218
views
Scheduled Task and continue script post reboot
I'm new to PS and Been messing with this for a while and I can't seem to get it right.
I'm gathering information to create a log file name dynamically from reg keys and other variables and create the ...
0
votes
1
answer
551
views
Issue during reboot SGX disabled and APCI BIOS Error
Tried rebooting mint using command “sudo reboot” during reload processes stopped because “SGX is disabled by bios” and there is a bug in ACPI (ACPI Bios Error(bug): Could not resolve symbol [TBTS], ...
0
votes
1
answer
2k
views
Debian 12 freezes and crashes after installation
After installing Debian 12, my laptop (Victus 16) with an AMD Ryzen 5 5600H CPU, NVIDIA GeForce RTX 3050 Ti Laptop GPU, and 16GB RAM freezes and reboots within about 3 seconds of login. This happens ...
1
vote
1
answer
56
views
Problem writing an app that can startup after reboot
I am trying to auto start an app after rebooting the phone. After looking into a few tutorials, none of the codes starts the app after rebooting the phone, and I have tested if ...
1
vote
1
answer
192
views
How do I stop alertManager alerts when a job, "kured reboot", is running?
When nodes reboot based on the job "kured_reboots", alertManager still alerts on other node alerts. Is there a way to stop alertManager alerts for nodes going through a reboot based on the ...
1
vote
1
answer
245
views
There is a delayed shutdown function in windows shutdown -s -t , but is there a delayed switching-on?
For example, is there a command that allows you to turn on the computer (be it a remote computer connected to the network or your own), for example, after a reboot, after a specified, strictly defined,...
1
vote
0
answers
84
views
Why does PS2 reset not work when VMX is enabled?
I am recently writing a micro-hypervisor for Intel CPUs. My micro-hypervisor runs while VMX is enabled. However, I ran into problem when trying to reboot the machine.
I decide to follow https://wiki....
-1
votes
1
answer
1k
views
Is data in RAM permanently cleared after a reboot? [closed]
I am being told sensitive data held in RAM is permanently cleared out by rebooting a Windows (10) machine. Is this correct?
RAM is extended by paging data to and from the paging file (C:\pagefile.sys) ...
0
votes
0
answers
4k
views
ZKTeco F22 ID biometric terminal problem with cyclic reboot
My name is Nikolay, I am from Ukraine, I am an engineer of a service center for the repair of security systems and access control.
Faced the following problem:
ZKTeco F22 ID biometric access control ...
0
votes
1
answer
720
views
PowerShell script doesnt continue after reboot
I am pretty new to PowerShell scripting so I wanted to write a script that helps our apprentices in setting up new laptops for our customers.
This script should rename the computer, then restart it ...
-1
votes
2
answers
171
views
How to tell from a launch daemon if macOS is currently restarting?
I have a launch daemon (written in C++) that runs on macOS. Is there a way to tell if the operating system is currently restarting?
(Or the moment after the user hit Apple Logo -> Restart and the ...
0
votes
1
answer
515
views
Programmatically, how can I tell on LINUX that the system is rebooting?
There is a lot about the "procedure" LINUX undertakes when a reboot or 'imminent shutdown' is underway. I wish to understand, programmatically, and react to, that a REBOOT IS IMMINIENT.
My ...
0
votes
1
answer
223
views
Which point in time is reflected in the files of an EC2 AMI taken while rebooting?
If you take an AMI from an EC2, and the AMI takes, say, 1 hour to be available; and you choose the option not to skip the reboot.
All the files in the AMI will:
a) reflect their exact condition from ...
0
votes
0
answers
58
views
re-connecting to a python socket client, after it has rebooted
So I am doing a project at work, where I am communicating with an external IO-Module PCB, over a TCP connection. So essentially a GUI, talking to an embedded system, via TCP.
I then want to add a ...
0
votes
0
answers
258
views
My .bashrc dissapeared with all his alias and functions
I was working on my VM and occasionally when I have been working for a long time and it is tab overloaded it collapses. Today it collapsed again and when I rebooted my Mozillas icon was not there. No ...
-1
votes
1
answer
5k
views
PuTTY SSH reboot command
I am trying to reboot a Unix based machine with SSH on windows.
I am using PuTTY command, it looks like this :
putty.exe -ssh [email protected] -pw password -m reboot.txt -t
And the reboot.txt ...
-1
votes
1
answer
195
views
How to measure elapsed time, including across device reboots and without regard for possibly-manually-changed system time?
What is the best way to measure the elapsed time between any two points, including across device reboot? I thought clock_gettime_nsec_np(CLOCK_MONOTONIC) would work but I recently realized that the ...
3
votes
2
answers
12k
views
After server reboot: Error getting node err=node … not found [closed]
I had restarted the server (master node) and I get since then the following message when I want to use kubelet:
The connection to the server YYY.YYY.YYY.YY:6443 was refused - did you
specify the ...
0
votes
0
answers
317
views
Determine if windows needs Reboot/Restart Programmatically
I am looking for a way to determine if windows needs to reboot or restart inside a C# application. For example, because a newly installed app needs windows to restart. What are available solutions for ...
1
vote
0
answers
3k
views
Pods are shown as TERMINATED after kubernetes node reboot/restart
We are running a reboot (sudo systemctl reboot) of a worker node with Kubernetes version v1.22.4.
We observe that pods on the rebooted node are presented with status TERMINATED.
kubectl get pod ...
1
vote
1
answer
101
views
Challenge in introducing reboot prompt during install failure and rollback
we are facing issues with install failure and rollback which brings application to unstable state. With reboot done after failure and rollback, our application becomes stable. So to recommend user to ...
3
votes
0
answers
989
views
Reboot Crontab on AWS EC2 not executing
I am having difficulties getting my docker-compose command to run on reboot in my EC2 instance. I have been through many responses with a similar question but have been unsuccessful so far.
In my EC2 ...
0
votes
1
answer
302
views
Safe ways to retain an encryption key in a local service memory after a reboot?
I'm writing a Windows service that receives an encryption key from our web server. Such key never leaves memory and is used to encrypt and decrypt sensitive data. This works well, except for the ...
1
vote
0
answers
301
views
starting Django project using cron
I have a Django project which I want to start every time the device reboots. I can start the Django application manually using the following 4 commands
cd /home/pi/reg-sign
source djenv/bin/activate
...
1
vote
0
answers
208
views
Android Management API - IssueCommand - Problem with delay to LOCK and REBOOT devices
I have a problem with the method enterprises.devices.issueCommand (LOCK and REBOOT) of Android Management API. I had set the duration to 60 seconds and REBOOT didn’t work always. By setting it to 600 ...
1
vote
0
answers
617
views
Flutter awesome_notifications and local_notifications schedule was remove after device rebooted
Schedule notifications doesn't show after I reboot my device.
I tried to this following steps but still not working for me.
Flutter app BOOT_COMPLETED receiver doesn't work
Device : Oppo A92
...
-1
votes
1
answer
157
views
Python: React in script before shutdown
I have a python-script that is started at bootup-time as a cronjob to collect measurement-data:
@reboot python /path/to/my_script.py
The Linux-machine is rebooted daily at a certain time as a cronjob:
...
0
votes
1
answer
1k
views
Red Hat needs-restarting
I have some problems trying to test "needs-restarting -r ; echo $?" inside a RedHat distribution. The command works for cases where a reboot is not required, but I have not been able to ...
0
votes
1
answer
963
views
What does the -h switch do, when the reboot function is invoked in Bash/shell? [closed]
I read a forum post some time ago (unfortunately I don't have the link any more), that instructed me to invoke "reboot -h now" in Bash on a Raspberry Pi running the Unix-based Raspbian ...
0
votes
1
answer
174
views
Android - Broadcast not working after reboot
In AndroidManifest.xml:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
and
<receiver android:name=".alarm.AlarmBroadcastReceiver">
&...
0
votes
1
answer
3k
views
Why 'reboot' operation does not work with crontab?
I am using ubuntu 18.04.
I want to reboot my server every day.
Here is my crontab file for root, which is I can see with 'sudo crontab -e' operation
0 0 * * * rm /var/log/*log.*
0 0 * * * rm /var/log/...