An error occured during SiteWorx account activation, check the iworx.log file ......

Hi,
I am on a fresh install of Interworx VPS on Clean CentOS 4.3 Image.
I have tried to set a domain name after creating a reseller, under reseller and after i commit to create a domain, it shows this line in pink color “An error occured during SiteWorx account activation, check the iworx.log file for more details”
I saw the iworx.log file and I am pasting the available output here(10000 Chars available in the post.) :

Mar 09 20:47:28 ip.php [info] script begin
Mar 09 20:47:28 ip.php [debug] ip.php --list
Mar 09 20:47:29 httpd.php [info] script begin
Mar 09 20:47:29 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:47:29 httpd.php [info] script end
Mar 09 20:47:29 ip.php [info] script end
Mar 09 20:47:40 ip.php [info] script begin
Mar 09 20:47:40 ip.php [debug] ip.php --is-ip-active=<<<My IP number–replaced–>
Mar 09 20:47:40 ip.php [info] script end
Mar 09 20:47:41 httpd.php [info] script begin
Mar 09 20:47:41 httpd.php [debug] httpd.php --sync-vhosts
Mar 09 20:47:41 httpd.php [debug] barfing: /etc/httpd/conf.d/namevirtualhost.conf
Mar 09 20:47:41 httpd.php [info] script end
Mar 09 20:47:42 ip.php [info] script begin
Mar 09 20:47:42 ip.php [debug] ip.php --list
Mar 09 20:47:42 httpd.php [info] script begin
Mar 09 20:47:42 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:47:43 httpd.php [info] script end
Mar 09 20:47:43 ip.php [info] script end
Mar 09 20:47:46 ip.php [info] script begin
Mar 09 20:47:46 ip.php [debug] ip.php --list
Mar 09 20:47:46 httpd.php [info] script begin
Mar 09 20:47:46 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:47:47 httpd.php [info] script end
Mar 09 20:47:47 ip.php [info] script end
Mar 09 20:47:57 ip.php [info] script begin
Mar 09 20:47:57 ip.php [debug] ip.php --is-ip-active=<<<My IP number–replaced–>
Mar 09 20:47:57 ip.php [info] script end
Mar 09 20:47:58 ip.php [info] script begin
Mar 09 20:47:58 ip.php [debug] ip.php --info
Mar 09 20:47:58 ip.php [warning] : option --info requires an argument
Mar 09 20:47:58 ip.php [info] script begin
Mar 09 20:47:58 ip.php [debug] ip.php --is-ip-active=<<<My IP number–replaced–>
Mar 09 20:47:58 ip.php [info] script end
Mar 09 20:47:59 httpd.php [info] script begin
Mar 09 20:47:59 httpd.php [debug] httpd.php --sync-vhosts
Mar 09 20:47:59 httpd.php [debug] barfing: /etc/httpd/conf.d/namevirtualhost.conf
Mar 09 20:47:59 httpd.php [info] script end
Mar 09 20:48:00 ip.php [info] script begin
Mar 09 20:48:00 ip.php [debug] ip.php --list
Mar 09 20:48:01 httpd.php [info] script begin
Mar 09 20:48:01 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:48:01 httpd.php [info] script end
Mar 09 20:48:01 ip.php [info] script end
Mar 09 20:48:04 ip.php [info] script begin
Mar 09 20:48:04 ip.php [debug] ip.php --list
Mar 09 20:48:04 httpd.php [info] script begin
Mar 09 20:48:04 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:48:05 httpd.php [info] script end
Mar 09 20:48:05 ip.php [info] script end
Mar 09 20:48:19 ip.php [info] script begin
Mar 09 20:48:19 ip.php [debug] ip.php --list
Mar 09 20:48:19 httpd.php [info] script begin
Mar 09 20:48:19 httpd.php [debug] httpd.php --dump-vhosts
Mar 09 20:48:20 httpd.php [info] script end
Mar 09 20:48:20 ip.php [info] script end
Mar 09 20:49:08 ip.php [info] script begin
Mar 09 20:49:08 ip.php [debug] ip.php --get-main-net-device
Mar 09 20:49:08 ip.php [info] script end
Mar 09 20:49:56 iworx [info] siteworx: activating package: <<<My domain name–replaced–>
Mar 09 20:49:56 package.activate.php [info] script begin
Mar 09 20:49:56 package.activate.php [debug] package.activate.php --headless --domlist <<<My domain name–replaced–>
Mar 09 20:49:56 package.activate.php [debug] activating: <<<My user name–replaced–>
Mar 09 20:49:56 package.activate.php [info] adding user: <<<My user name–replaced–> with homedir /home/<<<My user name–replaced–>
Mar 09 20:49:57 package.activate.php [debug] barfing: /home/<<<My user name–replaced–>/.qmail
Mar 09 20:49:57 package.activate.php [info] setting permissions on: /home/<<<My user name–replaced–>
Mar 09 20:49:57 package.activate.php [info] setting quotas for: <<<My user name–replaced–> to 999999999 MB
Mar 09 20:49:57 package.activate.php [info] /usr/sbin/setquota -g <<<My user name–replaced–> 0 0 0 0 /
Mar 09 20:49:57 package.activate.php [error] error changing quotas: <<<My user name–replaced–>
Mar 09 20:49:57 package.activate.php [error] activating package: <<<My user name–replaced–>: failed
Mar 09 20:49:57 package.activate.php [info] script end
Mar 09 20:49:57 iworx [info] siteworx: deactivating package: <<<My domain name–replaced–>
Mar 09 20:49:58 package.deactivate.php [info] script begin
Mar 09 20:49:58 package.deactivate.php [debug] package.deactivate.php --domlist <<<My domain name–replaced–> --headless --uniqname root
Mar 09 20:49:58 domain.deactivate.php [info] script begin
Mar 09 20:49:58 domain.deactivate.php [info] domain.deactivate.php --force --domlist <<<My domain name–replaced–>
Mar 09 20:49:59 domain.deactivate.php [debug] deactivating [master]domain: <<<My domain name–replaced–>
Mar 09 20:49:59 crontab.php [info] script begin
Mar 09 20:49:59 crontab.php [debug] crontab.php --list --user=iworx
Mar 09 20:49:59 crontab.php [info] script end
Mar 09 20:49:59 domain.deactivate.php [info] considering the removal of service: core : Core
Mar 09 20:49:59 domain.deactivate.php [info] service: core : Core not installed on <<<My domain name–replaced–>
Mar 09 20:49:59 domain.deactivate.php [info] considering the removal of service: db : MySQL
Mar 09 20:49:59 domain.deactivate.php [info] removing service: db : MySQL
Mar 09 20:49:59 domain.deactivate.php [info] service uninstall success: db/MySQL:
Mar 09 20:49:59 domain.deactivate.php [info] considering the removal of service: dns : MySQLDNS
Mar 09 20:49:59 domain.deactivate.php [info] removing service: dns : MySQLDNS
Mar 09 20:49:59 domain.deactivate.php [info] service uninstall success: dns/MySQLDNS:
Mar 09 20:49:59 domain.deactivate.php [info] considering the removal of service: ftp : ProFTP
Mar 09 20:49:59 domain.deactivate.php [info] service: ftp : ProFTP not installed on <<<My domain name–replaced–>
Mar 09 20:49:59 domain.deactivate.php [info] considering the removal of service: http : Apache
Mar 09 20:49:59 domain.deactivate.php [info] service: http : Apache not installed on <<<My domain name–replaced–>
Mar 09 20:50:00 domain.deactivate.php [info] considering the removal of service: imail : Vpopmail
Mar 09 20:50:00 domain.deactivate.php [info] service: imail : Vpopmail not installed on <<<My domain name–replaced–>
Mar 09 20:50:00 domain.deactivate.php [info] considering the removal of service: omail : Qmail
Mar 09 20:50:00 domain.deactivate.php [info] removing service: omail : Qmail
Mar 09 20:50:00 domain.deactivate.php [info] service uninstall success: omail/Qmail:
Mar 09 20:50:00 domain.deactivate.php [info] script end
Mar 09 20:50:00 package.deactivate.php [info] domain deactivation: <<<My domain name–replaced–>: succeeded
Mar 09 20:50:00 package.deactivate.php [info] deleting user: <<<My user name–replaced–>
Mar 09 20:50:00 package.deactivate.php [info] siteworx: deleting domain <<<My domain name–replaced–>
Mar 09 20:50:00 package.deactivate.php [info] siteworx: deleting user <<<My user name–replaced–>
Mar 09 20:50:00 package.deactivate.php [info] package deactivation: <<<My domain name–replaced–>: succeeded
Mar 09 20:50:00 package.deactivate.php [info] script end
Mar 09 20:50:00 iworx [debug] siteworx activation failed: <<<My domain name–replaced–>
Mar 09 20:51:01 iworx.php [info] script begin
Mar 09 20:51:01 iworx.php [debug] iworx.php --fively
Mar 09 20:51:01 iworx.php [info] iworx fively begin
Mar 09 20:51:02 rrd.php [info] script begin
Mar 09 20:51:02 rrd.php [debug] rrd.php --update --services all
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: http
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: network
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: ftp
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: mysql
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: cpu
Mar 09 20:51:02 rrd.php [info] RRD UPDATING: ping
Mar 09 20:51:03 rrd.php [info] RRD UPDATING: loadavg
Mar 09 20:51:03 rrd.php [info] RRD UPDATING: mta
Mar 09 20:51:03 qmail-queue.php [info] script begin
Mar 09 20:51:04 qmail-queue.php [info] script end
Mar 09 20:51:04 rrd.php [info] RRD UPDATING: shell
Mar 09 20:51:04 rrd.php [info] RRD UPDATING: procs
Mar 09 20:51:04 rrd.php [info] RRD UPDATING: memory
Mar 09 20:51:05 rrd.php [info] script end
Mar 09 20:51:05 dns.php [info] script begin
Mar 09 20:51:05 dns.php [debug] dns.php --sync --export --cdb
Mar 09 20:51:05 dns.php [info] no dns records to export (forwards)
Mar 09 20:51:05 dns.php [info] no dns records (reverse) exported successfully
Mar 09 20:51:05 dns.php [info] building dns file from 1 files
Mar 09 20:51:05 dns.php [debug] adding /home/interworx/var/lib/dns/data-local to published DNS
Mar 09 20:51:05 dns.php [info] killing old dns cdb file: data.cdb
Mar 09 20:51:05 dns.php [info] generating new dns cdb file: data.cdb
Mar 09 20:51:06 dns.php [info] installing new dns cdb file: data.cdb to: /var/djbdns/tinydns/root
Mar 09 20:51:06 dns.php [info] script end
Mar 09 20:51:06 clearpasswordreset.php [info] script begin
Mar 09 20:51:06 clearpasswordreset.php [debug] clearpasswordreset.php
Mar 09 20:51:06 clearpasswordreset.php [info] script end
Mar 09 20:51:06 iworx.php [info] iworx fively end
Mar 09 20:51:06 iworx.php [info] script end
Mar 09 20:53:02 iworx.php [info] script begin
Mar 09 20:53:02 iworx.php [debug] iworx.php --fifteenly
Mar 09 20:53:02 iworx.php [info] iworx fifteenly begin
Mar 09 20:53:02 iworx.php [info] iworx fifteenly end
Mar 09 20:53:02 iworx.php [info] script end

