Page 1 of 1

"httpd.exe - no disk"

PostPosted: 24. February 2012 20:27
by mmistake
Hi - I have recently installed xampplite on a flash drive, to transport between work and home, and everything was running fine for about 3 days now until this morning when I now get this message. Is there anyway I can salvage from this or am I tanked?

I now receive a "httpd.exe - no disk" error:

"There is no disk in the drive. Please insert a disk into drive \Device\Harddisk5\DR5"

Can anyone explain this to me and let me know how to proceed?

Thanks a lot if you can.

Re: "httpd.exe - no disk"

PostPosted: 24. February 2012 23:30
by hackattack142
Are you having problems accessing your USB device or does this happen when you try to start Apache via the control panel?

You did not run the setup_xampp.bat did you?

Re: "httpd.exe - no disk"

PostPosted: 15. November 2012 06:19
by markbeckens
I get the same error. It happens when I try to start Apache and MySql. I don't have this problem when I use it at school. Only my home computer.

Re: "httpd.exe - no disk"

PostPosted: 15. November 2012 06:31
by markbeckens
OK, I ran the setup file and I no longer get that error, but now I can't keep Apache running. MySql does though.

Re: "httpd.exe - no disk"

PostPosted: 20. November 2012 00:09
by JonB
Are you trying to run Apache as a service?

Windows services do not like 'removable media'. :shock:

Did you copy on the Control Panel (it works on all Windows versions and improves diagnostics)

What is in the Apache error log ?

Take a look at this topic and the Windows error messages -
viewtopic.php?p=199419

Your USB drive may be powering down.

:)

Re: "httpd.exe - no disk"

PostPosted: 12. July 2014 19:55
by Phoenix830
Hi - I have recently installed xampplite on a flash drive, to transport between work and home, and everything was running fine for about 3 days now until this morning when I now get this message. Is there anyway I can salvage from this or am I tanked?

I now receive a "httpd.exe - no disk" error:

"There is no disk in the drive. Please insert a disk into drive \Device\Harddisk5\DR5"

Can anyone explain this to me and let me know how to proceed?

Thanks a lot if you can.


I know this is a old thread but I had a similar problem (mine was Harddisk3\DR3) but I have found a fix (I think) .

Looking at the error log I found that when it run on my laptop there was a reference to "'i:\\xampp\\apache\\bin\\httpd.exe". But on my PC it would not load.

When I looked at My Computer the usb was set as a different letter, and there was a empty drive assigned to letter i (this was a memory card adapter). after changing the drive letters around so that my xampp usb drive was set to drive i it started up without any problems.

Although this solved this for me this time I wonder if there is anyway to change the required drive letter. I don't want this error on a pc where I can not change the drive letters. :?:

Re: "httpd.exe - no disk"

PostPosted: 15. July 2014 06:24
by Altrea
Phoenix830 wrote:I wonder if there is anyway to change the required drive letter. I don't want this error on a pc where I can not change the drive letters. :?:

So you don't have used the portable version of xampp?

You could do a small change in your setup_xampp.bat file
  • open your \xampp\setup_xampp.bat file in your editor
  • search for the following line
    Code: Select all
    %PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP%
  • change it to
    Code: Select all
    %PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP% usb
  • save the file

If you then execute the file all important paths should be corrected with paths without drive letters.