Comment 1 for bug 938034

Revision history for this message
Asmo Koskinen (asmok) wrote :

I can log in root-server, but there is no change to use Unity (or anything else), because root-server is only for command line users.

Feb 23 10:52:44 lubuntu-root sshd[2357]: Accepted password for ltsp001 from 10.0.0.100 port 34104 ssh2

Feb 23 10:52:46 lubuntu-root ltsp-directory[965]: ,ip=10.0.0.100,username=ltsp001,mac=08:00:27:41:02:18,appservip=10.0.0.50,display=7,code=3

So problem seems to me that application-server is wrong one. Should be 10.0.0.55, now it is 10.0.0.50, because of ltsp-cluster-
lbserver not running.

Feb 23 10:48:20 lubuntu-root ltsp-directory[1201]: ,ip=10.0.0.100,username=ltsp001,mac=08:00:27:41:02:18,appservip=10.0.0.50,display=7,code=3

Feb 23 10:48:29 lubuntu-root ltsp-directory[1199]: ,ip=10.0.0.100,username=ltsp001,mac=08:00:27:41:02:18,appservip=10.0.0.50,display=7,code=4,termaccess=0,publickey=

Feb 23 10:48:32 lubuntu-root ltsp-directory[966]: ,ip=10.0.0.100,mac=08:00:27:41:02:18,display=0.0,code=2

I can ping '10.0.0.55'/'lubuntu-app'.

oot@lubuntu-root:~# ping 10.0.0.55
PING 10.0.0.55 (10.0.0.55) 56(84) bytes of data.
64 bytes from 10.0.0.55: icmp_req=1 ttl=64 time=0.937 ms

root@lubuntu-root:~# ping lubuntu-app
PING lubuntu-app (10.0.0.55) 56(84) bytes of data.
64 bytes from lubuntu-app (10.0.0.55): icmp_req=1 ttl=64 time=0.785 ms

Here is my 'lbsconfig.xml'.

root@lubuntu-root:~# cat /etc/ltsp/lbsconfig.xml
<?xml version="1.0"?>
<lbsconfig>
    <lbservice listen="*:8008" max-threads="1" refresh-delay="60" returns="$IP"/>
    <lbslave is-slave="false"/>
    <mgmtservice enabled="true" listen="*:8001"/>
    <nodes>
        <group default="true" name="lubuntu">
            <node address="http://10.0.0.55:8000" name="lubuntu-app"/>
        </group>
    </nodes>
    <rules>
        <variable name="LOADAVG" weight="50">
            <rule capacity=".7"/>
        </variable>
        <variable name="NBX11SESS" weight="25">
            <rule capacity="$CPUFREQ*$CPUCOUNT*$CPUCOUNT/120" critical="$CPUFREQ*$CPUCOUNT*$CPUCOUNT/100"/>
        </variable>
        <variable name="MEMUSED" weight="25">
            <rule capacity="$MEMTOTAL-100000"/>
        </variable>
    </rules>
</lbsconfig>
root@lubuntu-root:~#

And LTSP-Cluster Control Center sees login progress.

Date and time Terminal Node ID MAC Address Terminal Address Boot Server Address Application Server Address User Name Event
2012-02-23 10:52:46 3 08:00:27:41:02:18 10.0.0.100 10.0.0.50 10.0.0.50 ltsp001 User login

This is updated 12.04.

root@lubuntu-root:~# apt-get install -f
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
1 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 t lisää levytilaa.
Tehdään asetuksia: ltsp-cluster-lbserver (2.0.0-0ubuntu3) ...
update-rc.d: warning: ltsp-cluster-lbserver stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
 * Starting ltsp-cluster-lbserver... [fail]
invoke-rc.d: initscript ltsp-cluster-lbserver, action "start" failed.
dpkg: virhe käsiteltäessä ltsp-cluster-lbserver (--configure):
 aliprosessi installed post-installation script palautti virhetilakoodin 1
No apport report written because MaxReports is reached already
                                                              Käsittelyssä tapahtui liian monta virhettä:
 ltsp-cluster-lbserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@lubuntu-root:~#

Best Regards Asmo Koskinen.