Hi again, this is the output of # /usr/lib/fossology/mkschedconf -L:

%Host localhost 1 1
agent=wget host=localhost | /usr/lib/fossology/agents/wget_agent
-d /var/lib/fossology/agents
agent=unpack host=localhost | /usr/lib/fossology/agents/engine-shell
unpack '/usr/lib/fossology/agents/ununpack
-d /srv/fossology/repository/ununpack/%{U} -qRCQx'
agent=adj2nest host=localhost | /usr/lib/fossology/agents/adj2nest
agent=filter_license host=localhost
| /usr/lib/fossology/agents/Filter_License
agent=license host=localhost | /usr/lib/fossology/agents/bsam-engine -L
20 -A 0 -B 60 -G 15 -M 10 -E -T license -O n --
- /var/lib/fossology/agents/License.bsam
agent=licinspect host=localhost | /usr/lib/fossology/agents/licinspect
agent=mimetype host=localhost | /usr/lib/fossology/agents/mimetype
agent=specagent host=localhost | /usr/lib/fossology/agents/specagent
agent=filter_clean host=localhost
| /usr/lib/fossology/agents/filter_clean -s
agent=delagent host=localhost | /usr/lib/fossology/agents/delagent -s
agent=sqlagent host=localhost | /usr/lib/fossology/agents/sqlagent
agent=sqlagenthost host=localhost | /usr/lib/fossology/agents/sqlagent
-a sql
agent=pkgmetagetta host=localhost
| /usr/lib/fossology/agents/pkgmetagetta
agent=fosscp_agent host=localhost
| /usr/lib/fossology/agents/engine-shell fosscp_agent '/usr/bin/cp2foss
%{*}'
agent=selftest host=localhost | /usr/lib/fossology/agents/selftest -s


After putting this on /etc/fossology/Scheduler.conf and trying to start
fossology scheduler i get in the log:

2009-04-29 16:47:11 scheduler[1078] : Log opened
2009-04-29 16:47:11 scheduler[1078] : *** Scheduler started
2009-04-29 16:47:11 scheduler[1078] : Child[0] 'agent=wget
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[1] 'agent=unpack
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[2] 'agent=adj2nest
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[3] 'agent=filter_license
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[4] 'agent=license
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[5] 'agent=licinspect
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[6] 'agent=mimetype
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:11 scheduler[1078] : Child[7] 'agent=specagent
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:11 2009
2009-04-29 16:47:12 scheduler[1078] : Child[8] 'agent=filter_clean
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[9] 'agent=delagent
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[10] 'agent=sqlagent
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[11] 'agent=sqlagenthost
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[12] 'agent=pkgmetagetta
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[13] 'agent=fosscp_agent
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : Child[14] 'agent=selftest
host=localhost ' state=FREE(1) @ Wed Apr 29 16:47:12 2009
2009-04-29 16:47:12 scheduler[1078] : FATAL: Unable to run mkschedconf
for self-test.
2009-04-29 16:47:12 scheduler[1078] : FATAL: Inconsistent agent(s)
detected.


Thanks a lot,
--
Federico


