Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - KTCHost

Pages: 1
1
We can enable the private PHP error logging by using following code in the .htaccess file

Code: [Select]
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

Note : The PHP_errors.log file needs to be permission 755 or 777.

If you have any questions, simple make a reply to this thread and will help you to resolve all queries.

2
KTCHost like to introduce continent based Dedicated server in affordable rates.
Reduce server response time and speed up your website using servers from your country continents


3
Enjoy Colors of Holi with KTCHost Special Offer



E3-1230 Server,
2x1TB HDD, 32GB RAM,
5 IPS in $99/m or Rs 5000/m.


In case of any questions or doubts, you can approach our Sales Department through 24*7 Live chat support available at https://www.ktchost.com/dedicated-server.html or E-mail us at info@ktchost.com

4
We are glad to inform you that we have launched first School Management System HOSTING which is useful not only for Big Schools/Colleges but also Small Coaching classes,Playgroup / Nursery.

You can launch your own School/College Mobile App in GOOGLE Play store in affordable price , price starts from $3 or INR 100 per student for three years. Yes, its true pricing for THREE years. If you have any questions or queries, contact us on live chat support.

5
50% Discount on cPanel license with ALL Dedicated Servers

Why #KTCHost #Dedicated #server?

#Dedicated #Server with following Powerful Key features made #KTCHost best Dedicated server provider

* Powerful control Panel
* Cloudflare Support
* Let's Encrypt SSL Support
* Softaculous script installer
* R1Soft Remote Backup
* 24x7 Unlimited support instance
* 24x7 Server Monitoring

For more information, E-mail Us : info@ktchost.com | Visit - https://www.ktchost.com/dedicated-server.html

#KTCHost - A Reliable Hosting Provider

6
Tutorials / How tos? / Load alert script
« on: May 11, 2017, 01:21:57 PM »
Get the process status report through e-mail for server load, you can try to add additional info to the code, to get more info through e-mail.

Simply create new file add following code in a /root/loadalert file and configure as per your requirement.

vi   /root/loadalert

   
Code: [Select]
#!/bin/bash
    #Created on October 15th, 2015
    EMAIL="your email 1"
    # For multiple E-mails.
    EMAIL1="your email 2"
    SUBJECT="Alert $(hostname) load average is $L05"
    TEMPFILE="/tmp/$(hostname)"
    echo "Load average Crossed allowed limit." >> $TEMPFILE
    echo "Hostname: $(hostname)" >> $TEMPFILE
    echo "Local Date & Time : $(date)" >> $TEMPFILE
    echo "| Uptime status: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /usr/bin/uptime >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Top 20 CPU consuming processes: |" >> $TEMPFILE
    ps aux | head -1 >> $TEMPFILE
    ps -auxf | sort -nr -k 3 | head -20 >> $TEMPFILE
    echo "| Top 10 memory-consuming processes: |" >> $TEMPFILE
    ps aux --no-headers| sort -rn +3 | head >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Memory and Swap status: |" >> $TEMPFILE
    /usr/bin/free -m >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Active network connection: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /bin/netstat -tnup | grep ESTA >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Disk Space information: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /bin/df -h >> $TEMPFILE
    echo "-----------------THE END-------------------" >> $TEMPFILE
    L05="$(uptime|awk '{print $(NF-2)}'|cut -d. -f1)"
    if test $L05 -gt 5
    then
    mail -s "$SUBJECT  $L05" "$EMAIL" < $TEMPFILE
    # For multiple E-mails.
    #mail -s "$SUBJECT  $L05" "$EMAIL1" < $TEMPFILE
    fi
    rm -f $TEMPFILE

By default we recommend every minute cron to avoid any load alerts.

* * * * * /root/loadalert >/dev/null 2>&1

Let us know, if you required any further information.

7
KTCHost Announcements / Build your own customised HOSTING
« on: February 24, 2017, 09:23:12 AM »
We KTCHost very happy to announce new innovation in Web hosting industry. From today no need to waste time to search or post request for new Web hosting in forums, simply post your resources requirement, budget and we are ready to offer you special Web hosting plans as per your requirement, new Web hosting plan for every user.

Only Four steps and you will feel that you are the owner of web hosting.

Quote
1: Create New Account and Post your requirement
2: PM or E-mail requested information by our staff members on Forum.
3: Login into Billing portal and make a payment.
4: As soon as payment confirms, you will receive your new Web hosting account login details.

Let us know, if anybody having any questions.

Pages: 1