Some weird problems after crasg

Peter

Verified User
Joined
Jan 15, 2004
Messages
94
Hello,
I've got some weird problems which should actually be resolved very quickly because it's a live server;

So, the server crashed mondaymorning, i went to the datacentre and checked; harddisk broken, so i tried to tar some files for backup and ftp'd them to my notebook.

Reinstalled the server with Fedora and installed Directadmin, placed back the tar.gz files.

Now the weird thing is that;

1. When I restore the backup, the domain isn't filled in, when i try to add it; "The Domain already exists", while I'm sure that it doesn't. Problem is that outgoing mail doesn't work when domain isn't filled in and i see some stupid apache has been succesfully installed page.

2. Unable to change passwords in DA with message; "Error changing password".

3. I can't even add my own nameservers since they can't be coupled to my domainname, just to 10 others...

Can someone help me because it actually is a bit urgent.

Thank you.
 
Last edited:
Have you gotten this resolved yet, Peter?

Did you do a backup, or guess by yourself what to tar up?

Usually when you can't add a domain but you get the message "The Domain already exists" there's an entry for it in DNS.

"Error changing password" could be a missing file or a file in the wrong place.

I'm not sure what you mean by coupling nameservers; I've posted many times how to use nameservers without them being part of any domains.

My guess is you've got files with wrong ownership or wrong permission, or in the wrong places, or just plain missing.

You may have to start again, create all accounts manually, and just ftp the content in.

Jeff
 
Ok, so all accounts are working, the only problem i have is mail (looks like it isn't working yet, atleast some accounts), and the passwords which can't be changed, very weird.

Do you have any idea what this can be and what i can try...
 
I'd suggest backing up all the email accounts, then deleting them and rebuilding them. Then copy back in the information this way:

cat /path/to/backup/filename > /path/to/new/filename

Jeff
 
I need the /usr/bin/shadow for Fedora 2, anyone has that file for me?
 
The mail is working just sometimes, not all mail is coming in, you know how that comes?
 
Ok, so it's the catch all which doesn't work, anyone knows how i can solve that?

It denies just "username" but accepts "[email protected]"

Weird weird weird.
 
I'm not sure what you mean.

Where is just "username" denied?

And how?

username would refer to every email name on the server; DA email names are really [email protected]; they're made up of the local part, the @ sign and the domain name.

Jeff
 
First two problems are solved, only the mail...

First problem is outgoing mail, with the sendmail -t command i get;

"error on line 658 of /etc/exim.conf, user majordomo is not found"

And with the catch all, on my previous install i could set a username instead of a whole mailadress, this is kinda strange...
 
My users also can't change there passwords. The error log says:

005:01:08-14:34:55: The username hasn't been set. Won't run the script without dropping privileges

How did you fix this? Thansk in advance
 
Didn't fix it at all, yet. Maybe this works for you;

/usr/sbin/useradd -d /etc/virtual/majordomo -g 2 majordomo -n -r

And see what happens. You shoud be able to type:

id majordomo

and it should show you the ID.

That's what the DA techs said, but it didn't work for me.
 
Back
Top