[FOSSology] 1.3.0 Install issues
I completed the "upgrade" from 1.1 to 1.2.1 this morning and the install worked fine. I was able to view all existing scans in my database. And I ran a new sample scan and it worked fine. I just attempted to "upgrade" to 1.3.0 and saw a few errors. I was wondering if you can help me debug. during the make install, I'm seeing: make[2]: Entering directory `/home/dave/fossology-1.3.0/agents/copyright' /usr/bin/install -D copyright /usr/local/lib/fossology/agents/ /usr/bin/install: cannot overwrite directory `/usr/local/lib/fossology/agents/copyright' with non-directory make[2]: *** [install] Error 1 make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright' make[1]: *** [install-copyright] Error 2 make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents' make: *** [install-agents] Error 2 Then when I run the fossology-scheduler test it fails: $ sudo /usr/local/lib/fossology/fossology-scheduler -t Exec failure reason: Permission denied *** StopScheduler DELETE from scheduler_status. Status , *** Logs say: 2011-02-08 12:06:05 scheduler[18844] : STATUS: 1 agents failed to initialize. 2011-02-08 12:06:05 scheduler[18844] : *** 1 agent failures. Scheduler exiting. Any help would be appreciated. Dave ___ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology
Re: [FOSSology] 1.3.0 Install issues
Hi Dave, You will need to remove or rename the directory below to get around this error. /usr/bin/install: cannot overwrite directory `/usr/local/lib/fossology/agents/copyright' with non-directory make[2]: *** [install] Error 1 Mary From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] On Behalf Of Dave McLoughlin Sent: Tuesday, February 08, 2011 12:14 PM To: fossology@fossology.org Subject: [FOSSology] 1.3.0 Install issues I completed the "upgrade" from 1.1 to 1.2.1 this morning and the install worked fine. I was able to view all existing scans in my database. And I ran a new sample scan and it worked fine. I just attempted to "upgrade" to 1.3.0 and saw a few errors. I was wondering if you can help me debug. during the make install, I'm seeing: make[2]: Entering directory `/home/dave/fossology-1.3.0/agents/copyright' /usr/bin/install -D copyright /usr/local/lib/fossology/agents/ /usr/bin/install: cannot overwrite directory `/usr/local/lib/fossology/agents/copyright' with non-directory make[2]: *** [install] Error 1 make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright' make[1]: *** [install-copyright] Error 2 make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents' make: *** [install-agents] Error 2 Then when I run the fossology-scheduler test it fails: $ sudo /usr/local/lib/fossology/fossology-scheduler -t Exec failure reason: Permission denied *** StopScheduler DELETE from scheduler_status. Status , *** Logs say: 2011-02-08 12:06:05 scheduler[18844] : STATUS: 1 agents failed to initialize. 2011-02-08 12:06:05 scheduler[18844] : *** 1 agent failures. Scheduler exiting. Any help would be appreciated. Dave ___ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology
Re: [FOSSology] 1.3.0 Install issues
Thanks, that was it. I had updated and moved from Postgresql 8.3 to 8.4 (prior to doing the install of fossology 1.3.1). I had to update my postgresql.conf as well to match settings from the INSTALL instructions. Everything is working fine now. You may want to consider having the make install take care of that as a feature enhancement for the future. Thanks, dave On 2/8/11 1:24 PM, "Mary Laser" wrote: > Hi Dave, > You will need to remove or rename the directory below to get around this > error. > > /usr/bin/install: cannot overwrite directory > `/usr/local/lib/fossology/agents/copyright' with non-directory > make[2]: *** [install] Error 1 > > Mary > > > From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] > On Behalf Of Dave McLoughlin > Sent: Tuesday, February 08, 2011 12:14 PM > To: fossology@fossology.org > Subject: [FOSSology] 1.3.0 Install issues > > > I completed the "upgrade" from 1.1 to 1.2.1 this morning and the install > worked fine. I was able to view all existing scans in my database. And I ran > a new sample scan and it worked fine. > > I just attempted to "upgrade" to 1.3.0 and saw a few errors. I was wondering > if you can help me debug. > > during the make install, I'm seeing: > > make[2]: Entering directory `/home/dave/fossology-1.3.0/agents/copyright' > /usr/bin/install -D copyright /usr/local/lib/fossology/agents/ > /usr/bin/install: cannot overwrite directory > `/usr/local/lib/fossology/agents/copyright' with non-directory > make[2]: *** [install] Error 1 > make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright' > make[1]: *** [install-copyright] Error 2 > make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents' > make: *** [install-agents] Error 2 > > Then when I run the fossology-scheduler test it fails: > > $ sudo /usr/local/lib/fossology/fossology-scheduler -t > Exec failure reason: Permission denied > > *** StopScheduler DELETE from scheduler_status. Status , *** > > Logs say: > > 2011-02-08 12:06:05 scheduler[18844] : STATUS: 1 agents failed to initialize. > 2011-02-08 12:06:05 scheduler[18844] : *** 1 agent failures. Scheduler > exiting. > > > Any help would be appreciated. > > Dave > -- Dave McLoughlin | OpenLogic dave.mclough...@openlogic.com 720 240 4530 | phone 303 818 1686 | cell 720 240 4556 | fax @OpenLogic| twitter 1 888 OpenLogic | toll free www.openlogic.com olex.openlogic.com OpenLogic, Inc. Headquarters, Broomfield, Colorado 80021 <>___ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology
Re: [FOSSology] 1.3.0 Install issues
> during the make install, I'm seeing: > > make[2]: Entering directory = > `/home/dave/fossology-1.3.0/agents/copyright' > /usr/bin/install -D copyright /usr/local/lib/fossology/agents/ > /usr/bin/install: cannot overwrite directory = > `/usr/local/lib/fossology/agents/copyright' with non-directory > make[2]: *** [install] Error 1 > make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright' > make[1]: *** [install-copyright] Error 2 > make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents' > make: *** [install-agents] Error 2 When upgrading a "make install" (rather than using packages) you need to clean up the old binaries before installing the new ones. There are two ways to do this 1.) if you still have the source tree from old version, do a 'make uninstall'. 2.) use the utils/fo-cleanold script. Because you want to keep your data use it without any flags in order to just delete the binaries. (DO NOT use any of the --delete* options). This is easier than #1. I think this is documented somewhere, but I couldn't find it. It should be added to either the INSTALL doc or maybe a new UPGRADE doc. -- Matt Taggart tagg...@fossology.org ___ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology