Forum Problems Installing LAMS: Problem with connection between client-server


 
You may request notification for Problem with connection between client-server.
Search: 

1: Problem with connection between client-server
04/01/10 10:46 AM
[ Reply | Forward ]
Hello,
I have install lams 2.3.4 on Ubuntu 9.04.
On lams-server (10.84.22.11:8180/lams) everything working perfect (i think.....)
On client i have problem. Open a browser typing
http//:10.84.22.11:8180/lams and DO NOT shows the GUI, only text, NO pictures, No icons.

When i make login on server and then logout:
2010-04-01 19:35:58,013 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: 692E3A77443238C63123A0551082618B
2010-04-01 19:35:58,013 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:35:58,014 DEBUG [JspRedirectStrategy] Set locale information for login page:el
2010-04-01 19:35:58,014 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:35:58,017 DEBUG [SessionManager] ==>Couldn't find the sso cookie
2010-04-01 19:35:58,017 DEBUG [SessionManager] ==>Created one - ff80808127b9eeb70127ba3aa5c1004f
2010-04-01 19:35:58,017 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
2010-04-01 19:35:58,060 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:36:01,609 INFO [UniversalLoginModule] logout
2010-04-01 19:36:01,609 INFO [UniversalLoginModule] initialize
2010-04-01 19:36:01,610 INFO [UniversalLoginModule] login
2010-04-01 19:36:01,610 DEBUG [UniversalLoginModule] ===> authenticating user: ilias
2010-04-01 19:36:01,622 DEBUG [UniversalLoginModule] ===> authentication type: LAMS
2010-04-01 19:36:01,638 INFO [UniversalLoginModule] User 'ilias' authenticated, loginOk=true
2010-04-01 19:36:01,639 INFO [UniversalLoginModule] commit, loginOk=true
2010-04-01 19:36:01,640 INFO [UniversalLoginModule] ===> Assign user to role AUTHOR ADMIN
2010-04-01 19:36:01,641 INFO [UniversalLoginModule] ===> Found AUTHOR ADMIN
2010-04-01 19:36:01,641 INFO [UniversalLoginModule] ===> Assign user to role AUTHOR
2010-04-01 19:36:01,641 INFO [UniversalLoginModule] ===> Assign user to role GROUP ADMIN
2010-04-01 19:36:01,641 INFO [UniversalLoginModule] ===> Assign user to role SYSADMIN
2010-04-01 19:36:01,641 INFO [UniversalLoginModule] ===> Found SYSADMIN
2010-04-01 19:36:01,667 INFO [UniversalLoginModule] ===> Assign user to role GROUP MANAGER
2010-04-01 19:36:01,667 INFO [UniversalLoginModule] ===> Assign user to role LEARNER
2010-04-01 19:36:01,668 INFO [UniversalLoginModule] ===> Assign user to role MONITOR
2010-04-01 19:36:06,281 INFO [TilesRequestProcessor] Tiles definition factory found for request processor ''.
2010-04-01 19:36:12,518 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:36:12,600 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: 692E3A77443238C63123A0551082618B
2010-04-01 19:36:12,600 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:36:12,600 DEBUG [JspRedirectStrategy] Set locale information for login page:el
2010-04-01 19:36:12,601 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:36:12,603 DEBUG [SessionManager] ==>Couldn't find the sso cookie
2010-04-01 19:36:12,603 DEBUG [SessionManager] ==>Created one - ff80808127b9eeb70127ba3adebb0051
2010-04-01 19:36:12,603 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
2010-04-01 19:36:12,685 DEBUG [SessionManager] Failed on finding current system session with null sessionId


