I got it activated and qmsvc.exe is started and running.
I cannot log onto the system. None of the windows server users work.
This is when I use qmterm.exe.
I cannot connect with my existing AccuTerm from another computer, but I
think that's a firewall problem.
I cannot run qmadmin.exe, it terminates with Unexpected Error.
By the way, the screen I see on qmterm Winhost, port 4242 says it is 2.8-6.
Has anyone actually ever got it to work on Windows Home Server?
If yes, any suggestions.
If no, any suggestions?
Thank you.
Larry Hazel
> I cannot log onto the system. None of the windows server users
> work. This is when I use qmterm.exe.
It would be helpful if you could provide details of the actual error
message, not just "I cannot login".
Please also take a look at the qmsvc.log file in the QMSYS directory. There
may be a Windows error number reported here.
> I cannot run qmadmin.exe, it terminates with Unexpected Error.
Microsoft no longer release some of the DLL functions needed by QMAdmin. It
sounds as though Windows Home Server may be included in the versions that
have this problem. We are planning to replace QMAdmin by a new tool written
using AccuTerm GUI but this is a little way off. until then, all the
functions of QMAdmin can be done from the QM command line.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
Despite the comments from other users to this thread, QM shoudl work fine on
Windows Home Server though we are aware of issues that stop QMAdmin working.
> I was finally able to get something to work quite accidently when
> I started QM.exe in the BIN folder. It set up a user for me that was
> I think "BIN".
Ahah! I think I can see where the confusion has come from. If you started QM
in the bin folder (which is not a good idea), you will end up with an
account named BIN.
Do not confuse accounts with login ids. An account is a place to work,
essentially a name for the directory that holds your QM development area.
When you install QM, you have just one account, QMSYS. You can create new
accounts using the CREATE.ACCOUNT command.
> I choose Windows Home Server because it will back up all of the computers on my network every night for me. I did not want to have to put together another computer just to run openQM.
>
That's a pretty compelling reason to consider the product. I hope
they have sorted out the BIG bugs that were in the backup systems. A
local client of mine got badly burned assuming that their backups
would restore when needed. They didn't. It's just fortunate that I
suggested using a DVD-RAM writer, and a simple batch programme to
automatically dump the most important stuff onto a disc which they
could take off-site.
WHS is utterly useless, and I hope that somebody takes them to task
for duping their customers.
--
Ashley Chapman
> The documentation refers to an item called QM console, but I
> couldn't find QM console, but I found QM.exe in QMSYS\bin.
QM Console is an entry in the QM program group accessed via the Start menu.
It simply executes the qm.exe program with the -a option to prompt for an
account name. Running qm.exe directly with no option assumes that the
current directory is the account location.
> So, I clicked on it without thinking where I was and answered
> the Do-you-want-to question Yes and before I knew it I had made
> a QM account out of the bin directory!
Dare I say "RTFM"?
> Should I have copied the QM.ext to the QMSYS directory and opened
> it there to log in to QMSYS to create other accounts or should I create
> other account directories under QMSYS, copy QM.exe to each new
> directory, click it to QM-ize the new account and then register the new
> account in QMSYS?
Firstly, never copy qm.exe. The start up process examines the pathname of
this executable to work out where the QMSYS directory is. Either ensure that
\qmsys\bin is in your PATH variable or always use the Start menu QM Console
entry.
The "right" way to get your system off the ground is to enter QM in the
QMSYS account (either by cd to that directory and then run qm.exe or by
using the -a option) and then using CREATE.ACCOUNT to make new account(s)
for your development work. It is best not to put these under the QMSYS
directory.
Alternatively, just cd to a suitable empty directory and run qm.exe. This
will ask about making the account.
Once you have made your development account, simply run qm.exe in that
directory.
QM is unusual compared to other MV platforms. The QMSYS account
also contains a BIN folder, which is the software that drives the
environment. In other MV products there is a BIN-type programs
directory, and the accounts structure is completely separated. I
think this is one of those "oh I get it" things that people find
out too late.
Martin, would be it a bad enhancement to front-end the
CREATE.ACCOUNT command with a series of user-configurable
restrictions? For example, create an item in the QMSYS MD of
account names that are forbidden, and another with relative path
names that are forbidden. We in the field can add or subtract
from this as required. Anyone who insists on creating a BIN
account should at least get a warning telling them this is a bad
thing to do.
About Windows Home Server: Let's ignore quality of the platform
for a moment and focus on the positioning of the platform. The
Windows Home Server is just one offering and there will be
others, perhaps based on Linux - one of them will succeed in
becomming a common home control platform, so while this one may
not be "it", I think we should be preparing for "it" whenever it
comes.
When I was D3 product manager so many years ago, I was firm on
the policy that D3 should not be ported or supported on a "ME" or
"Home" type platform, for exactly the reasons we're seeing here.
That said, QM has a much lighter footprint and is more versatile
than D3, and while I agree that "business" software should not be
put on a "home" system, I think QM is well qualified to be used
for many purposes in this environment that are non-traditional
for MV applications. For example, I can easily see QM driving
DVR software, keeping track of VHS, MP3, DVD, and other home
media. And while it's not fit for production use, I already have
written code for QM that allows me to de-dupe Windows files in
our various servers here. I think there are a lot of home
applications that can be driven from QM and BASIC, and modified
by consumers, which is something they cannot do with apps they
purchase off the shelf today.
Entrepreneurs in this community should look at QM over Home
operating systems, USB, Mac, PDA, and all of these other unique
platforms as being an amazing new venue to get MV into the hands
of the masses and make some decent money in the process. I think
the big problem is getting a vision for applications. Similar to
the thread on "what problems do you need to solve" that I started
in CDP, is it worth it for us to have a "how can QM be used in
the home" thread here?
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
> QM is unusual compared to other MV platforms. The QMSYS
> account also contains a BIN folder, which is the software that
> drives the environment. In other MV products there is a BIN-type
> programs directory, and the accounts structure is completely
> separated.
Er... Isn't this exactly the same as UniVerse, for example?
> Martin, would be it a bad enhancement to front-end the
> CREATE.ACCOUNT command with a series of user-configurable
> restrictions?
We try not to "nanny" users too much. There is a development in plan to
provide control of which accounts users are allowed to enter. Perhaps we can
consider your suggestion as part of this.
This all begins to sound like a permissions issue.
When you login to QM, the QM process runs as the username that you used to
login and therefore has the permissions associated with that user.
It may also be a problem with Windows policy settings. This is where the
error number if the QMSvc.log file in the QMSYS directory may be useful.
Error 1326 is the delightfully helpful "Login Failure". Take a look at the
QM KnowledgeBase (www.openqm.com/cgi/lbscgi.exe?t0=h&t1=kb.00004) for
details on how to get a better description of what is wrong.
> I tried DELETE.ACCOUNT, but when it asked if I wanted to
> delete the BIN folder, I figured that would not be good so I did
> not delete it.
Phew! Simply delete the subdirectories of \qmsys\bin. Then, from inside QM,
delete the BIN record from the QM.ACCOUNTS file.
> ...I am also sure that Martin has stated that OpenQM does not insist
> on passwords ...
We don't but there is a Windows policy setting that does enforce this.
FYI
Windows Home Server has some unusual groups. One of them is Telnet
users. It was empty. Adding my various users to that group allowed me
to access QM via AccuTerm from the Vista Computer.
I've now got to make QM like the users better.
Larry Hazel
You're of course correct, sorry. I forgot that the C:\IBM
directory has UniAdmin and UniDK but not the DBMS files. D3 and
jBASE do have their DBMS files separated however. :)
> > Martin, would be it a bad enhancement to front-end the
> > CREATE.ACCOUNT command with a series of user-configurable
> > restrictions?
>
> We try not to "nanny" users too much...
That's exactly what the request seemed like to me as well when I
thought about it, but the fact that there is occasionally
confusion on the topic changes the nature of such a feature from
being nanny-like to simply being helpful when the situation
arises.
As an example - In D3, if you start a conversion or correlative
with the correct single or two-character code, then execution is
allowed into the lower-level code. For example, D2 and MTS are
fine, but something like D~ or MT% might result in a serious
looking error from assembly code (haven't tried those specific
examples, bear with me). Most people consider that sloppy coding
and have ridiculed PS/RD/TL about it, because it doesn't result
in something more user-friendly. I consider the QM ability to
create a bad account name/reference just as untidy.
YMMV
T
Options are good, but mistakes can still be made. I had the
misfortune one day with D3 to accidentally type "shutdown (f"
rather than "shutdown (y". Don't try this at home kids, it
destroys your system. As an admin, sure, maybe I should slap
myself for fat-fingering an option, but as someone who would like
a tiny bit of forgiveness for being human, I asked for a
secondary prompt to appear right before my system was destroyed.
Maybe the difference is that some admin warnings should only
occur if something really serious is going to occur. Is creating
an account in BIN really serious? Maybe not. What's the cost
for making that error? Does the cost differ in a production
environment vs developer? I'd say if someone is about perform an
operation where there is a "serious" cost if the intent is
different from the operation to be performed, then this is a good
place for an optional warning.
Granted, it's not a very good thing for a sysadmin to
CREATE.ACCOUNT BIN, followed by answering Yes to OK. As part of
our training as DBMS administrators we learn this and move on.
There are times, however, when it may not be the MV DBA or even a
human being issuing the command. It could be a person who's
assigned to simply type the command every time a new user (like
Bruce Irwin Newman) is added to the system, or a program that has
the "y" prompt filled in ahead of time. I'm a firm believer in
letting people make mistakes to some extent, and especially
letting admins do what they need to do with the least amount of
hassle. But there are some lines where we shouldn't let someone
cross without guaranteed manual intervention. Maybe this BIN
thing isn't the place for asserting such caution, but I'm
concerned that the "let me be free to make my mistakes" mantra
for admins in training could lead to sloppy end-user deployment
and thus serious admin issues in production environments.
T
I think that the key thing here is that there is nothing wrong with creating
an account in the qmsys\bin directory if that's where you really want it.
Everything will work just fine. It just isn't a terribly logical place to
put it. But then, who are we to make judgements on the user's logic? They
may have a very good reason for wanting to do this.