[GemStone-Smalltalk] Starting a repository fails after shutdown of server.

brianstone via GemStone-Smalltalk gemstone-smalltalk at lists.gemtalksystems.com
Thu Sep 28 08:21:33 PDT 2017


Hi,

I followed James's advice and configured the ports for the Stone and the
Shared Page Cache Monitor.

I'm using this configuration:

STN_WELL_KNOWN_PORT_NUMBER = 51001;
SHR_WELL_KNOWN_PORT_NUMBER = 51002;

Regarding an internall firewall, I tested by deactivating any firewall in
the machine but anyway the problem still there.

On my last test I have activated again iptables and configured to allow
traffic through these ports(51001 and 51002). After that, I tried again to
start Gemstone, and during the startup I tested the following commands:

*netstat -uptona | grep 51001*
tcp        0      0 :::51001                    :::*                       
LISTEN      30145/stoned        off (0.00/0/0)
tcp      160      0 ::1:51001                   ::1:47588                  
ESTABLISHED 30145/stoned        off (0.00/0/0)
tcp        0      0 ::1:47588                   ::1:51001                  
ESTABLISHED 30157/pgsvrmain     off (0.00/0/0)

*netstat -uptona | grep 51002*
tcp        0      0 ::ffff:127.0.0.1:51002      :::*                       
LISTEN      30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:51002                   :::*                       
LISTEN      30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:45972                   ::1:51002                  
ESTABLISHED 30157/pgsvrmain     off (0.00/0/0)
tcp        0      0 ::1:45970                   ::1:51002                  
ESTABLISHED 30154/pgsvrmain     off (0.00/0/0)
tcp        0      0 ::1:45968                   ::1:51002                  
ESTABLISHED 30145/stoned        off (0.00/0/0)
tcp        0      0 ::1:51002                   ::1:45974                  
ESTABLISHED 30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:51002                   ::1:45970                  
ESTABLISHED 30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:51002                   ::1:45968                  
ESTABLISHED 30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:51002                   ::1:45972                  
ESTABLISHED 30147/shrpcmonitor  off (0.00/0/0)
tcp        0      0 ::1:45974                   ::1:51002                  
ESTABLISHED 30145/stoned        off (0.00/0/0)


*nmap -p1-52000 localhost*

Starting Nmap 5.51 ( http://nmap.org ) at 2017-09-28 11:49 -03
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000040s latency).
rDNS record for 127.0.0.1: SRVR23
Not shown: 51992 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
111/tcp   open  rpcbind
631/tcp   open  ipp
5989/tcp  open  wbem-https
27017/tcp open  unknown
51001/tcp open  unknown
51002/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 1.04 seconds


In the result of 'netstat' shows that there is an entablished connection.
For me, that is a clearly proof that the connection is not a problem. I'm
right?

I'm suspecting about a configuration with file descriptors. Can it be a
problem?

Thanks in advance.

Ezequiel



--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html


More information about the GemStone-Smalltalk mailing list