"httpd.exe - no disk"

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

"httpd.exe - no disk"

Postby mmistake » 24. February 2012 20:27

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.
mmistake
 
Posts: 1
Joined: 24. February 2012 20:02
XAMPP Version: 1.8.3-2
Operating System: windows 7

Re: "httpd.exe - no disk"

Postby hackattack142 » 24. February 2012 23:30

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?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 702
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: "httpd.exe - no disk"

Postby markbeckens » 15. November 2012 06:19

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.
markbeckens
 
Posts: 2
Joined: 15. November 2012 06:16
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: "httpd.exe - no disk"

Postby markbeckens » 15. November 2012 06:31

OK, I ran the setup file and I no longer get that error, but now I can't keep Apache running. MySql does though.
markbeckens
 
Posts: 2
Joined: 15. November 2012 06:16
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: "httpd.exe - no disk"

Postby JonB » 20. November 2012 00:09

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.

:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: "httpd.exe - no disk"

Postby Phoenix830 » 12. July 2014 19:55

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. :?:
Phoenix830
 
Posts: 1
Joined: 12. July 2014 19:43
XAMPP Version: 5.5.19
Operating System: Vista

Re: "httpd.exe - no disk"

Postby Altrea » 15. July 2014 06:24

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.
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: 6534
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests