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.
Pages: [1] 2
1
CentOS-WebPanel Bugs / User home Error when creating subdomain
« on: February 09, 2019, 07:27:47 PM »
Hi,
I have a problem when creating subdomain for a client:
"ERROR! SubDomain test.mydomain.com path not within user home folder!"
We recently switched from CWP6 to CWP7, we did manual transfer. Imported databases from old server etc.
When we create new user everything works ok. Old, transfered domains do not.
I guess that CWP has stored old GIDs and UIDs somewhere and new server simply dont recognize new IDs and thus reports this error.
Please help.
Thanks in advance
I have a problem when creating subdomain for a client:
"ERROR! SubDomain test.mydomain.com path not within user home folder!"
We recently switched from CWP6 to CWP7, we did manual transfer. Imported databases from old server etc.
When we create new user everything works ok. Old, transfered domains do not.
I guess that CWP has stored old GIDs and UIDs somewhere and new server simply dont recognize new IDs and thus reports this error.
Please help.
Thanks in advance
2
CentOS 6 Problems / Re: Cant create e-mail account
« on: March 31, 2017, 07:41:52 AM »
No no accounts list. I have centos 6.8 with CWP version: 0.9.8.198 this is the version on fresh install.
Thanks in advance
Thanks in advance
3
CentOS 6 Problems / Cant create e-mail account
« on: March 27, 2017, 06:38:55 PM »
Hi everyone,
Im using latest cwp 0.9.8.197 on centos 6.8. When I go to create e-mail I get this:
Can someone figure out whats wrong?
Thanks in advance
Im using latest cwp 0.9.8.197 on centos 6.8. When I go to create e-mail I get this:
Code: [Select]
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/client/modules/mail_add-new.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Can someone figure out whats wrong?
Thanks in advance
4
PHP Selector / Re: Upgrade buildconf 2.63
« on: February 26, 2017, 08:01:40 AM »
Yeah, centos 6 does this. Can we safely upgrade to newer buildconf?
5
PHP Selector / Re: Add new PHP modules
« on: February 26, 2017, 08:00:54 AM »
well you can always use google and save 7$, for sysvmsg module type in google : php comile sysvmsg . I got this page : http://php.net/manual/en/sem.installation.php
6
Information / Re: CWP AWSTATS
« on: February 24, 2017, 06:24:24 PM »
you must go to console/terminal of your server:
First lets see whats in that folder: ls /etc/awstats
Post the output of that folder here and we will work from there.
First lets see whats in that folder: ls /etc/awstats
Post the output of that folder here and we will work from there.
7
Information / Re: CWP AWSTATS
« on: February 23, 2017, 06:31:24 AM »
can you post output of : cat /etc/awstats/awstats.yourdomainname.conf
8
Information / Re: Latest CWP for CentOS7 cannot get letsencrypt SSL
« on: February 22, 2017, 08:14:33 AM »
I did have some problems with letsencrypt on centos 6, resolved it with uninstalling letsencrypt, deleting well-known and reinstall it again.
9
Information / Re: CWP AWSTATS
« on: February 22, 2017, 08:11:03 AM »
What tutorial did you use? And what didnt work?
take a look at this: https://panel.bullten.net/knowledgebase/59/Install-and-Configure-Awstats-in-CWP.html
take a look at this: https://panel.bullten.net/knowledgebase/59/Install-and-Configure-Awstats-in-CWP.html
10
E-Mail / Re: Dedicated IP for mail services
« on: December 15, 2016, 05:42:21 PM »
You can change your mail IP using DNS tool in CWP. Just set up new A record for mail. For roundcube you will have to create subdomain like webmail.yourdomain.com and change apache vshost file.
11
E-Mail / Postfix/dovecot no MySQL?
« on: December 15, 2016, 05:40:37 PM »
Is it possible to set up Postfix to use /var/vmail/vhost/shadow for storing user email passwords like cPanel does? It would be great for cPanel to CWP migration. So far I can only edit postfix database and put "{sha512-crypt} cPanelpasswordhere" instead of PLAIN-MD5. It works dough.
I will try to make automation script for this.
I will try to make automation script for this.
12
Information / Re: Web site is going down at 300 visits - i have strong server.
« on: October 09, 2016, 10:21:15 PM »
za CPU bi mogao bi recimo da proveriš da slučajno nemaš neke query koji se sporo izvršava. To može da napravi problem.
http://dba.stackexchange.com/questions/98732/how-to-enable-queries-logs-in-mariadb
#Slow Query Log
log-slow-queries
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mysql_slow.log
long_query_time = 2
log-queries-not-using-indexes
http://dba.stackexchange.com/questions/98732/how-to-enable-queries-logs-in-mariadb
#Slow Query Log
log-slow-queries
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mysql_slow.log
long_query_time = 2
log-queries-not-using-indexes
13
Information / Re: Web site is going down at 300 visits - i have strong server.
« on: October 09, 2016, 09:27:53 PM »
Slobodno stavi 250 pa ćemo da vidimo kako će da se ponaša server.
14
Information / Re: Web site is going down at 300 visits - i have strong server.
« on: October 09, 2016, 08:06:29 PM »
Ok,
koliko vidim tvoj sql server koristi server.cnf kao glavni konfiguracioni fajl.
tako ćemo da stavimo u sekciju [mysqld] ono što je preporučeno od mysqltunera:
max_connections = 250
tmp_table_size = 64M
max_heap_table_size = 64M
key_buffer = 256M
naravno posle ovoga restartuj sql server pa javi kako je prošlo i output od mysqltunera.
čisto da vidimo kako će da se ponaša
inače max_connections je , kao što i sama opcija kaže, maksimalni broj konekcija na bazu u istom trenutku.
P.S kad imaš veliki broj konekcija u principu sve treba da se izmeni po malo. I apache, i php i mysql . Šta tačno treba da se izmeni/optimizuje zavisi od toga koji su zahtevi servera. Ponekad žrtvuješ brzinu za heavy load na primer .
koliko vidim tvoj sql server koristi server.cnf kao glavni konfiguracioni fajl.
tako ćemo da stavimo u sekciju [mysqld] ono što je preporučeno od mysqltunera:
max_connections = 250
tmp_table_size = 64M
max_heap_table_size = 64M
key_buffer = 256M
naravno posle ovoga restartuj sql server pa javi kako je prošlo i output od mysqltunera.
čisto da vidimo kako će da se ponaša
inače max_connections je , kao što i sama opcija kaže, maksimalni broj konekcija na bazu u istom trenutku.
P.S kad imaš veliki broj konekcija u principu sve treba da se izmeni po malo. I apache, i php i mysql . Šta tačno treba da se izmeni/optimizuje zavisi od toga koji su zahtevi servera. Ponekad žrtvuješ brzinu za heavy load na primer .
15
Information / Re: Web site is going down at 300 visits - i have strong server.
« on: October 09, 2016, 02:27:04 PM »
E nema na čemu. Sad će da izvalimo o čemu se radi:
Vidiš tu liniju koja kaže
!includedir /etc/my.cnf.d
pošto koristiš MariaDB a ne MySQL verovatno su mu tamo glavni konfiguracioni fajlovi. Aj polgedaj šta tamo stoji u tom direktorijumu my.cnf.d verovatno ti i tamo stoji jedan my.cnf gde bi bilo pametnije da ubacimo ove preporuke za max_connections itd.
Takođe, veoma često se dešava da recimo neki plugin za CMS zabada sql batu
Vidiš tu liniju koja kaže
!includedir /etc/my.cnf.d
pošto koristiš MariaDB a ne MySQL verovatno su mu tamo glavni konfiguracioni fajlovi. Aj polgedaj šta tamo stoji u tom direktorijumu my.cnf.d verovatno ti i tamo stoji jedan my.cnf gde bi bilo pametnije da ubacimo ove preporuke za max_connections itd.
Takođe, veoma često se dešava da recimo neki plugin za CMS zabada sql batu
Pages: [1] 2