Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 3,084
» Latest member: Benror
» Forum threads: 1,045
» Forum posts: 1,114
Full Statistics
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 53,180
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
Problem to create a new DB and user |
Posted by: Francesco - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
When I try to create a new DB and user (on ubuntu 16.04), via Wordpress install script inside the program too, EHCP stops with these regardings as you can look at the file attach:
Success sending info to daemon ()
Some Error Occured.
Could not connect as root!
and
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /var/www/new/ehcp/classapp.php on line 9047
Can you help me?
Thanks in advance
Restored from old drupal forum, for user uid:3719 username:Francesco
You may reset your password to access your new account here.
|
|
|
Net2ftp problem in newer Ubuntu's - Fixed - Patched |
Posted by: ehcpdeveloper - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
We have noticed that, Net2ftp is not compatible with newer Ubuntu's with php7. since php7 seems to have removed some php functions and net2ftp is last updated in 2013, there is some incompatibility. So, it is normal that net2ftp does not work on new Ubuntu's. We are working on this issue. We will either fix net2ftp or find an alternative.
In technical detail,
The problem is because of removed function ereg_replace in php7.
Check here for more info: https://stackoverflow.com/questions/39469264/fatal-error-uncaught-error-call-to-undefined-function-ereg-replace-php-7
We think that we fixed this, by patching that net2ftp package, that is downloadable from http://ehcp.net/diger/net2ftp.zip
New ehcp installs will already use this file.
But, we should better seek for an alternative web based ftp client. If you have suggestions, please comment here.
(net2ftp patch fix problem)
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Issue with alternative Python FTP Server behind NAT |
Posted by: premax - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I am running Ubuntu 16.04 with newest EHCP 0.38.3.b.
The server is behind NAT. I've setup proper local IP ("local IP of server") and a proper public IP ("dnsip (outside/real/static ip of server)". I have also redirected port tcp/2121 on my router.
While there was no problem with vsftpd in such configuration before, the new python-based ftp daemon seems to not handle passive transmission in a proper way.
I have tried TotalCmd, FileZilla and Chrome. The connection seems to be establishing for a while but then it times out.
Here are my logs from Filezilla:
Status: Resolving address of xxxx
Status: Connecting to 81.18.xx.xx:2121...
Status: Connection established, waiting for welcome message...
Response: 220-Welcome to python based EHCP Ftp Server, managed by EHCP (Easy Hosting Control Panel, www.ehcp.net) (Beta)
Response: 220
Command: AUTH TLS
Response: 500 Command "AUTH" not understood.
Command: AUTH SSL
Response: 500 Command "AUTH" not understood.
Status: Insecure server, it does not support FTP over TLS.
Command: USER xxxxx
Response: 331 Username ok, send password.
Command: PASS ************
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 501 Invalid argument.
Command: OPTS MLST type;perm;size;modify;unix.mode;unix.uid;unix.gid;
Response: 200 MLST OPTS type;perm;size;modify;unix.mode;unix.uid;unix.gid;
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory.
Command: TYPE I
Response: 200 Type set to: Binary.
Command: PASV
Response: 227 Entering passive mode (172,26,154,2,159,176).
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: MLSD
Response: 150 File status okay. About to open data connection.
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
And ehcp_ftp log:
INFO:root:Ehcp ftpserver:Rebuilding/adding users:
INFO:pyftpdlib:>>> starting FTP server on 0.0.0.0:2121, pid=3154 <<<
INFO:pyftpdlib:concurrency model: async
INFO:pyftpdlib:masquerade (NAT) address: None
INFO:pyftpdlib:passive ports: None
INFO:pyftpdlib:83.28.210.220:62612-[] FTP session opened (connect)
INFO:pyftpdlib:83.28.210.220:62612-[xxxxxx] USER 'xxxxxxx' logged in.
INFO:pyftpdlib:83.28.210.220:62612-[xxxxxx] FTP session closed (disconnect).
*** SOLUTION ***
Now, it seems that pyftpdlib silently ignores EHCP setting of public IP address.
So now I am trying to add it manually do the /var/www/new/ehcp/ftp_server2.py script:
# Specify a masquerade address and the range of ports to use for
# passive connections. Decomment in case you're behind a NAT.
handler.masquerade_address = '81.18.xx.xx'
handler.passive_ports = range(61800, 61899)
And of course and proper NAT port redirections to my router config.
Now.. everything is fine. Connection established.
TO DO: pls add handling of server public IP to the ftp_server2.py script
Regards
PP
Restored from old drupal forum, for user uid:34616 username:premax
You may reset your password to access your new account here.
|
|
|
Can't connect FTP with Ubuntu 16.04 |
Posted by: Francesco - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I've installed a new server with Ubuntu 16.04 and the last version of EHCP you suggest.
While I can connect via SFTP to root and navigate on directories, I can't with any FTP userid of domains. Same with net2ftp. Via Filezilla I received this error message: "ECONNREFUSED - Connection refused by server".
Any suggestion?
Restored from old drupal forum, for user uid:3719 username:Francesco
You may reset your password to access your new account here.
|
|
|
Postfix not working |
Posted by: Francesco - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hi, after installed EHCP version last you realised on ubuntu 16.04, I can't use Postfix to send mail to other destination with this answer:
<blockquote>NOQUEUE: reject: RCPT from XX-XX-XX-XXX.ip152.fastwebnet.it[XX.XX.XXX.XXX]: 554 5.7.1 <maildiesempio@gmail.com>: Relay access denied; from=<nome .cognome@dominiosuserver.it> to=<maildiesempio@gmail.com> proto=ESMTP helo=<PCdiXX></blockquote>
This is postconf -n
<blockquote>alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
debug_peer_level = 1
debug_peer_list =
default_process_limit = 3
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = localhost, 151.80.43.212
myhostname = ns3008978.ip-151-80-43.eu
mynetworks = [::1]/128, 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/16, 10.0.0.0/8, 151.80.43.0/24
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $mynetworks $virtual_mailbox_limit_maps $transport_maps
readme_directory = no
recipient_delimiter = +
relayhost =
sender_canonical_maps =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name powered by Easy Hosting Control Panel (ehcp) on Ubuntu, http://www.ehcp.net
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_client_access hash:/var/lib/pop-before-smtp/hosts,reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000</blockquote>
and this is etc/postfix/main.cf
<blockquote>See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name powered by Easy Hosting Control Panel (ehcp) on Ubuntu, http://www.ehcp.net
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = ns3008978.ip-151-80-43.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, 151.80.43.212
relayhost =
mynetworks = [::1]/128, 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/16, 10.0.0.0/8, 151.80.43.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
default_process_limit = 3
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticat
|
|
|
EHCP Daemon not running |
Posted by: robind99 - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (3)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
The CP gave me a error:
Attention!
ehcp daemon not running !
Please run it from command/line by:
sudo /etc/init.d/ehcp start
I use verion 0.36.5.b and it begin 2 days ago, I didn't change something... Is this a bug or?
Restored from old drupal forum, for user uid:27631 username:robind99
You may reset your password to access your new account here.
|
|
|
WordPress permalinks not working |
Posted by: itech - 04-14-2023, 10:10 PM - Forum: Ehcp Problems - After Installation
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
can anyone help with this issue I, links in wordpress do not work I verified the .htaccess file is present and rewrite is enabled by default but still don't work can anyone help??
it's loads 404
Restored from old drupal forum, for user uid:30245 username:itech
You may reset your password to access your new account here.
|
|
|
|