
|
View Full Version : whm and mail maybe dns (newbie question)
I just moved from webhosting to dedicated server, everything is up and running except quota and email.
I am using whm but the initial quota setup is not working, i clicked on enable qouta and i got this error messages
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
another thing is my email, I tried to send email to myself but i never get it, not even an error. So i checked it using outlook, I used my old email password (from old server), login success but i get no email. Then i check with my new password from the new server i cant login at all.
Can anyone help ? In the WHM edit dns zone, zone file for mail has nothing in it. What should I put in it ?
can anyone help ? anyone at all ?
Jedito 11-19-2001, 01:26 AM Well.. I'll try to help you out.
Try ssh to your server as root and delete all the aquota.user files
then try to run the initquota again.
That should fix the problem.
About your email problem. I think your domain was not propagated, because you're checking the email in the old VH account, looks like your domain is still pointing into the VH account.
ah at last someone replied,
but where is this aquota.user file located ? cause i cant find it in root directory.
Jedito 11-19-2001, 03:09 AM Should they be in
/boot/aquota.user
/home/aquota.user
/usr/aquota.user
/var/aquota.user
If you have other partition you'll have to find it too.
do this, type in your shell
locate aquota.user
tried it, but the file does not exist. Tried using locate but none.
bitserve 11-19-2001, 01:37 PM I don't know what OS you're using, but under Linux, you DO need to mount the filesystem with the quota option. Based on your error message, it seems like that is your problem.
If WHM has added the quota option to your /etc/fstab file for the filssytem that you want to use quota's on, you probably just need to reboot.
If it's not your root or usr file system then you can probably unmount it and remount it with the quota option without having to reboot.
this is what my fstab looks like
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda6 swap swap defaults 0 0
how do i know if the quota is on ? and how do i unmount and remount it ?
thanks in advance
HostingDirect 11-20-2001, 07:56 AM vegs,
For your email issue, in outlook try putting the sites IP address in place of the domain name in the incoming and outgoing SMTP section. You should at lease be able to connect to pop on the new server that way to see if mail has arrived. Also what happens when you go in and check it via neomail from the cpanel?
It is also important to understand where you are sending the mail from, if you send email from your old server to your new server and they are the same domain on each server email will never leave the local server because the server knows to look local first for that domain. Try sending it from a yahoo account or something.
You can also look in the /var/log/maillog to see what might be happening with your connection.
the email issue is solved, it's just dns not yet updated. Now i need to know how to fix this quota problem. where is whm located ?
WildWayz 11-20-2001, 08:22 AM sample of mine
/dev/hda8 / ext2 defaults,usrquota 1 1
/dev/hda1 /boot ext2 defaults,usrquota 1 2
/dev/hda9 /home ext2 defaults,usrquota 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/hda5 /usr ext2 defaults,usrquota 1 2
/dev/hda6 /var ext2 defaults,usrquota 1 2
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda7 swap swap defaults 0 0
/dev/hdc1 /backup ext2 defaults,usrquota 1 2
HostingDirect 11-20-2001, 08:26 AM If you are looking for the WHM files I believe they live in the /usr/local/cpanel/whostmgr/ directory. From the looks of you first post you have been in the WHM gui at http://YOUR-IP:2086.
still unable to fix the quota, how do i unmount and remount /home ?
bitserve 11-21-2001, 02:10 AM vegs, take a look at wildwayz fstab. See how quotas are mentioned in the fstab? Yours seems to be missing those options. You might want to contact WHM about why it doesn't add those for you automatically. But you obviously are probably using RedHat 7.2 or something that supports ext3, so your fstab file is going to look slightly different than wildwayz ext2.
But to do it manually, you'll need to edit this line:
LABEL=/home /home ext3 defaults 1 2
To read something like:
LABEL=/home /home ext3 defaults,usrquota 1 2
If WHM uses user quotas, or grpquota for group quotas.
After you edit the fstab file, to remount /home with the new option, you might just want to reboot to make it simple, or do a man on mount. But then, you could have done a man on quota too.
|