Win32-OpenACS
Native Win32 Port of the Open Source Community System (OpenACS)
Welcome to the Native Win32 Port of the OpenACS system!
Contents
This is Version 1.8 (19th of April 2008) of Win32-OpenACS port and it consists of the following pieces of software:
- aolserver-4.5.0 - including
- nscache 1.4
- nssha1 1.1.1.1
- nspostgres 4.1
- nsoracle 2.8a1
- tcl-8.5.1
- tk-8.5.1
- tDom-0.8.2
- xotcl-1.6.0
- thread-2.6.5
- tcllib-1.10
- postgresql-8.2.7-1
- openacs-5-4.1
- xowiki-0.8.3 - from cvs head at the 18th of March 2008
- dotlrn-2.3.1
Generation
This port has been generated with Microsoft Visual Studio 2008 Professional Edition.
Requirements
This port works on the most recent updates of Windows XP and Windows Server 2003 as well as on Vista. In case you have troubles running the executables, you should consider installing the “Microsoft Visual C++ 2008 Redistributable Package (x86)” on your system.
How to get it
Just download this archive file: “aolserver_install.zip“.
Installation Instructions
- Extract all the contents of the “aolserver_install.zip” archive file.
- Copy the folder “aolserver” under the root folder of your system, i.e. “C:\aolserver“.
- Install Postgresql 8.2.7-1 (contained in the “C:\aolserver\software” subfolder).
- Add the following folders to your PATH environment variable:
“C:\aolserver\bin”
“C:\Program Files\PostgreSQL\8.3\bin” (or any other place where you have installed the Postgresql commands). - Replace the file “postgresql.conf” (contained in the subdirectory “data” of Postgresql) with the one available here.
- Create one Postgresql database (e.g. “openacs“).
- Configure as required the file “C:\aolserver\servers\openacs\etc\config.tcl” (an example is provided here). The distribution contains two examples of this file, one for Postgresql and the other for Oracle.
- Go into the “C:\aolserver” folder and execute the “run_openacs.bat“.
- Smile!!!
- In case you want to run Win32-OpenACS as a Windows service, you can use the scripts:
- “C:\aolserver\install_openacs.bat” - to install the service;
- “C:\aolserver\remove_openas.bat” - uninstall it.
- In case you want to install .LRN just follow steps 6 to 10 replacing “openacs” with “dotlrn“.
PLEASE NOTE: The OpenACS 5.4.1 core contained in this distribution has proven to be working also on Oracle 10g and 11g.
Screen Shots

OpenACS Shell

