Adding custom modules to apache for customapache : DirectAdmin

If you want to add any extra modules to apache, they’ll need to be compiled in. Any module that needs to be compiled in will have a –with-module type flag which will need to be used. To add this flag, run the following: cd /usr/local/directadmin/customapache vi configure.apache_ssl #add your –with-module line to the end of… Continue reading Adding custom modules to apache for customapache : DirectAdmin

DirectAdmin License Shows To Be Expired (Early License)

DirectAdmin is fully installed but we are unable to login and access the host. Steps to try and resolve this problem. Verify IP information bound to the host matches the data in /usr/local/directadmin/scripts/setup.txt Confirm the date is correct. # date Sun Jan 4 03:14:22 CST 2004 If not then set the date with ‘rdate’ or… Continue reading DirectAdmin License Shows To Be Expired (Early License)

How do I view what exim is doing?

Exim comes with a utility called ‘exiwhat’ which will display what each instance of exim is currently involved with. The output will look similar to this: root@server [~]# exiwhat 2118 daemon: -q1h, listening for SMTP on port 25 (IPv4) 2130 daemon: no queue runs, listening for SMTPS on port 465 (IPv4) 31640 handling incoming connection… Continue reading How do I view what exim is doing?

DirectAdmin : How to downgrade from apache 2 back to apache 1.3

If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3. Then type echo “action=rewrite&value=ips” >>… Continue reading DirectAdmin : How to downgrade from apache 2 back to apache 1.3

Updating your DirectAdmin License manually

If you need to update your DirectAdmin license manually, you can do so by running the following commands: cd /usr/local/directadmin/scripts ./getLicense.sh 123 1234 service directadmin restart Where 123 and 1234 are your Client ID and License ID, respectively. If there are errrors extracting the update.tar.gz file, then run: head -n 1 /usr/local/directadmin/conf/license.key to search for… Continue reading Updating your DirectAdmin License manually

Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php

Php is setup is to limit memory usage per process. If you require more, this limit can be increased. Edit /usr/local/lib/php.ini If you are unsure about the php.ini path, You can find your server php.ini using command : php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini and… Continue reading Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php

DirectAdmin Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090

  Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090 [crit] (98)Address already in use: make_sock: could not bind to port 8090 or [crit] (98)Address already in use: make_sock: could not bind to port 443 or [crit] (98)Address already in use: make_sock: could not bind to port 80 If… Continue reading DirectAdmin Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090

Published
Categorized as DirectAdmin