On Wed, 2009-04-29 at 15:39 +0000, Laser, Mary wrote: 
> Your permissions are correct.  
> 
> Can you please try running the utility directly (with the -L option)?  You 
> should see something like this:
> 
> la...@mysystem:~$ /usr/lib/fossology/mkschedconf -L
> agent=wget host=localhost | /usr/lib/fossology/agents/wget_agent -d 
> /var/lib/fossology/agents
> agent=unpack host=localhost | /usr/lib/fossology/agents/engine-shell unpack 
> '/usr/lib/fossology/agents/ununpack -d 
> /srv/fossology/repository/ununpack/%{U} -qRCQx'
> agent=adj2nest host=localhost | /usr/lib/fossology/agents/adj2nest
> agent=filter_license host=localhost | /usr/lib/fossology/agents/Filter_License
> agent=filter_license host=localhost | /usr/lib/fossology/agents/Filter_License
> agent=filter_license host=localhost | /usr/lib/fossology/agents/Filter_License
> agent=license host=localhost | /usr/lib/fossology/agents/bsam-engine -L 20 -A 
> 0 -B 60 -G 15 -M 10 -E -T license -O n -- - 
> /var/lib/fossology/agents/License.bsam
> agent=license host=localhost | /usr/lib/fossology/agents/bsam-engine -L 20 -A 
> 0 -B 60 -G 15 -M 10 -E -T license -O n -- - 
> /var/lib/fossology/agents/License.bsam
> agent=licinspect host=localhost | /usr/lib/fossology/agents/licinspect
> agent=licinspect host=localhost | /usr/lib/fossology/agents/licinspect
> agent=mimetype host=localhost | /usr/lib/fossology/agents/mimetype
> agent=mimetype host=localhost | /usr/lib/fossology/agents/mimetype
> agent=mimetype host=localhost | /usr/lib/fossology/agents/mimetype
> agent=specagent host=localhost | /usr/lib/fossology/agents/specagent
> agent=filter_clean host=localhost | /usr/lib/fossology/agents/filter_clean -s
> agent=delagent host=localhost | /usr/lib/fossology/agents/delagent -s
> agent=sqlagent host=localhost | /usr/lib/fossology/agents/sqlagent
> agent=sqlagenthost host=localhost | /usr/lib/fossology/agents/sqlagent -a sql
> agent=pkgmetagetta host=localhost | /usr/lib/fossology/agents/pkgmetagetta
> agent=pkgmetagetta host=localhost | /usr/lib/fossology/agents/pkgmetagetta
> agent=pkgmetagetta host=localhost | /usr/lib/fossology/agents/pkgmetagetta
> agent=fosscp_agent host=localhost | /usr/lib/fossology/agents/engine-shell 
> fosscp_agent '/usr/bin/cp2foss %{*}'
> 
> If you get this result, please run it again and redirect the output to the 
> location for the Scheduler.conf file (/etc/fossology/Scheduler.conf).  After 
> that, try starting the fossology scheduler again.  If it fails, please send 
> me the entire log.
> 
> Thanks,
> Mary
> 
> > -----Original Message-----
> > From: fossology-boun...@fossology.org 
> > [mailto:fossology-boun...@fossology.org] On Behalf Of 
> > Federico Gimenez Nieto
> > Sent: Wednesday, April 29, 2009 4:36 AM
> > To: fossology@fossology.org
> > Subject: Re: [FOSSology] Scheduler startup problem
> > 
> > Hi Mary, thanks for your reply,
> > 
> > I currently have the application installed through the debian 
> > package, the output of 'ls mkschedconf -all' at /usr/lib/fossology is:
> > 
> > -rwxr-xr-x  1 root root 19788 Dec 17 22:18 mkschedconf
> > 
> > The directories 'usr', 'lib' and 'fossology' also belong to 
> > root:root and are readable and executable by all. Are these 
> > the correct permission settings?
> > 
> > Cheers,
> > --
> > Federico
> > 
> > El Mar, 28 de Abril de 2009, 9:29 pm, Laser, Mary escribió:
> > >
> > > Hello Federico,
> > > mkschedconf is a utility to create a configuration file for the 
> > > scheduler, Scheduler.conf.  The first message below 
> > indicates you are 
> > > unable to run it; perhaps it is missing or the permissions 
> > are wrong.  
> > > The second error occurs because the configuration file is 
> > not created.
> > >
> > > Please check to see that the mkschedconf is available and 
> > executable:
> > > /usr/lib/fossology/mkschedconf                (debian install)
> > > /usr/local/lib/fossology/mkschedconf        (built from source)
> > >
> > > Mary
> > >
> > >
> > >> Subject: [FOSSology] Scheduler startup problem
> > >>
> > >> Hi all,
> > >>
> > >> After installing succesfully Fossology on a debian-etch 
> > system (both 
> > >> with the binary package and building from
> > >> source) i get the following errors on the log:
> > >>
> > >> FATAL: Unable to run mkschedconf for self-test.
> > >> FATAL: Inconsistent agent(s) detected.
> > >>
> > >> and the scheduler doesn't start. The rest of the system 
> > appears to be 
> > >> working (database access, web frontend, individual agents...).
> > >>
> > >> Any clue of what is happening?
> > >>
> > >> Thanks a lot,
> > >> --
> > >> Federico
> > >>
> > 
> > 
> > --
> > Federico Gimenez Nieto
> > fgime...@coit.es
> > 
> > 
> > _______________________________________________
> > fossology mailing list
> > fossology@fossology.org
> > http://fossology.org/mailman/listinfo/fossology
> > 
> > 

_______________________________________________
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology

Reply via email to