Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1191

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1191

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1194

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1194

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1197

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/content/75/8300775/html/wp-content/plugins/statpress/statpress.php on line 1197
How to fix – Amavis Error – Hostname not FQDN $myhostname is | HIGHLOGIC.NET
Sep 29

Starting amavisd:   The value of variable $myhostname is “ip-10-102-202-207”, but should have been
a fully qualified domain name; perhaps uname(3) did not provide such.
You must explicitly assign a FQDN of this host to variable $myhostname
in amavisd.conf, or fix what uname(3) provides as a host’s network name!

Just edit the \etc\amavisd\amavisd.conf

Take the comment out of the $hostname line and enter the fqdn in the value.

written by admin \\ tags: , , , , , ,


One Response to “How to fix – Amavis Error – Hostname not FQDN $myhostname is”

  1. 1. souka Says:

    thanks for the information
    But i dont have this amavisd in /etc/ !!!

Leave a Reply