After network is restarted in direct admin servers no dedicated IPs are visible.
Solution : /etc/init.d/startips
Something similar to /etc/init.d/ipaliases restart
After network is restarted in direct admin servers no dedicated IPs are visible.
Solution : /etc/init.d/startips
Something similar to /etc/init.d/ipaliases restart
How to reset email count in Direct admin :
echo “” > /etc/virtuage/usage/username
Getting below message on direct admin server while named status is checked :.
[[email protected] ]# service named status
rndc: neither /etc/rndc.conf nor /etc/rndc.key was found
Solution :
rndc-confgen >> /etc/rndc.conf
Open /etc/rndc.conf
cat /etc/rndc.conf
Add the content of key file as mentioned below to the end of named.conf
cp -ar /etc/named.conf /etc/named.conf.bak
A sample of the file part to be added is mentioned below :
=================================================================
# End of rndc.conf # Use with the following in named.conf, adjusting the allow list as needed: key "rndc-key" { algorithm hmac-md5; secret "9Agjel9AAghshhs85k0g=="; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; # End of named.conf
=================================================================================
Restart named /etc/init.d/named restart
cd /root/
wget downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -zxvf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
mkdir /usr/local/ioncube/
cp ioncube_loader_lin_5.2.so /usr/local/ioncube/
For php 5.3.X make sure the 5.3.so file is copied in the above step.
Take backup of /etc/httpd and php.ini to be on safer side.
cd /usr/local/directadmin/custombuild ./build update ./build apache
If everything works fine dont rebuild php as that can give some errors
./build php n
checking for icu-config... no checking for location of ICU headers and libraries... not found configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works. *** There was an error while trying to configure php. Check the custom/suphp/configure.php6 file
cd /usr/local/directadmin/custombuild
./build update
./build set php5_ver 5.2
./build php n
NOTE : IF U USE THE BELOW COMMANDS IT WILL LEAD TO INSTALLATION OF ALL LATEST VERSIONS AVAILABLE.
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build php d
./build suphp d
cat /usr/local/directadmin/scripts/setup.txt
=================
hostname=
hostname=
Maskuid=
======================
While trying to start httpd : in direct admin :
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/clickalist/httpd.conf:
Invalid command ‘php_admin_flag’, perhaps misspelled or defined by a module not included in the server configuration
Solution :
./build all d
Back up any file named /usr/local/directadmin/custombuild/.custombuild.
./build rewrite_confs
cd /usr/local/directadmin/custombuild
./build update
vi /usr/local/directadmin/custombuild/options.conf
Change no to yes in options.conf
./build zend
Squirrel mail gives following error in direct admin
ERROR: Connection dropped by IMAP server. Query: CAPABILITY + directadmin
Also error :
ERROR: Could not complete request.
Query: SELECT “INBOX”
Reason Given: Internal error occurred. Refer to server log for more information. [2010-09-01 05:12:43]
Solution that worked for me :
Was a problem with DISK SPACE. Increase quota and it worked.
cat /usr/local/directadmin/conf/my.cnf
[[email protected] ~]# service named start
Starting named:
Error in named configuration:
zone localhost/IN: loaded serial 42
Solution :
cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset
URL : http://help.directadmin.com/item.php?id=40
To find the mysql root password for direct admin client
cat /usr/local/directadmin/conf/mysql.conf
Path where the mails are stored in direct admin clients
/home/UN/imap/domain.com/email UN/Maildir/
If we have a domain name and we need to find the username for that domain
grep domain.com /etc/virtual/domainowners