Knowledgebase: Tips and tricks
Setup server-wide options
Posted by Sven Koester on 16 April 2007 11:58

Archiware support may advise you to change certain server-wide options. To do so,

please  change to the PresSTORE installation directory (default is /usr/local/aw), edit the conf/lexxsrv.port (P3 & P4) file or config/lexxsrv.port (P5) file (port is the TCP port for the PresSTORE server; default = 8000) and add lines at the bottom of the file

ns_section section_specifier
ns_param paramName paramValue 

The section_specifier is the name of the PresSTORE software module for which one or more parameters each with a paramName and paramValue are defined. Save the modified file and restart PresSTORE server for the changes to take effect. To restart PresSTORE on Unix-like operating systems (Linux, Solaris, MacOSX), perform as administrator user (usually root user):

/usr/local/aw/stop-server
/usr/local/aw/start-server


To do the same on Windows, stop and start PresSTORE service.

 

Another important server-wide option is run P5 on a different port than the default port 8000. For example, you may already be running a web server on that port.

To run Presstore on a port other than the default port (8000), stop Presstore, rename the lexxsrv.8000 file to something like lexxsrv.8100 and restart Presstore. Presstore will now run on port 8100.
(1372 vote(s))
Helpful
Not helpful

Comments (4)
Mat X
10 July 2014 20:32
Please clean up and update this page. It's a mess. :(

All it needs is the last sentence: "To run Presstore on a port other than the default port (8000), stop Presstore, rename the lexxsrv.8000 file to something like lexxsrv.8100 and restart Presstore. Presstore will now run on port 8100."

Followed by the stop/start commands.

Everything is old, outdated, wrong and / or unnecessary.
Andre Kuehnemund
07 April 2015 12:44
There are other server-wide options besides changing the port Presstore runs on, so the article is not wrong or unnecessary. While it is possible to change the port by simply renaming the file, others need to be entered in the file itself.
The article is old because this part has not changed since Presstore 3.
Deanne Thornton
23 March 2016 19:58
Would there be any issue with moving the aw directory to a non-boot volume and placing a symlink in place on a Mac?
Andre Kuehnemund
09 May 2016 16:27
Using the P5 installer package for Linux, you're free to install P5 on a non-system volume on a Mac. For example, to install P5 on volume '/Volumes/data', simply create an 'aw' folder on that volume, download the P5 installer file for Linux (awpstXXX.tgz) into that folder, uncompress the file, followed by running the install script.
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).