'Win32 not found. Unable to get install path'

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 18. February 2009 13:22

Apache status is NOT RUNNING and shows error message 'Apache server not started -1'.

Use "apache_start.bat" to read an error message.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 06:26

Hi Izzy/Wiedmann,

I have also clicked on "apache_start.bat" file and it opens a command prompt displaying a message that 'Apache 2 is starting'.
As per the above message it seems that Apache is starting but it is not succesfully running. Is there any file in the Apache folder that need to be run, so that Apache starts working for e.g. there is a file called 'Apache_Istalledservice' inside Apache folder, so do we need to run this file to get Apache working.

Thanks and Regards,
Praveen Kr Gupta.
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 08:29

a message that 'Apache 2 is starting'. ... but it is not succesfully running.

You mean, you can't see Apache in taskmanager now?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 09:09

Hi Wiedmann,

I can see Apache running in Task Manager but when we open XAMPP Control Panel window there it shows that 'Apache service not started -1'

Thanks and Regards,
Praveen Kr Gupta
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 09:13

I can see Apache running in Task Manager

OK, and you can't the access the XAMPP demopage with http://localhost/xampp/ now?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 09:18

Hi Wiedmann,

I can access XAMPP demopage with http://localhost/xampp/.......but can't access Bugzilla homepage through it...I have pasted Bugzilla files in C>XAMPP>htdocs.

Thanks and Regards,
Praveen Kr Gupta
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 09:21

I can access XAMPP demopage

OK.
- Stop Apache
- Use this command in a command shell:
Code: Select all
sc delete Apache2.2

- Now try again to start Apache with the control panel.

Can you access the demopage?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 09:31

Hi Wiedmann,

Thanks!!!!!!

Now Apache is working.......
But I am still stuck with the Bugzilla issue. I have pasted Bugzilla files in C>XAMPP>htdocs. Now, there is a file called 'checksetup.pl' amoung Bugzilla files and I need to run this file (This file checks the required Perl modules), which is a next step for the installation of Bugzilla.
When I am running this file, it opens in explorer and quickly closes and then asked to save. As per my understanding this file should open in command prompt and should check the required perl modules.

Thanks and Regards,
Praveen Kr Gupta
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 09:43

I have pasted Bugzilla files in C>XAMPP>htdocs. Now, there is a file called 'checksetup.pl'. As per my understanding this file should open in command prompt and should check the required perl modules.

Correct. In a command shell (cmd.exe):
Code: Select all
cd \xampp\htdocs
..\perl\bin\perl checksetup.pl


(BTW: This forum have not the name "Bugzilla support" ;-) )
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 10:02

Hi Wiedmann,

:mrgreen:
checksetup.pl exists in c:/xampp/htdocs/checksetup.pl
and i am ruuning same in cmd line.

moreover i was suggested by izzy as follows:

" You may need to edit the httpd.conf file in your text editor also.
Find this line at about line 477
AddHandler cgi-script .cgi

Edit the line so it looks like this:
AddHandler cgi-script .cgi .pl
Save the file and restart Apache.



Each Shebang (first line) of a .cgi and .pl Bugzilla script will look like this:
#!/usr/bin/perl
and so would need to be changed to reflect the Windows location of the XAMPP perl.exe location like this:
#!"C:\Program Files\Xampp\perl\bin\perl.exe"
and this, as you can imagine, would be a huge task as there are lots and lots of these .cgi and .pl scripts in Bugzilla.

However this can be overcome by doing another httpd.conf file edit and a small registry hack."




Please suggest me
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 10:16

Edit the line so it looks like this:
AddHandler cgi-script .cgi .pl
Save the file and restart Apache.

If you have installed the XAMPP Perl AddOn, and you can access http://localhost/cgi-bin/printenv.pl, this should allready be done for you.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 11:42

Hi Wiedmann,

On clicking http://localhost/cgi-bin/printenv.pl, an explorer window opens for a sec and closes.

Thanks and Regards,
Praveen Kr Gupta
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 11:57

On clicking http://localhost/cgi-bin/printenv.pl, an explorer window opens for a sec and closes.

Have you changed anything after installing the Perl AddOn?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: 'Win32 not found. Unable to get install path'

Postby praveengupta » 19. February 2009 12:20

I have changed nothing.................
praveengupta
 
Posts: 17
Joined: 10. February 2009 07:21

Re: 'Win32 not found. Unable to get install path'

Postby Wiedmann » 19. February 2009 13:57

Hm, that's really not normal. A click on this link should start your webbrowser and show you a page with some text (or an error message from Apache).
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

PreviousNext

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests