Subject: Re: WINE and java server
From: Petar Hitij <petahi@gmail.com>
Date: Thu, 9 May 2013 14:28:53 +0200
Thu, 9 May 2013 14:28:53 +0200
Update: stopping the old RH 9 brings down the loopback interface :(,
on host and everywhere. Cannot ping localhost on host or 127.0.0.1.

Disabling /etc/init.d/network in vserver helps. However, this should not
be possible. I guess my kernel has something enabled that shouldn't be.




On Thu, May 9, 2013 at 11:00 AM, Petar Hitij <petahi@gmail.com> wrote:

> Hello,
>
>
>
> I am trying to virtualize an old server (RH 9).
>
>
>
> The problem is that java server application, which uses
>
> WINE for some reason, cannot open ports:
>
>
>
>   --> Wrapper Started as Daemon
>
>   unable to bind listener to any port in the range 32000-32999. (Cannot
> assign requested address)
>   <-- Wrapper Stopped
>
>
>
> At first the guest and apps worked. It stopped working after a
>
> guest restart. Another guest with a similar java server started
>
> to have the same problem.
>
>
>
> The host system is Debian wheezy:
>
>
>
> root@meteo3:/etc/vservers/virga/apps/init# vserver-info
>
> Versions:
>
>                    Kernel: 3.2.38-vs2.3.2.16-beng
>
>                    VS-API: 0x00020308
>
>                       VCI: 0x0000000013001f11
>
>              util-vserver: 0.30.216-pre3038; Oct  2 2012, 20:18:00
>
>
>
> Features:
>
>                        CC: gcc, gcc (Debian 4.7.1-7) 4.7.1
>
>                  CPPFLAGS: ''
>
>                    CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W
> -funit-at-a-time'
>                build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
>
>              Use dietlibc: yes
>
>        Build C++ programs:
>
>        Build C99 programs: yes
>
>            Available APIs: compat,v11,fscompat,v13,net,v21,v22,v23,netv2
>
>             ext2fs Source: e2fsprogs
>
>     syscall(2) invocation: alternative
>
>       vserver(2) syscall#: 236/glibc
>
>                crypto api: nss
>
>           python bindings: yes
>
>    use library versioning: yes
>
>
>
> Paths:
>
>                    prefix: /usr
>
>         sysconf-Directory: /etc
>
>             cfg-Directory: /etc/vservers
>
>          initrd-Directory: /etc/init.d
>
>        pkgstate-Directory: /var/run/vservers
>
>           vserver-Rootdir: /vservers
>
>
>
>
>
> Thanks for any suggestions.
>
>
>
> Regards
>
> Petar Hitij
>


Update: stopping the old RH 9 brings down the loopback interface :(,
on host and everywhere. Cannot ping localhost on host or 127.0.0.1.

Disabling /etc/init.d/network in vserver helps. However, this should not
be possible. I guess my kernel has something enabled that shouldn't be.




On Thu, May 9, 2013 at 11:00 AM, Petar Hitij <petahi@gmail.com> wrote:
Hello,                                                                                                                 
                                                                                                                       
I am trying to virtualize an old server (RH 9).                                                                        
                                                                                                                       
The problem is that java server application, which uses                                                                
WINE for some reason, cannot open ports:                                                                               
                                                                                                                       
  --> Wrapper Started as Daemon                                                                                        
  unable to bind listener to any port in the range 32000-32999. (Cannot assign requested address)                      
  <-- Wrapper Stopped                                                                                                  
                                                                                                                       
At first the guest and apps worked. It stopped working after a                                                         
guest restart. Another guest with a similar java server started                                                      
to have the same problem.                                                                                              
                                                                                                                       
The host system is Debian wheezy:                                                                                      
                                                                                                                       
root@meteo3:/etc/vservers/virga/apps/init# vserver-info                                                                
Versions:                                                                                                              
                   Kernel: 3.2.38-vs2.3.2.16-beng                                                                      
                   VS-API: 0x00020308                                                                                  
                      VCI: 0x0000000013001f11                                                                          
             util-vserver: 0.30.216-pre3038; Oct  2 2012, 20:18:00                                                     
                                                                                                                       
Features:                                                                                                              
                       CC: gcc, gcc (Debian 4.7.1-7) 4.7.1                                                             
                 CPPFLAGS: ''                                                                                          
                   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'                                       
               build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu                                                     
             Use dietlibc: yes                                                                                         
       Build C++ programs:                                                                                             
       Build C99 programs: yes                                                                                         
           Available APIs: compat,v11,fscompat,v13,net,v21,v22,v23,netv2                                               
            ext2fs Source: e2fsprogs                                                                                   
    syscall(2) invocation: alternative                                                                                 
      vserver(2) syscall#: 236/glibc                                                                                   
               crypto api: nss                                                                                         
          python bindings: yes                                                                                         
   use library versioning: yes                                                                                         
                                                                                                                       
Paths:                                                                                                                 
                   prefix: /usr                                                                                        
        sysconf-Directory: /etc                                                                                        
            cfg-Directory: /etc/vservers                                                                               
         initrd-Directory: /etc/init.d                                                                                 
       pkgstate-Directory: /var/run/vservers                                                                           
          vserver-Rootdir: /vservers                                                                                   
                                                                                                                       
                                                                                                                       
Thanks for any suggestions.                                                                                            
                                                                                                                       
Regards                                                                                                                
Petar Hitij