Re: [spctools-discuss] Help! - The requested URL (http://localhost/tpp-bin/tpp_gui.pl) was not found on this server.

458 views
Skip to first unread message

Joseph Slagel

unread,
Sep 12, 2012, 12:20:31 PM9/12/12
to spctools...@googlegroups.com
Hi Suzanne,

It sounds like something with installation is misconfigured.  I'm guessing you've installed TPP on a Window's box, and that you downloaded the latest version 4.6.0?

If so then my first question is when you installed TPP you should have been prompted to install the Apache web server.  Did you say yes? or did you already have the Apache installed?

Next question would be, is there a file at C:\Inetpub\tpp-bin\tpp_gui.pl?

-Joe




On Wed, Sep 12, 2012 at 8:47 AM, Suzanne <szac...@gmail.com> wrote:
Hello. I am new to TPP and am struggling with getting the app to start. I get the error message shown in the subject heading. Can someone point me to a solution?

Thank you.

Suzanne

--
You received this message because you are subscribed to the Google Groups "spctools-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/cwqAzjueVCwJ.
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.

Joseph Slagel

unread,
Sep 13, 2012, 6:45:18 PM9/13/12
to spctools...@googlegroups.com
Manos,

What is the error you are seeing?  or are you just getting a blank page?

-Joe


On Thu, Sep 13, 2012 at 3:03 PM, main <manda...@gmail.com> wrote:
I am also struggling to make TPP 4.6.0 working in Windows 7. Perl was installed. Apache was installed following the message that prompts from TPP (server name:localhost; domain:localhost; email:My email address.). I can see C:\Inetpub\tpp-bin\tpp_gui.pl in my hard disk. TPP shortcut opens my internet browser but it doesn't open TPP page. I have tried almost everything. Any tricks?
manos
To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/7yZkVzd9vGEJ.

Brian Hampton

unread,
Sep 13, 2012, 7:48:23 PM9/13/12
to spctools...@googlegroups.com
When I first installed TPP 4.6 fresh onto a fresh install of Win7 64 bit enterprise I had a similar observation.  Double click the Petunia shortcut opened the default browser to a blank page.  If I then opened a tab the login page for TPP would load in on the first tab that seemed to have stalled.  This was using Chrome.  I can't recall if the same thing happened with Firefox.

I think, but am not certain, I set the server name in the Apache config file to be "localhost"  and that may have solved the problem.  Sorry I can't be more certain, once I got it working I moved on..

Brian Hampton


On Sep 13, 2012, at 6:03 PM, main <manda...@gmail.com> wrote:

I am also struggling to make TPP 4.6.0 working in Windows 7. Perl was installed. Apache was installed following the message that prompts from TPP (server name:localhost; domain:localhost; email:My email address.). I can see C:\Inetpub\tpp-bin\tpp_gui.pl in my hard disk. TPP shortcut opens my internet browser but it doesn't open TPP page. I have tried almost everything. Any tricks?
manos

On Wednesday, September 12, 2012 7:20:34 PM UTC+3, jsl...@systemsbiology.org wrote:
To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/7yZkVzd9vGEJ.

main

unread,
Sep 14, 2012, 3:20:10 AM9/14/12
to spctools...@googlegroups.com
Hi Joe,
Thanks for your interest to help. Yes, when I click the TPP shortcut, my internet browser (Internet Explorer 9.0.8112.16421) opens and tries to load http://localhost/tpp-bin/tpp_gui.pl, but that gets into a blank page with the message“Internet Explorer cannot display the webpage”. I also tried to open http://localhost/tpp-bin/tpp_gui.pl from Chrome but again I got the message “Oops! Google Chrome could not find localhost”.
Some additional info that may be helpful for resolving the problem:

- Perl 5.14.2 Build 1402 (64bit) was installed in the folder C:\Perl64.

- Apache HTTP server 2.2.8 installed at C:\Program Files (x86)\Apache Software Foundation\Apache2.2\ following the Installation Wizard which prompts during the installation of TPP. Network domain:localhost, Server Name:localhost, Administrator’s email address: My email address. The option “Install Apache for All users  on port 80 as a service” was selected.

- The TPP installation creates the Inetpub folder at C:\Inetpub
- My Windows 7 are 64-bit
Hope this helps
Thanks again
Manos

main

unread,
Sep 14, 2012, 3:29:49 AM9/14/12
to spctools...@googlegroups.com
I also tried to open http://localhost:8080/tpp-bin/tpp_gui.pl  http://localhost:80/tpp-bin/tpp_gui.pl http://localhost:1441/tpp-bin/tpp_gui.pl  in both Internet explorer and Chrome but without any success.
Manos

On Friday, September 14, 2012 1:45:29 AM UTC+3, jsl...@systemsbiology.org wrote:

David Shteynberg

unread,
Sep 14, 2012, 12:32:52 PM9/14/12
to spctools...@googlegroups.com

Can you access HTTP://localhost on the machine?  If not Apache is not starting up correctly.   Did you install as administrator?

-David

To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/v9Zp5be1-LkJ.

Vishal Swaroop

unread,
Sep 14, 2012, 3:16:26 PM9/14/12
to spctools...@googlegroups.com
David is right, first simply check if Apache is up  http://localhost/ , you should see "It works!" message.

Also check the port in "C:\Apache<xxxx>\conf\httpd.conf" (I think line 46) is it 80.

If your apache is OK, check TPP settings in httpd.conf file

#
# Begin settings for the Trans Proteomic Pipeline
#
# Add 5-hour timeout
Timeout 18000
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 /ISB "C:/Inetpub/wwwroot/ISB"
Alias /schema "C:/Inetpub/wwwroot/schema"
<Directory "C:/Inetpub/wwwroot">
    Options 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>
#
# End settings for the Trans Proteomic Pipeline
#

main

unread,
Sep 15, 2012, 3:47:59 AM9/15/12
to spctools...@googlegroups.com
You were right. Since local http://localhost/ was not working I also realized that something was wrong with my Apache.I spend several hours installing and uninstalling TPP using different options, cheking the httpd.conf file for any problems but without any success. Searching on the internet I found this site http://stackoverflow.com/questions/813347/http-localhost-not-working-on-windows-7-whats-the-problem. My hosts file at C:\Windows\System32\drivers\etc had wrong address for local host "0.0.0.0       localhost" at line 23. I changed that to "127.0.0.1:80       localhost " using Notepad++ (due to restrictions, you may have to save the file to the desktop, then copy-paste it to C:\Windows\System32\drivers\etc and replace the old one). After a restart of Apache everything worked properly. Now I can see the ISB/SPC Trans Proteomic Pipeline - login message, asking for username and password. I hope it will be easy to register. So, for any dummies (like me) trying to make TPP working, please, check your hosts file.
Thanks guys for your help.

janetmc...@gmail.com

unread,
Mar 30, 2014, 9:55:36 AM3/30/14
to spctools...@googlegroups.com
Hi

I have the same error. I've just installed TPP and I'm totally lost!

I installed the Apache web server as part of the installation and I have the file C:\Inetpub\tpp-bin\tpp_gui.pl.

When I type http://localhost I get "It works".

If you need more detail, please let me know.

Thanks.

Janet.

Joseph Slagel

unread,
Mar 31, 2014, 10:57:25 AM3/31/14
to spctools...@googlegroups.com
Hi Janet,

Can you send us your Apache log files.  They are usually under the Apache HTTP Server folder in your programs menu, or C:\Program Files (x86)\Apache Software Foundation\Apache2.2\logs.

-Joe



To unsubscribe from this group and stop receiving emails from it, send an email to spctools-discu...@googlegroups.com.

To post to this group, send email to spctools...@googlegroups.com.



--
Joe Slagel
Institute for Systems Biology
jsl...@systemsbiology.org
(206) 732-1362

Vishal Swaroop

unread,
Mar 31, 2014, 2:19:37 PM3/31/14
to spctools...@googlegroups.com
Hi Janet,

a) Try Checking TPP configutation in httpd.conf file (under ..\Apache2.2\conf) ... I have the following at the end : 

