Forum OpenACS Development: OpenACS on VMTN
Probably most people realize that VMWare has create an app called the "Player" which is free and runs on Windows+Linux. I haven't used it yet, but heard it works fine because it's basically the workstation product with some buttons removed.
So now the price is right if you don't want to do system administration when evaluating openacs etc.
Anyway, if you're too lazy to apt-get, download away.
Unfortunately, the only reply I get on both ports 8000 and 8080 is, that 'OpenACS could not allocate a handle from database pool "pool2"' and I should correctly install a database driver and configure AOLServer to use it.
What a pitty. I thought, this thing should work and help get new users aboard?
Please tell me, how to get this thing running and where to find some concise documentation how work with the VMTN installed OpenACS.
Thanks for your time!
I've got it fixed, but I did several things quickly and non-methodically so I have to test some more to make sure it'll work when others download it (and the IP address changes).
I'll try to get to this today. If any other OpenACS'r would like to help out (by downloading the VM and critiquing it) I would really appreciate it.
[As an aside, since I'm getting about 15-20 downloads/day (~500/mo, 6K/yr), I suspect I've become the main channel for new people finding out about OpenACS and dotLRN (correct me if I'm wrong). ]
When the VM boots up, aolserver was starting before postgres, and so couldn't connect.
The services just need to be restarted for you to have a working site.
svc /service/openacs5 -d svc /service/openacs5 -u
svc /service/dotlrn -d svc /service/dotlrn -u
Once you do that, just suspend your machine between uses and the boot bug won't strike. To address the issue, I've added (and you can add) the following code to the daemontools run script (/service/openacs5/run and /service/dotlrn/run) to wait until postgresql is alive:
#!/bin/sh pid=`pidof -s postmaster` while !([ $pid ] && /etc/init.d/postgresql status > /dev/null 2>&1) do pid=`pidof -s postmaster` sleep 1 done
So you could also redownload the VM and not have the issue. I'm not sure why this hasn't been a problem in the past...
Sorry for the snafu ... you really are close to having working openacs/dotlrn instances. Promise.