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 ... 61 62 [63] 64 65
931
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 ?

932
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.

933
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.

934
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

935
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.




936
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



937
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.

938
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/

939
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

940
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

941
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

942
Postfix / Re: Second SMTP port
« on: July 26, 2017, 03:36:26 PM »
idea of rebuild of the configuration is to get all default settings so that how this needs to be done.
Since you need different custom configuration after rebuild the you need to make custom script which you can execute after rebuild or do it manually.

Why would you even need to rebuild configuration after your changes if all works.

943
Information / Re: quota in CWP
« on: July 26, 2017, 03:33:41 PM »
I know that soon there will be released new cwp version which will also have different quota calculation.

944
DNS / Re: Name Server Not Working
« on: July 26, 2017, 10:10:49 AM »
already sent you that you server has no open port 53 udp from internet and you can test than only from external computer (NOT your server)

945
DNS / Re: How to Setup DNS (BIND) on server
« on: July 26, 2017, 10:08:39 AM »
hi everyone i facing some problems. İ can not use pureftpd and dns. they always failed. when i try to restart ftp the system says

"Job for pure-ftpd.service failed because the control process exited with error code. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

and this is how looks like my controlpage.

please someone help me !  :( :( :( :(

simple restart service and run this command from shell to check error you get
Code: [Select]
journalctl -xe
also service status button should give you some additional info.

Pages: 1 ... 61 62 [63] 64 65