Troubling installing on Windows 7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Troubling installing on Windows 7

Carl Gundel
After I install va852_cw  on my Windows 7 box and the manager on my XP box (using the setup.exe files) and I try to start the client I get this error:
 
1) Error accessing C:
Program Files
Instantiations
VA Smalltalk
8.5
manager
mgr85.dat: Unable to connect to server
2) Failed to open log file: doit.log
EACCES (13) Invalid path or access denied [5]
3) MessageNotUnderstood: UndefinedObject>>isOpen
 
Do you wish to attempt to continue anyway?
 
So, I figure that the server isn't started.  I saw a video on YouTube by James Robertson where he installs the client and manager and then start the client right up, but perhaps this is wrong.  So, I decide to look for instructions about starting the manager.
 
As near as I can tell, I'm supposed start EMSRV.  I found some instructions about how to do this, but they are pretty thin, and I wasn't able to make them work.  Here is what I did to start EMSVR on my XP box:
 
1) open the cmd window
2) make a directory named c:\emsrvlog\ so there is a place to log errors and stuff
3) cd to c:\Program Files\Instantiations\VA Smalltalk\8.5\win
4) type the following   emsrv -u EMSRVUSER -p swordfish -W c:\emsvrlog -mp
 
I get the following results. 
 

EMSRV 7.1a for Windows NT/2000  May 10 2002 15:05:17 (EST) Copyright (C) IBM Corporation 1989-2002 Operating system: Windows 2000 Professional (NT 5.1.2600) Service Pack

3 (2 Processors - 2048 MB Memory) (Member Workstation) Code page (ANSI): 1252 Processor affinity: Running on 2 of 2 active processors

 

WARNING: Running EMSRV for Windows NT/2000 on multiprocessor hardware is not

         supported due to suspected operating system bugs that may result in

         repository corruptions.  You have chosen to start EMSRV with the -mp

         option to bypass a check that normally restricts EMSRV from running on

         multiprocessor hardware.  This may cause repositories to become

         corrupted.

 

Maximum repository size for NTFS: 16 GB (local file systems only) Maximum repository size for FAT32: 4 GB (local file systems only) Maximum repository size for FAT:  2 GB (local file systems only)

 

EMSRV started at 13:56:47 on 01/15/13 on port 4800  Running as a service: No  Maximum number of concurrent connections: 512  Logging level: Error  Log file name: emsrv.log  Allow connections to truncate repositories: Yes  File system requires read locks: No  File system releases locks: Yes

 Authentication: Disabled

 Seconds to wait for a lock: 1

 Working directory: c:\emsrvlog

 

EMSRV: AdjustTokenPrivileges error setting privileges.  OS error 1300:

Not all privileges referenced are assigned to the caller.

 

EMSRV: Logon error for user EMSRVUSER, check password.  OS error 183:

Cannot create a file when that file already exists.

EMSRV: Check that the EMSRV user account has sufficient privileges.

 

EMSRV: Unloading...

 

Any ideas? When I try to use this on my Windows 7 box (instead of the XP box) I don't get the errors above, but I get a popup window that disappears so fast that I can't read it.

 

Thanks,

 

-Carl

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/I8J6mbtXV0MJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Troubling installing on Windows 7

jtuchel
Carl,

your error 1) seems to indicate you didn't edit abt.ini in your image directory. You need to setup the server address and (local) file name of the repository on that server. On WIndows 7, a typical installation goes to some directory where a normal user has no write permissions, so you should create an image directory in your user's documents folder and copy at least act.icx and act.ini from the newimage folder into it. I typically create a desktop icon to start images. The working directory should be the image directory so that doit.log can be written there. 

about 2) It's been ages since I set up emsrv on a windows box. I prefer Linux for emsrv (see A minimal VA Smalltalk Library Server on OpenSuSE 11.2 [updated]). You should set up emsrv to start as a Windows service and have the XP box handle autostart of emsrv automatically. Did you find http://www.instantiations.com/docs/852/wwhelp/wwhimpl/js/html/wwhelp.htm#href=ig/instgd25-win.html as a starting point for the installation?


HTH

Joachim

Am Dienstag, 15. Januar 2013 23:50:00 UTC+1 schrieb Carl Gundel:
After I install va852_cw  on my Windows 7 box and the manager on my XP box (using the setup.exe files) and I try to start the client I get this error:
 
1) Error accessing C:
Program Files
Instantiations
VA Smalltalk
8.5
manager
mgr85.dat: Unable to connect to server
2) Failed to open log file: doit.log
EACCES (13) Invalid path or access denied [5]
3) MessageNotUnderstood: UndefinedObject>>isOpen
 
Do you wish to attempt to continue anyway?
 
So, I figure that the server isn't started.  I saw a video on YouTube by James Robertson where he installs the client and manager and then start the client right up, but perhaps this is wrong.  So, I decide to look for instructions about starting the manager.
 
As near as I can tell, I'm supposed start EMSRV.  I found some instructions about how to do this, but they are pretty thin, and I wasn't able to make them work.  Here is what I did to start EMSVR on my XP box:
 
1) open the cmd window
2) make a directory named c:\emsrvlog\ so there is a place to log errors and stuff
3) cd to c:\Program Files\Instantiations\VA Smalltalk\8.5\win
4) type the following   emsrv -u EMSRVUSER -p swordfish -W c:\emsvrlog -mp
 
I get the following results. 
 

