Hola:
Tengo un problema desde hace unos meses, tcos-devices-ng no funciona
(tampoco tcos-volume-manager pero vamos, me importa menos).
Como tenía pensamiento de hacer una reconfiguración total de los
servidores y utilizábamos poco (o nada) USB y cdrom, pasé de arreglar el
problema.
El caso es que ahora si necesito arreglarlo porque la reconfiguración
del servidor se va a retrasar algo más.
Sin mas rodeos, esto es lo que obtengo cuando ejecuto tcos-devices-ng:
--------------- Corte desde la consola ----------
$ tcos-devices-ng --debug
11074 tcos-devices-ng::loadconf() __init__ conffile=~/.tcos-devices-ng.conf
11074 tcos-devices-ng::loadconf mntconf={}
11074 tcos-devices-ng::loadconf() __init__
conffile=/etc/tcos/tcos-devices-ng.conf
11074 tcos-devices-ng::loadconf() found conf file
/etc/tcos/tcos-devices-ng.conf
11074 tcos-devices-ng::loadconf mntconf={'enable_reboot_poweroff': '1'}
tcosmonitor.TcosCommon::__init__()
tcosmonitor.TcosCommon::get_display() ip_mode=False
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='False' display_host=oger
display_hostname=oger display_ip=oger
tcosmonitor.TcosCommon::get_display() ip_mode=True
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='True' display_host=oger
display_hostname=oger display_ip=oger
tcosmonitor.TcosXauth::display_host='oger'
tcosmonitor.TcosXauth::display_ip='oger'
tcosmonitor.TcosXauth::init_standalone()
tcosmonitor.TcosConf::__init__()
tcosmonitor.TcosConf::__init__() not opening conf file
tcosmonitor.TcosXmlRpc::__init__()
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, cache_timeout, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_username, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_password, adding to
list ""
tcosmonitor.TcosCommon::__init__()
11074 tcos-devices-ng::loading config class...
tcosmonitor.TcosConf::__init__()
tcosmonitor.TcosConf::__init__() not opening conf file
tcosmonitor.TcosXmlRpc::__init__()
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, cache_timeout, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_username, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_password, adding to
list ""
tcosmonitor.TcosCommon::get_display() ip_mode=True
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='True' display_host=oger
display_hostname=oger display_ip=oger
tcosmonitor.TcosCommon::get_display() ip_mode=False
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='False' display_host=oger
display_hostname=oger display_ip=oger
11074 tcos-devices-ng::initremote() username=egomeza host=oger
hostname=oger
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, threadscontrol, adding to
list ""
tcosmonitor.TcosCommon::Threads count: 2
tcosmonitor.TcosXauth::parseDisplay() ip=192.168.2.19
cookie=4b9ab8ccd57622c681a3f2e4360300a0
tcosmonitor.TcosXauth::test_auth() cookie=None ip=oger
tcosmonitor.TcosXauth::test_auth() Can't read cookie
tcos-devices-ng: ERROR: Xauth cookie don't match
------------------ Fin del corte ---------------------
En concreto, con este usuario había procedido a borrar la .Xauth, salir
de la sesión y volver a entrar.
Este es el registro desde otro usuario con la Xauth «intacta»:
-------------- Corte desde la consola ----------
:~$ cat /home/fidel/ERROR.TCOS
20258 tcos-devices-ng::loadconf() __init__ conffile=~/.tcos-devices-ng.conf
20258 tcos-devices-ng::loadconf mntconf={}
20258 tcos-devices-ng::loadconf() __init__
conffile=/etc/tcos/tcos-devices-ng.conf
20258 tcos-devices-ng::loadconf() found conf file
/etc/tcos/tcos-devices-ng.conf
20258 tcos-devices-ng::loadconf mntconf={'enable_reboot_poweroff': '1'}
tcosmonitor.TcosCommon::__init__()
tcosmonitor.TcosCommon::get_display() ip_mode=False
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='False' display_host=indis
display_hostname=indis display_ip=indis
tcosmonitor.TcosCommon::get_display() ip_mode=True
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='True' display_host=indis
display_hostname=indis display_ip=indis
tcosmonitor.TcosXauth::display_host='indis'
tcosmonitor.TcosXauth::display_ip='indis'
tcosmonitor.TcosXauth::init_standalone()
tcosmonitor.TcosConf::__init__()
tcosmonitor.TcosConf::__init__() not opening conf file
tcosmonitor.TcosXmlRpc::__init__()
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, cache_timeout, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_username, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_password, adding to
list ""
tcosmonitor.TcosCommon::__init__()
20258 tcos-devices-ng::loading config class...
tcosmonitor.TcosConf::__init__()
tcosmonitor.TcosConf::__init__() not opening conf file
tcosmonitor.TcosXmlRpc::__init__()
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, cache_timeout, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_username, adding to
list ""
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, xmlrpc_password, adding to
list ""
tcosmonitor.TcosCommon::get_display() ip_mode=True
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='True' display_host=indis
display_hostname=indis display_ip=indis
tcosmonitor.TcosCommon::get_display() ip_mode=False
tcosmonitor.TcosCommon::lookup() nameserver=192.168.0.2 Exception
Timeout, error=no working nameservers found
tcosmonitor.TcosCommon::lookup() nameserver=194.179.1.100 Exception
IndexError, error=list index out of range
tcosmonitor.TcosCommon::get_display() ip_mode='False' display_host=indis
display_hostname=indis display_ip=indis
20258 tcos-devices-ng::initremote() username=fidel host=indis hostname=indis
tcosmonitor.TcosConf::GetVar() NEW VAR FOUND, threadscontrol, adding to
list ""
tcosmonitor.TcosCommon::Threads count: 2
tcosmonitor.TcosXauth::parseDisplay() ip=192.168.2.11
cookie=c73bbe00cd99fb46caf39a60403f8409
tcosmonitor.TcosXauth::parseDisplay() ip=
Nidfrio.redfrio.es
cookie=4e589c326e22b42ee0eabf379868770d
tcosmonitor.TcosXauth::parseDisplay() ip=192.168.0.2
cookie=4e589c326e22b42ee0eabf379868770d
tcosmonitor.TcosXauth::parseDisplay() ip=
Nidfrio.redfrio.es
cookie=bbab3a61d84d498f826f48ff98a40d3b
tcosmonitor.TcosXauth::parseDisplay() ip=192.168.0.2
cookie=bbab3a61d84d498f826f48ff98a40d3b
tcosmonitor.TcosXauth::parseDisplay() ip=
Nidfrio.redfrio.es
cookie=14c0385369cb97f7a56b758ec35b5f97
tcosmonitor.TcosXauth::parseDisplay() ip=192.168.0.2
cookie=14c0385369cb97f7a56b758ec35b5f97
tcosmonitor.TcosXauth::test_auth() cookie=None ip=indis
tcosmonitor.TcosXauth::test_auth() Can't read cookie
------------- Fin del corte ----------------------
He estado mirando el código pero me pierdo, aunque he encontrado algunas
de las funciones que intervienen en el proceso, no he sido capaz de
tirar del hilo para seguir mirando.
Total, que necesito ayuda.
Adjunto más datos sobre el sistema:
Package: tcosmonitor
Version: 0.2.48squeeze1
Severity: important
Tags: upstream
*** Please type your report below this line ***
-- System Information:
Debian Release: 6.0.9
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages tcosmonitor depends on:
ii gksu 2.0.2-5 graphical frontend to su
ii kdebase-bin 4:4.4.5-2 core binaries for the KDE
base app
ii nmap 5.00-3 The Network Mapper
ii python 2.6.6-3+squeeze7 interactive high-level
object-orie
ii python-gtk-vnc 0.4.1-4 A VNC viewer widget for
GTK+ (Pyth
ii python2.5 2.5.5-11 An interactive high-level
object-o
ii python2.6 2.6.6-8+b1 An interactive high-level
object-o
ii tcosmonitor-common 0.2.48squeeze1 Thin client monitor for
TCOS (comm
tcosmonitor recommends no packages.
tcosmonitor suggests no packages.
-- Configuration Files:
/etc/op/op.d/nmap-tcos.conf
nmap-tcos
/usr/bin/nmap $*;
groups=tcos
environment
help="'nmap'"
Gracias.
Salud y Revolución.
Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
Porque la libertad no es tu derecho, es tu responsabilidad.
http://www.mucharuina.com
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org