• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to make sw-cp-server listen on ipv6

105547111

Silver Pleskian
IgorG,

Can you tell me what do I need to modify to get the parallels panel at :8443 to listen on ipv6? I have managed to get my server running email (postfix as this supports ipv6 where qmail does not), DNS, http, ftp, everything but the damn panel.

I am hoping it has not been compiled without ipv6 support. If so how can the sw-cp-server be compiled with ipv6 support?

Thanks!
 
IgorG,

I see its built from light httpd and thank goodness it has been compiled with ipv6 support:

# sw-cp-serverd -V
sw-cp-server-1.0.0 (ssl) - a light and fast webserver
Build-Date: Apr 1 2010 14:34:48

Event Handlers:

+ select (generic)
+ poll (Unix)
+ rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- kqueue (FreeBSD)

Network handler:

+ sendfile

Features:

+ IPv6 support
+ zlib support
+ bzip2 support
+ crypt support
+ SSL Support
+ PCRE support
- mySQL support
- LDAP support
- memcached support
- FAM support
- LUA support
- xml support
- SQLite support
- GDBM support


So could you please find out what config changes I need to get it listening on ipv6 please?

I already edited the /etc/sw-cp-server/config to enable ipv6 support:

server.modules = ()
server.document-root = "/dev/null"
server.port = 10001
server.use-ipv6 = "enable"
#server.bind = "127.0.0.1"
server.pid-file = "/var/run/sw-cp-server.pid"
server.errorlog-use-syslog = "disable"
server.errorlog = "/var/log/sw-cp-server/error_log"
server.username = "sw-cp-server"
server.groupname = "sw-cp-server"

include_shell "/usr/share/sw-cp-server/applications-conf.sh"

I commented out the 127.0.0.1 as I can't figure out the syntax to allow multiple hosts, however [::1] or adding in my ipv6 address works for it to start as long as you add only 1.

I tried server.bind = "127.0.0.1" "[::1]" and "127.0.0.1 [::1]" and "127.0.0.1, [::1]" and "127.0.0.1"; "[::1]" all no good cp-server wont restart.

Any ideas?
 
Last edited:
Back
Top