Linux Servers Managed by

“We are what we repeatedly do. Excellence, then, is not an act, but a habit.” -Aristotle

Cpanel Server Management
cpanel Server Management

Have you always wanted customised services for your server administration that would match your needs and fit your budget?

Look no further, 365 hosting support has got a solution to this. We now bring to you server support services to match all your needs. Our team of professional technicians are skilful enough to provide services for your server management, including wide range server administration and a high quality knowledge base.

Our Linux server technical support team is available 24*7 and you get an uninterrupted access to them for any support you may need. If your server faces any issue and require technical help, such as server optimization, server security and monitoring, or any other, our team is available to take care of such technical issues.

The following is the list of tasks performed by our Linux Server Administrators on customer request to maintain their dedicated server and ensure its security.

Webserver Security

  • mod_security which play vital role on web server to avoid hacks and malware, we do provide Installation and configuration of mod_security with our own customized ruleset.
  • Our customized Mod_Security ruleset blocks dangerous attempts to hack the server, we also provide flixibity to add an additional rule or disabling one is possible for us whenever needed as it a buch of many rules which cosists over the periods of database we gained while working on the attacks like DDOS,SQL Injetion,XSS,SLL attacks and many more..
  • Installation and configuration of fully compatible and full featured php version as per the requirements of the Application/client/CMS.
  • Installation of mod_evasive to prevent DDoS Attacks.
  • PHP Security (disabling few php functions which can be used for php backdoor: “exec, system, passthru, readfile, shell_exec, escapeshellarg, escapeshellcmd, proc_close, proc_open, ini_alter, dl, popen, parse_ini_file, show_source, curl_exec”)

Security Audit

  • Installation of Rootkithunter and configuring it to provide alerts and autorun on a daily basis – with detail reporting via email if anything goes wrong.
  • Repair or Re-installation of corrupt binaries.
  • ConfigServer eXploit Scanner (cxs) Installation and configuration with details reporting and proactive approch. We also intigate it with ClamAV so that malware wont get upload.

SSH Security

  • Installing and compiling the latest version of OpenSSL.
  • Installing and compiling the latest version of OpenSSH and Configuring it with the latest version of OpenSSL.
  • Change the SSH port to Non-default, Disabling Root access and enabling key based access as per the client request.
  • Changing default SSH port, disabling SSH1 protocol and enabling SSH 2 protocol.

Firewall configuration

  • Installing CSF/APF/IPTABLE firewall (latest version) and Configuring the firewall to accept only incoming/outgoing connections on ports that are needed on a cPanel system.
  • Disabling port 22 (default SSH port).
  • Brute Force Detection setup and configuration with the firewall.
  • Custom socket monitor setup – This will send email alert whenever a new port is opened on the server or ssh login over the network.

Server Monitoring

Installing System Integrity Monitor to monitor the following services

  • Apache

  • MySQL

  • Email

  • Server load

  • SSH

  • FTP

Automation is the unique key we have and we try to appliment it on services as much as we can do. This enabled many features for the customer, indirectly we reduce your load. Our System will automatically try to fix any problems which may arise such as big log files that would automatically get recycled. If the system is not able to fix the problem itself it will send a notification to our support department.

Environmental security

  • Mounting /tmp partition with noexec permissions so that no files on these partitions can be executed.

  • Disabling compilers for all users but root.

  • Sysctl.conf hardening to make it much harder to get attacked by syn floods.

  • Symlink Owner Match Protection

  • Ptrace Block

  • Open basedir protection setup.

  • Installing chkrootkit and configuring it to send daily report to our support department.

Apache Tweaking

  • Installing Zend Optimizer.

  • Tweak Apache configuration.

  • Recompile Apache with commonly used Apache and PHP modules.

Securing Binaries

CloudLinux With CageFS

CageFS is a advanced virtualized file system and a bunch of many rule set and advance tools set get limit individual cpanel user in its own ‘cage’. Each cpanel user will have its own fully functional Operating system with a copy of all the system files, tools, Binary etc.


The benefits of CageFS are:

• Only safe binaries are available to user

• User will not see any other users, and would have no way to detect presence of other users & their user names on the server

• User will not be able to see server configuration files, such as Apache config files.

• User’s will have limited view of /proc file system, and will not be able to see other’ users processes

At the same time, user’s environment will be fully functional, and user should not feel in any way restricted. No adjustments to user’s scripts are needed. CageFS will cage any scripts execution done via:

