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 - studio4host

Pages: 1 ... 85 86 [87] 88 89
1291
CentOS 6 Problems / Re: Nginx & Varnish are using the same port
« on: August 04, 2017, 07:09:36 AM »
try checking all ports used by nginx/varnish/apache it should be visible module where you select webservers

don't forget to rebuild vhosts after you make this changes.
If something goes wrong try this, switch to apache only and rebuild vhosts then select option which you need and again rebuild vhosts.

In case that any of this doesn't work you can stop all webservers from cwp and check in the process list if some webserver stucked and left running.

1292
CentOS 7 Problems / Re: Dependencies libc-client(x86-64)
« on: August 03, 2017, 01:48:36 PM »
then
yum remove libc-client

it will also remove cwp-php but you can install it after again
yum install cwp-php

1293
MySQL / Re: Empty my.cnf
« on: August 03, 2017, 01:41:13 PM »
Maria DB default configuration is here
/etc/my.cnf.d/server.cnf

1294
Postfix / Re: ERROR: You don't have a valid hostname set!
« on: August 03, 2017, 01:39:39 PM »
you simply need to set hostname with your provider control panel and then do the same in cwp.

You should use something like srv1.yourdomain.com, replace yourdomain.com with your domain, then you need to point A record for srv1 subdomain to your server ip and setup rDNS/PTR with your server provider (this can be done only by the server provider or you from server control panel NOT CWP).

Scaleway vps can have nat-ed network so you will need to check also this (part for nat-ed network)
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains

1295
If the status of that service is unknow then monitoring from cwp for it will not work, what is the service you would need to monitor ?

1296
SSL / Re: Secure CWP Admin Panel Port 2031
« on: August 03, 2017, 01:24:28 PM »
But how do I redirect from port 2030 too port 2031 and to https

You would need to add nginx redirect rules in file /usr/local/cwpsrv/conf/cwpsrv.conf
google that, it should be simple.

1297
Installation / Re: New installation very slow
« on: August 03, 2017, 01:21:10 PM »
try clearing cache from your browser or if you have varnish enabled try to disable it.

1298
CentOS 6 Problems / Re: Host server too many disk
« on: August 03, 2017, 01:18:18 PM »
try with this comands

Code: [Select]
cd /
sh /scripts/disk_check
du -hs *
lsof |grep deleted 2> /dev/null

1299
PHP / Re: PHP Version Switcher
« on: August 03, 2017, 01:14:53 PM »
Hello,

I have a problem with mi PHP Versión Switcher, i'm trying to install a php-ldap module, I foundthis option http://forum.centos-webpanel.com/php/enable-php-ldap-extesion-in-php-5-6-(centos-6)/ , but i can't add new flags to the PHP Version Switcher compiler, can you help me to find a solution?

My CWP Versión is: 0.9.8.333 and the PHP Version is 5.6.30


this is simple
Just edit configuration file for version you want to change and the open php switcher

Configuration files location: /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/
Edit file for php version you need, example for php 5.6 and add this at end of the file

nano /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/5.6.ini

Code: [Select]
[myconf1]
default=1
option="--with-pcre-regex"

Detailed
http://wiki.centos-webpanel.com/php-version-switcher


The version switcher works fine for me but I have a few concerns with it:

1. What's the point of providing such feature while there's a packaged version available (cwp-php) installed by default? I believe it would be more logical to package and maintain one particular version used as the PHP interpreter for the CWP web interface and several other system functions and use PHP Selector for providing PHP usage feature for users. Now that I compiled version 5.6.31 using the Version Switcher, I have two separate instances of the same PHP version (one in /usr/local and one in /opt/alt/php56) which looks pointless to me.

This is not related /usr/local version is default version (from php switcher) while /opt/alt is installed by php selector.




1300
CentOS-WebPanel Bugs / Re: Wordpress and Permissions
« on: August 03, 2017, 01:04:22 PM »
to fix user account permissions you need to go in cwp admin area and under User accounts you have Fix permissions which should resolve all permissions issues with your accounts and from then you should be able to upload files via FTP.

CentOS 7 is recommend for CWP so you don't need to change OS.

If you are using ssh for downloading files and running scripts from shell then you should switch to user account by using this command.
Code: [Select]
su - USERNAME -s /bin/bash



1301
CentOS 7 Problems / Re: Dependencies libc-client(x86-64)
« on: July 30, 2017, 07:19:20 AM »
try removing libc-client-2007f-4 and install libc-client

note: when removing package check what dependencies will be also removed as you can remove also something important and cause server issues.

1302
E-Mail / Re: MX records, how to manage it
« on: July 30, 2017, 07:16:04 AM »
the best would be that you edit zone file directly by using file editor and then once you save it restart dns.
After restart check your dns changes by using this site, it has live info

http://leafdns.com/

1303
CentOS 7 Problems / Re: cwpsrv.service failed emerg
« on: July 29, 2017, 08:07:53 AM »
hostname change should resolve certificate issue with the hostname
From cwp save your hostname again and it wil generate a new certificate and key

If that fails you can co it from the command line (use option from cwp first as that is recommended)
Code: [Select]
sh /scripts/generate_hostname_ssl

1304
Postfix / Re: Postfix: Can't add email account
« on: July 27, 2017, 03:17:44 PM »
I still can't get my email working :( i already set it all up and the last error was

Quote
2017/07/27 16:19:54 [error] 1685#0: *13921 FastCGI sent in stderr: "PHP message: PHP Warning:  [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_add-new.php on line 0
PHP message: PHP Warning:  [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_add-new.php on line 0" while reading upstream

to create email account you need to have created account with domain which you can then use when creating new email address...if you dont have account then you can't create email address.
This is info if only if you postifx db admin user works properly and its set in all required locations.

If you need to set new user then  make sure that you use old username and password for database as otherwise you will need to change it on many locations, you can check your old user details in /etc/postifx/mysql-***.cf file

1305
E-Mail / Re: Not receiving bounce back emails on inbox
« on: July 26, 2017, 03:50:30 PM »
try checking in the email log what kind of error you get
http://wiki.centos-webpanel.com/service-log-paths

Pages: 1 ... 85 86 [87] 88 89