Change data directory location in the TPP

363 views
Skip to first unread message

Charles

unread,
Mar 11, 2010, 4:40:02 PM3/11/10
to spctools-discuss
Hello,

I've searched around for this topic and found articles on how to
relocate the entire directory structure in windows (which I've done
and it works out) by changing C:\ to D:\ in the apache2/conf/
httpd.conf file, copying the entire folder hierarchy to D:\ and
changing the WEBSERVER_ROOT and PATH to D:\. I wanted to do something
similar in Ubuntu 9.10 (and other linux distros) so I installed the
TPP v4.3 rev 1 following the instructions provided by
http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Installing_on_Ubuntu_9.04.
All the binaries/scrips I want to use run fine, namely tandem.exe,
Tandem2XML, and xinteract (I prefer to use the command line instead of
the gui). The only issue is viewing the resultant data files through
the browser. Below, I've included the httpd.conf file (as shown in
the installation tutorial).

The first problem is that while the tpp_gui.pl script opens in the
browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a "403
Forbidden, You don't have permission to access /tpp/data/ on this
server" when I navigate to http://localhost/tpp/data. This occurs
even if I give the /tpp/data directory read/write permission and even
change owner to the user.

The second is, I would like to analyze my data in another directory,
let's say /home/charles/data while keeping the binaries/scripts in
the /usr/local/apps/tpp directory. I can only think of the following
changes:

ScriptAlias /tpp/data "/usr/local/apps/tpp/data" ---> ScriptAlias /
tpp/data "/home/charles/data"
<Directory "/usr/local/apps/tpp/data"> ---> <Directory "/home/charles/
data">

However, I still get the 403 Forbidden error. Does anyone know of how
to make this arrangement work? Also, if you know of any instances of
hard-coded directory variables that I may need to change, especially
in xinteract, it would be much appreciated.

Thanks,
Charles

------------------------ BEGIN HTTPD.CONF
-------------------------------

<VirtualHost *:80>

DocumentRoot /var/www
#SetEnv WEBSERVER_ROOT /usr/local/apps/tpp
SetEnv WEBSERVER_ROOT /var/www


# Access logs
<IfModule log_config_module>
# Directives defining formatting of access log output
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i
\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-
Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/tpp/tpp_access_log common
</IfModule>

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#<Directory /usr/local/apps/tpp/>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

# directory to store data for web browser viewing
ScriptAlias /tpp/data "/usr/local/apps/tpp/data"
<Directory "/usr/local/apps/tpp/data">
AllowOverride None
Options Indexes FollowSymLinks Includes
Order allow,deny
Allow from all
</Directory>

# directory for tpp's html resources (css, js, images, etc)
ScriptAlias /tpp/html "/usr/local/apps/tpp/html"
<Directory "/usr/local/apps/tpp/html">
AllowOverride None
Options Includes Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>

# directory for tpp's schema resources
<Directory "/usr/local/apps/tpp/schema">
AllowOverride None
Options Includes Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>

# directory for tpp's executable files
ScriptAlias /tpp/cgi-bin "/usr/local/apps/tpp/cgi-bin"
<Directory "/usr/local/apps/tpp/cgi-bin">
#AllowOverride AuthConfig Limit
AllowOverride All
Options Indexes FollowSymLinks MultiViews ExecCGI +Includes
AddHandler default-handler .jpg .png .css .ico .gif
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
SetEnv WEBSERVER_ROOT /usr/local/apps
#SetEnv WEBSERVER_ROOT /var/www
</Directory>
</VirtualHost>

-------------------------- END HTTPD.CONF
--------------------------------

Vishal Swaroop

unread,
Mar 11, 2010, 6:55:26 PM3/11/10
to spctools...@googlegroups.com
Hi Charles,

For windows, is D drive local on your machine? 

I am trying to right data to mapped network drive, when I run XInteract from GUI, it hangs on PepXMLViewer.cgi forever, do you have any idea.

Regards
Val



--
You received this message because you are subscribed to the Google Groups "spctools-discuss" group.
To post to this group, send email to spctools...@googlegroups.com.
To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.


Charles

unread,
Mar 11, 2010, 8:27:58 PM3/11/10
to spctools-discuss
Hi Val,

