perl_parse: No such file or directory

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

perl_parse: No such file or directory

Postby kp555 » 09. March 2010 15:53

Help please, I have been trying to solve this for 9 days now and nothing works!

I have XP SP2, with xampp version 1.7.3 installed as Administrator on C:\ , my problem is that I cannot start my Apache server and therefore my firefox cannot open http://localhost/ or http://127.0.0.1/ and the control panel gives me the following:

Image
If I click on Start multiple times, it will run for a second then stops by itself

I did a port scan and nothing is on port 80:
Image

I did a netstat to make sure:
Code: Select all
C:\>netstat -aon | find ":80"
  TCP    190.250.15.70:4290     195.239.86.93:80       ESTABLISHED     2600
  TCP    190.250.15.70:4425     74.125.209.48:80       ESTABLISHED     2600
  TCP    190.250.15.70:4615     128.121.146.228:80     ESTABLISHED     2600
  TCP    190.250.15.70:4762     208.59.255.144:80      FIN_WAIT_1      2600
  TCP    190.250.15.70:4764     208.59.255.144:80      FIN_WAIT_1      2600
  TCP    190.250.15.70:4783     72.247.247.145:80      ESTABLISHED     2600
  TCP    190.250.15.70:4788     72.247.247.145:80      ESTABLISHED     2600
  TCP    190.250.15.70:4797     72.247.247.145:80      ESTABLISHED     2600
  TCP    190.250.15.70:4807     63.110.246.40:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4809     69.63.178.121:80       ESTABLISHED     2600
  TCP    190.250.15.70:4812     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4813     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4816     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4817     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4834     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4835     174.120.153.6:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4837     69.63.189.39:80        ESTABLISHED     2600
  TCP    190.250.15.70:4839     120.136.34.234:80      FIN_WAIT_1      2600
  TCP    190.250.15.70:4841     64.62.207.88:80        FIN_WAIT_1      2600
  TCP    190.250.15.70:4850     63.110.246.40:80       FIN_WAIT_1      2600
  TCP    190.250.15.70:4854     69.64.248.20:80        CLOSE_WAIT      2600
  TCP    190.250.15.70:4856     72.21.91.19:80         ESTABLISHED     2600
  TCP    190.250.15.70:4874     69.63.178.121:80       TIME_WAIT       0
  TCP    190.250.15.70:4882     216.137.41.8:80        ESTABLISHED     2600
  TCP    190.250.15.70:4886     68.142.200.218:80      ESTABLISHED     2600
  TCP    190.250.15.70:4889     69.63.178.121:80       TIME_WAIT       0
  TCP    190.250.15.70:4895     78.46.87.53:80         ESTABLISHED     2600
  TCP    190.250.15.70:4898     78.46.87.53:80         ESTABLISHED     2600
  TCP    190.250.15.70:4899     78.46.87.53:80         ESTABLISHED     2600
  TCP    190.250.15.70:4901     78.46.87.53:80         ESTABLISHED     2600
  TCP    190.250.15.70:4905     168.143.162.100:80     ESTABLISHED     2600
  TCP    190.250.15.70:4907     69.63.178.121:80       ESTABLISHED     2600
  TCP    190.250.15.70:4909     69.63.186.11:80        ESTABLISHED     2600

What I do know is that 190.250.15.70 is my address my PC uses to connect to our local router. I am not sure of the next column.

On my error log, the constant error is:
Code: Select all
Can't open nul: No such file or directory
perl_parse: No such file or directory


I searched for any similar issues on the forum or google but I cant find any (google only returns results related programming Perl or debuging Perl on C language)

I found some threads that may be related but none of the solutions worked.

I did the following workarounds:
1. Went to my windows firewall, I deleted and re-added the exceptions for Apache and Mysql. Failed.
2. Checked on Services, no Apache installed. I tried installing it using the control panel. Apache failed to start. Tried to install using apache_installservice.bat. Apache failed to start also. The message on the error log is still: Can't open nul: No such file or directory
perl_parse: No such file or directory

3. I tried apache_start.bat. Failed
4. I truned off my Avast Antivirus. Failed.
5. I tried to run httpd.exe directly from C:\xampp\apache\bin. Failed
6. I started tweaking httpd.conf and played around wit the "Listen" command (Listen 127.0.0.1:80 or Listen 8080 or deleted this line). Failed

All these has the same error on error.log:
Code: Select all
Can't open nul: No such file or directory
perl_parse: No such file or directory


I dont have IIS installed on my PC, I had skype removed months ago, and I dont have any other PC to install and check.

Does anyone who had any experience on this error? Or at least a solution that I can try? I am out of options and I really, really, really want to use this Apache server for my project.

Please? :|
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby kp555 » 10. March 2010 04:59

Anyone please? I don't know if this is a simple problem or not. But can anyone give me any hint or clues on how to solve this?
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby Altrea » 10. March 2010 06:19

Have you ever tryied to reinstall XAMPP?
I have no idea what the problem of your installation is.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: perl_parse: No such file or directory

Postby kp555 » 10. March 2010 09:06

