• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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