Sorry for the generic description, I just wanted to keep it short.
But yes, D is just a partition on my local drive. I had a similar
situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
data to D:/data or something. So if it's not going to be a hassle,
just copy the entire directory tree from C:/Inetpub to \\network
\Inetpub and make the appropriate changes in the WWWROOT and PATH to
reflect the change.

I also found that you have to keep /tpp-bin in the default location on
the C: because it seems like some of programs (xinteract for one) have
the C:\Inetpub\tpp-bin path hard coded into the binary.

Hope this helps,
Charles

> > spctools-discu...@googlegroups.com<spctools-discuss%2Bunsu...@googlegroups.com>

Vishal Swaroop

unread,
Mar 12, 2010, 10:23:14 AM3/12/10
to spctools...@googlegroups.com
Thanks for replying Charles... I tried the following, but it gets stuck on running "PepXMLViewer.cgi"
 
If any one can help on this, I will be very thankful....
 
Issue :
When I run XInteract even from command prompt all processes like "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser, RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
 
Brief details :
a) I have exact copy of Inetpub from my c drive to mapped network drive.

b) Consider my mapped drive is X: and I can see
X:\Inetpub\wwwroot and X:\Inetpub\tpp-bin
 
c) I can also browse using \\server\Inetpub\
d) My httpd.conf looks like this i.e. changed data drive to
Alias /ISB "//server/Inetpub/wwwroot/ISB"
<Directory "//server/Inetpub/wwwroot/ISB">
-----------------------------------------------------------------------------------------
AddType text/html .shtml
AddHandler server-parsed .shtml
SetEnv WEBSERVER_ROOT X:/Inetpub/wwwroot
SetEnv WEBSERVER_URL
http://localhost:80
Alias /ISB "//server/Inetpub/wwwroot/ISB"
<Directory "//server/Inetpub/wwwroot/ISB">
    AllowOverride None
    Options Includes Indexes FollowSymLinks MultiViews
    Order allow,deny
    Allow from all
    AddType text/html .shtml
    AddHandler server-parsed .shtml
</Directory>
Alias /tpp-bin "C:/Inetpub/tpp-bin"
<Directory "C:/Inetpub/tpp-bin">
    Options Indexes MultiViews ExecCGI
    AllowOverride None

    Order allow,deny
    Allow from all
    AddHandler cgi-script .cgi .pl
    #ScriptInterpreterSource Registry
    PassEnv WEBSERVER_ROOT
    PassEnv WEBSERVER_TMP
</Directory>
Alias /schema "C:/Inetpub/wwwroot/schema"
<Directory "C:/Inetpub/wwwroot">
    Options Indexes MultiViews Includes
    AllowOverride None

    Order allow,deny
    Allow from all
    AddType text/html .shtml
    AddHandler server-parsed .shtml
    PassEnv WEBSERVER_ROOT
    PassEnv WEBSERVER_TMP
</Directory>
-----------------------------------------------------------------------------------------
 
e) changed "www_root" in tpp_gui.pl
my $base_dir    = readconfig('base_dir',"c:\\Inetpub\\tpp-bin\\");  # full path to this file
my $www_root    = readconfig('www_root',"x:/Inetpub/wwwroot/");  # full path to web server root
my $data_dir    = readconfig('data_dir',"${www_root}ISB/data/");          # full path to data directory top-level
 
f) When I run XInteract even from command prompt all processes like "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser, RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
 
"running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_interact.xml""
 
This is the out-put on command window....
-----------------------------------------------------------------------------------------------------
X:\Inetpub\wwwroot\ISB\data\SAN\aTPPiclData\server\Test_Executer\iTRAQ_Carbamidomethyl_PQD_research>run_in x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research; x:\Inetpub\tpp-bin\xinteract  -NTest_interact.xml -p0.000 -l20 -Op -dREV x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/022710_G0311_P01129_PQD_01.pep.xml
x:\Inetpub\tpp-bin\xinteract (TPP v4.3 JETSTREAM rev 1, Build 200909091257 (MinGW))
running: "C:/Inetpub/tpp-bin/InteractParser "Test_interact.xml" "x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/022710_G0311_P01129_PQD_01.pep.xml" -L"20"" file 1: x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/022710_G0311_P01129_PQD_01.pep.xml
 processed altogether 1445 results

 results written to file x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_interact.xml
 
command completed in 33 sec
running: "C:/Inetpub/tpp-bin/PeptideProphetParser "Test_interact.xml" MINPROB=0.000 DECOY=REV"
Using Decoy Label "REV".
 (MASCOT) (minprob 0)
