Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot start Goldsync as service 1

Status
Not open for further replies.

vandaliarental

Technical User
Jul 17, 2000
84
US
We are running Goldmine on our network server (MS Windows Server 2003 for Small Business, SP1) and would like to set up Goldsync as a service.

I've tried going to the Goldsync Administration Center & create the service, having it start on reboot. When I reboot the server, I can check the Administrative Tools / Services & it just shows Goldsync as 'starting'...

If I set it to start 'Manual' under services, then reboot and try to start it, the scroll bar goes all the way to 100% then errors out (cannot connect in timely manner, I believe).

We are currently starting Goldsync using Windows scheduler & having it run for 14 hours so that it will stop before our backup starts. When it stops, its actually generating an error in the event log each night. I've been told that if I run it as a service, I'll be able to back up the files successfully without having to use the scheduler to start/stop it.

Any help would be appreciated.

Thanks,
Connie
Vandalia Rental


Version: Goldmine 6.70.50123, BDE 500, Windows NT 5.02.3790 SP1
Goldmine EXE: \\server1\shared\goldmine\gmw6.exe
BDE DLL files: s:\goldmine\setup\bdeshare\
Temp Directory: c:\docume~1\admini~1\locals~1\temp\
System Files: s:goldmine\
Goldmine Files: S:\Goldmine\gmbase\
Contact Files: s:\goldmine\common\
 
Starting the service:
1. Create a new text document and rename it to goldsyncstart.bat.
2. Edit the file and add NET START "GoldSync Service" (spelling is
important)
3. Save the file.

Execute the batch file and the service will start.

Stopping the service:
1. Create a new text document and rename it to golsyncstop.bat.
2. Edit the file and add NET STOP "GoldSync Service" (spelling is important)
3. Save the file.

Execute the batch file and the service will stop.

Now the service will start when the server boots if the service is
configured to automatically start, but say you want to shut it down late at
night why the backups are running. You can use Windows task scheduler to run
the batch file at a specific time to stop the service. Then using the task
scheduler you can run the batch file to start the service once backups are
done.

The Wizard
Home of IW Extreme - the CRM that works on the Internet and in Windows at the same time
 
Wizard:

Where do you save the batch files in order for them to auto execute when the server is rebooted?

Connie
 
Make life easy on yourself

Put it in c:\

Then go into the registy, and find

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

And create a new Key called GoldSyncStart, and enter the path c:\goldsyncstart.bat

Now whenever the server starts, the batch is executed and the service starts


The Wizard
Home of IW Extreme - the CRM that works on the Internet and in Windows at the same time
 
Wizard:

I've created the bat files & saved under c: and edited the registry.

Also, I scheduled for the start batch file to run at 4:00am & the stop batch filed to run at 8:00pm. To get it started today, I right clicked on the scheduled task for start & clicked 'Run'. I could see the batch window open then close.

How do I tell if it's actually running? I don't see anything under Task Manager or Services.

Thanks,
Connie
 
Wizard:

Although I have not yet tried to sync (no salespeople in yet with their laptops), when the scheduled task ran (both the stop & start), I received an exit code of (2). According to Microsoft's website, it was unsuccessful (not enough disk space). Any ideas?

Connie
 
Wizard -- you get a star for that gem of info above. and Connie, it sounds like your disk really IS full. Creating a transfer set can use a lot of resources. And, wow, you're using GoldMine CE on dBase. Have you, like, stomped on your manager's foot yet, and said something like, Oops sorry, but we need to get SQL Server?? ;-)

"You cannot hold a torch to another man's path without brightening your own"
Best regards,
Bill
 
Bill:

I think we have plenty of space on our hard drives:

c: 9.07 used; 20.3 free
s: 49.9 used; 218 free

I can't see a transfer set being bigger than that.

I'm still using the scheduler to start GM each morning at 4:00am & having it stop after 16 hours. In my event log, I'm getting the following Application Error at 8:00 pm each evening:

Faulting application gmw6.exe, version 0.0.0.0, faulting module GMTB32.dll, version 0.0.0.0, fault address 0x000084b5.

Any time I reboot the server, I also get an error that a service failed to start & to check the event log. I think it has to do with the change I made to regedit, adding the GoldSyncStart.

Just not sure of what to do now.

Connie
 
Does the creation of the transfer set also hang then fail? Also, you might want to check your firewall settings on the GoldSync server and make sure that an opening exists (exceptions tab, change scope and open a port) to allow communication to occur. You're right too that you have plenty of disk space.

"You cannot hold a torch to another man's path without brightening your own"
Best regards,
Bill
 
Bill:

Goldsync is working, just not as a service.

When I tried it as a service, the sync failed, although I don't believe it's when the transfer set is created; it's when it tries to connect to the server because GS is actually running.

I have a feeling you're on the right track with the firewall blocking the program, but I'm not sure where to look. Our GS server is the same machine as our network server. There's a lot going on, including Symantec antivirus. I also think Symantec is our firewall.

Thanks,
Connie
 
Symantec is a pain in the IIS.. In the Norton control panel there is a Personal Firewall tab and you can go in there and open a port for certain programs. In the Windows control panel, select Windows Firewall and there are settings in there too. You want to open a port and have GS configured to listen. In GoldSync, go into to the administrator, and the most reliable way to do this, in my experience, is just to have the GS program prepare a transfer set each day and and then go to sleep. When someone networks in, bingo! they can simply grab it. They don't have to wait while it's being created.

"You cannot hold a torch to another man's path without brightening your own"
Best regards,
Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top