Hi Mark, I checked the points that you mentioned below, please find the answers:
1. yes, cp2foss is installed in /srv/fossology/bin 2. here is what I find under /srv/fossology/ [r...@reikland fossology]# pwd /srv/fossology [r...@reikland fossology]# ls -l total 80 drwxr-sr-x 2 root fossy 4096 Feb 26 18:24 bin -rw-r--r-- 1 root fossy 13402 Apr 23 12:17 cp2foss.php drwxr-sr-x 5 root fossy 4096 Feb 26 18:43 etc drwxr-sr-x 4 root fossy 4096 Feb 26 18:24 include drwxr-sr-x 5 root fossy 4096 Feb 26 18:24 lib -rw-r--r-- 1 fossy fossy 22593 Feb 26 18:40 list drwxr-sr-x 3 root fossy 4096 Feb 26 18:06 man drwx------ 11 postgres postgres 4096 Mar 17 15:27 pg_data drwxrws--- 4 fossy fossy 4096 Mar 18 09:06 repository drwxr-sr-x 7 root fossy 4096 Feb 26 18:24 share drwxr-sr-x 3 root fossy 4096 Feb 26 18:22 src drwxr-sr-x 3 root fossy 4096 Feb 26 18:43 srv [r...@reikland fossology]# 3. I do not remember where I was when I ran the command but I tried from the two locations with the same error message. The two versions are located in: -bash-3.2$ pwd /srv/fossology/bin -bash-3.2$ ls -l cp2foss -rwxr-xr-x 1 root fossy 13051 Feb 26 18:24 cp2foss -bash-3.2$ -bash-3.2$ pwd /srv/fossology/srv/fossology/bin -bash-3.2$ ls -l cp2foss -rwxr-xr-x 1 root fossy 13051 Feb 26 18:43 cp2foss I am not an expert in Linux and I am not the person who installed Fossology but when I check the installation time they are very close. 4. There are a few differences oident is replaced by fossy and www-data by apache (see below) drwxrws--- 3 fossy fossy 4096 2009-05-04 21:25 fossology/ drwxrws--- 4 fossy fossy 4096 2009-05-11 14:22 repository drwxrws--- 5 fossy fossy 4096 2009-05-11 09:21 localhost drwxrws--- 3 fossy fossy 4096 2009-05-05 18:13 ununpack drwxrws--- 219 apache fossy 4096 2009-05-05 18:41 files drwxrws--- 16 apache fossy 4096 2009-05-05 18:43 gold drwxrws--- 205 fossy fossy 4096 2009-05-05 18:53 license Thank you for your support and best regards, Daniel. ----- Forwarded by Daniel Goebel/CBF/GDB on 27/05/2009 17:14 ----- Mark Donohoe <[email protected]> 11/05/2009 23:37 Please respond to [email protected] To [email protected] cc [email protected], "[email protected]" <[email protected]> Subject Re: [FOSSology] Question Mark Donohoe wrote: > [email protected] wrote: > >> Dear user group, >> >> we have installed the patch but I am still not able to load a complete >> directory. I have also tried to use the command line cp2foss but I am >> also having some issues, please see below the syntax of the command >> line and the error message. Any help is more than welcome. >> >> /srv/fossology/bin/cp2foss -f "Software Repository/Folder_dg" -d >> "Test spantax" -n "Test spantax" /opt/fossy/SPANTAX/SPANTAX/appl/script >> >> PHP Warning: Call-time pass-by-reference has been deprecated - >> argument passed by value; If you would like to pass it by reference, >> modify the declaration of menu_insert_r(). If you would like to >> enable call-time pass-by-reference, you can set >> allow_call_time_pass_reference to true in your INI file. However, >> future versions may not support this any longer. in >> /srv/fossology/share/fossology/www/common/common-menu.php on line 244 >> PHP Notice: Undefined index: updcache in >> /srv/fossology/share/fossology/www/plugins/ui-license.php on line 114 >> PHP Notice: Undefined offset: 1 in >> /srv/fossology/share/fossology/www/common/common-parm.php on line 98 >> PHP Notice: Undefined variable: PageHex in >> /srv/fossology/share/fossology/www/plugins/ui-view.php on line 92 >> PHP Notice: Undefined variable: PageText in >> /srv/fossology/share/fossology/www/plugins/ui-view.php on line 93 >> PHP Notice: Undefined variable: PageText in >> /srv/fossology/share/fossology/www/plugins/ui-view.php on line 94 >> Loading /opt/fossy/SPANTAX/SPANTAX/appl/script >> tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied >> tar: Error is not recoverable: exiting now >> FATAL: '/cp2foss-4a081eff990ed.tar' does not exist. >> >> Best regards, >> Daniel Goebel. >> >> > Daniel, > > Sorry the patch as not fixed your problem. I'm looking into it further > now. I'll get back with you as soon as I can. > > Daniel, I have some questions as I have not been able to reproduce your problem. I noticed a few things about your installation: 1. cp2foss is installed in /srv/fossology/bin, is that correct? 2. It appears that you have the rest of fossology installed under /srv/fossology as shown here: PHP Notice: Undefined index: updcache in /srv/fossology/share/fossology/www/plugins/ui-license.php on line 114 3. Do you know what directory you were in when you issued the command: /srv/fossology/bin/cp2foss -f..... ? This is rather unique. We have never tested an installation like this. Are you a programmer or an experience linux system admin? Installing fossology in a non-standard place SHOULD work, but there may be a number of areas in the code or configuration scripts that might need to be adjusted. As a result, we don't recommend installing in any other place other than /usr/local for the upstream tar balls (or source builds), and the standard system locations in the debian packaging, (/usr, /usr/lib/, /usr/share, etc...). 4. The other item that is difficult to reproduce is the temp file location reported by you. If I am cd'ed into / (the root of the file system) the tar file in my install ends up in the repository: /srv/fossology/repository/cp2foss-4a088fa9379a2.tar. If I'm in my home dir it still ends up in the repository: ma...@hallows: pwd /home/markd DB-CP2: Filename is:/srv/fossology/repository/cp2foss-4a08967994f52.tar tar: Removing leading `/' from member names I have also tried other places as well. The tar file always ends up in the repository area. I can't figure out how you got cp2foss to report: tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied tar: Error is not recoverable: exiting now FATAL: '/cp2foss-4a081eff990ed.tar' does not exist. notice the tar path.... Is everything from fossology down (in /srv/fossology....) on your system group owned by fossy? If not, that's a problem. It should be similiar to this: ma...@hallows: ll -d fossology/ drwxrws--- 3 oident fossy 4096 2009-05-04 21:25 fossology/ ma...@hallows: ll -R fossology/ | less -X fossology/: total 4 drwxrws--- 4 oident fossy 4096 2009-05-11 14:22 repository fossology/repository: total 8 drwxrws--- 5 oident fossy 4096 2009-05-11 09:21 localhost drwxrws--- 3 oident fossy 4096 2009-05-05 18:13 ununpack fossology/repository/localhost: total 16 drwxrws--- 219 www-data fossy 4096 2009-05-05 18:41 files drwxrws--- 16 www-data fossy 4096 2009-05-05 18:43 gold drwxrws--- 205 oident fossy 4096 2009-05-05 18:53 license notice the group owner is fossy and the group permissions are rws. Don't worry about the owner in the output above, it's the group that's important. The output is from my test system. Please take a look at your configuration to see if there are any issues there. Without the ability to reproduce your problem, it will be much harder to fix. I'll continue to experiment with this to see if I can find the issue or what's going on. Would it be possible to re-install in the standard locations and try cp2foss again? Thanks for your help. -- Mark Donohoe MOST/OSTT, Cupertino CA. fossology.org ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Société anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER
_______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

