Thread 'No daemons for this host found - check host name in config.xml'

Message boards : Server programs : No daemons for this host found - check host name in config.xml
Message board moderation

To post messages, you must log in.

AuthorMessage
Matias Salimbene

Send message
Joined: 14 Jun 24
Posts: 7
Message 114217 - Posted: 4 Jul 2024, 14:01:34 UTC

I’m trying to setup my own server and for the most part, all steps ran smoothly except for the very last one:

bin/start
Staying in ENABLED mode
Starting daemons
No daemons for this host found - check host name in config.xml


Does
No daemons for this host found - check host name in config.xml
mean the server isn’t working? I did check config.xml and I got “localhost” as host. (see below for more details)

I tried setting up an application anyway to see it worked but nothing happens. When I have a client join the project and request new updates I get the “got 0 new tasks”.

Any ideas? Thanks

Note: ip isn’t x.x.x.x, I just deleted the actual one.

<?xml version="1.0" ?>
<boinc>
    <config>
        <long_name>test</long_name>
        <db_user>boincadm</db_user>
        <db_name>test</db_name>
        <db_passwd>******</db_passwd>
        <db_host></db_host>
        <shmem_key>0x11114bd1</shmem_key>
        <uldl_dir_fanout>1024</uldl_dir_fanout>
        <host>localhost</host>
        <min_sendwork_interval>6</min_sendwork_interval>
        <max_wus_to_send>50</max_wus_to_send>
        <daily_result_quota>500</daily_result_quota>
        <disable_account_creation>0</disable_account_creation>
        <disable_account_creation_rpc>0</disable_account_creation_rpc>
        <account_creation_rpc_require_consent>0</account_creation_rpc_require_consent>
        <disable_web_account_creation>0</disable_web_account_creation>
        <enable_login_mustagree_termsofuse>0</enable_login_mustagree_termsofuse>
        <enable_privacy_by_default>0</enable_privacy_by_default>
        <show_results>1</show_results>
        <cache_md5_info>1</cache_md5_info>
        <sched_debug_level>3</sched_debug_level>
        <fuh_debug_level>3</fuh_debug_level>
        <one_result_per_user_per_wu>0</one_result_per_user_per_wu>
        <send_result_abort>1</send_result_abort>
        <dont_generate_upload_certificates>1</dont_generate_upload_certificates>
        <ignore_upload_certificates>1</ignore_upload_certificates>
        <enable_delete_account>0</enable_delete_account>
        <master_url>http://x.x.x.x:8080/test/</master_url>
        <download_url>http://x.x.x.x.158:8080/test/download</download_url>
        <upload_url>http://x.x.x.x.158:8080/test_cgi/file_upload_handler</upload_url>
        <download_dir>/home/boincadm/projects/test/download</download_dir>
        <upload_dir>/home/boincadm/projects/test/upload</upload_dir>
        <key_dir>/home/boincadm/projects/test/keys/</key_dir>
        <app_dir>/home/boincadm/projects/test/apps</app_dir>
        <log_dir>/home/boincadm/projects/test/log_localhost</log_dir>
    </config>
    <tasks>
        <task>
            <period>24 hours</period>
            <output>antique_file_deleter.out</output>
            <cmd>antique_file_deleter -d 2</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>db_dump.out</output>
            <cmd>db_dump -d 2 --dump_spec ../db_dump_spec.xml</cmd>
            <disabled>1</disabled>
        </task>
        <task>
            <period>1 days</period>
            <output>update_uotd.out</output>
            <cmd>run_in_ops ./update_uotd.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>1 hour</period>
            <output>update_forum_activities.out</output>
            <cmd>run_in_ops ./update_forum_activities.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>1 days</period>
            <output>update_stats.out</output>
            <cmd>update_stats</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>update_profile_pages.out</output>
            <cmd>run_in_ops ./update_profile_pages.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>team_import.out</output>
            <cmd>run_in_ops ./team_import.php</cmd>
            <disabled>1</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>notify.out</output>
            <cmd>run_in_ops ./notify.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>badge_assign.out</output>
            <cmd>run_in_ops ./badge_assign.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>delete_expired_tokens.out</output>
            <cmd>run_in_ops ./delete_expired_tokens.php</cmd>
            <disabled>0</disabled>
        </task>
        <task>
            <period>24 hours</period>
            <output>delete_expired_users_and_hosts.out</output>
            <cmd>run_in_ops ./delete_expired_users_and_hosts.php</cmd>
            <disabled>0</disabled>
        </task>
    </tasks>
    <daemons>
	<daemon>
          <cmd>sample_trivial_validator --app uppercase</cmd>
        </daemon>
        <daemon>
          <cmd>sample_assimilator --app uppercase</cmd>
        </daemon>
        <daemon>
            <cmd>feeder -d 3 </cmd>
        </daemon>
        <daemon>
            <cmd>transitioner -d 3 </cmd>
        </daemon>
        <daemon>
            <cmd>file_deleter -d 3 </cmd>
        </daemon>
    </daemons>
</boinc>
ID: 114217 · Report as offensive
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 1301
United Kingdom
Message 114219 - Posted: 4 Jul 2024, 18:18:44 UTC - in response to Message 114217.  

Just a quick sanity check:
<download_url>http://x.x.x.x.158:8080/test/download</download_url>
<upload_url>http://x.x.x.x.158:8080/test_cgi/file_upload_handler</upload_url>


Should these two lines read
<download_url>http://x.x.x.158:8080/test/download</download_url>
<upload_url>http://x.x.x.158:8080/test_cgi/file_upload_handler</upload_url>


or
<download_url>http://x.x.x.x:8080/test/download</download_url>
<upload_url>http://x.x.x.xx:8080/test_cgi/file_upload_handler</upload_url>
ID: 114219 · Report as offensive
Matias Salimbene

Send message
Joined: 14 Jun 24
Posts: 7
Message 114223 - Posted: 5 Jul 2024, 14:19:31 UTC - in response to Message 114219.  

My bad, it would be:

<download_url>http://x.x.x.x:8080/test/download</download_url>


I just omitted to delete that .158
ID: 114223 · Report as offensive
Matias Salimbene

Send message
Joined: 14 Jun 24
Posts: 7
Message 114224 - Posted: 5 Jul 2024, 17:42:49 UTC - in response to Message 114223.  

I found the problem by looking into the bin/start script.

So, the problem was a mismatch between
<host>localhost</host>
and the hostname of the host device. So, basically the output of the hostname command has to match the name specified in config.xml.
ID: 114224 · Report as offensive

Message boards : Server programs : No daemons for this host found - check host name in config.xml

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.