Domain creation error in Plesk
When you create a new domain via the Plesk control Panel, sometimes you may receive the following error.
ERROR:
Failed domain creation: Unable to update domain data: Failed mail post-configuration: Can’t create mail domain servie: mailManager->addDomain() failed: mailmng failed: MEAOPO.PostOffice ———————- Debug Info ——————————- 0: c:\Program Files\SWsoft\Plesk\admin\htdocs\domains\create_domain.php:146
This means that there is some issue with the mail server configuration and that has to be repaired.
Run the following command.
cd %plesk_bin%
mchk.exe –all
After executing the above command, check if you are able to create a new domain. If you receive any error again, then run the following command.
The above command will forcefully reset the domain and server wide configuration settings according to the Plesk Database.
Note that the custom settings will be lost after executing this command.
Accessing web_users
By default in Plesk, we can only access the web users using http://domain.com/~webuser/. Do the following steps to access the web users using the URL http://domain.com/webuser/
1. Add the following entry in the /var/www/vhosts/domain.com/conf/vhost.conf file of the domain:
Alias /webuser /var/www/vhosts/domain.com/web_users/webuser
2. Now reconfigure the domain using websrvmng:
/usr/local/psa/admin/bin/websrvmng –reconfigure-vhost –vhost-name=
“Please Wait Loading…” pop-up is being shown continuously while login to plesk
In order to fix this issue disable magic_quotes_runtime and magic_quotes_sybase in the Plesk control panel PHP configuration file “/usr/local/psa/admin/conf/php.ini”.
These options have to be Off by default:
magic_quotes_runtime = Off
magic_quotes_sybase = Off
Switch them off and restart Plesk CP.
Increase Courier-IMAP Limits in Plesk
Plesk is configured with the following limitations for Courier-IMAP.
1. A single IP address can establish 4 connections simultaneously.
2. IMAP connections are not established more than 40 connections.
You can increase Courier-IMAP e-mail server limits by editing the file - ‘/etc/courier-imap/imapd’.
Steps:
1. Open the file - /etc/courier-imap/imapd
vi /etc/courier-imap/imapd
2. Navigate the line “MAXPERIP”. You can find the value as 4.
3. Change this value as per your wish and save the file
4. Navigate the line “MAXDAEMONS” and change its value to 80
5. Save the file
6. Restart Plesk service
/etc/rc.d/init.d/psa restart
Unable to enable sendmail in Virtuzzo Power Panel (VZPP)
The exact issue :
Unable to enable sendmail using “Virtuzzo -> system services -> xinetd (tab) -> sendmail” section.
This is mainly occurring due to one entry /etc/xinetd.d/sendmail file. In order to fix this issue, do the following:
Modify :
service smtp
{
disable=yes
socket_type = stream
protocol = tcp
wait = no
user = root
group = root
server = /usr/sbin/sendmail
server_args = -bs -Am
nice = 5
instances = 10
}
Modify it to :
service smtp
{
disable=no
socket_type = stream
protocol = tcp
wait = no
user = root
group = root
server = /usr/sbin/sendmail
server_args = -bs -Am
nice = 5
instances = 10
}
restart the xinetd using:
/etc/init.d/xinetd restart
Verify the sendmail status using “Virtuzzo -> system services -> xinetd (tab) -> sendmail”. You can see that the status of sendmail now changed to “enabled”.