Hello,
Some time ago I sent patches that were incorporated, and recently tried
the latest version.
First, I must say the installation and initial setup have improved,
specially by splitting post-install configuration. Thanks for that.
I still had to make changes for FreeBSD, like specific to its PostgreSQL
installation. I'll send patches for the ones that are worth integrating
(which possibly apply to other platforms).
But I ran into the following problem; when executing the daemon, it
exits and the log contains the following information:
# /usr/local/lib/fossology/fossology-scheduler
# cat /var/log/fossology/fossology.log
2009-03-27 02:21:50 scheduler[23586] : Log opened
2009-03-27 02:21:50 scheduler[23586] : *** Scheduler started
2009-03-27 02:21:50 scheduler[23586] : Child[0] 'agent=wget
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[1] 'agent=unpack
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[2] 'agent=adj2nest
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[3] 'agent=filter_license
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[4] 'agent=license
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[5] 'agent=licinspect
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[6] 'agent=mimetype
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[7] 'agent=specagent
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[8] 'agent=filter_clean
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[9] 'agent=delagent
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[10] 'agent=sqlagent
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[11] 'agent=sqlagenthost
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[12] 'agent=pkgmetagetta
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[13] 'agent=fosscp_agent
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : Child[14] 'agent=selftest
host=localhost ' state=FREE(1) @ Fri Mar 27 02:21:50 2009
2009-03-27 02:21:50 scheduler[23586] : FATAL: Agent type 'w' not in
Scheduler.conf.
2009-03-27 02:21:50 scheduler[23586] : FATAL: Inconsistent agent(s)
detected.
And the Scheduler.conf was generated with "-L" option alone. Here it is:
%Host localhost 1 1
agent=wget host=localhost | /usr/local/lib/fossology/agents/wget_agent
-d /var/local/lib/fossology/agents
agent=unpack host=localhost |
/usr/local/lib/fossology/agents/engine-shell unpack
'/usr/local/lib/fossology/agents/ununpack -d
/usr/local/share/fossology/repository/ununpack/%{U} -qRCQx'
agent=adj2nest host=localhost | /usr/local/lib/fossology/agents/adj2nest
agent=filter_license host=localhost |
/usr/local/lib/fossology/agents/Filter_License
agent=license host=localhost |
/usr/local/lib/fossology/agents/bsam-engine -L 20 -A 0 -B 60 -G 15 -M 10
-E -T license -O n -- - /var/local/lib/fossology/agents/License.bsam
agent=licinspect host=localhost | /usr/local/lib/fossology/agents/licinspect
agent=mimetype host=localhost | /usr/local/lib/fossology/agents/mimetype
agent=specagent host=localhost | /usr/local/lib/fossology/agents/specagent
agent=filter_clean host=localhost |
/usr/local/lib/fossology/agents/filter_clean -s
agent=delagent host=localhost | /usr/local/lib/fossology/agents/delagent -s
agent=sqlagent host=localhost | /usr/local/lib/fossology/agents/sqlagent
agent=sqlagenthost host=localhost |
/usr/local/lib/fossology/agents/sqlagent -a sql
agent=pkgmetagetta host=localhost |
/usr/local/lib/fossology/agents/pkgmetagetta
agent=fosscp_agent host=localhost |
/usr/local/lib/fossology/agents/engine-shell fosscp_agent
'/usr/local/bin/cp2foss {*}'
agent=selftest host=localhost | /usr/local/lib/fossology/agents/selftest -s
Do you know what's going on?
Thanks,
Ale
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology