new server - few small issues -

abusaifedden

Member
Jun 8, 2004
16
0
151
I got a new server. I have very few problems that I need to fix before taking the server live:

1- When the server reboots, pure-ftp and imap don't run by themselves. I have to run them by myself. How would I do that?

2- when I do the command initquotas, I am getting this message:

!! No Filesystems are mounted with quota support !!

Under freebsd you must edit /etc/fstab and turn on quotas.
Note: make sure your kernel supports quotas before doing this.
After you have remounted your file systems with quota support,
re-run this script.

However, I have modifed /etc/fstab to the following, but still got the same problem:

/dev/ad0s1h /home ufs rw,userquota 2 2

3- in whm, when I click on service status, I don't see all the services. I see only cpu, memory and other system stuff, how can I make it to view everything (http, imap, eximstat, etc)

4- I have an account that uses the mail extensively. I need to move this account from a reseller server to my new dedicated server. What is the best way to stop mail from going to the old server during propogation? What I want to do is to force the mail to wait till the propogation is done without returning the messages back to the sender?
Note, that I have no control over the reseller server, can't stop mail server there.
If there is a better way to move the account instantly, then please help me with it.

Help and reply are greatly appreciated.
 

bijo

Well-Known Member
Aug 21, 2004
474
0
166
India
abusaifedden said:
I got a new server. I have very few problems that I need to fix before taking the server live:

1- When the server reboots, pure-ftp and imap don't run by themselves. I have to run them by myself. How would I do that?

2- when I do the command initquotas, I am getting this message:

!! No Filesystems are mounted with quota support !!

Under freebsd you must edit /etc/fstab and turn on quotas.
Note: make sure your kernel supports quotas before doing this.
After you have remounted your file systems with quota support,
re-run this script.

However, I have modifed /etc/fstab to the following, but still got the same problem:

/dev/ad0s1h /home ufs rw,userquota 2 2

3- in whm, when I click on service status, I don't see all the services. I see only cpu, memory and other system stuff, how can I make it to view everything (http, imap, eximstat, etc)

4- I have an account that uses the mail extensively. I need to move this account from a reseller server to my new dedicated server. What is the best way to stop mail from going to the old server during propogation? What I want to do is to force the mail to wait till the propogation is done without returning the messages back to the sender?
Note, that I have no control over the reseller server, can't stop mail server there.
If there is a better way to move the account instantly, then please help me with it.

Help and reply are greatly appreciated.

Hello,

Please check it

WHM >> Main >> Service Configuration >> Service Manager
You will get the answer for your first and third question.

Check the following links, it will help you to set the quota in freebsd.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html
http://www.freebsddiary.org/quotas.php

If you have the permission to and and edit dns zones on your existing server, Add one MX entry of that domain to the new server and set high priority to the MX record. And set the ttl value to a small value.

I hope it will help you to solve this issue ;)
 

abusaifedden

Member
Jun 8, 2004
16
0
151
thanks for your relpy.

two questions with regard to that:

1) how can I find the most recent update of KERNEL? I need to update my kernel to enable quota, but I don't want to update the wrong one.

2) I did what you suggested with regard to the services. I found them already enabled. Should I contact cpanel for that?

3) I have two hard drives in my server, how can I check and access the secondary one?

Thanks.
 

ntwaddel

Well-Known Member
Nov 3, 2003
173
0
166
Templeton, CA
abusaifedden said:
thanks for your relpy.

two questions with regard to that:

1) how can I find the most recent update of KERNEL? I need to update my kernel to enable quota, but I don't want to update the wrong one.

2) I did what you suggested with regard to the services. I found them already enabled. Should I contact cpanel for that?

3) I have two hard drives in my server, how can I check and access the secondary one?

Thanks.
its REALLY easy to recompile the freebsd kernel, give this a quick read over

Chapter 8 Configuring the FreeBSD Kernel

you just need to make sure you have the source installed and setup a kernel config file :)
 

abusaifedden

Member
Jun 8, 2004
16
0
151
Thanks for your reply.

I need to verify if I am updating the right KERNEL. Will the most recent KERNAL be GENERIC in my case?
This is the content of my kernel directory:

mng# pwd
/usr/src/sys/i386/conf
mng# ls -l
total 58
-rw-r--r-- 1 root wheel 9966 Apr 2 2005 GENERIC
-rw-r--r-- 1 root wheel 1982 Apr 1 2004 GENERIC.hints
-rw-r--r-- 1 root wheel 120 Feb 26 2003 Makefile
-rw-r--r-- 1 root wheel 33699 May 1 2005 NOTES
-rw-r--r-- 1 root wheel 469 Jul 13 2004 OLDCARD
-rw-r--r-- 1 root wheel 1754 Apr 30 2005 PAE
-rw-r--r-- 1 root wheel 322 Feb 6 2005 SMP
-rw-r--r-- 1 root wheel 3991 Jul 25 2002 gethints.awk


YOur reply is appreciated.