results for charge 1: 0 id tot and 0 adj scores
results for charge 2: 1152 id tot and 213 adj scores
results for charge 2: 11.1517 adj_ion_mean and 18.5814 adj_ion_hom mean 39.2id mean0.937465 correlation (r)
2+ ion - id = 1.15829*(ion - hom) + -10.371 with error = 6.88606
mean ion - id: 11.1517, mean ion - hom: 18.5814
results for charge 3: 274 id tot and 63 adj scores
results for charge 3: 0.766935 adj_ion_mean and 14.5513 adj_ion_hom mean 39.8226id mean0.951025 correlation (r)
3+ ion - id = 1.20602*(ion - hom) + -16.7822 with error = 4.3439
mean ion - id: 0.766935, mean ion - hom: 14.5513
results for charge 4: 17 id tot and 0 adj scores
results for charge 5: 2 id tot and 0 adj scores
results for charge 6: 0 id tot and 0 adj scores
results for charge 6: -0 adj_ion_mean and -0 adj_ion_hom mean 0id meannan correlation (r)
results for charge 7: 0 id tot and 0 adj scores
init with MASCOT trypsin
MS Instrument info: Manufacturer: ThermoFinnigan, Model: LTQ Orbitrap XL, Ionization: ESI, Analyzer: Ion Trap, Detector: EMT
 PeptideProphet  (TPP v4.3 JETSTREAM rev 1, Build 200909091257 (MinGW)) AKeller@ISB
 read in 0 1+, 4 2+, 11 3+, 2 4+, 2 5+, 0 6+, and 0 7+ spectra.
Initialising statistical models ...
Iterations: .........10.........20
WARNING: Mixture model quality test failed for charge (2+).
WARNING: Mixture model quality test failed for charge (3+).
WARNING: Mixture model quality test failed for charge (4+).
WARNING: Mixture model quality test failed for charge (5+).
model complete after 21 iterations
command completed in 19 sec
running: "C:/Inetpub/tpp-bin/ProphetModels.pl -i Test_interact.xml"
Analyzing Test_interact.xml ...
Parsing search results "X:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/022710_G0311_P01129
_PQD_01 (MASCOT)"...
  => Total of 0 hits.
command completed in 3 sec
running: "C:/Inetpub/tpp-bin/DatabaseParser "Test_interact.xml""
command completed in 1 sec
running: "C:/Inetpub/tpp-bin/RefreshParser "Test_interact.xml" "X:/Inetpub/wwwroot/ISB/data/dataDrive/FASTA/IPI/HUMAN/IPI_HUMAN.fasta""
  - Building Commentz-Walter keyword tree...  - Searching the tree...
  - Linking duplicate entries...  - Printing results...
command completed in 59 sec
running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_interact.xml"
....gets stuck here forever
-----------------------------------------------------------------------------------------------------
 
Regards
Val
 
To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.

Charles

unread,
Mar 13, 2010, 10:48:37 PM3/13/10
to spctools-discuss
Hey Val, so that also happened to me when I tried to change ONLY the
data location as you have. the xinteract got stuck somewhere as well,
probably the same place you got stuck. So just change all the
Directory tags to point to //server/Inetpub/ .. etc. And again make
sure you leave a copy of the tpp-bin on the C: since it seems like
some of the paths are hardcoded into the executables.

Charles

Mar 12, 10:23 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Thanks for replying Charles... I tried the following, but it gets stuck on
> running "PepXMLViewer.cgi"
>
> If any one can help on this, I will be very thankful....
>
> Issue :
> When I run XInteract even from command prompt all processes like
> "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser,
> RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
>
> Brief details :
> a) I have exact copy of Inetpub from my c drive to mapped network drive.
>
> b) Consider my mapped drive is X: and I can see
> X:\Inetpub\wwwroot and X:\Inetpub\tpp-bin
>

> c) I can also browse using \\server\Inetpub\ <file://server/Inetpub/>


> d) My httpd.conf looks like this i.e. changed data drive to

> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">*
> --------------------------------------------------------------------------- --------------


> AddType text/html .shtml
> AddHandler server-parsed .shtml
> SetEnv WEBSERVER_ROOT X:/Inetpub/wwwroot

