Questions tagged [timeout]
The timeout tag has no usage guidance.
134
questions
28
votes
4
answers
38k
views
Why does mariadb keep dying? How do I stop it?
I am running MariaDB 10.0.23-0 on Ubuntu 15.10 as a LAMP server. Running sudo /etc/init.d/mysql start results in:
Job for mariadb.service failed because a timeout was exceeded. See "systemctl status ...
22
votes
4
answers
63k
views
Is it possible to completely disable Grub timeout?
I am setting up a dual boot install for my wife's computer. I would like to disable the timeout for selecting OS that defaults to Ubuntu so the computer wont boot without making a selection. (IE. ...
18
votes
2
answers
44k
views
How do I pause for the specific time between two commands in a script?
I want to do something like following:
#!/bin/bash
command1
<pause for 30 seconds>
command2
exit
How can I do it?
13
votes
3
answers
42k
views
Timeout in a connection to a DHCP server
I want to configure my eth0 interface using an external DHCP server (resident in my subnet), so I edited /etc/network/configure with the lines
auto eth0
iface eth0 inet dhcp
but I also want to use ...
12
votes
4
answers
19k
views
Stop an application in bash after a certain amount of time [duplicate]
I am interested in running a bash script which starts an application (in this case VLC), run it for a certain amount of time and then stop it. I can get this application to start just fine, but it ...
9
votes
2
answers
3k
views
After enabling hibernate grub menu appears on start-up with 30s timeout
My system is not dual boot just single OS UBUNTU 16.04. Prior to making the following changes, the Grub screen would not appear at start-up (OK).
After following these steps from How can I hibernate ...
7
votes
4
answers
14k
views
How to run a program for a fixed period of time?
I am looking for a method built-in to ubuntu that will allow me to run a script or program or whatever for a fixed period of time.
I found a program that does this in a way I like, but the package is ...
7
votes
1
answer
6k
views
How do I stop the screen from fading out and powering off, on lock-screen?
In the office, when I leave my computer, ie. to fetch some coffee, I press Super+L and activate the lock-screen.
This results in the screens fading to black, and subsequently turning off. While this ...
7
votes
1
answer
6k
views
Why does Samba always time-out whilst copying a large file off a network share?
I'm running Ubuntu 11.04 (natty), kernel 2.6.38-8-generic, GNOME 2.32.1.
EDIT: As of 3 April 2012 I'm now on kernel 2.6.38-13-generic (still same Ubuntu and GNOME). The problem still persists.
I ...
6
votes
1
answer
9k
views
Bypass stop job timer
Is it possible to make ubuntu shutdown right away instead of counting to 1.30min then shutdown. PS: It is a script that is running that gives the message.
6
votes
4
answers
10k
views
update-grub ignoring some options in /etc/default/grub
Just installed another hard drive and noticed that grub automatically added the necessary menu entries to boot off it. I wanted to adjust these new entries by editing /etc/default/grub, but it seems ...
6
votes
0
answers
2k
views
How can I set a different screen timeout time when on battery than if I am plugged in?
Currently, Ubuntu 14.04 only provides a single option: "Turn screen off when inactive for: x minutes" that applies regardless of whether my laptop is plugged in or not. I want to change this setting ...
5
votes
1
answer
10k
views
How to disable the feature of automatic system shutdown in 60 seconds?
After pressing the physical power button on computer it's shown a 60 second countdown dialogue box:
"This system will be automatically shutdown in 60 seconds"
How can I disable this feature?
The ...
5
votes
1
answer
5k
views
Upstart kill timeout not respected?
I am currently learning upstart by playing around. I think I have understood the principle now, but I am having difficulties with the "kill timeout" stanza in upstart jobs.
For example, I have the ...
5
votes
1
answer
24k
views
Apt-get Error: Timeout was reached [duplicate]
Yesterday, I noticed that whenever I run the command apt-get update, everything seems to work until the last step.
I get the usual output:
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:...
4
votes
2
answers
7k
views
gdm3 display manager hangs after booting with Ubuntu 18.10
I want to use gdm3 but unfortunately, it does not work. After booting it just completely hangs.
boot process stopped after Started GNOME Display Manager
It just does not do anything. Installing ...
4
votes
2
answers
5k
views
Prevent Ubuntu from automatically starting up after 10 secs with dual-boot [duplicate]
I have a pc with Windows 10 and Ubuntu 16.04, set as dual-boot. The pc came with Win10 and I installed Ubuntu on it recently.
Everything works ok, but when booting the computer I have only 10 seconds ...
3
votes
1
answer
10k
views
Ubuntu 20.04 server: turn off screen until I press a key
Installed Ubuntu server on a tablet. But the screen always stays on.
Can do a command:
echo -ne "\033[9;5]" > /dev/tty1
It does turn it off or at least it then goes to black. If I press ...
3
votes
1
answer
902
views
How can I change the "timeout" duration for Nautilus "find the filename as you type" feature?
I often get stalled by the long timeout while typing the first few letters of a file name in Nautilus...
The current timeout seems to be 5 seconds. I'd prefer 1 second ...(as per item 2 on this ...
3
votes
1
answer
5k
views
Why the timesyncd client does not receive any reply from the NTP server (time out in reply)?
In my lubuntu 22.04 is active the service systemd-timesyncd.service which starts the daemon systemd-timesyncd (see here the documentation). This is the status of this service:
> systemctl status ...
3
votes
1
answer
678
views
GRUB alternating between configurations [duplicate]
I've been trying to configure Grub to give a hidden 3 second countdown, and then boot into the default option.
What appears to happen is that Grub will alternate randomly between doing just that, and ...
3
votes
1
answer
100
views
How to buy an app in Ubuntu Phone
Hello I have the new bq aquarius with Ubuntu Phone and I'm trying to buy the app Cut the Rope but when I try to introduce a verification code for my credit card an error popup appear and I can't buy ...
3
votes
1
answer
1k
views
Grub2 Timeout is Too Short [closed]
I wanted to set grub2 timeout to 0 seconds so that it skips the boot menu screen. In 14.04, it doesn't do that so I set the timeout to 0.5 seconds. Now it's too fast for me to select which OS to use ...
3
votes
1
answer
1k
views
Unable to ssh to machine. Outbound ssh works. sshd is running on port 22
I have an Ubuntu 12.10 machine on my LAN to which all ssh connections time out. Let's call it 'F' (for fail!)
Two other machines 'A' and 'B' on the same LAN can connect to each other. I can also ssh ...
3
votes
1
answer
4k
views
How to permanently change sysfs setting for certain block device?
I have a disk which needs an increased SATA timeout to work properly (at least that's the current workaround, see comments at https://serverfault.com/questions/682061). I figured out that I can set ...
3
votes
1
answer
214
views
Stop process on power button press
I have an old ubuntu pc running a minecraft server, but I only want it on at certain times.
I want to be able to turn it on and off using only the power button. I am able to turn it on, but to turn ...
3
votes
1
answer
2k
views
Ubuntu 20 LTS. How to adjust [email protected] timeouts?
I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this:
[ TIME ] Timed out waiting for device /dev/ttyAMA0.
[DEPEND] Dependency failed for Serial Getty ...
3
votes
0
answers
620
views
mount command hangs when share is unavailable
So we are using a combination of samba, winbind and pam_mount to authenticate users from AD and mount network share individually and everything works fine except for when a share is unavailable.
In ...
3
votes
2
answers
12k
views
Unable to NFS mount from Ubuntu 14.04.1 LTS against QNAP NAS
Note, this is a cross posting question in the QNAP NAS community here: http://forum.qnap.com/viewtopic.php?f=35&t=96526&p=427018#p427018
Any comments and suggestions, as well as pointers to ...
2
votes
1
answer
6k
views
SSH: Set timeout for broken pipe
ssh has the paramater -o ConnectTimeout=10 to set the timeout in seconds when establishing the connection, but once the connection has been established, the parameter has no more effect. When an ...
2
votes
1
answer
21k
views
How to change the timeout of GRUB Boot loader screen in Ubuntu 14.10?
I use Ubuntu 14.10 virtual machine in headless mode and access it using ssh. But many a times it gets stuck on GRUB boot loader screen and I have to log in to the VM in graphical mode and restart in ...
2
votes
2
answers
3k
views
Reduce screensaver timeout to a custom value in seconds
I have a box running ubuntu 13.10 unity that I need to auto log in and it currently locks after 30 seconds, but I'd like to reduce this to between 1 and 5 seconds - how can I do this?
Cheers
2
votes
1
answer
1k
views
screen going to sleep while program still running in 11.10 32bit
I have screen saver as well. But with 11.10 the screen goes black/blank while banshee is playing (full screen now playing mode) and while watching movies in VLC. I did not have this issue in any prior ...
2
votes
1
answer
404
views
Error: Timeout was reached using apt-get with Partner repo
Could someone help / share their knowledge on how to solve the error on timeout which I see comes up mostly after every apt-get operation.
Eg 1:
sudo apt-get update
Hit:1 http://archive.ubuntu.com/...
2
votes
1
answer
981
views
Fix/Prevent GRUB from waiting with a different timeout on resuming from hibernate
When resuming from hibernate state, my computer waits at the GRUB screen for 30 seconds, which is different from the custom timeout that I have set by editing the grub configuration file.
The custom ...
2
votes
1
answer
2k
views
How to run a timeout "within" a script?
I have a script which contains several commands, and one of them takes a bit of time. The script normally reads a list.txt file, and runs the commands on each row. The problem is some rows take a lot ...
2
votes
1
answer
442
views
Is there a maximum value for upstart's kill timeout setting?
Upstart's kill timeout will let a service take some amount of time to shut down gracefully before being SIGKILLed. I have a service that could take minutes or hours to exit gracefully (and I'd like ...
2
votes
1
answer
6k
views
Boot fails: Timed out waiting for device /dev/disk/by-uuid/
I have a dedicated server with Hetzner running Ubuntu 22.04 (Kernel 5.15.0-27). They've added a new disk to my server, and since then I haven't been able to boot it.
Using the rescue system and ...
2
votes
1
answer
4k
views
failed: ssh connection failed: 'Timeout connecting to ... (Multipass)
I got the error ... failed: ssh connection failed: 'Timeout connecting to 10.156.58.216' when running both multipass ls and multipass shell blog.
I cannot list my instances and log in my instances.
...
2
votes
1
answer
6k
views
Kernel panic - not syncing: Not all CPUs entered broadcast exception handler
I am using Windows 8.1. I want to dual boot with Ubuntu 16.04.
But I get this error:
Kernel panic - not syncing: Timeout: Not all CPUS entered broadcast exception handler
I try and try but can`t ...
2
votes
1
answer
227
views
Why timeout is used for ifdown command?
In one of the script i have seen the ifdown command with timeout
timeout 20 ifdown eth0 --force
for what purpose the timeout may be useful?
2
votes
0
answers
2k
views
grub not honoring timeout value
I have grub working the way I want it on my ubuntu 18.04.
I coppied over /etc/default/grub to my new ubuntu 20.04 box.
Here is the config:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=countdown
GRUB_TIMEOUT=3
...
2
votes
1
answer
1k
views
SSH login takes 15 seconds
SSH login takes 15 seconds
I got two devices:
WSL for Windows running: OpenSSH_7.6p1 Ubuntu-4ubuntu0.5, OpenSSL
1.0.2n 7 Dec 2017
Raspbian running: OpenSSH_7.9p1 Raspbian-10+deb10u2, OpenSSL 1.1.1d ...
2
votes
0
answers
175
views
Change how long power button must be held down Ubuntu 20.04?
I had a ThinkPad w/ Ubuntu 20.04, and you just had to touch the power button and the dialouge for the dialouge box "Power Off" with the options Cancel / Restart / Power Off would pop up.
I ...
2
votes
0
answers
206
views
Ubuntu 17.10 keeps asking if I want to wait or quit
Since I updated to 17.10 Gnome, for several slow applications ubuntu keeps asking if I want to wait or force quit. This is irritating and gets in the way, so I want to change the timeout. On a much ...
2
votes
0
answers
52
views
How to change the timeout between sudo sessions? [duplicate]
What is the default timeout interval of a sudo session? How to edit that?
2
votes
0
answers
180
views
How can one increase the timeout before the display dims when on the battery?
If I do not touch my computer (a Toshiba Satellite) for 15 seconds when running off the battery, the screen dims to the lowest brightness. I have already disabled "Dim screen to save power." I do not ...
2
votes
0
answers
1k
views
connection timeout after 60 seconds [closed]
I have installed DNSCrypt on Ubuntu Linux 10.04.1 x86_64 and it worked
nslookup facebook.com 127.0.0.2
Server: 127.0.0.2
Address: 127.0.0.2#53
Non-authoritative answer:
Name: ...
1
vote
4
answers
36k
views
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection
How can I fix this problem in Ubuntu 20.04?
[18:31:29] (dpcc) jalal@echo:~/research/code$ sudo docker pull docurdt/heal
[sudo] password for jalal:
Using default tag: latest
Error response from daemon:...
1
vote
2
answers
2k
views
Timeout when adding mozillateam/ppa repository
I'm using Kubuntu 22.04, apt update and upgrade work fine.
I'm following https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04 to uninstall Firefox snap and install from apt, ...