Hello,
I use check UNC test and send e-mail alert when free space is less than 10%. It work well on several servers but on a server status's test is unknown and reply is "RMA : 301- A specified logon session does not exist. It may already have been terminated"
Regards.
UNC and RMA : 301
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you provide more information, please?
- What Windows do you use? Service Pack?
- What version of RMA do you use?
- Is RMA started as a service or as an application?
- What account do you use to start RMA?
Please ensure, the account, you have specified to start RMA, has the following privileges ("Local Policy" applet):
1. Act as part of operating system
2. Log on as batch
3. Log on as service
4. Increase quotas (Windows 2003 - adjust memory quotas)
5. Create a token object
6. Replace a process level token
Also, please verify the only one instance of HostMonitor is running on the system. How many hostmon.exe process do you see in "Task Managr" -> "Processes" tab?
"Connection Manager" window offers you the two connection methods in "Method" dropdown. Please, specify "Reconnect if necessary" item, if "Keep active connection" is already specified.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#conmgr
=================================================
Method
This parameter defines HostMonitor's behavior in case when the connection with specified remote system is already established but with different (than specified) account. Choose one of the options:
* Keep active connection
* Reconnect if necessary
With the 1st option selected HostMonitor will not drop current connection and will not establish another one. This method is guaranteed to not interfere with other applications or users already using the same connection. But on the other hand if an account that is used for connection does not have all required permissions the test may fail.
With 2nd option selected, Connection Manager will drop current connection and establish new one using specified account.
=================================================
Regards,
Max
- What Windows do you use? Service Pack?
- What version of RMA do you use?
- Is RMA started as a service or as an application?
- What account do you use to start RMA?
Please ensure, the account, you have specified to start RMA, has the following privileges ("Local Policy" applet):
1. Act as part of operating system
2. Log on as batch
3. Log on as service
4. Increase quotas (Windows 2003 - adjust memory quotas)
5. Create a token object
6. Replace a process level token
Also, please verify the only one instance of HostMonitor is running on the system. How many hostmon.exe process do you see in "Task Managr" -> "Processes" tab?
"Connection Manager" window offers you the two connection methods in "Method" dropdown. Please, specify "Reconnect if necessary" item, if "Keep active connection" is already specified.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#conmgr
=================================================
Method
This parameter defines HostMonitor's behavior in case when the connection with specified remote system is already established but with different (than specified) account. Choose one of the options:
* Keep active connection
* Reconnect if necessary
With the 1st option selected HostMonitor will not drop current connection and will not establish another one. This method is guaranteed to not interfere with other applications or users already using the same connection. But on the other hand if an account that is used for connection does not have all required permissions the test may fail.
With 2nd option selected, Connection Manager will drop current connection and establish new one using specified account.
=================================================
Regards,
Max
We use :
-windows server 2000 SP4
-RMA 3.38started as service with local system account
-hostmonitor connect as admin server for UNC test
-hostmonitor 7.20
one instance of HostMonitor is running on the system
I specified "reconect if necessary" in "connection manager"
Sometimes, we have reply "RMA : 301-The networck BIOS session limit was exceeded"
Regards.
-windows server 2000 SP4
-RMA 3.38started as service with local system account
-hostmonitor connect as admin server for UNC test
-hostmonitor 7.20
one instance of HostMonitor is running on the system
I specified "reconect if necessary" in "connection manager"
Sometimes, we have reply "RMA : 301-The networck BIOS session limit was exceeded"
Regards.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
How many UNC test methods are performed by this particular RMA?
I think, you should adjust TCP/IP settings on the machine, where RMA is running. You may start from the following settings:
For additional information, you may read this post: http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4521
Regards,
Max
I think, you should adjust TCP/IP settings on the machine, where RMA is running. You may start from the following settings:
Code: Select all
Increase the Maximum Simultaneous Connections
1. Start the Registry Editor (Regedt32.exe)
2. Access the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. Add a DWORD value to this registry key:
Name: MaxUserPort
Type: DWORD
Value: 65534 (decimal)
4. Exit the Registry Editor.
Reduce the Duration of the Reserved State
Reducing the value of the TIME_WAIT state results in TCP connections being reused faster, therefore allowing for an increased number of connections during the same length of time. Note that if the value is too low, the TCP connection may close before Monitor testing is complete.
To reduce the duration of the reserved state:
1. Start the Registry Editor (Regedt32.exe)
2. Access the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. Add a DWORD value to this registry key:
Name: TCPTimedWaitDelay
Type: REG_DWORD - Time in seconds
Value: 120 (decimal)
4. Exit the Registry Editor.
Hm. Do you use any mapped drive letters in UNC tests? We recommed to use UNC path instead of mapped drives, e.g.: \\Server\Somefolder instead of P:\SomeFolderBaptiste wrote:Sometimes, we have reply "RMA : 301-The networck BIOS session limit was exceeded"
Regards,
Max
3 UNC testsKS-Soft Europe wrote:How many UNC test methods are performed by this particular RMA?
we use \\Server\c$KS-Soft Europe wrote:Do you use any mapped drive letters in UNC tests? We recommed to use UNC path instead of mapped drives, e.g.: \\Server\Somefolder instead of P:\SomeFolder
We will update RMA 3.38 => 3.68 this afternoon and will try to adjust TCP/IP settings on the machine
Regards.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: UNC and RMA : 301
This error may appear if you specify "Administrator" as username. Could you try another user for UNC tests?Baptiste wrote:A specified logon session does not exist. It may already have been terminated"
Also, RMA service should be started under admins account, probably you have to specify Domain admin account for the RMA service to make it work properly on Windows 2000.
Beside that, as I wrote above, account you have specified for RMA service, should be granted with the following privileges:
1. Act as part of operating system
2. Log on as batch
3. Log on as service
Have you check that? Could you also assign these privileges to the account, you have specified for UNC tests?
Regards,
Max
Re: UNC and RMA : 301
Yes.KS-Soft Europe wrote:Beside that, as I wrote above, account you have specified for RMA service, should be granted with the following privileges:
1. Act as part of operating system
2. Log on as batch
3. Log on as service
Have you check that? Could you also assign these privileges to the account, you have specified for UNC tests?
I made several tests in order to find more informations.
It seems that is a RMA service problem.
We test UNC with registy keys added but it change nothing, after we deleted these keys.
When I running RMA as application UNC test work well. Then when I running RMA as service the test failed. We have checked RMA log and reply is connection established.
And finaly we modified the UNC path \\server\c$ to \\127.0.0.1\c$ with running RMA in service mode and it work now

-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: UNC and RMA : 301
What account do you use to start RMA service? We recommend to use admins account.Baptiste wrote:When I running RMA as application UNC test work well. Then when I running RMA as service the test failed. We have checked RMA log and reply is connection established.
Looks like it some Windows problems. As you may see, there were a lot of similar posts regarding Windows 2000 several years ago. Windows 2003 seems to work fine with that stuff.
Glad to heart thatBaptiste wrote:And finaly we modified the UNC path \\server\c$ to \\127.0.0.1\c$ with running RMA in service mode and it work now

Regards,
Max