Thread 'Server not assigning host IDs'

Message boards : Server programs : Server not assigning host IDs
Message board moderation

To post messages, you must log in.

AuthorMessage
VThompson

Send message
Joined: 16 Feb 16
Posts: 11
United States
Message 69758 - Posted: 26 May 2016, 19:47:20 UTC

I have a newly created server and have attached approximately 10 Win7 x64 machines to my test project. The clients show the project name properly in Manager so initially it looks like everything is fine, but the hostid in client_state is 0/zero on all the machines. Also on the projects admin webpage, the Hosts search of the database returns no results.
I've attached some of the clients by hand, and some by command line with no difference.
I don't think the database is totally corrupt as I have the example_app application added and it shows on the admin webpage.
Anyone have any ideas? Any help appreciated.
Thanks,
Vincent
ID: 69758 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 69800 - Posted: 29 May 2016, 19:02:06 UTC

If the hostID is 0 on the client there is something from with the server (scheduler). check the scheduler.log on the server and the Client log for more details. You may need to activate the http_debug log flag.

Is suspect that you have the wrong URL in the servers schedulers.txt file in html/user/
ID: 69800 · Report as offensive
VThompson

Send message
Joined: 16 Feb 16
Posts: 11
United States
Message 69928 - Posted: 3 Jun 2016, 14:12:48 UTC - in response to Message 69800.  

We checked the URL in the schedulers.txt file; my web guy says that they are correct.

There were some problems/errors in the schedulers.txt file though (servername removed):

Fri 03 Jun 2016 09:30:42 AM EDT | Testproject for VirtualMachine | Resetting project
Fri 03 Jun 2016 09:30:43 AM EDT | Testproject for VirtualMachine | [http] HTTP_OP::init_get(): http://sampleboinc.sample.edu/test4vm/
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connection 100 seems to be dead!
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Closing connection 100
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Hostname sampleboinc.sample.edu was found in DNS cache
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Trying 192.168.8.195...
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connected to sampleboinc.sample.edu (192.168.8.195) port 80 (#101)
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: GET /test4vm/ HTTP/1.1
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Host: sampleboinc.sample.edu
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: User-Agent: BOINC client (x86_64-pc-linux-gnu 7.6.22)
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept: */*
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept-Encoding: deflate, gzip
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Content-Type: application/x-www-form-urlencoded
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept-Language: en_US
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server:
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: HTTP/1.1 200 OK
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Date: Fri, 03 Jun 2016 13:28:23 GMT
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Server: Apache/2.4.10 (Debian)
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Vary: Accept-Encoding
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Content-Encoding: gzip
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Content-Length: 1356
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Content-Type: text/html; charset=utf-8
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server:
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connection #101 to host sampleboinc.sample.edu left intact
Fri 03 Jun 2016 09:30:44 AM EDT | Testproject for VirtualMachine | Master file download succeeded
Fri 03 Jun 2016 09:30:49 AM EDT | Testproject for VirtualMachine | Sending scheduler request: To fetch work.
Fri 03 Jun 2016 09:30:49 AM EDT | Testproject for VirtualMachine | Requesting new tasks for CPU
Fri 03 Jun 2016 09:30:49 AM EDT | Testproject for VirtualMachine | [http] HTTP_OP::init_post(): http://sampleboinc.sample.edu/test4vm_cgi/cgi
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connection 101 seems to be dead!
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Closing connection 101
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Hostname sampleboinc.sample.edu was found in DNS cache
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Trying 192.168.8.195...
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connected to sampleboinc.sample.edu (192.168.8.195) port 80 (#102)
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: POST /test4vm_cgi/cgi HTTP/1.1
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Host: sampleboinc.sample.edu
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: User-Agent: BOINC client (x86_64-pc-linux-gnu 7.6.22)
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept: */*
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept-Encoding: deflate, gzip
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Content-Type: application/x-www-form-urlencoded
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Accept-Language: en_US
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Content-Length: 5756
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server: Expect: 100-continue
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Sent header to server:
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: HTTP/1.1 100 Continue
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: We are completely uploaded and fine
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: HTTP/1.1 200 OK
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Date: Fri, 03 Jun 2016 13:28:29 GMT
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Server: Apache/2.4.10 (Debian)
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Last-Modified: Thu, 02 Jun 2016 19:04:19 GMT
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: ETag: "603890-5345045f48da9"
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Accept-Ranges: bytes
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server: Content-Length: 6305936
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Received header from server:
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [http] [ID#1] Info: Connection #102 to host sampleboinc.sample.edu left intact
Fri 03 Jun 2016 09:30:50 AM EDT | Testproject for VirtualMachine | [error] No start tag in scheduler reply

Any suggestions? thanks for the help!
ID: 69928 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 69938 - Posted: 3 Jun 2016, 16:40:16 UTC - in response to Message 69928.  

Is CGI module enabled?

sudo a2enmod cgi
ID: 69938 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 69995 - Posted: 6 Jun 2016, 8:34:42 UTC

What happens when you point a browser to http://sampleboinc.sample.edu/test4vm/cgi?

You should see something like this:
<scheduler_reply>
<scheduler_version>702</scheduler_version>
<master_url>http://www.rnaworld.de/rnaworld/</master_url>
<request_delay>3636.000000</request_delay>
<message priority="low">Error in request message: xp.get_tag() failed</message>
<project_name>RNA World</project_name>
</scheduler_reply>
ID: 69995 · Report as offensive
VThompson

Send message
Joined: 16 Feb 16
Posts: 11
United States
Message 70061 - Posted: 8 Jun 2016, 20:02:31 UTC - in response to Message 69800.  

ChristianB, you were right to start with, it was the scheduler that was the problem. got that worked out, and everything is running fine now.
thanks for all the help!
ID: 70061 · Report as offensive

Message boards : Server programs : Server not assigning host IDs

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.