Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[vmware] VMWare Server port problem (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
warptrosse
n00b
n00b


Joined: 30 Dec 2005
Posts: 55

PostPosted: Fri May 04, 2007 4:15 am    Post subject: [vmware] VMWare Server port problem (Solved) Reply with quote

Hi all, I have a problem with VMWare Server port (902)... I used http://gentoo-wiki.com/HOWTO_Install_VMWare_Server as guide to install this.... When I start vmware at first time, all works well, but if I restart my PC, the 902 port are closed, and I can't open it again....
please anybody can help me??? I put logs, config files, etc.... if you need something more just tell me....

thanks....

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
port scan
Code:
franchox log # nmap -v -A 10.0.0.6

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-05-04 01:08 Local time zone must be set--see zic manual page
Initiating SYN Stealth Scan against franchox (10.0.0.6) [1680 ports] at 01:08
Discovered open port 80/tcp on 10.0.0.6
Discovered open port 443/tcp on 10.0.0.6
Discovered open port 445/tcp on 10.0.0.6
Discovered open port 139/tcp on 10.0.0.6
The SYN Stealth Scan took 0.09s to scan 1680 total ports.
Initiating service scan against 4 services on franchox (10.0.0.6) at 01:08



ifconfig
Code:
franchox log # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:E7:88:C2
          inet addr:10.0.0.6  Bcast:10.0.0.255  Mask:255.0.0.0
          inet6 addr: fe80::2e0:4cff:fee7:88c2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32237 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22879 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:41586494 (39.6 Mb)  TX bytes:2462298 (2.3 Mb)
          Interrupt:23 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:40897 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40897 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1732163 (1.6 Mb)  TX bytes:1732163 (1.6 Mb)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.64.1  Bcast:192.168.64.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:172.16.199.1  Bcast:172.16.199.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



route
Code:
franchox log # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.64.0    *               255.255.255.0   U     0      0        0 vmnet1
172.16.199.0    *               255.255.255.0   U     0      0        0 vmnet8
10.0.0.0        *               255.0.0.0       U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         10.0.0.2        0.0.0.0         UG    0      0        0 eth0



/dev content
Code:
franchox log # ls -all /dev/vm*
crw-rw---- 1 root vmware  10, 165 May  4 01:02 /dev/vmmon
crw------- 1 root root   119,   0 May  3 23:23 /dev/vmnet0
crw------- 1 root root   119,   1 May  3 23:23 /dev/vmnet1
crw------- 1 root root   119,   8 May  3 23:23 /dev/vmnet8



vmware status
Code:
franchox log # /etc/init.d/vmware status
 * status:  started



/etc/xinetd.d/vmware-authd
Code:
# default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
    disable         = no
    port            = 902
    socket_type     = stream
    protocol        = tcp
    wait            = no
    user            = root, franchox
    server          = /opt/vmware/server/sbin/vmware-authd
    type            = unlisted
    only_from       = 10.0.0.6 127.0.0.1
}



/etc/vmware/config
Code:
vmnet1.hostonlyaddress = "192.168.64.1"
serverd.init.fullpath = "/opt/vmware/server/lib/serverd/init.pl"
authd.client.port = "902"
control.fullpath = "/opt/vmware/server/bin/vmware-cmd"
authd.fullpath = "/opt/vmware/server/sbin/vmware-authd"
loop.fullpath = "/opt/vmware/server/bin/vmware-loop"
libdir = "/opt/vmware/server/lib"
vmware.fullpath = "/opt/vmware/server/bin/vmware"
vmnet1.hostonlynetmask = "255.0.0.0"
vmdir = "/home/vmware"
dhcpd.fullpath = "/opt/vmware/server/bin/vmnet-dhcpd"
serverd.fullpath = "/opt/vmware/server/sbin/vmware-serverd"

datastore.name = "local"

datastore.localpath = "/home/vmware/"

vmauthd.logEnable = TRUE
log.vmauthdFileName = "vmauthd.log"



dmesg
Code:
May  4 01:02:21 franchox /dev/vmmon[15450]: Module vmmon: registered with major=10 minor=165
May  4 01:02:21 franchox /dev/vmmon[15450]: Module vmmon: initialized
May  4 01:02:21 franchox pnp: Device 00:09 activated.
May  4 01:02:21 franchox parport: PnPBIOS parport detected.
May  4 01:02:21 franchox parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
May  4 01:02:21 franchox /dev/vmnet: open called by PID 15479 (vmnet-bridge)
May  4 01:02:21 franchox /dev/vmnet: hub 0 does not exist, allocating memory.
May  4 01:02:21 franchox /dev/vmnet: port on hub 0 successfully opened
May  4 01:02:21 franchox bridge-eth0: enabling the bridge
May  4 01:02:21 franchox bridge-eth0: up
May  4 01:02:21 franchox bridge-eth0: already up
May  4 01:02:21 franchox bridge-eth0: attached
May  4 01:02:21 franchox /dev/vmnet: open called by PID 15494 (vmnet-natd)
May  4 01:02:21 franchox /dev/vmnet: hub 8 does not exist, allocating memory.
May  4 01:02:21 franchox /dev/vmnet: port on hub 8 successfully opened



Soft installed
Code:
*  app-emulation/vmware-server
      Latest version available: 1.0.2.39867
      Latest version installed: 1.0.2.39867

*  app-emulation/vmware-server-console
      Latest version available: 1.0.2.39867
      Latest version installed: 1.0.2.39867



kernel modules
Code:
franchox log # lsmod | grep vm
vmnet                  33056  13
vmmon                 191692  0



process
Code:
franchox log # ps aux | grep xi
franchox  7136  0.0  0.0  10128   728 ?        S    May03   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
root     16421  0.0  0.0  10756   952 ?        Ss   01:21   0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -reuse
root     16601  0.0  0.0   2804   568 pts/2    R+   01:21   0:00 grep --colour=auto xi

franchox log # ps aux | grep vmw
root      6850  0.0  1.4  16392 13712 ?        Ss   May03   0:00 /opt/vmware/server/sbin/vmware-serverd -s -d
root     16502  0.0  0.0   1324   152 pts/2    S    01:21   0:00 /opt/vmware/server/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0
root     16529  0.0  0.0   1604   436 ?        Ss   01:21   0:00 /opt/vmware/server/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmware/vmnet8/nat/nat.conf
root     16568  0.0  0.0   1320   152 pts/2    S    01:21   0:00 /opt/vmware/server/bin/vmnet-netifup -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
root     16583  0.0  0.0   1320   152 pts/2    S    01:21   0:00 /opt/vmware/server/bin/vmnet-netifup -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
root     16596  0.0  0.0   1636   328 ?        Ss   01:21   0:00 /opt/vmware/server/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
root     16597  0.0  0.0   1640   328 ?        Ss   01:21   0:00 /opt/vmware/server/bin/vmnet-dhcpd -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
root     16631  0.0  0.0   2800   568 pts/2    R+   01:22   0:00 grep --colour=auto vmw


Last edited by warptrosse on Fri May 04, 2007 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
joyo222
n00b
n00b


Joined: 18 May 2006
Posts: 44

PostPosted: Fri May 04, 2007 3:32 pm    Post subject: Reply with quote

is xinetd set to start automatically? xinetd runs vmware-authd.
Back to top
View user's profile Send private message
warptrosse
n00b
n00b


Joined: 30 Dec 2005
Posts: 55

PostPosted: Fri May 04, 2007 9:17 pm    Post subject: Reply with quote

thanks for reply joyo222, I solved the problem, I change user = root, franchox on /etc/xinetd.d/vmware-authd for user = root and It works fine.....

thanks....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum