Hello,
Lets actually check the Unix shell for the directories. Also the reason you can't create the directory is because you are not logged in as root. (my bad!) . In your output yes you have the db directory but you may not have the config directory under db. When you tried to create it you did not get a message stating that it already exists instead you could not create because you are not logged in a root.
>start shell user root
password: (You created as the root when configuring switch, not your user (admin) password unless the same)
root@1C:RE:0% cd /config
root@1C:RE:0% ls
.snap juniper.conf.gz ssh_host_key.pub
db juniper.conf.md5 ssh_host_rsa_key
juniper.conf.1.gz ssh_host_dsa_key ssh_host_rsa_key.pub
juniper.conf.2.gz ssh_host_dsa_key.pub usage.db
juniper.conf.3.gz ssh_host_key vchassis
**** You should see the directory db ****
root@1C:RE:0% cd db
root@1C:RE:0% ls
commits config dcd.snmp_ix scripts snmp_engine.db
**** You should see the directory config ****
root@1C:RE:0% cd config
root@1C:RE:0% ls
juniper.conf.10.gz juniper.conf.18.gz juniper.conf.26.gz
juniper.conf.11.gz juniper.conf.19.gz juniper.conf.4.gz
juniper.conf.12.gz juniper.conf.20.gz juniper.conf.5.gz
juniper.conf.13.gz juniper.conf.21.gz juniper.conf.6.gz
juniper.conf.14.gz juniper.conf.22.gz juniper.conf.7.gz
juniper.conf.15.gz juniper.conf.23.gz juniper.conf.8.gz
juniper.conf.16.gz juniper.conf.24.gz juniper.conf.9.gz
juniper.conf.17.gz juniper.conf.25.gz
**** You should see your juniper configurations of all commits previously done ****
Now if you are missing any of these files fallow the previous solution to create the directories logged in as root.
Thanks,
MA