Yep, apache is required for the UI. FYI, I just filed: http://www.fossology.org/issues/7137 nomos new feature to recursively scan a directory.
The results of this would be the same as what you are doing now with RunLicScan but this new feature has a significant speed advantage as nomos only has to be executed a single time. I put it down for the 2.6 release but I can’t promise it will be done in time. It’s not a difficult change, it’s just that we already have lots of other things we are working on. So if anyone reading this wants to be sure this gets in 2.6, feel free to contribute the patch (or git merge). Thanks, Bob Gobeille FOSSology project leader On Jun 25, 2014, at 9:25 AM, Joseph, Matthew (EXP) <[email protected]> wrote: > Hey Bob, > > Sadly this server is not allowed to have an apache server running which > FOSSology requires if I remember correctly? > > Matt > > From: Gobeille, Robert [mailto:[email protected]] > Sent: Wednesday, June 25, 2014 11:23 AM > To: Joseph, Matthew (EXP) > Cc: [email protected] > Subject: Re: EXTERNAL: Re: [FOSSology] Seg Fault on large ISO > > Hi Matt, > I’m glad that took care of it. nomos (nomossa) only scans a single file, > like a .c. This is why you have to unpack your iso and execute nomos on > every single unpacked file. However, while you can’t pass nomos a directory, > you can pass it multiple files. This will speed things up considerably. For > example, > nomos file1.c file2.php file3.pdf > > You didn’t mention why you are using the command line, but if you use the web > interface all this stuff is taken care of for you. Another big advantage to > using the web interface is that once a file is scanned, it is not rescanned > in another upload. For example, say you uploaded big_v1.iso and later > uploaded big_v2.iso. If 50% of the files in v2 were in v1, then only the new > 50% will be rescanned. This saves a lot of time. > > There are also a command line utilities that you can use to send files to the > fossology server. > > http://www.fossology.org/projects/fossology/wiki/Using_FOSSology_from_the_Command_Line > > For example, you could send your iso to a fossology server with: > > cp2foss —user bob —password mypass RHEL6.3.iso > > Bob > > > On Jun 25, 2014, at 7:52 AM, Joseph, Matthew (EXP) <[email protected]> > wrote: > > > Hey Bob, > > I just tried your method and it worked like a charm! > Before I was just running nomos on the directory and it picked up just the 1 > GPL license. > > Thanks again for the help, if I have any more questions I’ll defiantly give > you a shout. > > Matt > > From: Gobeille, Robert [mailto:[email protected]] > Sent: Wednesday, June 25, 2014 10:35 AM > To: Joseph, Matthew (EXP) > Cc: [email protected] > Subject: Re: EXTERNAL: Re: [FOSSology] Seg Fault on large ISO > > Hi Matt, > No that doesn’t seem correct. It would help if I knew exactly what you are > doing. Here are the steps I would do: > > 1) Unpack the iso. > ~/fossology/src/ununpack/agent/ununpack -R -d RHEL6.3 > RHEL6.3-20120613.2-Server-x86_64-DVD1.iso > > 2) Run nomos or nomossa on each file. For this, here is a script I call > RunLicScan (in nomos/agent_tests/testdata/) > > #!/bin/bash > find $1 -type f -not \( -wholename "*svn*" \) -exec ../../agent/nomos -l '{}' > + > > Run the script specifying the directory containing the unpacked files: > > $ RunLicScan RHEL6.3 > > Bob Gobeille > > > On Jun 25, 2014, at 5:47 AM, Joseph, Matthew (EXP) <[email protected]> > wrote: > > > > Hey Bob, > > Disregard that last email. When I ran nomossa it stated that only GPL license > was found. That doesn’t seem correct though. > > Matt > > From: Joseph, Matthew (EXP) > Sent: Wednesday, June 25, 2014 6:53 AM > To: 'Gobeille, Robert' > Cc: [email protected] > Subject: RE: EXTERNAL: Re: [FOSSology] Seg Fault on large ISO > > Hey Bob, > > Sorry about that, I didn’t know that the ISO needed to unpacked using the > ununpack command. > I tried it and it stated that no licenses were found. Is this normal output > for a Linux OS ISO? > > Thanks, > > Matt > > > From: Gobeille, Robert [mailto:[email protected]] > Sent: Tuesday, June 24, 2014 2:53 PM > To: Joseph, Matthew (EXP) > Cc: [email protected] > Subject: EXTERNAL: Re: [FOSSology] Seg Fault on large ISO > > Hi Matt, > We have not run into this and yes we do process large iso’s. > If you have a public iso url, we could try with your specific iso. > Also, since you are using nomos from the command line, you could try nomossa > instead (in fossology/src/nomos/agent): > > $ make -f Makefile.sa > > This version of nomos doesn’t even need fossology to be installed to run. > > Bob Gobeille > > On Jun 24, 2014, at 11:33 AM, Joseph, Matthew (EXP) <[email protected]> > wrote: > I’m running into an issue with fossology seg faulting on large ISOs. > I’ve tried it on a 2.5GB and a 4.3GB ISO with the same results. > > I’m using the newest version of Fossology (2.5.0) and I’m only using it from > the command line (nomos) > > I checked the fossology log and there is nothing in there about this issue.\ > > >
_______________________________________________ fossology mailing list [email protected] http://lists.fossology.org/mailman/listinfo/fossology
