log in mail on CentOS, DA 1.38.3

alex777

New member
Joined
May 12, 2011
Messages
7
Hello

I log in mail, received error in SquirrelMail and Roundcube:
Error connecting to IMAP server: localhost.
0 : php_network_getaddresses: getaddrinfo failed: Name or service not known

How solve this problem?

exim worked
dovecot worked
and all services worked
 
but all modules do not install with ./build php all
i added lines:
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-dba \
--enable-devel \
--enable-imap \
--enable-soap \
--enable-embedded \
--enable-mssql \
--enable-mysql \
--enable-ncurses \
--enable-odbc \
--enable-process \
--enable-pspell \
--enable-recode \
--enable-snmp \
--enable-tidy \
--enable-xml \
--enable-xmlrpc \
on file: /usr/local/directadmin/custombuild/configure/ap2/configure.php5
[root@s2 ~]# cd /usr/local/directadmin/custombuild
[root@s2 custombuild]# ./build used_configs
Apache configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.apache
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/ap2/config ure.php5
 
Make sure you have a line for localhost in /etc/hosts
 
look at this file:
[root@s2 custombuild]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
91.xxx.38.xxx s2.xxxxxxx.ru
91.xxx.38.xxx s2.xxxxxxx.ru
 
Back
Top