Discussion:
Service with Windows Share?
(too old to reply)
Jerry Schwartz
2011-06-04 11:21:47 UTC
Permalink
Hello, All...

I'm trying to run BinkD as a service, but I've run into this problem.

My outbound is on a shared drive. The service can see the outbound by using a
UNC (\\othersystem\outbound), but not by using a drive letter.

All of my other software, unfortunately, puts the drive letter (not the UNC)
into the .?LO files (#G:\outbound\...).

What happens is that BinkD can find the .?LO files, but when it tries to send
the mail bundles it can't find them because it can't use the drive letter.

Any ideas?

Regards,

Jerry Schwartz

mailto:***@comfortable.com
http://www.writebynight.com
Stas Degteff
2011-06-05 19:46:26 UTC
Permalink
Hello Jerry.

04 Jun 11 16:21, you wrote to All:

JS> I'm trying to run BinkD as a service, but I've run into this problem.

JS> My outbound is on a shared drive. The service can see the outbound by
JS> using a UNC (\\othersystem\outbound), but not by using a drive letter.

All services runs in the special user session. You should mount network
resource in this session before run binkd. You may use srvany and some cmd
script for this.


Stas
Jabber-ID: ***@grumbler.org
GPG key 0x72186DB9 (keyserver: hkp://wwwkeys.eu.pgp.net)
... Golded+, Husky & RNTrack maintainer, Binkd developer&webmaster
Jerry Schwartz
2011-06-05 13:10:40 UTC
Permalink
Hello, Stas...

Jun 06, 2011 at 00:46, Stas Degteff wrote to Jerry Schwartz:


JS>> My outbound is on a shared drive. The service can see the outbound by
JS>> using a UNC (\\othersystem\outbound), but not by using a drive
JS>> letter.

SD> All services runs in the special user session. You should mount
SD> network resource in this session before run binkd. You may use
SD> srvany and some cmd script for this.

I think I understand what you are saying.

How do I know which services run first? I know how to control this on *NIX, but
I'm running Windows.

I thought that network share drive letters were global resources.

For now, I will just run BinkD in a console session.

Regards,

Jerry Schwartz

mailto:***@comfortable.com
http://www.writebynight.com
Michael Dukelsky
2011-06-06 10:56:54 UTC
Permalink
Hello Jerry,

Sunday June 05 2011, Jerry Schwartz wrote to Stas Degteff:

JS>>> My outbound is on a shared drive. The service can see the
JS>>> outbound by using a UNC (\\othersystem\outbound), but not by
JS>>> using a drive letter.

SD>> All services runs in the special user session. You should mount
SD>> network resource in this session before run binkd. You may use
SD>> srvany and some cmd script for this.

JS> I think I understand what you are saying.

JS> How do I know which services run first? I know how to control this on
JS> *NIX, but I'm running Windows.

You may control the order in which services are started if you use Windows
Server 2003 Resource kit Tools (if your OS is Windows XP).
http://tinyurl.com/5w3qwnl
And here you may find short explanations for the tools:
http://tinyurl.com/44sagmq

For example, you may use autoexnt for starting the necessary services in the
necessary order.

Michael

... dukelsky (at) aha (dot) ru
Stas Degteff
2011-06-07 06:48:56 UTC
Permalink
Hello Jerry.

05 Jun 11 18:10, you wrote to me:


JS> How do I know which services run first? I know how to control this on
JS> *NIX, but I'm running Windows.

1. Services has separate "levels" of run (I forget details). Services of next
level stars after all levels of previous level. (One of levels named
"Network".)
In the windows Vista and Windows 7 you may select this level simple, in the
windows XP this is possible in the Registry Editor: You should edit hex values.
Or you may found additional software for management services.
2. You may set dependencies for some service and this service starts after all
it's dependences.

JS> I thought that network share drive letters were global resources.

User resource, not system resource. Only system resources started without
(before) user logon.

JS> For now, I will just run BinkD in a console session.

Simple way :)


Stas
Jabber-ID: ***@grumbler.org
GPG key 0x72186DB9 (keyserver: hkp://wwwkeys.eu.pgp.net)
... Golded+, Husky & RNTrack maintainer, Binkd developer&webmaster
Loading...