Author Topic: alertandautorenewssl error  (Read 5947 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
alertandautorenewssl error
« on: December 31, 2018, 07:33:11 AM »
Hey
Every day he gets a message by email

PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php on line 0
sed: can't read /usr/local/apache/conf.d/vhosts-ssl.conf: No such file or directory
PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php on line 0
sed: can't read /usr/local/apache/conf.d/vhosts-ssl.conf: No such file or directory
PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php on line 0
sed: can't read /usr/local/apache/conf.d/vhosts-ssl.conf: No such file or directory
sed: can't read /usr/local/apache/conf.d/vhosts-ssl.conf: No such file or directory

What is the cause and how to fix it?
greetings

Offline
***
Re: alertandautorenewssl error
« Reply #1 on: January 03, 2019, 03:09:57 AM »
What CWP version are you using..??

Seems this file is not used anymore in any apache configuration in my server.
Check your with:
# find /usr/local/apache/ -type f -exec grep -H vhosts-ssl.conf {} +

Regards,
Netino

Offline
*
Re: alertandautorenewssl error
« Reply #2 on: January 04, 2019, 07:53:12 AM »
Hi

CWPpro version: 0.9.8.755
CentOS Linux release 7.6.1810
Kernel Version: 3.10.0-957.el7.x86_64

the command does not display anything
http://prntscr.com/m2vu13

Offline
***
Re: alertandautorenewssl error
« Reply #3 on: January 05, 2019, 02:12:00 AM »
Ok, so you don't have a file named "/usr/local/apache/conf.d/vhosts-ssl.conf".
Your CWP is updated, but trying to access a unused anymore file.

I don't know why you are receiving this message, but surely apache call the SSL files from individual domain files, like "domain.ssl.conf" in directory "/usr/local/apache/conf.d/", called from directive:
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
from file:
/usr/local/apache/conf.d/vhosts.conf

... that is called from directive:
Include /usr/local/apache/conf.d/*.conf
from file:
/usr/local/apache/conf/httpd.conf
.. the main apache configuration file.

So, if you have activated some monitoring for apache, that checks the old structure, this program is outdated, and need be updated.
This only can be made by CWP support.

Regards,
Netino
« Last Edit: January 05, 2019, 02:32:08 AM by Netino »

Offline
*
Re: alertandautorenewssl error
« Reply #4 on: January 07, 2019, 10:20:50 AM »
Thank You Netino