Questions tagged [timeout]
135 questions
28
votes
4 answers
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 mariadb.service" and "journalctl -xe" for…
T.J.L.
- 707
24
votes
4 answers
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. GRUB_TIMEOUT=INFINITE) Is it just a simple case of…
Lasher
- 477
18
votes
2 answers
How do I pause for the specific time between two commands in a script?
I want to do something like following:
#!/bin/bash
command1
command2
exit
How can I do it?
Pandya
- 37,289
13
votes
3 answers
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 avahi autoconfiguration when the DHCP server is…
JustTrying
- 347
12
votes
4 answers
Stop an application in bash after a certain amount of time
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 will not stop, using this…
SteveC
- 253
9
votes
2 answers
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 on Ubuntu 16.04? to enable hibernate in the system…
MitchB
- 91
7
votes
1 answer
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 is beneficial if I am gone for longer periods…
lobner
- 221
7
votes
4 answers
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 unavailable for Ubuntu. In any case, I was hoping…
Teque5
- 299
7
votes
1 answer
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 have a Synology DiskStation DS207 NAS connected to my…
thoughton
- 225
6
votes
1 answer
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.
Håvard Pettersen
- 339
6
votes
0 answers
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 when on battery power, just like I can with other…
hackel
- 1,104
6
votes
4 answers
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 some settings are ignored or overridden by the…
Iestyn ap Mwg
- 591
5
votes
1 answer
Apt-get Error: Timeout was reached
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:2 http://linux.dropbox.com/ubuntu xenial InRelease…
smac89
- 1,085
5
votes
1 answer
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 system is: Ubuntu 14.04, 64 bit.
In the background: my…
Ruslan Gerasimov
- 3,895
5
votes
1 answer
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 following job (filename…
Binarus
- 810