Thanks Mary,

Okay I will make this change on all machines. I'm just wondering how the
repository will know to place the files/folders withing each of the
/srv/fossology/repository/ clear1/ clear2/ clear3/, etc directories.

Again maybe I'm just over thinking this so I'll just change it to all be
/srv/fossology/repository to see if that corrects my issue.
Thanks again!!!

-FuRoSh...

On Fri, Nov 20, 2009 at 12:38 PM, Laser, Mary <[email protected]> wrote:

>  Hi Furosh,
> I commend you on your persistence!
>
> Host.conf  and Db.conf both look fine.
>
> The repository path file RepPath.conf should be identical on the server and
> agents systems:
>
> RepPath.conf:
> =============
> /srv/fossology/repository
>
> You're ALMOST there!
> Mary
>
>  ------------------------------
> *From:* Furosh One [mailto:[email protected]]
> *Sent:* Friday, November 20, 2009 12:52 PM
> *To:* [email protected]
> *Cc:* Donohoe, Mark; Matt Taggart; Laser, Mary; Gobeille, Robert
> *Subject:* scheduler[1402] : FATAL: Configuration on agent 'HOSTNAMES'
> differs from scheduler.
>
> Hopefully this would finalize the setup/install on this cluster I got.
> (crossing-hands...)
>
> I also went to the agents and re-ran the 'fo_postinstall -a' on clear1 to
> see if that would result in not having clear1 have a FATAL error. If it read
> clear2 then I knew I had to do the same on the other agents. I also went
> back to the server to run the fo_postinstall and also same results.
>
> All agent mounted on Server are okay, all ssh auto-login okay, all
> cross-mounting on agents okay.
>
> Hosts.conf (on ALL machines server/agents):
> ========
> clear1 * 00 32
> clear2 * 33 65
> clear3 * 66 99
> clear4 * 9a cc
> clear6 * cd ff
>
> Db.conf (on ALL machines server/agents):
> =========
> dbname=fossology;
> host=clear5;
> user=fossy;
> password=fossy;
>
> RepPath.conf: (on SERVER)
> =============
> /srv/fossology/repository
>
> I was guessing the server would know to point to Hosts.conf to know each
> agent repos were located in /srv/fossology/repository/%Host/ or $Host
> somehow, but maybe I'm wrong???
>
> RepPath.conf: (on AGENTS)
> =============
> /srv/fossology/repository/clearX   (<-- X being 1 for clear1, 2 for clear2,
> 3 for clear3, etc.)
>
> These directories clear1, clear2, clear3, etc were all created on the agent
> machines and permissions are okay.
> Also I can 'su fossy' and touch files or write to
> /srv/fossology/repository/clearX/ from Server (not sure why self-test is
> failing).
>
> I have used the mkschedconf script to create the scheduler. I used both
> double-quotes and single quotes (single quotes look similar to the default
> Scheduler.conf file) and still same results when attempting to start.
>
> I have clear1, clear2, clear3, clear4, clear6 all as agents and clear5 is
> the server.
> I used this to create the scheduler.conf file:
>
> /usr/lib/fossology/mkschedconf -C 2 -R '/usr/bin/ssh fo...@clear1 %s' -H
> clear1 \
> /usr/lib/fossology/mkschedconf -C 2 -R '/usr/bin/ssh fo...@clear2 %s' -H
> clear2 \
> /usr/lib/fossology/mkschedconf -C 2 -R '/usr/bin/ssh fo...@clear3 %s' -H
> clear3 \
> /usr/lib/fossology/mkschedconf -C 2 -R '/usr/bin/ssh fo...@clear4 %s' -H
> clear4 \
> /usr/lib/fossology/mkschedconf -C 2 -R '/usr/bin/ssh fo...@clear6 %s' -H
> clear6 \
> > new_scheduler.conf
>
> I also tried with "%s" and same results. Here are the error logs in
> /var/log/fossology/fossology.log:
> =====================================================================
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: Configuration on agent
> 'clear1' differs from scheduler.
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: The difference is Repository
> 2009-11-20 11:30:13 scheduler[1402] :   Observed on scheduler system:
> Repository: clear1 * 00 32 #
> 2009-11-20 11:30:13 scheduler[1402] :   Mismatch on clear1: Repository:
> clear1 * 00 32 # Fri Nov 20 11:30:08 2009
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: Configuration on agent
> 'clear2' differs from scheduler.
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: The difference is Repository
> 2009-11-20 11:30:13 scheduler[1402] :   Observed on scheduler system:
> Repository: clear1 * 00 32 #
> 2009-11-20 11:30:13 scheduler[1402] :   Mismatch on clear2: Repository:
> clear1 * 00 32 # Fri Nov 20 11:30:08 2009
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: Configuration on agent
> 'clear3' differs from scheduler.
> 2009-11-20 11:30:13 scheduler[1402] : FATAL: The difference is Repository
> 2009-11-20 11:30:13 scheduler[1402] :   Observed on scheduler system:
> Repository: clear1 * 00 32 #
> 2009-11-20 11:30:13 scheduler[1402] :   Mismatch on clear3: Repository:
> clear1 * 00 32 # Fri Nov 20 11:30:08 2009
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Configuration on agent
> 'clear4' differs from scheduler.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: The difference is Repository
> 2009-11-20 11:30:14 scheduler[1402] :   Observed on scheduler system:
> Repository: clear1 * 00 32 #
> 2009-11-20 11:30:14 scheduler[1402] :   Mismatch on clear4: Repository:
> clear1 * 00 32 # Fri Nov 20 11:30:08 2009
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Configuration on agent
> 'clear6' differs from scheduler.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: The difference is Repository
> 2009-11-20 11:30:14 scheduler[1402] :   Observed on scheduler system:
> Repository: clear1 * 00 32 #
> 2009-11-20 11:30:14 scheduler[1402] :   Mismatch on clear6: Repository:
> clear1 * 00 32 # Fri Nov 20 11:30:08 2009
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Host 'clear1' failed
> self-test.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Host 'clear2' failed
> self-test.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Host 'clear3' failed
> self-test.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Host 'clear4' failed
> self-test.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Host 'clear6' failed
> self-test.
> 2009-11-20 11:30:14 scheduler[1402] : FATAL: Self Test failed.
> Inconsistent agent(s) detected.  Exiting.
> =====================================================================
>
> I have created notes that I used for this complete setup and hopefully I
> can create a great Howto so others won't be in the dark like I was/am...
>
> Much thanks appreciated (sorry for long-winded story...)
>
> -Regards,
> FuRoSh.
>
>
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to