> SetEnv WEBSERVER_URLhttp://localhost:80<http://localhost/>
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">
> *    AllowOverride None

> *"running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml""
> *


>
> This is the out-put on command window....
> --------------------------------------------------------------------------- --------------------------

> X:\Inetpub\wwwroot\ISB\data\SAN\aTPPiclData\server\Test_Executer\iTRAQ_Carb amidomethyl_PQD_research>run_in


> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research;
> x:\Inetpub\tpp-bin\xinteract  -NTest_interact.xml -p0.000 -l20 -Op -dREV
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> x:\Inetpub\tpp-bin\xinteract (TPP v4.3 JETSTREAM rev 1, Build 200909091257
> (MinGW))
> running: "C:/Inetpub/tpp-bin/InteractParser "Test_interact.xml"
> "x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/0227 10_G0311_P01129_PQD_01.pep.xml"
> -L"20"" file 1:
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
>  processed altogether 1445 results
>
>  results written to file
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml

>  direct your browser tohttp://localhost/ISB/data/SAN/iclData/server/Test_Executer/research/T...

> > > On Thu, Mar 11, 2010 at 1:40 PM, Charles <charlesyoo...@gmail.com>


> > wrote:
>
> > > > Hello,
>
> > > > I've searched around for this topic and found articles on how to
> > > > relocate the entire directory structure in windows (which I've done
> > > > and it works out) by changing C:\ to D:\ in the apache2/conf/
> > > > httpd.conf file, copying the entire folder hierarchy to D:\ and
> > > > changing the WEBSERVER_ROOT and PATH to D:\.  I wanted to do something
> > > > similar in Ubuntu 9.10 (and other linux distros) so I installed the
> > > > TPP v4.3 rev 1 following the instructions provided by
>

> >http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Insta...


> > > > .
> > > > All the binaries/scrips I want to use run fine, namely tandem.exe,
> > > > Tandem2XML, and xinteract (I prefer to use the command line instead of
> > > > the gui).  The only issue is viewing the resultant data files through
> > > > the browser.  Below, I've included the httpd.conf file (as shown in
> > > > the installation tutorial).
>
> > > > The first problem is that while the tpp_gui.pl script opens in the
> > > > browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a  "403
> > > > Forbidden, You don't have permission to access /tpp/data/ on this

> > > > server" when I navigate tohttp://localhost/tpp/data.  This occurs


> > > > even if I give the /tpp/data directory read/write permission and even
> > > > change owner to the user.
>
> > > > The second is, I would like to analyze my data in another directory,
> > > > let's say /home/charles/data while keeping the binaries/scripts in
> > > > the /usr/local/apps/tpp directory.  I can only think of the following
> > > > changes:
>
> > > >        ScriptAlias /tpp/data "/usr/local/apps/tpp/data" --->
> > ScriptAlias /
> > > > tpp/data "/home/charles/data"
> > > >        <Directory "/usr/local/apps/tpp/data"> ---> <Directory
> > > > "/home/charles/
> > > > data">
>
> > > > However, I still get the 403 Forbidden error.  Does anyone know of how
> > > > to make this arrangement work? Also, if you know of any instances of
> > > > hard-coded directory variables that I may need to change, especially
> > > > in xinteract, it would be much appreciated.
>
> > > > Thanks,
> > > > Charles
>
> > > > ------------------------ BEGIN HTTPD.CONF
> > > > -------------------------------
>
> > > > <VirtualHost *:80>
>
> > > >        DocumentRoot /var/www
>

> ...
>
> read more »

Charles

unread,
Mar 13, 2010, 10:49:07 PM3/13/10
to spctools-discuss
Hey Val, so that also happened to me when I tried to change ONLY the
data location as you have. the xinteract got stuck somewhere as well,
probably the same place you got stuck. So just change all the
Directory tags to point to //server/Inetpub/ .. etc. And again make
sure you leave a copy of the tpp-bin on the C: since it seems like
some of the paths are hardcoded into the executables.

Charles

On Mar 12, 10:23 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Thanks for replying Charles... I tried the following, but it gets stuck on
> running "PepXMLViewer.cgi"
>
> If any one can help on this, I will be very thankful....
>
> Issue :
> When I run XInteract even from command prompt all processes like
> "InteractParser, PeptideProphetParser, ProphetModels, DatabaseParser,
> RefreshParser" runs fine BUT it gets stuck on running "PepXMLViewer.cgi"
>
> Brief details :
> a) I have exact copy of Inetpub from my c drive to mapped network drive.
>
> b) Consider my mapped drive is X: and I can see
> X:\Inetpub\wwwroot and X:\Inetpub\tpp-bin
>

> c) I can also browse using \\server\Inetpub\ <file://server/Inetpub/>


> d) My httpd.conf looks like this i.e. changed data drive to

> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">*
> --------------------------------------------------------------------------- --------------

> AddType text/html .shtml
> AddHandler server-parsed .shtml
> SetEnv WEBSERVER_ROOT X:/Inetpub/wwwroot

> SetEnv WEBSERVER_URLhttp://localhost:80<http://localhost/>
> *Alias /ISB "//server/Inetpub/wwwroot/ISB"
> <Directory "//server/Inetpub/wwwroot/ISB">

> *    AllowOverride None

> *"running: "X:/Inetpub/wwwroot/../tpp-bin/PepXMLViewer.cgi -I
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml""
> *


>
> This is the out-put on command window....
> --------------------------------------------------------------------------- --------------------------

> X:\Inetpub\wwwroot\ISB\data\SAN\aTPPiclData\server\Test_Executer\iTRAQ_Carb amidomethyl_PQD_research>run_in


> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research;
> x:\Inetpub\tpp-bin\xinteract  -NTest_interact.xml -p0.000 -l20 -Op -dREV
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
> x:\Inetpub\tpp-bin\xinteract (TPP v4.3 JETSTREAM rev 1, Build 200909091257
> (MinGW))
> running: "C:/Inetpub/tpp-bin/InteractParser "Test_interact.xml"
> "x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/0227 10_G0311_P01129_PQD_01.pep.xml"
> -L"20"" file 1:
> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/02271 0_G0311_P01129_PQD_01.pep.xml
>  processed altogether 1445 results
>
>  results written to file

> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml
>  direct your browser tohttp://localhost/ISB/data/SAN/iclData/server/Test_Executer/research/T...
>

> x:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/Test_ interact.xml"
> ....gets stuck here forever
> --------------------------------------------------------------------------- --------------------------
>

> Regards
> Val
>
>
>
> On Thu, Mar 11, 2010 at 8:27 PM, Charles <charlesyoo...@gmail.com> wrote:
> > Hi Val,
>
> > Sorry for the generic description, I just wanted to keep it short.
> > But yes, D is just a partition on my local drive.  I had a similar
> > situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
> > data to D:/data or something.  So if it's not going to be a hassle,
> > just copy the entire directory tree from C:/Inetpub to \\network
> > \Inetpub and make the appropriate changes in the WWWROOT and PATH to
> > reflect the change.
>
> > I also found that you have to keep /tpp-bin in the default location on
> > the C: because it seems like some of programs (xinteract for one) have
> > the C:\Inetpub\tpp-bin path hard coded into the binary.
>
> > Hope this helps,
> > Charles
>
> > Vishal Swaroop wrote:
> > > Hi Charles,
>
> > > For windows, is D drive local on your machine?
>
> > > I am trying to right data to mapped network drive, when I run XInteract
> > from
> > > GUI, it hangs on PepXMLViewer.cgi forever, do you have any idea.
>
> > > Regards
> > > Val
>

> > > On Thu, Mar 11, 2010 at 1:40 PM, Charles <charlesyoo...@gmail.com>


> > wrote:
>
> > > > Hello,
>
> > > > I've searched around for this topic and found articles on how to
> > > > relocate the entire directory structure in windows (which I've done
> > > > and it works out) by changing C:\ to D:\ in the apache2/conf/
> > > > httpd.conf file, copying the entire folder hierarchy to D:\ and
> > > > changing the WEBSERVER_ROOT and PATH to D:\.  I wanted to do something
> > > > similar in Ubuntu 9.10 (and other linux distros) so I installed the
> > > > TPP v4.3 rev 1 following the instructions provided by
>

> >http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.2.1:_Insta...