Yes I did.

I have even installed Xammp lite but apache still cannot run. So I went back to the full version of Xampp for the 4th time (unsintall and reinstall four times). I used the executable installer for both.

So this error message points to nothing specific then?
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby Altrea » 10. March 2010 09:48

Let's recapitulate.
You have a brand new XAMPP 1.7.3 installed in your root directory on hard disc C:.
XAMPP is configurated not to run as servive on your Win XP SP2 machine.
Your needed Ports are free and assuming neither your Firewall nor your user permissions blocks anything to start Apache.

Have you changed or overwritten any files of your XAMPP installation?
Was or is (Active-)Perl installed separately on this machine?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: perl_parse: No such file or directory

Postby addACUMEN » 10. March 2010 15:22

My post 'Authentication required' is reporting similar problems.

In my case the error reports cannot find a directory which does not exist and the favicon is not present where expected.

I have examined my /xampp folder and subfolders and there is no perl_parse directory or file to be found.

Is something happening during the installation process to create these problems?
Thank you for your help

Tony D
addACUMEN
 
Posts: 15
Joined: 02. March 2007 22:26
Location: Wengen, Switzerland

Re: perl_parse: No such file or directory

Postby kp555 » 10. March 2010 17:43

Altrea wrote:Let's recapitulate.
You have a brand new XAMPP 1.7.3 installed in your root directory on hard disc C:.
XAMPP is configurated not to run as servive on your Win XP SP2 machine.
Your needed Ports are free and assuming neither your Firewall nor your user permissions blocks anything to start Apache.

Have you changed or overwritten any files of your XAMPP installation?
Was or is (Active-)Perl installed separately on this machine?


- No I have not changed or overwritten any files on the xampp installation, except for changing the value on 'Listen' command on httpd.conf file. And returning it back to its default which is "Listen 80"

- I dont have any Perl installed on my machine.(Unless if this is a Windows component, i dont know.)
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby MC10 » 11. March 2010 06:14

Actually, Perl comes installed with XAMPP 1.7.3.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: perl_parse: No such file or directory

Postby kp555 » 12. March 2010 07:32

MC10 wrote:Actually, Perl comes installed with XAMPP 1.7.3.


Ok. I'm gonna re-download my xampp and see what happens
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby kp555 » 13. March 2010 19:56

I downloaded the zip file. Deleted the old xampp and replaced with the newone on C:\

As instructed, i did not ran setup_xampp.bat.

Went to xampp's control panel and attempted to start apache: it failed to start! I thought of installing the service and run from Windows Services panel, I tried start it from there but it failed too. I went to the event viewer and went to this error, and gave me this error message when I attempted to start Apache 2.2 from Windows Services:

Code: Select all
The Apache2.2 service terminated with service-specific error 1 (0x1).


I am having a hard time. I maybe looking this at the wrong way. Can anyone help me? :|
kp555
 
Posts: 11
Joined: 02. March 2010 16:59

Re: perl_parse: No such file or directory

Postby kampe.com » 24. July 2010 23:07

Dear kp555,

This did take me some time to figure out, so I thought I'd share my conclusions.

If you are running Windows XP, it is likely that you are having a faulty or missing C:\Windows\System32\Drivers\null.sys file.

The nul device is used by the setup scripts. If the nul device is not present, trying to access it from a command script will give you a "file not found" error. This will cause the Xampp installation scripts to fail, and when trying to run Apache from the Xampp control window, it will produce the results you describe above.

You can test if your system has a faulty null.sys by creating a batch file with the name C:\test.bat with the following contents:

more test.bat > nul


This batch file will attempt to direct the contents of the file to the nul device. Start a command prompt (Start->cmd). Type in test.bat to run the batch file. If your nul device is working, the output should look like this:

C:\more test.bat 1>nul


If your output does not look like this, it means that your nul device is not working.

The is most likely due to one of two reasons:

a) your null.sys file has become corrupt or infected by a virus or malware - it is a common infection vector, or

b) you are running Windows XP FLP, in which there is no nul device per default.

So there are two cases to handle:

Case a)
1. Scan your computer with anti-malware, anti-virus, anti-rootkit software to make sure it is clean.

2. Copy a fresh null.sys from a healthy Windows XP installation or disk into the drivers directory. The size might differ, but it should be a small file of around 2-4 kilobytes.

3. Reboot, and check that the new null.sys file has not been replaced by the Windows System File Checker.

4. Try running the batch file again, and hope that it produces the correct result.

Case b)
Use your favourite search engine with keywords "null device windows xp flp" for instructions on how to enable the nul device on your Windows XP FLP.

Then, for both cases, delete the entire xampp directory, and do a complete reinstall.

Voilà, c'est tout!
kampe.com
 
Posts: 2
Joined: 24. July 2010 22:32

Re: perl_parse: No such file or directory

Postby syntia19 » 19. September 2011 08:25

Thank you very much, your solution and advice worked and helped me!!!
syntia19
 
Posts: 1
Joined: 19. September 2011 08:23
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 101 guests