When i make login in client and then logout:
2010-04-01 19:37:12,889 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: AC0F5CD5241C24B2C05E4B674BFEA3C7
2010-04-01 19:37:12,889 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:37:12,890 DEBUG [JspRedirectStrategy] Set locale information for login page:el_GR
2010-04-01 19:37:12,890 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:37:12,892 DEBUG [SessionManager] ==>Couldn't find the sso cookie
2010-04-01 19:37:12,893 DEBUG [SessionManager] ==>Created one - ff80808127b9eeb70127ba3bca3c0053
2010-04-01 19:37:12,893 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
2010-04-01 19:37:24,999 INFO [UniversalLoginModule] logout
2010-04-01 19:37:25,000 INFO [UniversalLoginModule] initialize
2010-04-01 19:37:25,001 INFO [UniversalLoginModule] login
2010-04-01 19:37:25,001 DEBUG [UniversalLoginModule] ===> authenticating user: ilias
2010-04-01 19:37:25,018 DEBUG [UniversalLoginModule] ===> authentication type: LAMS
2010-04-01 19:37:25,034 INFO [UniversalLoginModule] User 'ilias' authenticated, loginOk=true
2010-04-01 19:37:25,064 INFO [UniversalLoginModule] commit, loginOk=true
2010-04-01 19:37:25,066 INFO [UniversalLoginModule] ===> Assign user to role AUTHOR ADMIN
2010-04-01 19:37:25,066 INFO [UniversalLoginModule] ===> Found AUTHOR ADMIN
2010-04-01 19:37:25,066 INFO [UniversalLoginModule] ===> Assign user to role AUTHOR
2010-04-01 19:37:25,066 INFO [UniversalLoginModule] ===> Assign user to role GROUP ADMIN
2010-04-01 19:37:25,072 INFO [UniversalLoginModule] ===> Assign user to role SYSADMIN
2010-04-01 19:37:25,072 INFO [UniversalLoginModule] ===> Found SYSADMIN
2010-04-01 19:37:25,072 INFO [UniversalLoginModule] ===> Assign user to role GROUP MANAGER
2010-04-01 19:37:25,072 INFO [UniversalLoginModule] ===> Assign user to role LEARNER
2010-04-01 19:37:25,073 INFO [UniversalLoginModule] ===> Assign user to role MONITOR
2010-04-01 19:37:30,103 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: AC0F5CD5241C24B2C05E4B674BFEA3C7
2010-04-01 19:37:30,103 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:37:30,104 DEBUG [JspRedirectStrategy] Set locale information for login page:el_GR
2010-04-01 19:37:30,105 DEBUG [SessionManager] Failed on finding current system session with null sessionId
2010-04-01 19:37:30,108 DEBUG [SessionManager] ==>Couldn't find the sso cookie
2010-04-01 19:37:30,108 DEBUG [SessionManager] ==>Created one - ff80808127b9eeb70127ba3c0d7c0055
2010-04-01 19:37:30,108 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session

I have make shutdown and start the lams and i have the same problem on client.

What going wrong?

Thanks a lot
Elias

Posted by Ilias Oikonomakos

Attachments:
2: Re: Problem with connection between client-server
In response to 1 04/05/10 10:54 PM
[ Reply | Forward ]
Elias,

It sounds that this might be a network issue and not to do with the LAMS server.

Just to make sure can you ping the server from the client?
What's the IP in the client? Are they in the same network?


Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Problem with connection between client-server
In response to 2 04/06/10 03:49 AM
[ Reply | Forward ]
The server ip is 10.84.22.11 and the client ip is 10.84.22.128
The client has Win XP Home SP3.
The outputs of ping, tracert, ipconfig from client to server are:
(sorry some in Greek language)
C:\Documents and Settings\Elias>ping 10.84.22.11

Γίνεται Ping στο 10.84.22.11 με 32 bytes δεδομένων:
Απάντηση από: 10.84.22.11: bytes=32 χρόνος<1ms TTL=64
Απάντηση από: 10.84.22.11: bytes=32 χρόνος<1ms TTL=64
Απάντηση από: 10.84.22.11: bytes=32 χρόνος<1ms TTL=64
Απάντηση από: 10.84.22.11: bytes=32 χρόνος<1ms TTL=64
Στατιστικά στοιχεία Ping για 10.84.22.11:
    Πακέτα: Απεσταλμένα = 4, Ληφθέντα = 4, Απολεσθέντα = 0 (απώλεια 0%),
Πλήθος διαδρομών αποστολής και επιστροφής κατά προσέγγιση σε χιλιοστά του δευτερολέπτου:
    Ελάχιστο = 0ms, Μέγιστο = 0ms, Μέσος όρος = 0ms

C:\Documents and Settings\Elias>tracert 10.84.22.11
Παρακολούθηση της διαδρομής προς: srv1-gym-kanith.eyv.sch.gr [10.84.22.11] με μέγιστο πλήθος αναπηδήσεων 30:
  1    <1 ms    <1 ms    <1 ms  srv1-gym-kanith.eyv.sch.gr [10.84.22.11]
Η παρακολούθηση ολοκληρώθηκε.

C:\Documents and Settings\Elias>ipconfig /all
Ρύθμιση παραμέτρων IP των Windows
  Όνομα κεντρικού υπολογιστή. . . : acer-bde796e815
  Επίθημα κύριου DNS  . . . . . . :
  Τύπος κόμβου. . . . . . . . . . : Άγνωστος
  Ενεργοποίηση δρομολόγησης IP. . : Όχι
  Ενεργοποίηση διακ. μεσολάβ. WINS: Ναι
Προσαρμογέας Ethernet Τοπική σύνδεση:
  Επίθημα DNS συγκεκρ. σύνδεσης . :
  Περιγραφή . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Controller
  Φυσική διεύθυνση. . . . . . . . : 00-16-D4-A9-28-9C
  Ενεργοποίηση DHCP . . . . . . . : Yes
  Αυτόματη ρύθμιση ενεργή . . . . : Ναι
  Διεύθυνση IP. . . . . . . . . . : 10.84.22.128
  Μάσκα υποδικτύου. . . . . . . . : 255.255.255.0
  Προεπιλεγμένη πύλη. . . . . . . : 10.84.22.1
  Διακομιστής DHCP. . . . . . . . : 10.84.22.1
  Διακομιστές DNS . . . . . . . . : 194.63.239.164
                                    194.63.237.4
                                    194.63.239.1
                                    10.84.22.1
                                    10.84.22.10
  Έναρξη εκμίσθωσης . . . . . . . : Τρίτη, 6 Απριλίου 2010 11:46:39 πμ
  Λήξη εκμίσθωσης . . . . . . . . : Παρασκευή, 9 Απριλίου 2010 11:46:39 πμ

