PDA

View Full Version : domainowners emty!



Voland
05-24-2006, 11:27 AM
HI PPL!

Have such kind of a troubles:
After recreation one of the users (completely removing from DA )
Something goes wrong with mail server (Exim) .
domainowners and domain files are empty.
After this i recreated these files by hand ,but next i created new user and then removed him. After these manipulations these two files (domainowners and domain) became empty again.

Also when I create new mail account for existing user his passwd file becomes empty and list of existing mail accounts disappears form DA email accounts.

Please help if you ca as soon as possible.
We have hosted on this server about 140 domains
My box iz FreeBSD 5.4 with latest DA 1.2.71(upgrade)

nobaloney
05-24-2006, 05:15 PM
I've moved the thread to the FreeBSD 5.x forum; it may get better visibility there.

Jeff

DirectAdmin Support
05-24-2006, 06:37 PM
Hello,

Sounds like either a full partition (type 'df -h'). . or.. maybe some wrong permissions:
drwxr-xr-x 6 mail mail 512 May 24 19:33 /etc/virtual

-rw-r--r-- 1 mail mail 20 May 24 19:33 domainowners
-rw-r--r-- 1 mail mail 97 May 24 19:33 domainsElse, reset the permissions on everything:
cd /usr/local/directadmin/scripts
./set_permissions.sh emailIf that's not it.. then either there is maybe something with the partition mounting.. or else DA is doing something strange on your system (no other reports other than yours so far..)

John

Voland
05-24-2006, 11:48 PM
I have updated the kernel, recreate those files
and then reboot the system

Thank you

but i have another poblem, now with php
compiling with build script


Stop in /usr/local/directadmin/customapache/php-4.4.2.
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp4.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp4.la /usr/lib/apache/
cp .libs/libphp4.so /usr/lib/apache/libphp4.so
cp .libs/libphp4.lai /usr/lib/apache/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/customapache/php-4.4.2/libs'
chmod 755 /usr/lib/apache/libphp4.so
[activating module `php4' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar: bad md5sum for file /usr/local/lib/php/Archive/Tar.php
[PEAR] Console_Getopt: bad md5sum for file /usr/local/lib/php/Console/Getopt.php
[PEAR] HTML_Template_IT: bad md5sum for file /usr/local/lib/php/HTML/Template/IT.php
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR - already installed: 1.4.6
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
php in free(): error: chunk is already free
Abort trap (core dumped)
*** Error code 134

when I type php -v in console i get this error:

proservice# php -v
PHP 4.4.2 (cli) (built: May 25 2006 10:24:54)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.0, Copyright (c) 1998-2006, by Zend Technologies
php in free(): error: chunk is already free
Abort (core dumped)

DirectAdmin Support
05-25-2006, 12:52 AM
Try editing your build script, and change the ZEND_VER down to an older version (should be some there commented out), then install it again.

John

Voland
05-25-2006, 01:23 AM
Thank you again