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.


Messages - Administrator

Pages: 1 ... 97 98 [99] 100 101 ... 110
1471
Installation / Re: Install Good Websites Bad
« on: June 24, 2014, 01:04:28 PM »
what is bad?, suPHP & suExec is one of the important security addons that you don't get hacked all accounts on the server as all php files must run under user permission.

1472
you will have when your panel updates to version 0.9.2 this will be probably tomorrow.

1474
you have create new account  and all websites needs to be uploaded to the home folder of that account.

/usr/local/apache/htdocs/ is only for ip access.

1475
Installation / Re: change the password of mysql used by CWP
« on: June 22, 2014, 08:09:34 PM »
its random generated, you can check it from command line

Code: [Select]
cat /root/my.cnf

1476
CentOS-WebPanel GUI / Re: Webpanel theme
« on: June 21, 2014, 08:14:42 PM »
you have all options in left menu

1477
Other / Re: Account **dosoft@gmail.com is restricted
« on: June 21, 2014, 07:55:18 PM »
issue with email, now its fixed :)

1478
MySQL / Re: SQL Problem
« on: June 20, 2014, 06:06:12 PM »
you need to check db connection file

/usr/local/cwpsrv/htdocs/admin/include/db_conn.php

FTP user and password is what you create via New account.
if you need root user than you need to use SFTP

1479
CentOS-WebPanel GUI / Re: Webpanel theme
« on: June 20, 2014, 06:02:32 PM »
1. if there is any content that button needs to display it will be active
2. no that is only for old versions 0.1 - 0.7

1480
MySQL / Re: SQL Problem
« on: June 20, 2014, 02:02:32 PM »
you need to check that you have correct root password for mysql

you can check if you have mysql root password set with this command
Code: [Select]
mysql -uroot
mysql root password locations:

for shell
Code: [Select]
cat /root/.my.cnf
or for CWP
Code: [Select]
cat /usr/local/cwpsrv/htdocs/admin/include/db_conn.php

1481
Installation / Re: Uninstall centos web panel
« on: June 19, 2014, 04:34:55 PM »
there is no uninstaller as CWP compiles services from source, you can reinstall your operating system and make fresh install

1482
Other / Re: Aliases that referring only to one website
« on: June 18, 2014, 08:04:58 PM »
you can manually add alias for each user (using apache vhost editor) or you can build module for that very easy in php

1483
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

1484
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
Code: [Select]
cat /full/path/to/file.name
Code: [Select]
less /full/path/to/file.name
Code: [Select]
nano /full/path/to/file.name
Code: [Select]
vi /full/path/to/file.name
Code: [Select]
vim /full/path/to/file.name
To live monitor logs you can user this command
Code: [Select]
tail -f /full/path/to/file.name


1485
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

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.php
For 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.php
For 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

Pages: 1 ... 97 98 [99] 100 101 ... 110