Jump to content

Recommended Posts

Posted

At the moment eportal (our web based MIS system) is a pile of rubbish being polite...!

 

It is constantly crashing and needing the eportal services rebooted, Serco cant help us...

 

I was wondering if anyone knew of a script that would check that the webpage is loading every 5min or so and if its down, then email or notify me somehow?]

 

like some sort of website ping ?

 

Cheers :)

Posted
Slightly OT, but Have you set the services to auto-restart on failure this will help and then script the whole lot to reboot overnight to make sure its all re-set for the next day.
Posted
How frequently is the service crashing? Every 5 minutes to check a service does sound extreme! Is there anything useful in the event logs?
Posted

Thanks for replies,

 

The services dont actually stop, but they do require a restart when eportal slows right down or grinds to a halt.

 

I bought a brand new server with fresh install of 2k3 enterprise, and installed the latest release of eportal but it is doing exactly the same as the old server with previous release.

 

There is nothing in the system or app logs when this happens and the only log is a warning:

 

The system failed to register host (A) resource records (RRs) for network adapter

with settings:

 

Adapter Name : {CF571E43-8A62-43AA-A8D3-DE8430E21849}

Host Name : eportal

Primary Domain Suffix : Xxxxxx.local

DNS server list :

XX.XX.4.21, XX.XX.4.20

Sent update to server : XX.XX.4.21

IP Address(es) :

XX.XX.4.28

 

The reason the system could not register these RRs was because of a security related problem. The cause of this could be (a) your computer does not have permissions to register and update the specific DNS domain name set for this adapter, or (b) there might have been a problem negotiating valid credentials with the DNS server during the processing of the update request.

 

You can manually retry DNS registration of the network adapter and its settings by typing "ipconfig /registerdns" at the command prompt. If problems still persist, contact your DNS server or network systems administrator. For specific error code, see the record data displayed below.

 

For more information, see Help and Support Center at Events and Errors Message Center: Basic Search.

 

any ideas? :)

Posted
At the moment eportal (our web based MIS system) is a pile of rubbish being polite...!

 

It is constantly crashing and needing the eportal services rebooted, Serco cant help us...

 

I was wondering if anyone knew of a script that would check that the webpage is loading every 5min or so and if its down, then email or notify me somehow?]

 

like some sort of website ping ?

 

Cheers :)

 

Have you set the Java registry settings? That sorted out all manner ePortal problems for us - it seems very stable in use now - changes detailed below:

 

Memory settings in the registry can also be checked by going to Start | Run and typing in regedit. Please note that registry settings are very delicate and no other changes should be made to this area.

 

The settings to check are JvmMs and JvmMx. These should have the values 0x00000080 (128) and 0x00000200 (512) as shown. To edit them double click on the name and type in the decimal number that appears in brackets for each value.

Guest monkeyx
Posted

I use the following script to restart our services nightly and helps provide stability.

 

We also improved stability by eportal placing on a fast dedicated machine.

 

 

 

'By [email protected]
'WScript.Echo "The script has started."
ConServices ("Facility Data Server")

'WScript.Echo "The script has completed successfully."

'Function ConServices(strComputer,strService)
Function ConServices(strService)
strComputer = "."
dim slptime
slptime=20000
'WScript.Echo "Restarting " & strService & "..."


' Stop dependent services
Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objServiceList = objWMI.ExecQuery("Associators of " _
                & "{Win32_Service.Name='" & strService & "'} Where " _
                & "AssocClass=Win32_DependentService " & "Role=Antecedent" )
For Each objService In objServiceList
'    WScript.Echo " Stopping " & objService.Name
   objService.StopService()
Next
WScript.Sleep slptime  ' Pause to allow services to stop
  
' Stop target service
Set objService = objWMI.Get("Win32_Service.Name='" & strService & "'")
'WScript.Echo " Stopping " & objService.Name
objService.StopService()
WScript.Sleep slptime+slptime   ' Pause to allow service to stop
  
' Start target service
Set objService = objWMI.Get("Win32_Service.Name='" & strService & "'")
'WScript.Echo " Starting " & objService.Name
objService.StartService()
WScript.Sleep slptime   ' Pause to allow service to start
  
' Start dependent services
Set objServiceList = objWMI.ExecQuery("Associators of " _
                & "{Win32_Service.Name='" & strService & "'} Where " _
                & "AssocClass=Win32_DependentService " & "Role=Antecedent" )
For Each objService In objServiceList
'   WScript.Echo " Starting " & objService.Name
   objService.StartService()
Next
End Function


Posted

Thanks for the replies,

I will have a look at those scripts.

 

@ Spuff - Did helpdesk suggest those java reg settings?

 

Currently ours are set to 128 and 1024 .. are you on 0.91 ?

 

Cheers

Tim

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...