Recent Posts

Pages: [1] 2 3 ... 10
1
Technical Help / Since upgrade to Debian 11
« Last post by spicer on November 05, 2022, 10:08:26 pm »
The following error comes every 2 days:
Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/lib/php/20190902/mysql.so (/usr/lib/php/20190902/mysql.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/mysql.so.so (/usr/lib/php/20190902/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Why?
Pls no the answer: "New installation"
2
Technical Help / Re: I can't login via FTP & ImportError: No module named passlib.hash
« Last post by spicer on October 25, 2022, 08:18:46 am »
THX  8)
3
The new release that I'm making shortly will hopefully address some of these issues.

I found some problems via testing just now, so thanks for letting me know.  However, for now, Python 2 is still needed.
4
General / Re: Update Log
« Last post by earnolmartin on October 24, 2022, 12:18:48 pm »
Minor update released for Ubuntu 22.04 and some Debian issues.
5
Python 2 is required due to several modules using Python 2, and the default system wide python binary must be version 2.x for EHCP to work properly.   I believe a fresh install on Debian 11 will fix this issue, as it will install Python 2 as needed.
6
Technical Help / I can't login via FTP & ImportError: No module named passlib.hash
« Last post by spicer on October 13, 2022, 04:37:18 pm »
During the installation appears:

Code: [Select]
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.25.1)
Requirement already satisfied: chardet in /usr/lib/python3/dist-packages (4.0.0)
Collecting hashlib
  Using cached hashlib-20081119.zip (42 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yu10gzky/hashlib_bebca6200e3a4f668e442af52a70740d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yu10gzky/hashlib_bebca6200e3a4f668e442af52a70740d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3rf8e70u
         cwd: /tmp/pip-install-yu10gzky/hashlib_bebca6200e3a4f668e442af52a70740d/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-yu10gzky/hashlib_bebca6200e3a4f668e442af52a70740d/setup.py", line 68
        print "unknown OS, please update setup.py"
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("unknown OS, please update setup.py")?
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip#sha256=419de2fd10ae71ed9c6adcb55903f116abd1d8acc8c814dfd5f839b4d5013e38 (from https://pypi.org/simple/hashlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement hashlib
ERROR: No matching distribution found for hashlib

I can't login via FTP. "530 Login incorrect."

The auth.log shows:
Code: [Select]
Oct 14 00:32:43 xenforo /etc/security/pam_dbauth_vsftpd.py[5819]: Traceback (most recent call last):
Oct 14 00:32:43 xenforo /etc/security/pam_dbauth_vsftpd.py[5819]:   File "/etc/security/pam_dbauth_vsftpd.py", line 68, in <module>
Oct 14 00:32:43 xenforo /etc/security/pam_dbauth_vsftpd.py[5819]:     from passlib.hash import mysql41
Oct 14 00:32:43 xenforo /etc/security/pam_dbauth_vsftpd.py[5819]: ImportError: No module named passlib.hash

I think the problem is since the upgrade from Debian 10 to 11.
Why is EHCP still installing Python2.7? My OS is Debian 11 (Bullseye). There is no Python2.7 by default.
7
I'm not sure, but you shouldn't have to edit anything in the postfix configuration files.  Just use the panel advanced settings to setup what is needed.
8
Bugs / Improper removal of a subdomain
« Last post by spicer on September 09, 2022, 04:15:25 pm »
I created a subdomain for a Letsencrypt-mail test (mail.mydomain.com).
After the test, I deleted them again in EHCP.
At the next reboot Apache2 did not come up because:
Code: [Select]
AH00112: Warning: DocumentRoot [/var/www/vhosts/mydomain.com/mydomain.com/httpdocs/subdomains/mail] does not exist
AH00526: Syntax error on line 19 of /var/www/new/ehcp/apachehcp_subdomains.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/mail.mydomain.com/fullchain.pem' does not exist or is empty
Action 'start' failed.

Then I created the path manually via FTP.
Code: [Select]
...httpdocs/subdomains/mail/logsApache2 then started.
9
Technical Help / After activate Letsencrypt on postfix connection to smtp failed
« Last post by spicer on September 02, 2022, 05:39:24 pm »
I install ssl for postfix with this tutorial:
https://ehcpforce.tk/faq/index.php?action=artikel&cat=2&id=12&artlang=en
Then I edit/add the following lines in /etc/postfix/main.cf
Code: [Select]
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/letsencrypt/live/mydomain.com/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/mydomain.com/privkey.pem
#Disable Poodle
smtp_tls_security_level = may
smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3
smtp_tls_mandatory_protocols=!SSLv2,!SSLv3
smtpd_tls_protocols=!SSLv2,!SSLv3
smtp_tls_protocols=!SSLv2,!SSLv3
#Changes to SSL Ciphers
tls_preempt_cipherlist = yes
smtpd_tls_mandatory_ciphers = high
tls_high_cipherlist = ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384

When I send a mail then in the mail.log:
NOQUEUE: reject: RCPT from xxx.xx.xxx.xx.ftth.as8758.net[xxx.xx.xxx.xx]: 454 4.7.1 <spicer@yyyy.ch>: Relay access denied;
And Roundcube webmail can not connect to the smtp.
Why?
10
Technical Help / How to completely reinstall Postfix and Roundcube?
« Last post by spicer on August 06, 2022, 08:27:49 pm »
Ever since I tried to set up a relay server, Roundcube reports: Cannot connect to the IMAP server
I can't connect to Thunderbird either.
I suspect that the IMAP configuration is completely destroyed.

>>> New install of EHCP solved this problem.


I worked according to this guide:
https://www.linuxhowto.net/how-to-set-up-postfix-smtp-relay-on-ubuntu-with-sendinblue/

Unfortunately, the authentication of the domain doesn't seem to work either.
After more than 12 hours still no verification.
How/where do I have to enter this information (see screenshot)?


Solved. I use now netcorecloud.com
Pages: [1] 2 3 ... 10