Sometimes you need a good reference, and this is one of those times. MySQL’s perror command returns many error codes, and I’ve provided a listing here. To find errors individually, just run:
1 2 | # perror 28 OS error code 28: No space left on device |
Sometimes you need a good reference, and this is one of those times. MySQL’s perror command returns many error codes, and I’ve provided a listing here. To find errors individually, just run:
1 2 | # perror 28 OS error code 28: No space left on device |
# perror 28 OS error code 28: No space left on device
Quick and easy – generate self-signed certificate in one line:
1 | openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt |
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt
Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:Niedersachsen
Locality Name (eg, city) []:Hannover
[Internet Widgits Pty Ltd]:ipv6.mysql.idrobot.net
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:Igor Drobot
Email Address []:id@drobot.de
Parsing kernel orgs changelogs can be a pain.
Here’s a handy one-liner to make it easier to read:
1 | wget --quiet -O - http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.37 | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--" |
wget --quiet -O - http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.37 | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--"
You should become human readable output like this one:
1 2 3 4 5 6 7 | perf: Remove unused variable x86, bios: By default, reserve the low 64K for all BIOSes mlx4_en: Fix build warning in mlx4_en_create_rx_ring. mlx4_en: updated driver version mlx4_en: Moving to work with GRO mlx4_en: UDP RSS support mlx4_en: reconfiguring mac address. |
perf: Remove unused variable x86, bios: By default, reserve the low 64K for all BIOSes mlx4_en: Fix build warning in mlx4_en_create_rx_ring. mlx4_en: updated driver version mlx4_en: Moving to work with GRO mlx4_en: UDP RSS support mlx4_en: reconfiguring mac address.
The best uses I’ve found for the SIGSTOP and SIGCONT signals are times when a process goes haywire, or when a script spawns too many processes at once.
Usage Examples for both signals:
1 2 | kill -SIGSTOP [pid] kill -SIGCONT [pid] |
kill -SIGSTOP [pid] kill -SIGCONT [pid]
Your client (Thunderbird or Outlook) get time outs while you send mails or change between directories.
The first what you should do, check your logs:
This can be your possible error:
[Read more…]