# Add 5-hour timeout
Timeout 18000

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

SetEnv WEBSERVER_ROOT C:/Inetpub/wwwroot
SetEnv WEBSERVER_URL http://<yourhost>:<yourport>

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 /ISB "C:/Inetpub/wwwroot/ISB"
Alias /isb "C:/Inetpub/wwwroot/ISB"
<Directory "C:/Inetpub/wwwroot/ISB">
    Options Indexes MultiViews Includes ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    AddType text/html .shtml
    AddHandler server-parsed .shtml
    PassEnv WEBSERVER_ROOT
    PassEnv WEBSERVER_TMP
</Directory>

b) Check if you have environment variables defined..

WEBSERVER_ROOT : C:\Inetpub\wwwroot
PATH (change as per your settings) : C:\Inetpub\tpp-bin;C:\Perl\site\bin;C:\Perl\bin;

Let us know.

Thanks
Vishal



To unsubscribe from this group and stop receiving emails from it, send an email to spctools-discu...@googlegroups.com.
To post to this group, send email to spctools...@googlegroups.com.

janetmc...@gmail.com

unread,
Apr 1, 2014, 6:08:29 AM4/1/14
to spctools...@googlegroups.com
Hi Joe,

I would love to :) I've attached all the text files. I'm sure you only need the errors one but here you go anyway. Thanks for your help.

