Well, this is a nit-pick. Perhaps you should repair first, THEN compact. But if that is what you are doing already, then I read more into your words than was there.
If the DB1 file is being created correctly, the next question is whether this DB is on a local or shared drive. If it is shared, then you lack some particular permission that you need to do the file rename. Usually that means the ability to write to the directory, but at least in theory it could be something else, too. Particularly since you created the DB1 file.
If it is local, I haven't got a clue without an error message to give me a lead on what is failing.
Is the DB shared?
Is the DB on a disk that is nearly full?
How big a DB are we talking here?
Have you tried setting up the compact operation and letting the program just RUN for a while? Like, overnight maybe? I have a DB that likes to stop for a long time during some compacting ops. After a while it picks up again.
How long have you had to wait before giving up? If that number is fairly short, maybe you are just being impatient.