Vnc

Erwin123

Member
May 14, 2008
207
1
16
I tried to create a KVM ve using an openexchange iso I downloaded.
After starting the ve the cpu stays 100%, unfortunatly I can not see whats happening because the VNC/Monitor is not working an any of the computer I have around.
I installed the requested jave plugin, but nothing happens.
Anybody knows what I'm doing wrong?
 
Well I've found a computer that the vnc works on (still no idea why it won't work on others, probably something java related).

Now I have a different problem.
In a VE with debian, I installed postfix. Sending mail is no problem but connections on port 25 are refused.

from the local prompt:
zarafa:/etc/network# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 zarafa.mydomain.net.localhost ESMTP Postfix (Debian/GNU)

Again from the local prompt (xx is actual ip);
zarafa:/etc/network# telnet xx.x.xx.xxx 25
Trying xx.x.xx.xxx...
telnet: Unable to connect to remote host: Connection refused

from remote servers connections to port 25 are also refused.

ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:660 (660.0 b) TX bytes:660 (660.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:695 errors:0 dropped:0 overruns:0 frame:0
TX packets:833 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:65604 (64.0 KiB) TX bytes:77002 (75.1 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:xx.x.xx.xxx P-t-P:xx.x.xx.203 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

Netstat;
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:236 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:52915 0.0.0.0:* LISTEN

Other ports have no problem, just port 25.
Anyone any ideas?
 
What does the IP_ADDRESS line look like in /etc/vz/conf/NNN.conf?

Is the IP address you are using in the VZ container in the same subnet as your host system's ethernet interface?
 
What does the IP_ADDRESS line look like in /etc/vz/conf/NNN.conf?

Is the IP address you are using in the VZ container in the same subnet as your host system's ethernet interface?

The ip adress in that file is correct, the ip is on the same subnet as the node its on. All other services and ports are working just port 25 is not reachable over the ip adres...
 
Oh, duh. I just looked more closely at the output you provided.

You need to configure postfix in main.cf to listen on more than just localhost.

Right now Postfix is bound to 127.0.0.1 only.
Look for the line in Postfix's main.cf that says "inet_interfaces"
 
Great, thanks!

it now looks like:
mynetworks = 127.0.0.0/8
inet_interfaces = loopback-only

I changed it to:
inet_interfaces = venet0:0, loopback-only
recipient_delimiter = +

Then I get:
postfix: fatal: config variable inet_interfaces: host not found: venet0:0

Guess i'm doing something wrong here :)
 
Yeah, it doesn't want a physical interface, it wants an IP or multiple IPs.

Example:
Code:
inet_interfaces = 200.111.222.2, 200.111.222.4
or just:
Code:
inet_interfaces = 200.111.222.2
 
And it works :)
Thanks a lot!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!