hostpc.com
Verified User
Ok, here's an interesting one for the tech heads. I've been beating myself up for 2hrs on this and cant crack the nut.
(cent os5.2)
Follow me on this one:
cat /etc/virtual/domains - and get a list of all domains on the system, right?
login to DA - show all users - and their domains, right?
cat /usr/local/directadmin/data/users/*/domains.list - and see all of their domains, right?
cat /usr/local/directadmin/data/users/*/httpd.conf |grep ServerName - and see all their domains, right?
wrong.
A customer is experiencing a wholesale loss of domains from /etc/virtual/domains - they're just not there, but they do exist in every other location on the server. Customer hasn't edited the file - they can't. File isn't immotable (cant be anyway). They're just not showing up.
Anyone ever seen this before? I've dissected the DA scripts - I can't find anything that would regenerate the domains list.
I could do it manually with a few waves of my perl / grep scripts and a friends carefully crafted "for i" scripts, but I really want to know how they SHOULD be replaced, what implications there are of the domains missing from there, and most importantly, why they're not showing in the first place.
Now, to qualify - customer has no root access to this server. It hasn't been compromised, it's a new install (less than 6 weeks), all versions are up to date and nobody has touched it other than myself (and I sure as hell didn't modify one file just to test myself)
Any ideas?
(cent os5.2)
Follow me on this one:
cat /etc/virtual/domains - and get a list of all domains on the system, right?
login to DA - show all users - and their domains, right?
cat /usr/local/directadmin/data/users/*/domains.list - and see all of their domains, right?
cat /usr/local/directadmin/data/users/*/httpd.conf |grep ServerName - and see all their domains, right?
wrong.
A customer is experiencing a wholesale loss of domains from /etc/virtual/domains - they're just not there, but they do exist in every other location on the server. Customer hasn't edited the file - they can't. File isn't immotable (cant be anyway). They're just not showing up.
Anyone ever seen this before? I've dissected the DA scripts - I can't find anything that would regenerate the domains list.
I could do it manually with a few waves of my perl / grep scripts and a friends carefully crafted "for i" scripts, but I really want to know how they SHOULD be replaced, what implications there are of the domains missing from there, and most importantly, why they're not showing in the first place.
Now, to qualify - customer has no root access to this server. It hasn't been compromised, it's a new install (less than 6 weeks), all versions are up to date and nobody has touched it other than myself (and I sure as hell didn't modify one file just to test myself)
Any ideas?