can't add new domains

9 views
Skip to first unread message

eUser

unread,
Sep 4, 2009, 3:58:03 AM9/4/09
to Openmailadmin
Hi,

I installed Openmailadmin on Debian Lenny, Apache2, PHP5, mySQL,
Cyrus2.2, Postfix.

But I cannot add any domain, mailbox or whatever.
Unfortunately I got no error message.
Where can I find some log information.

Thanks
Ralf

W-Mark Kubacki

unread,
Sep 4, 2009, 1:42:31 PM9/4/09
to openma...@googlegroups.com
2009/9/4 eUser <in...@teximage.de>:

What does ~/log/error_log say (in general, your logfiles)? Any new lines in it?
Please try to setup an logger [1] by setting these lines in your
config.local.inc.php:
$cfg['logger']['facility'] = 'null';
$cfg['logger']['name'] = '';

Are the domains to-be-created inserted into database tables?

The distribution doesn't matter, what PHP version and what MySQL
version do you use?

--
Mark
http://mark.ossdl.de/

W-Mark Kubacki

unread,
Sep 4, 2009, 1:42:59 PM9/4/09
to openma...@googlegroups.com
2009/9/4 W-Mark Kubacki <wm...@hurrikane.de>:

[1] http://pear.php.net/package/Log

eUser

unread,
Sep 7, 2009, 9:18:45 AM9/7/09
to Openmailadmin


On 4 Sep., 19:42, W-Mark Kubacki <wm...@hurrikane.de> wrote:
> 2009/9/4 W-Mark Kubacki <wm...@hurrikane.de>:
>
>
>
> > 2009/9/4 eUser <i...@teximage.de>:
>
> >> I installed Openmailadmin on Debian Lenny, Apache2, PHP5, mySQL,
> >> Cyrus2.2, Postfix.
>
> >> But I cannot add any domain, mailbox or whatever.
> >> Unfortunately I got no error message.
> >> Where can I find some log information.
>
> > What does ~/log/error_log say (in general, your logfiles)? Any new lines in it?
> > Please try to setup an logger [1] by setting these lines in your
> > config.local.inc.php:
> > $cfg['logger']['facility']    = 'null';
> > $cfg['logger']['name']        = '';
>
> > Are the domains to-be-created inserted into database tables?
>
> > The distribution doesn't matter, what PHP version and what MySQL
> > version do you use?
>
> [1]http://pear.php.net/package/Log

Hi,

this is my configuration:
PHP Version 5.2.6-1+lenny3
MySQL 5.0.51a-24+lenny1

In the meantime I found, that PECL::idn was missing
error: apache2.log idn_to_utf8 not found

So I downloaded http://pecl.php.net/get/idn
I tried to install the package but
$./configure --with-idn
didn't work because of a missing path (see below)
I also reinstalled libidn11 (Debian-package)

Does anyone know, what to do ?
Thank you
Ralf

-------------------8>--------------------------------------------------
$ ./configure --with-idn
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib

checking if compiler supports -R... no

checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/
php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/
include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20060613
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for GNU Libidn support... yes, shared

checking for idn files in default path... not found
configure: error: Please reinstall the GNU Libidn distribution

-------------------
<8--------------------------------------------------

eUser

unread,
Sep 7, 2009, 1:08:32 PM9/7/09
to Openmailadmin
On 7 Sep., 15:18, eUser <i...@teximage.de> wrote:
> On 4 Sep., 19:42, W-Mark Kubacki <wm...@hurrikane.de> wrote:
>
>
>
> > 2009/9/4 W-Mark Kubacki <wm...@hurrikane.de>:
>
> > > 2009/9/4 eUser <i...@teximage.de>:
>
> > >> I installed Openmailadmin on Debian Lenny, Apache2, PHP5, mySQL,
> > >> Cyrus2.2, Postfix.
>
> > >> But I cannot add any domain, mailbox or whatever.
> > >> Unfortunately I got no error message.
> > >> Where can I find some log information.
>
> > > What does ~/log/error_log say (in general, your logfiles)? Any new lines in it?
> > > Please try to setup an logger [1] by setting these lines in your
> > > config.local.inc.php:
> > > $cfg['logger']['facility']    = 'null';
> > > $cfg['logger']['name']        = '';
>
> > > Are the domains to-be-created inserted into database tables?
>
> > > The distribution doesn't matter, what PHP version and what MySQL
> > > version do you use?
>
> > [1]http://pear.php.net/package/Log
>
> Hi,
>
> this is my configuration:
>     PHP Version 5.2.6-1+lenny3
>     MySQL 5.0.51a-24+lenny1
>
> In the meantime I found, that PECL::idn was missing
> error: apache2.log idn_to_utf8 not found
>
> So I downloadedhttp://pecl.php.net/get/idn
Hi, after reading and searching a little I solved this:

apt-get install php5-dev
apt-get install make
apt-get install php-pear
pecl install idn
apt-get install idn
apt-get install libidn11-dev

download latest release
"download latest" from http://pecl.php.net/package/idn

pear install idn-0.2.0.tgz

don't forget to add
"extension=idn.so" to /etc/php5/apache2/php.ini

now restart apache2
/etc/init.d/apache2 restart

now everything works fine.
Ralf

W-Mark Kubacki

unread,
Sep 10, 2009, 11:05:37 AM9/10/09
to Openmailadmin
Thanks for sharing!
> "download latest" fromhttp://pecl.php.net/package/idn
Reply all
Reply to author
Forward
0 new messages