Page 2 of 3

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

PostPosted: 18. February 2009 13:22
by Wiedmann
Apache status is NOT RUNNING and shows error message 'Apache server not started -1'.

Use "apache_start.bat" to read an error message.

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

PostPosted: 19. February 2009 06:26
by praveengupta
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.

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

PostPosted: 19. February 2009 08:29
by Wiedmann
a message that 'Apache 2 is starting'. ... but it is not succesfully running.

You mean, you can't see Apache in taskmanager now?

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

PostPosted: 19. February 2009 09:09
by praveengupta
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

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

PostPosted: 19. February 2009 09:13
by Wiedmann
I can see Apache running in Task Manager

OK, and you can't the access the XAMPP demopage with http://localhost/xampp/ now?

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

PostPosted: 19. February 2009 09:18
by praveengupta
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

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

PostPosted: 19. February 2009 09:21
by Wiedmann
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?

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

PostPosted: 19. February 2009 09:31
by praveengupta
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

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

PostPosted: 19. February 2009 09:43
by Wiedmann
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" ;-) )

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

PostPosted: 19. February 2009 10:02
by praveengupta
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

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

PostPosted: 19. February 2009 10:16
by Wiedmann
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.

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

PostPosted: 19. February 2009 11:42
by praveengupta
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

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

PostPosted: 19. February 2009 11:57
by Wiedmann
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?

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

PostPosted: 19. February 2009 12:20
by praveengupta
I have changed nothing.................

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

PostPosted: 19. February 2009 13:57
by Wiedmann
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).