Hiển thị các bài đăng có nhãn Kloxo. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Kloxo. Hiển thị tất cả bài đăng

Thứ Hai, 3 tháng 8, 2015

Kloxo important file location

Kloxo important file location

Round cube

    /home/kloxo/httpd/webmail/roundcube/logs/errors

Mail

    /var/log/kloxo/mailog
    /var/log/kloxo/courier
    /tmp/horde.log
    /var/log/kloxo/smtp.log
    /usr/local/lxlabs/kloxo/mail_send
    /var/qmail/control/me
    /var/qmail/control/rcpthosts
    /var/qmail/control/defaultdomain
    /var/qmail/control/defaulthost
    /var/qmail/control/locals
    /var/qmail/users/assign

        Show the users assigned

FTP

    /var/log/kloxo/pureftpd.log
    /var/run/pure-ftpd.pid

SSH

    /var/log/secure

DNS

    /usr/local/lxlabs/kloxo/log/dns_log

Database

    /var/log/mysqld.log
    /usr/local/lxlabs/kloxo/log/database

SSL

    /var/log/httpd/ssl_error_log

File System

    /usr/local/lxlabs/kloxo/log/filesys
    /usr/local/lxlabs/kloxo/log/nonfilesys
    /usr/local/lxlabs/kloxo/log/remove_oldfile

Bandwitdh

    /usr/local/lxlabs/kloxo/log/get_traffic

Cron

    /usr/local/lxlabs/kloxo/log/cron_error
    /usr/local/lxlabs/kloxo/log/cron_exec
    /var/spool/cron/

        Store the custom crontab per name user inside

Admin

    /usr/local/lxlabs/kloxo/log/admin_error
    /usr/local/lxlabs/kloxo/log/login_success
    /usr/local/lxlabs/kloxo/log/message
    /usr/local/lxlabs/kloxo/log/user_cmd
    /usr/local/lxlabs/kloxo/log/access_log

        Log every access

Internal

    /usr/local/lxlabs/kloxo/log/shell_exec
    /usr/local/lxlabs/kloxo/log/shell_error
    /usr/local/lxlabs/kloxo/log/other_cmd
    /usr/local/lxlabs/kloxo/log/syncserveriherit
    /usr/local/lxlabs/kloxo/log/ajax
    /usr/local/lxlabs/kloxo/log/error

        General error log

    /usr/local/lxlabs/kloxo/log/update
    /usr/local/lxlabs/kloxo/log/watchdog
    /usr/local/lxlabs/kloxo/log/security
    /usr/local/lxlabs/kloxo/log/run_stats
    /usr/local/lxlabs/kloxo/log/redirect_error

PHP

    /usr/local/lxlabs/ext/php/error.log
    /usr/local/lxlabs/kloxo/httpdocs/.php.err

Lighttpd

    /home/kloxo/httpd/lighttpd/error.log
    /home/kloxo/httpd/lighttpd/ligh.log
    /usr/local/lxlabs/kloxo/log/lighttpd_error.log

Apache

    /var/log/httpd/error_log

Others

    /var/log/messages
Read More

Thứ Hai, 22 tháng 9, 2014

Nghẽn mail trên kloxo

Nghẽn mail trên kloxo

Đăng nhập vào quản lý host kloxo, chọn menu Web - Mail - Database => Mail Queue =>  để xem những mail gửi đi spam -> click vào chi tiết để xem email spam -> disable host spam, sau đó ssh vào chạy những lệnh bên dưới để xóa mail bị nghẽn. nếu vào Mail Queue bị treo thỉ cũng phải xóa những lệnh bên dưới.

ssh vào server gõ lệnh sau:

 /var/qmail/bin/qmail-qstat  nhấn enter sẽ hiện thị như sau:


Output looks like

messages in queue: 567154
messages in queue but not yet preprocessed: 3

Xóa:

qmailctl stop
find /var/qmail/queue/mess -type f -exec rm {} \;
find /var/qmail/queue/info -type f -exec rm {} \;
find /var/qmail/queue/local -type f -exec rm {} \;
find /var/qmail/queue/intd -type f -exec rm {} \;
find /var/qmail/queue/todo -type f -exec rm {} \;
find /var/qmail/queue/remote -type f -exec rm {} \;
qmailctl start