C:\Documents and Settings\Elias>


From server to client:
ilias@edubuntu:~$ ping 10.84.22.128
PING 10.84.22.128 (10.84.22.128) 56(84) bytes of data.
64 bytes from 10.84.22.128: icmp_seq=1 ttl=128 time=0.206 ms
64 bytes from 10.84.22.128: icmp_seq=2 ttl=128 time=0.199 ms
64 bytes from 10.84.22.128: icmp_seq=3 ttl=128 time=0.197 ms
64 bytes from 10.84.22.128: icmp_seq=4 ttl=128 time=0.199 ms
64 bytes from 10.84.22.128: icmp_seq=5 ttl=128 time=0.207 ms
64 bytes from 10.84.22.128: icmp_seq=6 ttl=128 time=0.200 ms
64 bytes from 10.84.22.128: icmp_seq=7 ttl=128 time=0.197 ms
64 bytes from 10.84.22.128: icmp_seq=8 ttl=128 time=0.197 ms
64 bytes from 10.84.22.128: icmp_seq=9 ttl=128 time=0.198 ms
64 bytes from 10.84.22.128: icmp_seq=10 ttl=128 time=0.197 ms
64 bytes from 10.84.22.128: icmp_seq=11 ttl=128 time=0.196 ms
64 bytes from 10.84.22.128: icmp_seq=12 ttl=128 time=0.206 ms
64 bytes from 10.84.22.128: icmp_seq=13 ttl=128 time=0.196 ms
64 bytes from 10.84.22.128: icmp_seq=14 ttl=128 time=0.195 ms
^C
--- 10.84.22.128 ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 12997ms
rtt min/avg/max/mdev = 0.195/0.199/0.207/0.011 ms

ilias@edubuntu:~$ ifconfig eth6
eth6      Link encap:Ethernet  HWaddr 00:0d:87:c6:7c:48
          inet addr:10.84.22.11  Bcast:10.84.22.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:87ff:fec6:7c48/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8762 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7886 errors:0 dropped:0 overruns:0 carrier:0
          collisions:77 txqueuelen:1000
          RX bytes:6321888 (6.3 MB)  TX bytes:1528392 (1.5 MB)
          Interrupt:19 Base address:0xd800


Yes both of them are in the same network.
Also the other 2 server-client application (tcexam and openaudit) working perfect from client side.

Thanks a lot,
Elias

Posted by Ilias Oikonomakos

4: Re: Problem with connection between client-server
In response to 1 04/06/10 04:53 AM
[ Reply | Forward ]
> http//:10.84.22.11:8180/lams and DO NOT shows the GUI, only text, NO pictures, No icons.

Just to be sure, you typed http://10.84.22.11:8180/lams instead of the one you put above, right?

Posted by Ernie Ghiglione

5: Re: Re: Problem with connection between client-server
In response to 4 04/06/10 04:58 AM
[ Reply | Forward ]
Yes thats right.
That i type in client browser (firefox)

Thanks,
Elias

Posted by Ilias Oikonomakos

6: Re: Re: Re: Problem with connection between client-server
In response to 5 04/06/10 05:11 AM
[ Reply | Forward ]
2 print screens
one from server
one from client

Posted by Ilias Oikonomakos

Attachments:
7: Re: Re: Re: Re: Problem with connection between client-server
In response to 6 04/06/10 05:12 AM
[ Reply | Forward ]
from server

Posted by Ilias Oikonomakos

Attachments:
8: Re: Re: Re: Re: Problem with connection between client-server
In response to 6 04/06/10 05:32 AM
[ Reply | Forward ]
Right! I get it now...

Ok, login into the server (on the server machine) as sysadmin. Go to the Sysadmin menu and then go to "Edit Configuration Settings". In there, look for the SERVER URL... I bet you it says: http://localhost:8180/lams/ right?

Change that to http://10.84.22.11:8180/lams/ and then check on the client machine... it should work then.

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Problem with connection between client-server
In response to 8 04/06/10 07:40 AM
[ Reply | Forward ]
Yes, exactly as you say.
I change in "Edit Configuration Settings" the Server Url from http://localhost:8180/lams to http://10.84.22.11:8180/lams and work perfect in clients.
Congratulations, excellent, wonderful, yupiiiiiiiiiii!!!!!

THANKS a lot,
Elias

Posted by Ilias Oikonomakos

10: Re: Re: Re: Re: Re: Re: Problem with connection between client-server
In response to 9 06/18/10 12:54 AM
[ Reply | Forward ]
Please can you help me to install Lams on my server to access it through internet ?

Posted by zuheir khlaif

Reply to first post on this page
Back to Problems Installing LAMS