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.
1486
Updates / Re: Update from 0.7
« on: June 18, 2014, 08:00:47 PM »
to upgrade on newer version you will need to reinstall your server, but before that you need to backup all your files in /home folder and mysql databases and then on the new installation recreate all manually.
if you have modified any settings than you can backup and modified settings, also you can backup you mail folder /var/vmail
if you have modified any settings than you can backup and modified settings, also you can backup you mail folder /var/vmail
1487
Information / CentOS Server Log Files Location
« on: June 13, 2014, 03:56:31 PM »
CWP Login Logs
/var/log/cwp_login.log
Apache server Logs location:
/usr/local/apache/logs/
suPHP Log
/var/log/suphp.log
PHP Rebuild Log (PHP Switcher)
/var/log/php-rebuild.log
Postfix
/var/log/maillog
Dovecot
/var/log/dovecot-debug.log
/var/log/dovecot-info.log
/var/log/dovecot.log
How to View Logs?
You can use File Manger in CWP as one of the options
To live monitor logs you can user this command
/var/log/cwp_login.log
Apache server Logs location:
/usr/local/apache/logs/
suPHP Log
/var/log/suphp.log
PHP Rebuild Log (PHP Switcher)
/var/log/php-rebuild.log
Postfix
/var/log/maillog
Dovecot
/var/log/dovecot-debug.log
/var/log/dovecot-info.log
/var/log/dovecot.log
How to View Logs?
You can use File Manger in CWP as one of the options
Code: [Select]
cat /full/path/to/file.nameCode: [Select]
less /full/path/to/file.nameCode: [Select]
nano /full/path/to/file.nameCode: [Select]
vi /full/path/to/file.nameCode: [Select]
vim /full/path/to/file.nameTo live monitor logs you can user this command
Code: [Select]
tail -f /full/path/to/file.name1488
PHP / suPHP - 500 Internal Server Error
« on: June 13, 2014, 03:26:53 PM »
This error is usually related to a permissions/ownership issue.
suPHP requires that the files are owned by the user name. Permissions on php files should also be set to 644 (-rw-r-r-), folder permission must be 755.
How to change ownership on the files and folders
option no.2.
For one file eg. /home/test/public_html/index.php
For all files in /home/test/public_html folder (RECOMMENDED)
How to change permissions on the files and folders
For one file eg. /home/test/public_html/index.php
For all files in /home/test/public_html folder (RECOMMENDED)
If not of the above helps than you can check .htaccess file
you can check, disable, rename .htaccess file as rules inside this file can cause this issue.
You can also tail/monitor error log using command
suPHP requires that the files are owned by the user name. Permissions on php files should also be set to 644 (-rw-r-r-), folder permission must be 755.
How to change ownership on the files and folders
Quote
option no.1. (this will fix all permissions for the user account)
go to CWP menu --> User Accounts -- > Fix Permissions and select user
option no.2.
For one file eg. /home/test/public_html/index.php
Code: [Select]
chown USERNAME:USERNAME /home/test/public_html/index.phpFor all files in /home/test/public_html folder (RECOMMENDED)
Code: [Select]
chown -R USERNAME:USERNAME /home/test/public_html/*How to change permissions on the files and folders
For one file eg. /home/test/public_html/index.php
Code: [Select]
chmod 644 /home/test/public_html/index.phpFor all files in /home/test/public_html folder (RECOMMENDED)
Code: [Select]
cd /home/test/public_html
find . -type f -exec chmod 644 {} \; If not of the above helps than you can check .htaccess file
you can check, disable, rename .htaccess file as rules inside this file can cause this issue.
You can also tail/monitor error log using command
Code: [Select]
tail -f /usr/local/apache/logs/error_log
1490
Addons / Linux Shoutcast Manager - How to install shoutcast server
« on: June 12, 2014, 11:15:59 PM »
In CWP you can install shoutcast server in few clicks, in CWP menu go to Plugins and than ShoutCast Manager.
- Install Shoutcast server
**This will create linux user named "shoutcast" which will be used to run shoutcast servers in screen.
- Remove Shoutcast server
**This option will delete all servers and "shoutcast" linux user.
- Installing additional server servers
**This will create additional folder locations and shoutcast server files.
- Template folder is used to copy data when creating new server and you can modify it. [DO NOT DELETE THIS FOLDER]
Please remember that shoutcast servers use 2 ports always
eg.
if you create server with port 8000 it will also work on port 8001 (accepts connections).
Creating servers example
Server1 on port 8000
Server2 on port 8002
Server3 on port 8004
If you have enabled CSF Firewall you will need to open shoutcast port and port +1.
Server not starting known issues
- Install Shoutcast server
**This will create linux user named "shoutcast" which will be used to run shoutcast servers in screen.
- Remove Shoutcast server
**This option will delete all servers and "shoutcast" linux user.
- Installing additional server servers
**This will create additional folder locations and shoutcast server files.
- Template folder is used to copy data when creating new server and you can modify it. [DO NOT DELETE THIS FOLDER]
Please remember that shoutcast servers use 2 ports always
eg.
if you create server with port 8000 it will also work on port 8001 (accepts connections).
Creating servers example
Server1 on port 8000
Server2 on port 8002
Server3 on port 8004
If you have enabled CSF Firewall you will need to open shoutcast port and port +1.
Server not starting known issues
Code: [Select]
yum -y install screen glibc.i686 glibc.i386
1491
E-Mail / Re: Send: OK, Receive: No
« on: June 11, 2014, 08:09:28 PM »
can you contact support for this issue to check it?
1492
E-Mail / Re: DKIM support
« on: June 11, 2014, 08:03:17 PM »
this will be checked for this week update release.
1493
E-Mail / Re: IP used in the HELO request
« on: June 11, 2014, 07:59:58 PM »
if you have set valid hostname with proper A record than you can set hostname instead IP in postfix configuration
1494
MySQL / Re: [Warning] Error while sending SET_OPTION packet.
« on: June 10, 2014, 02:39:18 PM »
this is normal as CWP works with mysql and he lost connection
1495
PHP / Re: gd2 library
« on: June 08, 2014, 09:34:11 PM »
gd is compiled with php using PHP SWITCHER.
1496
New Modules / Re: How to Build a new module for CentOS Web Panel (CWP)
« on: June 08, 2014, 07:32:15 PM »
you will need to use direct link for now as we will add this in 0.9.2 soon.
1497
PHP / Re: gd2 library
« on: June 08, 2014, 07:29:28 PM »
which version of CWP and php you have installed?
1500
MySQL / Re: new users and databases not showing up
« on: June 06, 2014, 09:58:47 PM »
can you contact support to check this issue, also provide login details.
http://centos-webpanel.com/contact
http://centos-webpanel.com/contact
