Posts Tagged ‘Linux’

0

What to do at the “Three Finger Salute”…

Wednesday, September 14, 2011
posted by otioti

… or the other way to say “Press Ctrl+Alt+Supr

# What to do at the "Three Finger Salute".
#ca:12345:ctrlaltdel:/sbin/shutdown -r now

You can find it in /etc/inittab file

0

check_domain_es – Nagios, Check Spanish Domain Names

Friday, January 28, 2011
posted by otioti

Hi everybody,

some time ago, I was looking for a plugin for nagios that let me check Domain Names .es, for Spain, but all plugins cannot check this kind of domain names.

So, I decided to create new one. It’s very easy to use, it’s like check_domain plugin:

check_domain_es – v%s
Copyright (c) 2011 Juan Pedro Escalona Rueda <jpescalona@otioti.com> under GPL License
This plugin checks the expiration date of a domain name.
Usage: check_domain_es -h | -d <domain> [-c <critical>] [-w <warning>]
NOTE: -d must be specified
-h: Print detailed help
-d: domain name to check
-w: Response time to result in warning status (days). 30 days by default
-c: Response time to result in critical status (days). 7 days by default
This plugin will use whois service to get the expiration date for the domain name.
Example:
check_domain_es.py -d iavante.es -w 30 -c 10
You can visit project web page here: https://code.google.com/p/nagios-check-domain-es/
0

Segmentation fault

Friday, November 12, 2010
posted by otioti

imwl rcuHome # sync
Segmentation fault
imwl rcuHome # sync
Segmentation fault
imwl rcuHome # ./bin/rcu
/bin/sh: /opt/soft/rcuHome/lib/stubs/libc.so.6: version `GLIBC_2.4′ not found (required by /bin/sh)
imwl rcuHome # ./bin/rcu
/bin/sh: /opt/soft/rcuHome/lib/stubs/libc.so.6: version `GLIBC_2.4′ not found (required by /bin/sh)
imwl rcuHome # ls
Segmentation fault
imwl rcuHome # ls
Segmentation fault
imwl rcuHome # ls
Segmentation fault
imwl rcuHome # ls
Segmentation fault
imwl rcuHome # dir
Segmentation fault
imwl rcuHome # exit

Cool, ya?

0

Moodle & libxml2

Thursday, September 30, 2010
posted by otioti

This is too weird, but when I tried to restore a course from backup, all HTML tags was broken. I thought it was related to PHP and XML but I could never think it was caused of libxml2 version. I had installed libxml2-2.7.3, so to resolv this problem you just have to uninstall this version and install the recommended versions: 2.6.32 or 2.7.0.

If you have an old system, in Gentoo would be:

echo “>=dev-libs/libxml2-2.7.1″ >> /etc/portage/package.mask
emerge -av libxml2

If you have a newly fashioned portage:

emerge -av ‘=dev-libs/libxml2-2.7.6′

See: http://docs.moodle.org/en/Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F

Uso de cookies

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información. ACEPTAR

Aviso de cookies