Home » Hosting Controller

I’ve deleted /home, how do I recreate the directories?

Generally, this isn’t the best thing to have happen because all of the data is stored there.  You’ll need to recreate all of the directory structures, as well as a few files required for DA to run: 1) Create the DA tmp directory so you can log into DA again: mkdir -p /home/tmp chmod 1777 [...]

Disk Usage is showing 0.00

*** Note: If you’re running a VPS with a “simfs” file system, quotas usually cannot be enabled with normal means.  Contact yoru VPS provider to enable quotas for you. DirectAdmin relies on the system quotas to return a value for how much space is being used.  DirectAdmin will run /usr/sbin/repquota /home Where /homeis the quota_partition [...]

Setup a per-user php.ini to allow open_basedir with suPhp

new way: If you wish to use per-user php.ini files in: /usr/local/directadmin/data/users/username/php/php.ini then you can use this guideto add the code: SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/|USER|/php/ to the VirtualHost entires for that domain and it’s subdomains.   This will tell suPhp to look in that path for a php.ini. It’s loaded after the main php.ini, so if [...]

How to setup jailed ssh and jailed cgi (beta)

If you run custombuild, the jailed script portion of this guide is in the options.conf. #Jailed shell (beta) jail=yes Then type ./build all_jail The “./jail/jail_user.sh user” (from the custombuild dir) would be used for each user you want to jail.   The remaining httpd.conf and other options from this guide still apply. 1) First, install [...]

Basic system security

Note that it’s ultimately the responsibility of the server admin to ensure his system is secure.  These are some basic security tips that can be done to help protect your system.  This is not an end-all guide for server security, admins must be diligent, but rather some suggestions for a start to securing your server. [...]

Unzip: skipping filename.zip need PK compat. v4.5

While accessing the Plesk control panel, you may encounter an error message as follows: ERROR: PleskFatalException StatInfo-> getProductVersion failed OR ERROR: PleskFatalException StatInfo-> getProductVersion failed: file_get_contents () failed: mktime() [<a href='function.mktime'>function.mktime</a>] The “Plesk getProductVersion failed ” message states that either the Plesk version file /usr/local/psa/version is empty AND/OR the plesk version in the ‘psa.misc’ table [...]

Pure-ftpd error after yum update

Q: Plese help,i just update CentOs x64 via yum update and now i cant login to any ftp account.I get tis error wen i try to connect to ftp: Răspuns: pure-ftpd: relocation error: pure-ftpd: symbol my_make_scrambled_password, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference Cannot connect to server! Wat do i have [...]

Securing Your /tmp Partition with Cpanel/WHM

If you are renting a server then chances are everything is lumped in / and a small amount partitioned for /boot and some for swap. With this current setup, you have no room for making more partitions unless you have a second hard-drive. Learn how to create a secure /tmp partition even while your server is already up [...]

Tomcat failure after Apache rebuild in CPanel

After rebuilding Apache in CPanel using easyapache or WHM there are many things that can go wrong even if you use a stable branch of CPanel. For example Tomcat that was installed from CPanel can fail after the build and even if this might look unrelated to the apache build this can happen quite frequently. [...]

Parallels Business Automation Standard 3.4 does not support the licenses for Parallels Plesk Panel 10

Parallels Business Automation Standard 3.4 does not support the licenses for Parallels Plesk Panel 10 To make Parallels Plesk Panel 10 licenses issuing possible, we need perform the following actions: Note: This solution should be installed on Parallels Business Automation – Standard 3.4 only. You can damage your installation if you install it on the [...]