Disable local mail (Kloxo )

Để tránh IP server bị ảnh hưởng như nghẽn mail, IP bị các tổ chức chống spam mail quốc tế liệt IP vào blacklist, chúng tôi cần tạm ngưng dịch vụ mail client spam mail


1 - Vào 7778 -> mục client -> phần qmail -> Remote mail -> set Remote

2 - SSH server Xóa domain trong file virtualdomains (nếu còn)

/var/qmail/control/virtualdomains

Ngoài ra nếu bạn dùng mail server nơi khác vd mail gmail và gửi đi không được vì hệ thống lầm lẫn với mail local. Bạn cũng có thể dùng cách trên để khắc phục.

Chúc bạn thành công.
Read More

Thứ Tư, 19 tháng 3, 2014

How to Create/Restore Backup In Kloxo

How to Create/Restore Backup In Kloxo

Backup/Restore is a core part of Kloxo. You can take backup of your entire hosting and you can trivially restore it exactly on another server. In a cluster setup, you can take backup in one cluster configuration, and when restoring, you can tell Kloxo to re-arrange the resources on different servers.
Backup/Restore is also an extremely important aspect of web-hosting, and delivers peace of mind, and in fact, one of the main advantages of having a control Panel on your server.

It is recommended, though not necessary, that both the source and destination Kloxo be the latest version, but Kloxo should be transparently able to handle older versions.To take backup of your entire system:
 


 /script/backup --class=client --name=admin
Kloxo is 100% hierarchical. So if you take the backup of a top level client, automatically every resource under him is included, including his clients, domains, ssl certificates, or whatever resources he has. In the above case, you are taking the backup for admin, which actually includes your entire hosting.

To restore:


#/script/restore --restore --accounts=all <backup-file-path>
To list the contents of a backup file.


#/script/restore --list <backup-file-path>

To restore only certain domains/clients


#cd /usr/local/lxlabs/kloxo/httpdocs/


#lphp.exe ../bin/common/restore.php --restore --accounts=domain:domain.com,client:clientname <backup-file-path>
If you have taken the backup under a specific client, and want to restore under the same client, you can provide the client's class and name via --class and --name respectively. You have to first make sure that this client exists in the system. That is, you have to first add a client with the clientname, and then you can restore the backup under him.

#cd /usr/local/lxlabs/kloxo/httpdocs/

#lphp.exe ../bin/common/restore.php --class=client --name=clientname --restore <backup-file-path>

 
 
Read More

Thứ Tư, 12 tháng 3, 2014

Fix Kloxo awstats 500 internal server error

If you get a 500 error when accessing awstats, then the fix is to reset permissions, NOT by using the permission fix tool within the admin console, but you will need root access to fix this.
So if your host uses kloxo and you are getting 500 errors then chances are you wont be able to fix it from a client account.
Run command below:

    #cd /home/kloxo/httpd/awstats/wwwroot/
    #chmod 755 cgi-bin -R
    #chmod 755 icon -R
Once this has been changed then awstats will work again.

Read More

Update PHP 5.3 for Kloxo

Update PHP 5.3 for Kloxo

You can follow the steps below to update your php version to 5.3  for Kloxo.

Install repository

Creat file /etc/yum.repos.d/ius.repo

[ius]
name=IUS Community Packages for Enterprise Linux 5 - $basearch
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$basearch
enabled=1
gpgcheck=0

Creat file /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
enabled=1
gpgcheck=0
exclude=nginx*

Install yum replace 

yum install yum-plugin-replace
Replace php with php53u
yum replace php --replace-with=php53u
 * Other way: remove php and install php53u
yum -y remove php php-common
yum -y install php53u php53u-cli php53u-devel php53u-gd php53u-imap php53u-mbstring php53u-mysql php53u-pdo php53u-pear php53u-xml
 Create a php.ini template for php5.3
# cp /usr/local/lxlabs/kloxo/file/phpini/php.ini.template-5.2 /usr/local/lxlabs/kloxo/file/phpini/php.ini.template-5.3
# chown -R lxlabs:lxlabs /usr/local/lxlabs/kloxo/file/phpini/php.ini.template-5.3
Verify the new PHP version.
# php -v
Read More