Janet.
access.log
error.log
install.log

janetmc...@gmail.com

unread,
Apr 1, 2014, 12:57:19 PM4/1/14
to spctools...@googlegroups.com
Hi Vishal,

Thanks for your advice. I have tried to follow it.

a) My httpd.conf file did not have the lines:

SetEnv WEBSERVER_ROOT C:/Inetpub/wwwroot
SetEnv WEBSERVER_URL http://<yourhost>:<yourport>

I added them using localhost:80. I got the same error. I rebooted and the changes were gone.

b) Here is the path from my environment variables:

C:\Inetpub\tpp-bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\Java\jre7\bin;C:\Dwimperl\perl\bin;C:\Dwimperl\perl\site\bin;C:\Dwimperl\c\bin;C:\Program Files (x86)\xindy\miktex\bin; c:\windows\system 32;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin


Is there something I should change here?

Thanks.

Janet.

Vishal Swaroop

unread,
Apr 1, 2014, 1:48:16 PM4/1/14
to spctools...@googlegroups.com
Path looks OK...

I am not sure if it will help... please send your httpd.conf file

a) Create any test text file under "C:\Inetpub\tpp-bin" and try
http://<yourhost>:<port>/tpp-bin/<yourtextfile.txt>

b) try changing port from 80 to 81... in httpd.conf TPP settings and search "#Listen.." I think around line 45 or so set it to "Listen 81" 

c) Do you see anything if you try this
http://<yourhost>:<port>/tpp-bin/check_env.pl

Thanks
Vishal

Joseph Slagel

unread,
Apr 1, 2014, 2:27:16 PM4/1/14
to spctools...@googlegroups.com
Suzanne,

It might be a problem with where you installed ActivePerl.  Can you open a Windows command shell (how to) and type in the command:

   which perl.exe

and forward on the output?  It should look something like:

   C:\Perl\bin\perl.exe

This should match the first line in your cgi scripts.  For example if you open the file "C:\Inetpub\tpp-bin\check_env.pl" in Notepad the first line should look something like:

   #!c:/perl/bin/perl

janetmc...@gmail.com

unread,
Apr 1, 2014, 4:59:04 PM4/1/14
to spctools...@googlegroups.com
Hi Vishal,

Here is the http.conf file.

I'll try this below now.

Thanks.

Janet.
httpd.conf

janetmc...@gmail.com

unread,
Apr 1, 2014, 5:04:33 PM4/1/14
to spctools...@googlegroups.com
Hi Joe,

When I type perl.exe in the windows command shell I just get the cursor but when I open check_env.pl I get #!c:/perl/bin/perl.

Thanks again.

Janet.

janetmc...@gmail.com

unread,
Apr 1, 2014, 7:49:10 PM4/1/14
to spctools...@googlegroups.com
Hi Vishal,

I've tried all of these suggestions and no change. When I looked for #listen in httpd.conf 

#Listen 12.34.56.78:80
Listen 80

Any other suggestions would be greatly appreciated.

Thanks.

Janet.

On Tuesday, April 1, 2014 6:48:16 PM UTC+1, Val wrote:

Vishal Swaroop

unread,
Apr 1, 2014, 9:46:08 PM4/1/14
to spctools...@googlegroups.com
So, you tried changing the port to 81, if yes then "Listen 80" should be "Listen 81" in httpd.conf file. ?

You also tried creating any test text file under "C:\Inetpub\tpp-bin" and tried
a) http://localhost:81/tpp-bin/<yourtextfile.txt>
b) http://localhost:81 does this says it work's

I will check httpd.conf file tomorrow .

Thanks


janetmc...@gmail.com

unread,
Apr 2, 2014, 6:20:12 AM4/2/14
to spctools...@googlegroups.com
Hi Vishal,

I changed it back when it didn't work.

I have tried a and b below and for both I have got  

Oops! Google Chrome could not connect to localhost:81


When I set it back to 80 I get It works.

Thanks.

Janet.

janetmc...@gmail.com

unread,
Apr 2, 2014, 7:09:42 AM4/2/14
to spctools...@googlegroups.com
I got it to work but I rebooted and now its not working again!

I installed activeperl (I had perl installed) and it worked but when I rebooted it stopped and I can't seem to get it going again.

Vishal Swaroop

unread,
Apr 2, 2014, 10:45:19 AM4/2/14
to spctools...@googlegroups.com
Hi Janet,

