because of possible cerbot errors ...
maybe you could integrate a lookup to make sure the domain name still resolves to the assigned IP address before a cert can be re-issued or renewed.
Posts by fulltilt
-
-
yeah, you're the man!
-
thanks, this happens with all domain names ...
.well-known folder is is available but does not contain anything (empty).
It seems to stop working since the last IMSCP update. -
- IMSCP: 1.4.7
- Distribution: Debian Stretch
- Proftpd
- PHP FCGID
- MariaDB 10.1
- Courier
- Roundcube
- Web2FTP
- Plugins:
PMA Captcha 1.1.1, RoundCubePlugins 2.0.1, SpamAssassin 2.0.1 , LetsEncrypt 3.3.0Problem:
Error Message shown in ControlPanel when setup a new let's encrypt cert:
Couldn't create directory for the /.well-known/acme-challenge/ URL path reacheability test.LetsEncrypt
Version 3.3.0 (Build 2017070300)/var/log/letsencrypt/letsencrypt.log
all OK, no error messages -
-
I guess I've found the reason ...
debian9 default debian.cnf contains root as user instead of debian-sys-maintI only noticed that no password was set
-
hmm, should I remove /etc/logrotate.d/mysql-server?
# - The error log is obsolete, messages go to syslog now.Code- # - I put everything in one block and added sharedscripts, so that mysql gets
- # flush-logs'd only once.
- # Else the binary logs would automatically increase by n times every day.
- # - The error log is obsolete, messages go to syslog now.
- /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log {
- daily
- rotate 7
- missingok
- create 640 mysql adm
- compress
- sharedscripts
- postrotate
- test -x /usr/bin/mysqladmin || exit 0
- if [ -f `my_print_defaults --mysqld | grep -m 1 -oP "pid-file=\K.+$"` ]; then
- # If this fails, check debian.conf!
- mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \
- flush-engine-log flush-general-log flush-slow-log
- fi
- endscript
- }
-
still got the same message today, could this happen because of missing log files?
/var/log/mysql contains only error.log and error.log.1mysqladmin user login works:
Code- mysqladmin -uroot -pxxxxxxxx processlist+----+-----------------+-----------+-------+---------+------+-------+------------------+----------+| Id | User | Host | db | Command | Time | State | Info | Progress |+----+-----------------+-----------+-------+---------+------+-------+------------------+----------+| 2 | authdaemon_user | localhost | ispcp | Sleep | 23 | | | 0.000 || 3 | authdaemon_user | localhost | ispcp | Sleep | 2 | | | 0.000 || 4 | authdaemon_user | localhost | ispcp | Sleep | 31 | | | 0.000 || 5 | authdaemon_user | localhost | ispcp | Sleep | 4 | | | 0.000 || 28 | authdaemon_user | localhost | ispcp | Sleep | 27 | | | 0.000 || 49 | root | localhost | | Query | 0 | init | show processlist | 0.000 |+----+-----------------+-----------+-------+---------+------+-------+------------------+----------+
Code- /etc/cron.daily/logrotate:
- mysqladmin: connect to server at 'localhost' failed
- error: 'Access denied for user 'root'@'localhost' (using password: YES)'
- error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '
- run-parts: /etc/cron.daily/logrotate exited with return code 1
-
-
haha
thank you for your patience!