OpenACS Web Interface
Building Instructions
Building and compilation instructions are available here.
Dear Domingo,
I believe you should address your comments to the OpenACS community:
http://www.openacs.org/forums/
Thanks in advance,
Maurizio
Comment by Maurizio — April 28, 2008 @ 10:21 am
I’m getting this error:
psql:site-nodes-create.sql:159: WARNING: changing return type of function site_node_update_tr from “opaque” to “trigger”
invoked from within
“db_source_sql_file -callback apm_ns_write_callback acs-kernel-create.sql”
(procedure “install_do_data_model_install” line 7)
invoked from within
“install_do_data_model_install”
invoked from within
“if { ![install_good_data_model_p] } {
install_do_data_model_install
} else {
ns_write “Kernel data model already installed.”
# If kernel i…”
(file “d:/aolserver/servers/openacs/packages/acs-bootstrap-installer/installer/install.tcl” line 37)
invoked from within
“source $__file “
Comment by Domingo Alvarez Duarte — April 27, 2008 @ 7:36 pm
Dear Ashish, thanks for your comment.
I’m afraid you have to recompile the entire system specifying in the exec prefix directives the disk (C, D, etc…, you want to use).
Hope it helps,
Maurizio
Comment by Maurizio — April 19, 2008 @ 3:31 pm
Thanks for the Win32 Port first of all. Do you know if I can install in directory other then c:\aolserver and also if I can change “dotlrn” to “myname” instance/mount?
Comment by Ashish — April 8, 2008 @ 2:16 pm
Hello Nima,
I plan to add these instructions with the next version of the system which I intend to deliver by the end of April 2008.
Hope this helps!
Cheers,
Maurizio
Comment by Maurizio — March 6, 2008 @ 5:26 pm
Can you kindly provide a description of all steps required to create a native win32 port?
Comment by Nima — March 4, 2008 @ 12:17 pm
Get following error “[25/Jan/2008:13:56:33][644.1324][-main-] Error: Ns_PgOpenDb(postgres): Could no
t connect to 127.0.0.1::openacs: FATAL: password authentication failed for use
r “postgres”
[25/Jan/2008:13:56:33][644.1324][-main-] Error: dbdrv: failed to open database ‘
postgres:127.0.0.1::openacs’”
where do I setup password for db loginn ?
Comment by Frode — January 25, 2008 @ 12:58 pm
“Unable to execute application…” - this can be solved by copying msvcm80.dll, msvcp80.dll, msvcr80.dll and Microsoft.VC80.CRT.manifest from the Postgresql bin directory to the aolserver bin directory.
Comment by Frode — January 25, 2008 @ 12:08 pm
Hello Chris D., please refer to the Postgresql documentation for Windows.
Comment by Maurizio — December 12, 2007 @ 8:35 am
Hello Mike,
like for Dom, perhaps you too you have problems with your path, I.E. you have not executed step 4 of the installing procedure.
Comment by Maurizio — December 12, 2007 @ 8:34 am
Hello Dom,
perhaps you have problems with your path, I.E. you have not executed step 4 of the installing procedure.
Comment by Maurizio — December 12, 2007 @ 8:27 am
Hi, I’ve completed installing postgres and the database, all environment variables are okay. When running the batch file, the shell ends with the following:
[30/Nov/2007:17:37:24][3968.3360][-main-] Fatal: modload: failed to load module
‘C:/aolserver/bin/nslog.so’
Am I missing something or doing something wrong?
Thanks,
Chris
Comment by Chris D — November 30, 2007 @ 5:41 pm
I was wondering whether you could add additional instructions for the line, ‘create one postgres database’. How do you do this?
Thanks!
Comment by Chris D — November 30, 2007 @ 5:14 pm
Tried your install instruction. Installed the C++ Redistributable but still the system won’t let me run the run_openacs.bat
It tells me : The system cannot execute the specified program
Any comments on that?!
Comment by Mike — November 30, 2007 @ 11:10 am
Hi, Could someone please provide more detail on the parameters that need to be modified in the config.tcl file? Thanks
Comment by JP — November 24, 2007 @ 7:24 pm
Although I installed the MS VC++ 2005 Redistributable Pacakge (x86) on my WinXP Pro SP2, I have also the same problem as Frank on point 9.
Please help.
Comment by Dom — November 22, 2007 @ 5:06 am
What data should write in the config.tcl, i only added data in the lines after
# which database do you want? postgres or oracle…pass.
but it did not work.
Thanks
Comment by Laura — November 6, 2007 @ 6:41 am
Dear Frank Bergmann,
in case you have troubles running the executables, you should consider installing the “Microsoft Visual C++ 2005 Redistributable Package (x86)” on your system.
A link to the package is provided in this page (read the “Requirements” section).
Comment by Maurizio — November 3, 2007 @ 10:52 am
Hello Ceyeber62,
the utility WGET is used by OpenACS code to download packages. If you don’t trust it, just delete it.
Comment by Maurizio — November 3, 2007 @ 10:50 am
Hi Darit,
I just tried your installer (V1.4), but I wasn’t able to run “aols.exe” nor “nsd.exe”. I got an “Unable to execute application…” error on a WinXP Professional SP2. Any idea?
Bests,
Frank
Comment by Frank Bergmann — October 27, 2007 @ 4:34 pm
The Windows installer contains WGET.EXE which is picked up by McAfee Virusscan as a potentially unwanted program.
So what’s the score here? Does the installer contain malware or not??
Comment by ceyeber62 — October 18, 2007 @ 5:02 pm
Thank, that’s help a lot.
also I dont know how to Create one Postgresql database in step 6. Thank you again in advance.
Comment by Darit — October 12, 2007 @ 7:07 pm
Hi Darit,
open a “Command Prompt” window and enter the command:
echo %PATH%
You’ll see the list of directories contained in the PATH variable of your system. To this list you have to add the directories: “C:\aolserver\bin” and
“C:\Program Files\PostgreSQL\8.2\bin”.
This is done via “Computer/Properties/Advance System Settings/Environment Variables…”
Hope it helps,
Maurizio
Comment by Maurizio — October 10, 2007 @ 10:22 am
Hey,
I dont really understand the step 4. What do you mean by “PATH environment variable”?
Thank.
Comment by Darit — October 5, 2007 @ 8:14 pm
Dear Enrique, I’ve just added the XOTcl support.
Hope it helps,
Maurizio
Comment by Maurizio — October 2, 2007 @ 3:06 pm
Hi,
I was wondering how to add XOTcl support for your version of AolSRV since I used and it works perfectly but when I try to use XOTcl I got some problems. I am asking just in case you have done something before.
Thanks,
Enrique.
Comment by Enrique Catalan — September 11, 2007 @ 1:41 pm