%DHCPD-3-WRITE_ERROR: DHCP could not write bindings to

Unanswered Question
Jan 8th, 2008

To try and simulate a customer similar problem I went to our lab Cisco 2851 and did the following:

config t

(config#)ip dhcp database flash://JOHN/database


I get nmessages like these every one minute:

%DHCPD-3-WRITE_ERROR: DHCP could not write bindings to //JOHN/database.

Customer is seeing same problem on his router.

When I do dir all-filesystems after above config commands I don't see the file JOHN.

Then I did

config t

(config#)ip dhcp database flash://JOHN

(config#)ip dhcp database flash://JOHN/database


Now I do a dir all-filesystem and I can see JOHN, but I syill get the error message every one minute:

%DHCPD-3-WRITE_ERROR: DHCP could not write bindings to flash://JOHN/database

What am I missing?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
astanislaus Tue, 01/08/2008 - 21:15

I had this link before and I understand what the error means, but I want to know why my configuration is giving this error message.

ankbhasi Tue, 01/08/2008 - 21:25

Hi Astan,

I remember there was also a bug for the same. Please update me the IOS you are running on the box so that I can confirm the same.



ankbhasi Tue, 01/08/2008 - 21:12

Hi Friend,

Can you please confirm me the product model and the ios version you are running where you are getting this error message? ALso can you check the flash size i.e how much is available space in your flash device?

Have you tried squeeze on your flash?



astanislaus Tue, 01/08/2008 - 21:42

Platform is 2811 and version is 12.3(11)T. Is there any known S/W defect. We do not believe it is a flash space problem.

ankbhasi Tue, 01/08/2008 - 22:09

Hi Astan,

I was looking at the command ref guide and it suggest to use the URL instead of the name so can you try the syntax like this

ip dhcp database url [timeout seconds | write-delay seconds]


in URL you can provide FTP string where the FTP string is


That is how you can secure the access to the FTP server in it.


The following example specifies the DHCP database transfer timeout value at 80 seconds:

ip dhcp database ftp://user:password@ timeout 80

Try this and update me if it helps.



Kieran McDonnell Wed, 02/18/2015 - 04:08

I had a similar issue.

I have an FTP username/password configured for backing up configs already working, if I used the command without a username/password  the database backsup OK.

The commands I used in the end were:

ip ftp username [username]
ip ftp password [password]

ip dhcp database ftp://[server]/[filename] timeout 80

This also allows the router to encrypt the password with Cisco type 7 (I know it's not much, but stops plaintext password at least).


Hopefully this may help someone else.


This Discussion