> > > > .
> > > > All the binaries/scrips I want to use run fine, namely tandem.exe,
> > > > Tandem2XML, and xinteract (I prefer to use the command line instead of
> > > > the gui).  The only issue is viewing the resultant data files through
> > > > the browser.  Below, I've included the httpd.conf file (as shown in
> > > > the installation tutorial).
>
> > > > The first problem is that while the tpp_gui.pl script opens in the
> > > > browser (http://localhost/tpp/cgi-bin/tpp_gui.pl), I get a  "403
> > > > Forbidden, You don't have permission to access /tpp/data/ on this

> > > > server" when I navigate tohttp://localhost/tpp/data.  This occurs


> > > > even if I give the /tpp/data directory read/write permission and even
> > > > change owner to the user.
>
> > > > The second is, I would like to analyze my data in another directory,
> > > > let's say /home/charles/data while keeping the binaries/scripts in
> > > > the /usr/local/apps/tpp directory.  I can only think of the following
> > > > changes:
>
> > > >        ScriptAlias /tpp/data "/usr/local/apps/tpp/data" --->
> > ScriptAlias /
> > > > tpp/data "/home/charles/data"
> > > >        <Directory "/usr/local/apps/tpp/data"> ---> <Directory
> > > > "/home/charles/
> > > > data">
>
> > > > However, I still get the 403 Forbidden error.  Does anyone know of how
> > > > to make this arrangement work? Also, if you know of any instances of
> > > > hard-coded directory variables that I may need to change, especially
> > > > in xinteract, it would be much appreciated.
>
> > > > Thanks,
> > > > Charles
>
> > > > ------------------------ BEGIN HTTPD.CONF
> > > > -------------------------------
>
> > > > <VirtualHost *:80>
>
> > > >        DocumentRoot /var/www
>

> ...
>
> read more »

Vishal Swaroop

unread,
Mar 14, 2010, 10:10:48 PM3/14/10
to spctools...@googlegroups.com
Hi Charles,

I tried everything... but it is possible that I am missing something very small, should I also change tpp-bin path in httpd.conf.

It will be of great help if you can send your httpd.conf and tppgui.pl

It works for other files,but hangs on PepXMLViewer.cgi while creating .xml.index file..

Pls help.

Regards
Val


--

ChargedPeptide

unread,
Mar 16, 2010, 9:11:32 AM3/16/10
to spctools-discuss
Hi, just wanted to let you know that pepXMLCGIViewer seems to hang
when processing reuslts where

"X:/Inetpub/wwwroot/ISB/data/SAN/iclData/server/Test_Executer/research/
022710_G0311_P01129
_PQD_01 (MASCOT)"...
=> Total of 0 hits.

Happens, as in your case, regardless of me not having modified the
data directory..
You should probably try a different set of data for double checking
this, where the final hits are >0.

On Mar 15, 3:10 am, Vishal Swaroop <vishal....@gmail.com> wrote:
> Hi Charles,
>
> I tried everything... but it is possible that I am missing something very
> small, should I also change tpp-bin path in httpd.conf.
>
> It will be of great help if you can send your httpd.conf and tppgui.pl
>
> It works for other files,but hangs on PepXMLViewer.cgi while creating
> .xml.index file..
>
> Pls help.
>
> Regards
> Val
>

> ...
>
> read more »

Charles

unread,
Mar 16, 2010, 12:23:23 PM3/16/10
to spctools-discuss
I just followed the instructions more or less from http://frank.neatstep.com/node/11
with the directory change from C:\ to D:\.

I've uploaded my httpd.conf file in the Files section.

Hope this helps,
Charles

> ...
>
> read more »

Vishal Swaroop

unread,
Mar 16, 2010, 3:41:30 PM3/16/10
to spctools...@googlegroups.com
Thanks a lot Charles for your time. To some extent I am to configure mapped network drive but still there are few issues with Apache/ Cgi.
 
- Thanks for sharing httpd.conf, I believe D: is your local shared drive ?
 
After clean installatin of "TPP_Setup_v4_3_JETSTREAM_rev_1", "ActivePerl-5.8.9.827-MSWin32-x86-291969" "Apache 2.2.14" on WinXP ver2002 sp2, I am somehow able to write data files to network drive (it does not gets stuck on PepXmlViewer)
 
Issue:
a) On each click and when I clicking "Run XInteract" button blank command window appears and closes.
 
b)  I can start apache from command prompt but not from Apache monitor after mapping network drive.
 
c) When I try to browse the above url, IE 6 hangs and I get the message At the top of the page I get the error: Messages
"Unable to access xml file via webserver, so cannot check xml file for changes ()  Check webserver configuration if desired.  (URL: undefined)"
 
