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
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
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
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
Thank You Netino