I am little confused... so now forgetting about port 81... you are setting port to 80... 

a) Check activeperl which you installed is in path (I have tpp & perl path as C:\Inetpub\tpp-bin;C:\Perl\site\bin;C:\Perl\bin;)

b) You got it to work but I rebooted and now its not working again!
Re: Are you sure apache server is started (http://localhost:80 does it says It Work's)

I checked httpd.conf file 
i)   Listen 80 was commented

ii) htppd.conf :

- Uncomment (around line 170) : #ServerName localhost:80
- Add "ExecCGI" this is my configuration
<Directory "C:/Inetpub/tpp-bin">
    Options Indexes MultiViews ExecCGI
    ...
</Directory>

Vishal Swaroop

unread,
Apr 2, 2014, 11:57:54 AM4/2/14
to spctools...@googlegroups.com
Hi,

So... I did a fresh install and everything worked as expected...

Do you have server root set as "WEBSERVER_ROOT : c:\Inetpub\wwwroot" under 
My Computer (right click) > Properties > Advanced system settings > Advanced (Tab) > Environment Variables 

Here is what I did from scratch :
1) My environment :
- My OS : Win7 64 bit
- Type perl -v on command prompt to check
 "perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x64-multi-thread"

2) Installing tpp
a) To start from scratch I unsinstalled TPP and Apache
b) Installed TPP v4.6 OCCUPY rev 3 (which also installs Apache 2.2.8)
c) Restarted machine as required after TPP installation

3) TPP works without any issue http://localhost:80/tpp-bin/tpp_gui.pl

4) My environment :
- My Computer (right click) > Properties > Advanced system settings > Advanced (Tab) > Environment Variables 
Under System variable I have 
WEBSERVER_ROOT : c:\Inetpub\wwwroot
Path : C:\Inetpub\tpp-bin;C:\Perl\site\bin;C:\Perl\bin;
Note : If you are adding under System variable then restart for changes to take effect.

- htppd.conf settings :
# Add 5-hour timeout
Timeout 18000

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 /ISB "C:/Inetpub/wwwroot/ISB"

Alias /schema "C:/Inetpub/wwwroot/schema"

<Directory "C:/Inetpub/wwwroot">
    Options 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>
#
# End settings for the Trans Proteomic Pipeline
#

janetmc...@gmail.com

unread,
Apr 3, 2014, 4:00:58 AM4/3/14
to spctools...@googlegroups.com
Hi Vishal,


It is working now. I uninstalled everthing: apache, activeperl and tpp. Then I reinstalled activeperl first and tpp then.

janetmc...@gmail.com

unread,
Apr 3, 2014, 4:46:27 AM4/3/14
to spctools...@googlegroups.com
Thank you for all your help. My settings look the same now as what you have  outlined below.

I deleted all of the folders also before reinstalling.

Thanks again.

Janet.

Vishal Swaroop

unread,
Apr 3, 2014, 7:51:41 AM4/3/14
to spctools...@googlegroups.com
Great.... glad to know that it is working now.

Thanks
Vishal

Stanislav Luban

unread,
Jan 25, 2018, 10:11:30 AM1/25/18
to spctools-discuss
Hi,

Getting a similar error except when installing TPP v5.0.0 Typhoon on Ubuntu 16.04 following the instructions

http://tools.proteomecenter.org/wiki/index.php?title=TPP_5.0.0:_Installing_on_Ubuntu_16.04

The command line commands mostly seem to work.

But when I load

http://localhost:10401

it gives me the Apache2 Ubuntu Default Page

and when I go to

http://localhost:10401/tpp/cgi-bin/tpp_gui.pl

It says

Not Found

The requested URL /tpp/cgi-bin/tpp_gui.pl was not found on this server.


The same thing happens for the file I created /local/tpp/cgi-bin/mytextfile.txt


>which perl

gives /usr/bin/perl

and the first line of my /local/tpp/cgi-bin/*.pl files (check_env.pl, tpp_gui.pl, ...) has #!/usr/bin/perl


My /etc/apache2/apache2.conf

has the line

IncludeOptional /etc/apache2/conf-enabled/*.conf
and I know that /etc/apache2/conf-enabled/httpd-tpp.conf is being read in (because when I changed in it Listen 10401 to Listen 80 and back it switched to that one and back)


Both my /etc/apache2/apache2.conf and /etc/apache2/conf-available/httpd-tpp.conf have

    SetEnv WEBSERVER_TMP  /tmp
    SetEnv WEBSERVER_ROOT /local/tpp

Is this right?


Not really sure what else to try to hopefully make it work. Could you please help?


Thanks greatly,

s luban

Reply all
Reply to author
Forward
0 new messages