I only changed Alias for ISB,  Alias for /tpp-bin is still "C:/Inetpub/tpp-bin":
SetEnv WEBSERVER_ROOT Z:/Inetpub/wwwroot
Alias /ISB "Z:/Inetpub/wwwroot/ISB"
<Directory "Z:/Inetpub/wwwroot/ISB">
 
 


 
> ...
>
> read more »

Val

unread,
Mar 16, 2010, 4:16:57 PM3/16/10
to spctools-discuss
Hi Charles,

Quick Question : I can see reference to "D:/Inetpub/isb-bin" in your
httpd.conf, I don't have this when I installed
"TPP_Setup_v4_3_JETSTREAM_rev_1"

Is it because of some older version of TPP.

On Mar 16, 12:23 pm, Charles <charlesyoo...@gmail.com> wrote:
> I just followed the instructions more or less fromhttp://frank.neatstep.com/node/11

> > > > > b) Consider my mappeddriveis X: and I can see

> > > > > > But yes, D is just a partition on my localdrive.  I had a similar


> > > > > > situation to you when I just tried changing the C:/Inetpub/wwwroot/ISB/
> > > > > > data to D:/data or something.  So if it's not going to be a hassle,
>

> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Charles

unread,
Mar 17, 2010, 6:52:39 PM3/17/10
to spctools-discuss
Oh, that looks like some extraneous addition from the website I
referenced. The directory doesn't even exist, so I just removed the
entire Directory block and xinteract ran fine.

> ...
>
> read more »

Vishal Swaroop

unread,
Mar 23, 2010, 11:34:22 AM3/23/10
to spctools...@googlegroups.com

Hi All,

I thought of sharing my experience for making TPP - Apache to work with network drive.

Here is my finding for trouble shooting Apache to recognize network drive.

a) Latest apache version available is 2.2.14 but apache does not start as a service, and if we start apache from command prompt, network drives are recognized but we use to get blank command windows pop-ups on each click of TPP application running on apache.
Even default version of apache (2.2.8) during TPP installation behaves in the same manner.

b) This post says that it worked until Apache v2.0.32 AND works on a Win2000 server : http://osdir.com/ml/apache.devel/2002-06/msg00180.html

c)(i) I tried with Apache/1.3.41 (Win32), Active perl v 5.10.1, TPP_Setup_v4_3_JETSTREAM_rev_1 on WinXp sp2.
I can start pache from services but network drives are not recognized.
 (ii) Nework drives are recognized if I start apache from command prompt (using apache -k start), and  we don't get any blank 
     command windows pop-ups on each click of TPP application, all processing works fine.

d) When TPP is installed it creates "tmp" folder under root installation directory (default "C:/"), it looks like tpp needs "tmp" folder (though it can be empty) under root directory.
   Make sure to make "tmp" directory under new root.

e) I also think that there is no need to copy tpp-bin folder (though I have not tested) under new root, copying only wwwroot should also work.

I will try to configure latest release of Apache (2.2.15) and will send the findings.

My httpd.cnf looks like this (where "B:/" is network mapped drive)

#
# Begin settings for the Trans Proteomic Pipeline
#

# Add 5-hour timeout
Timeout 18000

AddType text/html .shtml
AddHandler server-parsed .shtml

#SetEnv WEBSERVER_ROOT C:/Inetpub/wwwroot
SetEnv WEBSERVER_ROOT B:/Inetpub/wwwroot
SetEnv WEBSERVER_URL http://localhost:81

Alias /tpp-bin "C:/Inetpub/tpp-bin"
<Directory "C:/Inetpub/tpp-bin">
    Options Indexes MultiViews ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all

    AddHandler cgi-script .cgi .pl
    ScriptInterpreterSource Registry
 
    PassEnv WEBSERVER_ROOT
</Directory>

Alias /ISB "B:/Inetpub/wwwroot/ISB"
Alias /isb "B:/Inetpub/wwwroot/ISB"

<Directory "B:/Inetpub/wwwroot/ISB">


    Options Indexes MultiViews Includes
    AllowOverride None
    Order allow,deny
    Allow from all

    AddType text/html .shtml
    AddHandler server-parsed .shtml
    PassEnv WEBSERVER_ROOT

</Directory>

Reply all
Reply to author
Forward
0 new messages