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.
1561
Installation / Re: change the password of mysql used by CWP
« on: March 31, 2014, 10:15:51 PM »
when you change mysql root password from command line than you need to update it in CWP
at the moment CWP is only using root password for mysql you enter in CWP, but CWP is not changing mysql password from GUI.
at the moment CWP is only using root password for mysql you enter in CWP, but CWP is not changing mysql password from GUI.
1562
Installation / Re: error in centos6.5 minimal
« on: March 31, 2014, 10:09:55 PM »
when you are installing CWP you need to install it on the minimal version of centos without mysql.
1563
Installation / Re: Uninstall
« on: March 31, 2014, 10:08:51 PM »
you need to reinstall your server.
1564
Installation / Re: How do I create a new domain account in CentOS Web Panel ?
« on: March 31, 2014, 10:08:06 PM »
under webpanel settings you have root email field.
1565
Installation / Re: Error new Installation
« on: March 31, 2014, 10:06:41 PM »
when you install cwp you are required to have minimal installation of centos 6 x64 without mysql installed.
1566
Apache / .htaccess (mod rewrite) Rewrite not working - .htaccess being ignored by Apache
« on: March 28, 2014, 07:46:05 PM »
If you use mod rewrite and .htaccess for your website than you will need to add this in your vhost file (change USERNAME)
you need to edit where your domain is listed in file:
Add this:
add this config beffore </VirtualHost> for your domain
you need to edit where your domain is listed in file:
Code: [Select]
/etc/httpd/conf/httpd_webpanel_vhosts.conf
Add this:
Code: [Select]
<Directory "/home/USERNAME/public_html">
AllowOverride All
</Directory>
add this config beffore </VirtualHost> for your domain
1567
PHP / PHP ERROR: It is not safe to rely on the system's timezone settings
« on: March 28, 2014, 07:18:49 PM »
If you get this error listed bellow:
You can edit your /etc/php.ini file and search:
You can edit it eg. like this:
After editing you can restart apache:
Time Zone list:
https://php.net/manual/en/timezones.php
Code: [Select]
date(): It is not safe to rely on the system's timezone settings
mktime(): It is not safe to rely on the system's timezone settings
You can edit your /etc/php.ini file and search:
Code: [Select]
date.timezone =
You can edit it eg. like this:
Code: [Select]
date.timezone ="US/Central"
After editing you can restart apache:
Code: [Select]
service httpd restart
Time Zone list:
https://php.net/manual/en/timezones.php
1568
E-Mail / Postfix Mail Server commands
« on: March 27, 2014, 10:12:09 PM »
Some useful postfix commands
postqueue -p = mailq //postqueue -p is the same as mailq
service postfix reload //reload config
service postfix restart //restart postfix server
postconf mail_version //View the postfix version
postconf -d //Show default postfix values
postconf -n //Show non default postfix values
mailq //list mail queue and MAIL_ID's, list mail queue
postqueue -p //list mail queue and MAIL_ID's, list mail queue
postfix flush // flush mail queue
postqueue -f //process the queue now
postcat -q MAIL_ID //read email from mail queue
postsuper -d MAIL_ID //To remove MAIL_ID mail from the queue
postsuper -d ALL //To remove all mail from the queue
postsuper -d ALL deferred //To remove all mails in the deferred queue
postqueue -p | awk '/^[0-9,A-F]/ {print $7}' | sort | uniq -c | sort -n //sort and count emails by "from address"
postqueue -p | grep '^[A-Z0-9]'|grep user@adminlogs.info|cut -f1 -d' ' |tr -d \*|postsuper -d - //removing all emails sent by: user@adminlogs.info
postqueue -p | awk '/^[0-9,A-F].*user@adminlogs.info / {print $1}' | cut -d '!' -f 1 | postsuper -d - //remove all email sent from user@adminlogs.info
To delete all messages from the queue by a certain user:
for i in `postqueue -p | grep user@domain.com | awk '{print $1}' | grep -v host | grep -v \*`; do postsuper -d $i; done
postqueue -p | grep '^[A-Z0-9]'|grep @adminlogs.info|cut -f1 -d' ' |tr -d \*|postsuper -d - //remove all email sent by domain adminlogs.info
postqueue -p | tail -n 1 //Mail queue stats short
postqueue -p | grep -c "^[A-Z0-9]" //number of emails in Mail queue
tail -f /var/log/maillog //watch logs live
postqueue -p = mailq //postqueue -p is the same as mailq
service postfix reload //reload config
service postfix restart //restart postfix server
postconf mail_version //View the postfix version
postconf -d //Show default postfix values
postconf -n //Show non default postfix values
mailq //list mail queue and MAIL_ID's, list mail queue
postqueue -p //list mail queue and MAIL_ID's, list mail queue
postfix flush // flush mail queue
postqueue -f //process the queue now
postcat -q MAIL_ID //read email from mail queue
postsuper -d MAIL_ID //To remove MAIL_ID mail from the queue
postsuper -d ALL //To remove all mail from the queue
postsuper -d ALL deferred //To remove all mails in the deferred queue
postqueue -p | awk '/^[0-9,A-F]/ {print $7}' | sort | uniq -c | sort -n //sort and count emails by "from address"
postqueue -p | grep '^[A-Z0-9]'|grep user@adminlogs.info|cut -f1 -d' ' |tr -d \*|postsuper -d - //removing all emails sent by: user@adminlogs.info
postqueue -p | awk '/^[0-9,A-F].*user@adminlogs.info / {print $1}' | cut -d '!' -f 1 | postsuper -d - //remove all email sent from user@adminlogs.info
To delete all messages from the queue by a certain user:
for i in `postqueue -p | grep user@domain.com | awk '{print $1}' | grep -v host | grep -v \*`; do postsuper -d $i; done
postqueue -p | grep '^[A-Z0-9]'|grep @adminlogs.info|cut -f1 -d' ' |tr -d \*|postsuper -d - //remove all email sent by domain adminlogs.info
postqueue -p | tail -n 1 //Mail queue stats short
postqueue -p | grep -c "^[A-Z0-9]" //number of emails in Mail queue
tail -f /var/log/maillog //watch logs live
1569
PHP / Re: [Problem] Update PHP 5.3 to 5.4.25
« on: March 27, 2014, 08:53:24 PM »
you can install ioncube manually.
1570
E-Mail / Re: Roundcube webmail 404 not found
« on: March 27, 2014, 08:51:56 PM »
you can use default script which roundcube provides on they website, CWP is using the same for installation.
1571
E-Mail / Re: First time install - Roundcube login page - what are the login details?
« on: March 27, 2014, 08:50:22 PM »
you need to create email account in CWP that you can login with roundcube.
1572
CentOS 6 Problems / Re: About account
« on: March 27, 2014, 08:48:13 PM »
you need to upload index file
1573
DNS Manager / Re: dns bind help
« on: March 27, 2014, 07:19:52 PM »
try editing this file /etc/named.conf and search for double entry.
if you need more detailed help from sys admin you can use managed service.
http://centos-webpanel.com/managed-services
if you need more detailed help from sys admin you can use managed service.
http://centos-webpanel.com/managed-services
1574
DNS / Re: BIND wont start
« on: March 27, 2014, 07:17:43 PM »
nameserver entry's are always needed, and if any bugs you can search with google like for standard CentOS installation.
1575
CentOS 6 Problems / Re: About account
« on: March 27, 2014, 07:13:50 PM »
try deleting index.html from this account, as this is by default uploaded.