This is my first time with Interworx, Where should i make something to remove this problem.
I have omitted the IP , domain and Screen names, Since its a public support place.
Thanks.

The problem is here:

Mar 09 20:49:57 package.activate.php [info] /usr/sbin/setquota -g <<<My user name–replaced–> 0 0 0 0 /
Mar 09 20:49:57 package.activate.php [error] error changing quotas: <<<My user name–replaced–>
Mar 09 20:49:57 package.activate.php [error] activating package: <<<My user name–replaced–>: failed

If you have a /home partition, you have to change the following entry in /usr/local/interworx/iworx.ini

[quota]
partition="/"

change that to

[quota]
partition="/home"

Paul

Hi,

still same error

? An error occured during SiteWorx account activation, check the iworx.log file for more details

Do you in fact have a /home partition? What’s the output of “df” on your server?

Paul

Hi,

Yes it has a /home partition,

df results :

df

Filesystem 1K-blocks Used Available Use% Mounted on
simfs 12288000 1135332 11152668 10% /

home]# ls
interworx vpopmail

I am attaching the iworx.ini and iworx.log as an attachment.

Thanks.

lognini.zip (16.3 KB)

Is this a Virtuozzo VPS? If so, have you made sure that the quotaugidlimit was properly set from the VPS master?

On the VPS master, run:

vzctl set VPS_ID --quotaugidlimit N

Where VPS_ID is the VPS number of your VPS instance, and N is some sufficiently large number (e.g., 500). If I recall correctly, the number ‘N’ determines the max number of users and groups (combined) allowed on the VPS instance.

Hope that helps,
Socheat

That df output tells me you have a /home directory, but it is not it’s own partition. Follow Socheat’s advice (assuming it’s a Virtuozzo VPS) and change the partition="/home" back to partition="/"

Hi there,

Thanks it worked, Yeah I already changed partition to “/” again.

Thanks Again :slight_smile:

Edit : I set the quotaugidlimit to 1024 actually.