• Apache (suexec, suPHP, mod_fcgid, mod_fastcgi)

• LiteSpeed Web Server

• Cron Jobs


• Any other PAM enabled service

DNS recursion restriction

We deliver the best results to our clients, combined with some outstanding support as 365hostingsupport is dedicated to provide the best budget Server Management Services.
So now you can focus on your business and we are here to look after the technology it banks on. With 365hostingsupport, your business is sure to grow.

Deploy Bulk Email on Linux

Part 1 Install Tools

Deploy Bulk Email on Linux

Install nginx, mysql, php
Step One—Install the Required Repositories

Deploy Bulk Email on Linux
Deploy Bulk Email on Linux

We will be installing all of the required software with Yum. However, because nginx is not available straight from CentOS, we’ll need to install the epel repository.

sudo yum install epel-release


Step Two—Install MySQL

The next step is to begin installing the server software on the virtual private server, starting with MySQL and dependencies.

sudo yum install mysql-server

Once the download is complete, restart MySQL:

sudo /etc/init.d/mysqld restart

You can do some configuration of MySQL with this command:

sudo /usr/bin/mysql_secure_installation

The prompt will ask you for your current root password.
Since you just installed MySQL, you most likely won’t have one, so leave it blank by pressing enter.
Enter current password for root (enter for none):
OK, successfully used password, moving on…
Then the prompt will ask you if you want to set a root password. Go ahead and choose Y and follow the instructions.
CentOS automates the process of setting up MySQL, asking you a series of yes or no questions.
It’s easiest just to say Yes to all the options. At the end, MySQL will reload and implement the changes.
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
… Success!

Normally, root should only be allowed to connect from ‘localhost’. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
… Success!

By default, MySQL comes with a database named ‘test’ that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
– Dropping test database…
… Success!
– Removing privileges on test database…
… Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
… Success!

Cleaning up…

All done! If you’ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!


Step Three—Install nginx

As with MySQL, we will install nginx on our virtual private server using yum:

sudo yum install nginx

nginx does not start on its own. To get nginx running, type:

sudo /etc/init.d/nginx start

You can confirm that nginx has installed on your virtual private server by directing your browser to your ip address.
You can run the following command to reveal your server’s IP address.

ifconfig eth0 | grep inet | awk ‘{ print $2 }’

Step Four—Install PHP

The php-fpm package is located within the REMI repository, which, at this point, is disabled. The first thing we need to do is enable the REMI repository and install php and php-fpm:

sudo yum install php-fpm php-mysql

Step Five—Configure php

We need to make one small change in the php configuration. Open up php.ini:

sudo vi /etc/php.ini

Find the line, cgi.fix_pathinfo=1, and change the 1 to 0.
If this number is kept as a 1, the php interpreter will do its best to process the file that is as near to the requested file as possible. This is a possible security risk. If this number is set to 0, conversely, the interpreter will only process the exact file path—a much safer alternative. Save and Exit.

Step Six—Configure nginx

Open up the default nginx config file:
sudo vi /etc/nginx/nginx.conf
Raise the number of worker processes to 4 then save and exit that file.
Now we should configure the nginx virtual hosts.
In order to make the default nginx file more concise, the virtual host details are in a different location.

sudo vi /etc/nginx/conf.d/default.conf

The configuration should include the changes below (the details of the changes are under the config information):
# The default server
server {
listen 8001;
location / {
root /usr/share/nginx/html/email-bulk-admin/public/;
index index.php index.html index.htm;

error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html/email-bulk-admin/public/;

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html/email-bulk-admin/public/;

# pass the PHP scripts to FastCGI server listening on
location ~ \.php$ {
root /usr/share/nginx/html/email-bulk-admin/public/;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;

Here are the details of the changes:
Add index.php within the index line.
Change the server_name to your domain name or IP address (replace the in the configuration)
Change the root to /usr/share/nginx/html;
Uncomment the section beginning with “location ~ \.php$ {“,
Change the root to access the actual document root, /usr/share/nginx/html;
Change the fastcgi_param line to help the PHP interpreter find the PHP script that we stored in the document root home.
Save and Exit
Open up the php-fpm configuration:

sudo vi /etc/php-fpm.d/www.conf

Replace the apache in the user and group with nginx:
; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user’s group
; will be used.
; RPM: apache Choosed to be able to access some dir as httpd
user = nginx
; RPM: Keep a group allowed to write in log dir.
group = nginx
Finish by restarting php-fpm.

sudo service php-fpm restart

Step Seven—RESULTS: Create a php info page

Although LEMP is installed, we can still take a look and see the components online by creating a quick php info page
To set this up, first create a new file:

sudo vi /usr/share/nginx/html/email-bulk-admin/public/info.php

Add in the following line:


Then Save and Exit.
Restart nginx so that all of the changes take effect:


sudo service nginx restart

Finish up by visiting your php info page (make sure you replace the example ip address with your correct one): http://xx.xx.xx.xx/info.php

It should look similar to this.
Step Eight—Set Up Autostart
You are almost done. The last step is to set all of the newly installed programs to automatically begin when the VPS boots.
sudo chkconfig –levels 235 mysqld on
sudo chkconfig –levels 235 nginx on
sudo chkconfig –levels 235 php-fpm on



We will continue the installation of  Deploy Bulk Email on Linux In next Post.. 







Disable strict mode on MySQL / MariaDB

Disable strict mode on mysql / MariaDB

How do I disable MySQL strict mode on the server?

MySQL strict mode
MySQL strict mode

Error : 


“My SQL Error 1048 column description cannot be null”
“mysql error : Incorrect integer value “

These error normally comes when you trying to get some transaction on the database server. This can be fix in multiple ways in some case you will need to have root/admin level of access on database or  phpmyadmin access. Below are more detail steps to fix it in mysql.

Open the “/etc/my.ini” file on database server and look for something like…
# Set the SQL mode to strict

Replace with:


You may able to do it in another method by login into the phpMyAdmin, if you have cpanel you can login into the cpanel > Database section you will find option “phpMyAdmin”. You may be able to run an SQL query within your phpMyAdmin as shown below.

SET @@global.sql_mode= ”;


How do I disable Strict mode on MariaDB database server?


This example shows how to get a readable list of enabled SQL_MODE flags:

| REPLACE(@@SQL_MODE, ',', '\n')                                          |

Adding a new flag:


If the specified flag is already ON, the above example has no effect but does not produce an error.

How to unset a flag:


How to check if a flag is set:

|                                1 |



Remember one thing this is base on the studies we implement for our customers if this fix does not apply on your issue you can contact us to permanently solve your issue at





cPanel Server Management


cPanel Server Management

Cpanel Server Management
Cpanel Server Management


365HostingSupport Offers the value added extra feature who boost your hosting business with Quality Cpanel Server Management service. With backbone of highly qualified Technical Support team and excellent response time you can find answer to your every query related to your hosting problems.


365HostingSupport Provides the outgoing calls to your direct customer on your behalf and make sure that there is no communication gap which generally happens with traditional email communication and avoids the technical misunderstanding between to parties while trying to solve a simple problems.

365HostingSupport Provides real 24×7 technical Support with solid base and availability of all level of Admins (Level 1 , Level 2 , Level 3). This make sure that you do not have to wait for the Sr. admin to come in shift and solve your issue.


Due to the transparente system you can directly communicate with the technical person over skype / gmail / yahoo / hotmail or any other medium which you would like to. This makes you comfortable and easy to explain your problems.


Easy to track down issues, with help of the centralized Ticket board system and billing system you can easily take overview of your current ongoing issues and followup on it.


Excellent Cpanel Management service , with Cpanel Certified Team you can always find your self in safe hand and expect quick solution on your issues

Why Sign Up ?

We have highly-trained teams standing by to provide 24×7 support to your clients
Quality Technical Support to Hosting companies and ISPs
Effective low-cost 24/7 support services
7 Days Money Back Guarantee



Cpanel Experts more than 5 Year of experience.
Cpanel + CloudLinux
Cpanel + AWS
Cpanel + OVH
Cpanel + Cluster
Cpanel + PowerDNS
Server Management Company
Skype: supportteam365


Nginx 504 error: Gateway Timeout upstream timed out (110: Connection timed out)

Nginx 504 error: Gateway timeout upstream timed out (110: Connection timed out)

Error :

Nginx 504 Gateway timeout
Nginx 504 Gateway timeout
upstream timed out (110: Connection timed out) while reading response header from upstream
nginx 504 error: Gateway Timeout


  • Nginx + plesk
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Plesk Error log path :


In NGINX plain server it should log to a pre-defined location which is often /var/log or /var/log/nginx


2016/03/15 12:32:13 [error] 12499#0: *5045889 upstream timed out (110: Connection timed out) while reading response header from upstream, client:, server:, request: “GET /index.php HTTP/1.0”, upstream: “”, host: “”, referrer: “”


This error “nginx 504 error: Gateway Timeout” does often caused due to the issue on the back-end connections which is serving the contents, to fix this we need to figure out what configuration we are using.


Fix :

For Nginx as Proxy (php-fpm disabled)

To Fix it for all website hosted on server we will need to change the global settings, check if the file exist on plesk server as “/etc/nginx/conf.d/timeout.conf” if not create it and enter the below values in it.

proxy_connect_timeout       600;
proxy_send_timeout          600;
proxy_read_timeout          600;
send_timeout                600;

If you are not using the Nginx as proxy but Nginx + FastCGI (PHP-FPM enabled) we will need to change the value at “/etc/nginx/nginx.conf” as below

fastcgi_buffers 8 128k;
fastcgi_buffer_size 256k;

Once done Restart ‘php-fpm’, ‘apache’ and ‘nginx’ services.


Remember one thing this is base on the studies we implement for our customers if this fix does not apply on your issue you can contact us to permanently solve your issue at


Login not permitted to account with a uid lower than 1000

If you dealing with the disk crash and recovering the accounts from old cpanel disk to new cpanel server you might get this error “Login not permitted to account with a uid lower than xx “  So that does this case and how to solve it.


Remember one thing this is base on the studies we implement for our customers if this fix does not apply on your issue you can contact us to permanently solve your issue at

Error :

Login not permitted to account with a uid lower than xx “

dovecot[464249]: auth: Error:
Cpanel::MailAuth: Login not permitted to account with a uid lower than 1000

Jun 17 08:25:38 dovecot[464249]: pop3-login:
Disconnected: Inactivity (no auth attempts in 181 secs): user=<>,
rip=, lip=, session=<B2rCc3g1cWR3Hi11>
Jun 17 08:25:48 dovecot[464249]: auth: Debug: client
in: AUTH 1 PLAIN service=imap secured
session=+45jdHg1puUAAAAAAAAAAAAAAAAAAAAB lip=::1 rip=::1
lport=143 rport=58790 resp=<hidden>
Jun 17 08:25:48 dovecot[464249]: auth: Debug:
execute: /usr/local/cpanel/bin/dovecot-wrap
Jun 17 08:25:48 dovecot[464249]: auth: Debug: auth
client connected (pid=490158)
Jun 17 08:25:48 dovecot[464249]: auth: Error:
Cpanel::MailAuth: Login not permitted to account with a uid lower than 1000

Reason :

1. Recently copied the Account from old server

2. /etc/passwd and /etc/shadow file touched/tampered

3. The mail server will try to authenticate against system user of the server instead of virtual domains on the server

4. /etc/dovecot/dovecot.conf touched/tampered .


Fix :

Check the cpanel user uid and gid by id command

[root@7578445 ]#id cpanelusername

make sure its not below the one which is mentioned in the error log

If yes you can backup and restore the same account which will asign the latest new uid and gid to cpanel user

Also make sure that there is entry of the domain in both /etc/localdomains and /etc/userdomains.

[root@7578445 /etc/dovecot] #egrep valid_uid\|valid_gid dovecot.conf
# be done even if first_valid_uid is set to 0.
first_valid_uid = 201
#last_valid_uid = 0
#first_valid_gid = 1
#last_valid_gid = 0

Change the hostname of the server to something else other than domain name.

For example if your domain is then you can set the hostname as



Best Cpanel Server management | Server Management and Server Security



Server Management and Server Security is our core expertise, we got nice track records of satisfied customers who loved our habit of serving the best. Our mission at is to provide high quality Linux and Windows server management, network infrastructure management, and server and network support services at affordable rates to all our clients.



If you are running a web-hosting or dedicated server and want to concentrate your business part rather than the technical part, we are here to help you with your all technical worries with help of our dedicated and expert team is already dealing with the multiple clients and having smart team of Engineers who are committed to help you 24*7*365.


Our team cover All aspect of the server management in this package Like Cpanel Server installation , Optimization for MySql,Apache,DNS,Email(Real Optimization which you realised ), Spam free server, Maximum DDOS mitigation settings, CageFS Technology , Backup Workaround, Monitoring features, Proactive Approach, Hack proof server with basic PT Testing, protection measurement from attacks like SQL injection and web-base bugs, Load Balancing support. When we get hired by our client we do not work for them but we take the technical charge and work with them which make us different from other technical service providers.

  • Supported Servers
    • CentOS 4.x 5.x 6.x 32/64 bit Cpanel
    • CloudLinux
    • RHEL4,5,6 32/64 bit Cpanel
  • Unlimited Tickets Support
    • 24×7 Ticket Support
    • Unlimited Administration Tickets
    • Admin Consultation ( RHCE Certified )
  • Response and Resolution Time
    • Within 15 Minutes Response Time Guarantee for Support Tickets
    • Within 24 Hour Resolution Time Guarantee for Support Tickets
  • Services Optimization
    • Nginx / Apache Tweaking & Optimizing Performance
    • MySQL Optimization
    • Exim Optimization
    • LiteSpeed Optimization
  • Core Server Management
    • Initial Server Setups
    • Service Upgrades ( PHP, MySQL, Apache )
    • Server Tweaks
    • PHP and Apache Compilation with Advanced Modules ( mod_deflate, mod_security etc.)
    • Cpanel/WHM & Add-on Support ( RVSkin, SourceGuardian, Zend/IonCube etc )
    • CloudFlare Module Installations
    • CloudFlare Support
    • LiteSpeed Setup and Configurations
    • Nginx Reverse Proxy Setups
    • SSL Certificate Installations
    • Custom Mail Server Setups
    • ClamAV Integration with Exim
    • Custom Bash script Setups
    • Updates Applied as Required
    • Fixing Failed Services
    • Fantastico & Standard 3rd Party Software Support ( Joomla, WordPress, Moodle etc. )
  • Cpanel Server Experts On call
    • Expert Available on call
    • 24×7 Technical source Availability
    • Critical Backup solutions
    • Free Server Audit
    • Multi Layer Server Protection
  • Server Setup
    • Hostname, DNS Setup
    • WHM/Cpanel Setup
    • Services setup
  • Spam Protection Measurement (SPM)
    • Mail Server Securing and Hardening
    • Exim Security configuration to avoid spammer
    • Exim integration with ClamAV
    • SMTP Tweaking
    • CXS Intigration to avoid Spamming scripts and spammer
    • Custom Scripts/Tools installation
    • Mail Trace record and anyalistics
  • Basic Security
    • Server Securing and Hardening
    • CSF Firewall Installation & Configurations
    • LFD Alerts on Brute Force Attacks
    • SMTP Tweaking
    • PHP Hardening ( SUPHP, SUHOSIN )
    • Mod_security Setup and Configurations
    • Root Login Email Alerts
  • Server Migrations
    • Backup Restorations, Database Restorations from Secondary Backup Disks etc.
    • Cpanel to Cpanel Server Migration ( WHM Transfer/Rsync/SCP ) (Limited Data 50GB)
    • Additional Charges Applied for Server Transfers having more than 50GB of Data
  • 3rd Party Software Installation
    • Fantastico, RVSkin, cPanelPro, cPanelXp, ClamAV, Zend Optimizer, IonCube,GD, Curl, FreeType, EAccelerator, XCache, ImageMagick, Advance Perl Modules etc.
  • Disaster Recovery & Hack Recovery
    • If your server is under spam or hacked with external scripts under /tmp, We will investigate and fix the issue.
    • OS Recovery via KVM Access
  • Server Log Analysis
    • Monitoring the Server Logs for Spam Source
    • Restart Failed Services upon Notifications
    • Fixing Server Services having Problems
  • Followed by……
    • 7 Days Money Back Guarantee
    • Discounts Available for Additional Servers. Contact Sales.

SolusVM windows 2012 Template error : mount state: No such file or directory



While creating the Solusvm Template for windows 2012 ISO, you may get the below error :



1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.152263 s, 3.4 kB/s



ntfsclone v2.0.0 (libntfs 10:0:0)
ERROR(2): Failed to check ‘/dev/mapper/vg_slave-vm103_img1’ mount state: No such file or directory








You need to make sure that the source VPS is down and the special partion is removed completely from the disk management. If you still getting the above issue you need to make sure that the ntfslv is enabled on master along with VT enabled in BIOS.

solusvm disk issue

If you continue on the issue you may contact our solusvm expert team on live chat to get it solve for you.



Cpanel Server Management

Error Code :

1YjCse-0006Hn-2M == R=lookuphost T=remote_smtp defer (99): Cannot assign requested address



Make sure that your exim server is configured with correct mail IP address you can verify it with file located at /etc/mailips also make sure the permissions are correct


-rw-r—– 1 root mail 3652 Apr 18 06:51 /etc/mailips