Module Command Error Mail for the domain cannot be enabled unless an administration user is created(This is still a issue)

I added 127.0.0.1 to the resolv.conf file and when I click on create button in the customers account I get this error

Module Command Error
Mail for the domain cannot be enabled unless an administration user is created

I am not sure what section the user is refering to here?

riptide_wave Joined: 10/09/12 Offline Posted: Fri, 2012-10-12 08:29

ok, il mess with that today and see what I can figure out.

I just find it strange it can create accounts from the web panel with no issues, yet it can’t from command line.

reply
Nice catch man, I had
riptide_wave
Joined: 10/09/12
Offline
Posted: Fri, 2012-10-12 09:20

Nice catch man, I had administrative user de-selected! all is good now! :slight_smile:

I owe you a beer or non-alcoholic beverage!

Under Features and Modules Administration users has a x by it? Would that cause a issue? If so, how can I enable it please?

Howdy,

So it sounds like that is all working for you now?

You’re able to add domains using WHMCS?

If so, that’s fantastic! I’m glad you got it working.

-Eric

I copied and quoted someone else post and it’s a question that I am asking because I still can not get it to work. Can you please tell me how I can fix this problem??

Thanks
Phil

Ah, I think I understand now… I modified your message to make it more clear that you were quoting someone.

What is the link to that post? Seeing the full thread might help determine how that user’s issue was resolved.

-Eric

I have been reading the all the different post in the forums and it looks like some of the folkes are trying to auto create the web account using different methodes. I am using Whmcs so I thought it auto does the api calls so I do not have to do any special editing.

Quote from prev post.

Howdy,
Try passing in the --user parameter, it looks as if something is causing it not to create that.
-Eric

I have whmcs and Virtualmiin setup to use the defaults so they match in both of the configuration settings. I have also added 127.0.0.1 to the /etc/resolv.conf file. What do I need to do in order to get it to work please?

I added this

root@fwh:~# more /etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.0.1

It still gives me the same error mesage: Module Command Error
Mail for the domain cannot be enabled unless an administration user is created

Thanks
Phil

Here is the module error log. Can you tell me what is causing the issue?

Date: 06/21/2014 01:13 - Module: virtualmin - Action: create-domain

Request

Request:

Array
(
[program] => create-domain
[domain] => professionalwebhostingservices2.com
[user] => professi
[pass] => 9St0jiOp40
[email] => phillip.l.taylor@uscg.mil
[template] => Default Settings
[plan] => FreeWebHosting
[features-from-plan] =>
)

Mail for the domain cannot be enabled unless an administration user is created

Adds a new Virtualmin virtual server, with the settings and features
specified on the command line.

virtualmin create-domain --domain domain.name
–pass password-for-unix-user |
–passfile password-file
[–hashpass]
[–parent domain.name | --alias domain.name |
–alias-with-mail domain.name |
–superdom domain.name]
[–desc description-for-domain]
[–email contact-email]
[–user new-unix-user]
[–group new-unix-group]
[–unix]
[–dir]
[–dns]
[–mail]
[–web]
[–webalizer]
[–ssl]
[–logrotate]
[–mysql]
[–ftp]
[–spam]
[–virus]
[–webmin]
[–virtualmin-awstats]
[–virtualmin-dav]
[–virtualmin-mailman]
[–virtualmin-svn]
[–default-features] | [–features-from-plan]
[–allocate-ip | --ip virtual.ip.address |
–shared-ip existing.ip.address]
[–ip-already]
[–default-ip6 |
–shared-ip6 existing.ip.address |
–allocate-ip6 |
–ip6 virtual.ip.address]
[–ip6-already]
[–dns-ip address | --no-dns-ip]
[–max-doms domains|]
[–max-aliasdoms domains]
[–max-realdoms domains]
[–max-mailboxes boxes]
[–max-dbs databases]
[–max-aliases aliases]
[–quota quota-for-domain|UNLIMITED]
[–uquota quota-for-unix-user|UNLIMITED]
[–template “name”]
[–plan “name”]
[–limits-from-plan]
[–prefix username-prefix]
[–db database-name]
[–fwdto email-address]
[–reseller name]
[–mysql-pass password]
[–skip-warnings]
[–field-name value]

Exit status: 256

Please clarify what settings should I change in server template please??? The message included below is what Eric posted.

sure that it doesn’t list any errors.
Also, regarding the error you’re receiving from WHMCS – that means it’s trying to create a Virtual Server without an administrative user.

Is it possible that was somehow disabled from the Server Template?

If most of the changes you’ve made has been in the “FreeWebHosting” template/plan, and you haven’t changed the default ones – you may want to just try to get all this working with the default template/plan, and then once it’s working, you could try switching to your customized
Plans and templates.

-Eric