EMSRV 7.1a for Windows NT/2000  May 10 2002 15:05:17 (EST) Copyright (C) IBM Corporation 1989-2002 Operating system: Windows 2000 Professional (NT 5.1.2600) Service Pack

3 (2 Processors - 2048 MB Memory) (Member Workstation) Code page (ANSI): 1252 Processor affinity: Running on 2 of 2 active processors

 

WARNING: Running EMSRV for Windows NT/2000 on multiprocessor hardware is not

         supported due to suspected operating system bugs that may result in

         repository corruptions.  You have chosen to start EMSRV with the -mp

         option to bypass a check that normally restricts EMSRV from running on

         multiprocessor hardware.  This may cause repositories to become

         corrupted.

 

Maximum repository size for NTFS: 16 GB (local file systems only) Maximum repository size for FAT32: 4 GB (local file systems only) Maximum repository size for FAT:  2 GB (local file systems only)

 

EMSRV started at 13:56:47 on 01/15/13 on port 4800  Running as a service: No  Maximum number of concurrent connections: 512  Logging level: Error  Log file name: emsrv.log  Allow connections to truncate repositories: Yes  File system requires read locks: No  File system releases locks: Yes

 Authentication: Disabled

 Seconds to wait for a lock: 1

 Working directory: c:\emsrvlog

 

EMSRV: AdjustTokenPrivileges error setting privileges.  OS error 1300:

Not all privileges referenced are assigned to the caller.

 

EMSRV: Logon error for user EMSRVUSER, check password.  OS error 183:

Cannot create a file when that file already exists.

EMSRV: Check that the EMSRV user account has sufficient privileges.

 

EMSRV: Unloading...

 

Any ideas? When I try to use this on my Windows 7 box (instead of the XP box) I don't get the errors above, but I get a popup window that disappears so fast that I can't read it.

 

Thanks,

 

-Carl

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/jInJAlKIIeEJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Troubling installing on Windows 7

Marten Feldtmann-2
In reply to this post by Carl Gundel
Yes, yes - the stuff is pretty unuseable under Windows (http://schrievkrom.wordpress.com/2011/08/29/vasmalltalk-usability-at-its-worst-emsrv-under-windows/)

Under Windows I never install VA under the normal Windows "Program Files" infrastructure, but on a complete different location. Then I have no problems because directories are write protected.

When installing under "Program Files" you MUST move the "mgr85.dat"-file and the "image852" folder to a different location and change the location in the abt.ini according to the new locations. Also the icon on the desktop must be changed too.

I would not start with emsrv under Windows, but only with file-access. Building the infrastructure for emsrv (which needs special access rights) is a not-daily job. I've written a  text in German how to do it (http://schrievkrom.wordpress.com/2011/08/30/vasmalltalk-emsrv-als-dienst-einrichten/)

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/arSs7NioPi0J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Troubling installing on Windows 7

Carl Gundel
Thanks guys for the tips.  I'll let you all know how it goes.
 
I really don't see why Instantiations doesn't make a better Windows installer.  This has got to be the most difficult software install I have seen in a long time, and that's not going to help people adopt VA Smalltalk for their projects.
 
-Carl

On Wednesday, January 16, 2013 3:55:16 AM UTC-5, Marten Feldtmann wrote:
Yes, yes - the stuff is pretty unuseable under Windows (http://schrievkrom.wordpress.com/2011/08/29/vasmalltalk-usability-at-its-worst-emsrv-under-windows/)

Under Windows I never install VA under the normal Windows "Program Files" infrastructure, but on a complete different location. Then I have no problems because directories are write protected.

When installing under "Program Files" you MUST move the "mgr85.dat"-file and the "image852" folder to a different location and change the location in the abt.ini according to the new locations. Also the icon on the desktop must be changed too.

I would not start with emsrv under Windows, but only with file-access. Building the infrastructure for emsrv (which needs special access rights) is a not-daily job. I've written a  text in German how to do it (http://schrievkrom.wordpress.com/2011/08/30/vasmalltalk-emsrv-als-dienst-einrichten/)

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/p6andnEzQsMJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Troubling installing on Windows 7

John O'Keefe-3
Carl -

We do have a better Windows Installer -- see https://groups.google.com/forum/?fromgroups=#!topic/va-smalltalk/jK5YGzb6Rp8 .

John

On Wednesday, January 16, 2013 10:25:56 AM UTC-5, Carl Gundel wrote:
Thanks guys for the tips.  I'll let you all know how it goes.
 
I really don't see why Instantiations doesn't make a better Windows installer.  This has got to be the most difficult software install I have seen in a long time, and that's not going to help people adopt VA Smalltalk for their projects.
 
-Carl

On Wednesday, January 16, 2013 3:55:16 AM UTC-5, Marten Feldtmann wrote:
Yes, yes - the stuff is pretty unuseable under Windows (http://schrievkrom.wordpress.com/2011/08/29/vasmalltalk-usability-at-its-worst-emsrv-under-windows/)

Under Windows I never install VA under the normal Windows "Program Files" infrastructure, but on a complete different location. Then I have no problems because directories are write protected.

When installing under "Program Files" you MUST move the "mgr85.dat"-file and the "image852" folder to a different location and change the location in the abt.ini according to the new locations. Also the icon on the desktop must be changed too.

I would not start with emsrv under Windows, but only with file-access. Building the infrastructure for emsrv (which needs special access rights) is a not-daily job. I've written a  text in German how to do it (http://schrievkrom.wordpress.com/2011/08/30/vasmalltalk-emsrv-als-dienst-einrichten/)

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/wnOfwcmTwCIJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.