Forum OpenACS Q&A: Re: OpenACS OS suggestions

Collapse
4: Re: OpenACS OS suggestions (response to 1)
Posted by Chris Edwards on
This is an error on some permissions while running through the Xowiki for Ubuntu. Also looks like I may be missing some things since what you requested came back with nothing being found or shortcuts are not mapped to my user. This is a fresh install with synaptic for easy package handling and build-essentials, nothing else has been isntalled.

[06/Jun/2013:22:17:12][4755.1550354176][-main-] Error: log: failed to re-open log file '/var/log/aolserver4/aolserver4.log': 'Permission denied'
[06/Jun/2013:22:17:12][4755.1550354176][-main-] Fatal: log: failed to open server log '/var/log/aolserver4/aolserver4.log': 'Permission denied'

cedwards@TR69:~$ $server/etc/config.tcl
bash: /etc/config.tcl: No such file or directory
cedwards@TR69:~$ $server/etc/daemontools/run
bash: /etc/daemontools/run: No such file or directory
cedwards@TR69:~$

I am not 100% certain on how to verify if the server is running, but looking at the ps ax I see some signs of postgresql and a deamons running. This is just a snip of what I saw.

989 ? S 0:00 avahi-daemon: running [TR69.local]
31956 ? S 0:00 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c con

I dont see anything else running that pertains to openacs, aolserver4 or postgresql.

Like I said before I am a beginner, my background is access and I know my way around a solaris machine (dont judge me). But I am willing to bang on this until it works and learn on the way, with support from willing people.

Collapse
9: Re: OpenACS OS suggestions (response to 4)
Posted by Steve Manning on
The "permission denied" error for the logs is exactly that, the user you are running the servers as does not have permission to write to the /var/log/aolserver4 directory.

The server runs as 'nsd' so you need to look for that in ps ax. You can see if its listening on port 80 (&443) by using netstat -lpnt this will also show you if Postgresql is listening on 5432.

- Steve