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

Pages: [1]
1
CentOS 6 Problems / Re: Backup not running
« on: March 28, 2017, 06:17:33 AM »
So, any idea why local backups are not created? The user can run backup manually but automatic backup not running on the local server, only on remote side.

2
CentOS 6 Problems / Re: Backup not running
« on: March 23, 2017, 08:02:30 AM »
Hi,

Thank you, but as I wrote, the cron entries already changed to /usr/local/cwp/php71/bin/php so it's now working.

The problem is the local backup not running. Only the remote.
On the remote backup server the daily and weekly folders already created and working well.

But on the local /backup folder is empty. When I run it with manually only the remote backup ran.

Do you have any idea, how can I run local backup?

3
CentOS 6 Problems / Re: Backup not running
« on: March 17, 2017, 07:49:58 AM »
Sorry, now I see, this topic was opened in a wrong secion, becuase there a Backup secion. So, if possible, please move this to Backup section.

But, now I found why daily remote backup not working:
Code: [Select]
root@host:~ # cat /etc/cron.daily/cwp
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
/usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php
root@host:~ # /usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
PHP Fatal error:
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded
with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
 in Unknown on line 0
root@host:~ # /usr/local/cwp/php54/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
PHP Fatal error:
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded
with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
 in Unknown on line 0
root@host:~ #

I just changed this to "/usr/local/cwp/php71/bin/php" and now its working.

The next problem is, no cronjob in the /etc/cron.weekly or /etc/cron.monthly .
And the local backup still not running.

4
CentOS 6 Problems / Backup not running
« on: March 17, 2017, 07:32:36 AM »
Hello,

I have the configuration below.

Backup is enabled for every user, but currently no local or remote backups were created since the system was installed.

I have more CWP setups, but on other sites it worked, but currently I only use this.

Do you have any idea, what can I check and where can start solving this problem?

I already tried to uncheck boxes, save, and "re-checkin" them. It didn't help.

Thanks in advance!

Regards,
Krisztián


5
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 12:44:18 PM »
Try to use http://url.url:2030/webmail

It's working. The question is, why now we lost the default url/webmail access, and why this is not communicated out?
Becuase now we using again a non-standart port. So, if the firewall/proxy is blocking every port and only 80/443 available, now the users can't use the webmail.
I will solve this in vhosts i think, but the questions are open :)

6
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 11:16:17 AM »
Now I have to use PHP Swticher to switch to the latest php7?

No, it does not requires. You can use if you want.

Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Hmmm, never seen it before after update.
Check if config
Code: [Select]
/usr/local/cwpsrv/var/services/roundcube/config/config.inc.phphas correct rouncube login and password.

It's interesting because i have a proxy to forward https://cwp.url to 2030 , so I can use it behind a limited network.
And If I use it with https://cwp.url/roundcube its working. If i use a standard url.url/webmail (like before) I got this error message.
Any idea why?

7
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 10:51:42 AM »
After an Apacha Rebuild now it's working :)

Before:
Application Version
    Apache version: Apache/2.2.27
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36

After:
Application Version
    Apache version: Apache/2.4.25
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36

Now I have to use PHP Swticher to switch to the latest php7?

@robbyq: the CWP Control panel is faster, the web test is in progress

Next problem with webmail:
Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.


8
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 10:35:25 AM »
This error
Quote
client denied by server configuration: /home/-username-/public_html/
looks like you are using deprecated Allow, Order directives in apache config or .htaccess.
You can try restore Apache and then rebuild via CWP.

Current running version:

Code: [Select]
Server version: Apache/2.4.25 (Unix)
Server built:   Mar  1 2017 14:22:27

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 ext_filter_module (shared)
 include_module (shared)
 filter_module (shared)
 deflate_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_fcgi_module (shared)
 proxy_scgi_module (shared)
 proxy_ajp_module (shared)
 proxy_balancer_module (shared)
 slotmem_shm_module (shared)
 ssl_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 asis_module (shared)
 suexec_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 suphp_module (shared)

This it the latest version as I see.

Now I try a vhost rebuild.

Edit: not working. I removed .htaccess but it didn't help.

still: client denied by server configuration: /home/-user-/public_html/

Apache rebuild started.

9
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 10:14:59 AM »
Hi,

Let us know what kind error in error.log do you have.
Also let us know what kind configuration did you have (apache+nginx etc, mod_security)?

CWP update was successfull, but the apache not.
I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

ps: + a lot "Internal Server Error" errors

Before Update:
Application Version
    Apache version: Apache/2.2.27
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36
System Info
   Distro Name: CentOS release 6.8 (Final)
CWP info
   CWP version: 0.9.8.153
   
After CWP update:   
CWP info
   CWP version: 0.9.8.188
   

Code: [Select]
Installed:
  cwp-httpd.x86_64 0:2.4.25-3                                                                     cwp-suphp.x86_64 0:0.7.2-2

Complete!
Stopping httpd:                                            [FAILED]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using s1.sowe.hu. Set the 'ServerName' directive globally to suppress this message
                                                           [  OK  ]
Apache has been upgraded

Code: [Select]
[Wed Mar 15 11:11:34 2017] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 15 11:11:34 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 15 11:11:34 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Wed Mar 15 11:11:35 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 15 11:11:35 2017] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Mar 15 11:11:35 2017] [notice] caught SIGTERM, shutting down
[Wed Mar 15 11:11:46.001155 2017] [ssl:warn] [pid 6027:tid 140026756859648] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 15 11:11:46.005490 2017] [mpm_event:notice] [pid 6027:tid 140026756859648] AH00489: Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Mar 15 11:11:46.005534 2017] [core:notice] [pid 6027:tid 140026756859648] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Mar 15 11:12:00.681838 2017] [authz_core:error] [pid 6031:tid 140026537047808] [client *.*.*.*:36317] AH01630: client denied by server configuration: /home/-username-/public_html/

edit: "/usr/local/apache/conf.d/vhosts-ssl-letsencrypt.conf" not loaded, httpd not listening on 443

10
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 09:34:47 AM »
CWP update was successfull, but the apache not.
I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

ps: + a lot "Internal Server Error" errors

11
Updates / Re: CWP6 0.9.8.183 for CentOS 6 released (28.02.2017)
« on: March 15, 2017, 07:23:27 AM »
Hello,
Any update in that case after 12days?
Thanks in advance!

Pages: [1]