File: tech.html

package info (click to toggle)
aolserver4 4.5.1-15.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,772 kB
  • sloc: ansic: 45,120; tcl: 5,532; sh: 1,021; makefile: 380; pascal: 219; php: 13
file content (437 lines) | stat: -rw-r--r-- 5,094 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<html>
<head>
<title>AOLserver</title>
</head>
<body>

<h1>AOLserver Administration Technical Overview</h1>

<p>
<small>
$Header: /cvsroot/aolserver/aolserver.com/docs/admin/tech.html,v 1.1 2002/03/07 19:15:34 kriston Exp $
</small>
<p>

<h2>AOLserver Command Line</h2>

<p>

bin/nsd [ -i | -f ] [-s servername] [ -d ] [ -k | -K ] [ -V ] [ -r
root ] {-c | -t} config

<p>

Description: Start up AOLserver

<p>

Option:

<p>

Description:

<p>

-i

<p>

Run AOLserver from /etc/inittab. This option is similar to -f except
that stdout goes to the server.log file.

<p>

-f

<p>

Run AOLserver in the foreground.

<p>

-s servername

<p>

Specify the server to run, if the configuration file defines multiple
servers. The Server1 server will be run by default.

<p>

-d

<p>

Run AOLserver in the debugger (ignore SIGINT).

<p>

-k

<p>

Kill the running AOLserver (based on pidfile) and continue.

<p>

-K

<p>

Kill the running AOLserver (based on pidfile) and terminate.

<p>

-V

<p>

Print the version number of AOLserver.

<p>

-r root

<p>

Perform chroot to a new root directory.

<p>

{-c|-t} config

<p>

Required. Specify -c if the configuration file is in the .ini format
from previous AOLserver versions or -t if the configuration file is in
.tcl format. Specify the path to the configuration file.

<p>

 SGI Irix 6.2 Platform:

<p>

Execute nsdp instead of nsd to use the Posix Threads interface for SGI
Irix 6.2. All command line options remain the same.

<p>

 Examples

<p>

Command Line:

<p>

Description:
 nsd -t nsd.tcl

<p>

This is the simplest form of the command line.
 nsd -ft nsd.tcl

<p>

AOLserver will be run in the foreground.
 nsd -fkt nsd.tcl -r /newroot

<p>

AOLserver will be run in a chroot environment, and any
currently-running server will be killed.

<p>

<h2>Directory Map</h2>

<p>

This table describes all of the directories that are created under the
AOLserver installation directory when you install AOLserver. It lists
the files or types of files that are stored in each directory, the
configuration parameters that affect the directory or the files in the
directory, and references to where you can find more information on
the associated AOLserver features.

<p>

Directory

<p>

Description

<p>

/bin

<p>

Directory containing the AOLserver binary and the default directory
for any dynamically-loadable C modules.

<p>

Files:

<p>

 .so files
 nsd
 translate-ini

<p>

/examples

<p>

Directory containg C and Tcl examples, each in a separate
subdirectory.

<p>

/include

<p>

Directory containing header files for AOLserver.

<p>

Files:

<p>

 .h files

<p>

/lib

<p>

Directory containing static libraries used for building customized
components to AOLserver. This directory currently only includes the
libnspd.a file that can be used to build database proxy daemons
(external database drivers).

<p>

Files:

<p>

 libnspd.a

<p>

See Appendix B of the AOLserver C Developer's Guide for information on
building external database drivers.

<p>

/log

<p>

Directory containing log files and the server pid file.

<p>

Files:

<p>

 server.log
 nspid.port

<p>


/modules

<p>

Contains directories for each configured module that operates across
servers, such as the tcl module.

<p>

See page 62 for information on configuring AOLserver modules.

<p>

/modules/nscp

<p>

Directory containing files related to control port interface.

<p>

Files:

<p>

 tcsh.inputrc

<p>


/modules/tcl

<p>

Default directory for shared Tcl script library. Also contains
subdirectories containing Tcl examples and Tcl scripts for various
modules.

<p>

Files:

<p>

 .tcl files

<p>

/modules/tcl/nsperm

<p>

Directory containing user, group, and permissions files, plus Tcl
scripts for the nsperm module, which is used to provide access control
for AOLserver.

<p>

Files:

<p>

 passwd file
 group file
 hosts.allow file
 hosts.deny file
 perms file
 .tcl files

<p>


/modules/nsunix

<p>

Contains socket file for the nsunix module.

<p>

/servers

<p>

Contains directories for each server.

<p>

/servers/servername

<p>

Contains server-specific directories, including modules and pages.

<p>

/servers/servername/modules

<p>

Contains directories for server-specific modules, including nsftp,
nslog, nsperm, nsservlet, and tcl.

<p>

/servers/servername/modules/nslog

<p>

Default directory where the server's access log is stored.

<p>

Files:

<p>

 access.log

<p>

/servers/servername/modules/nsperm

<p>

Default directory where access control files are stored. The access
control features are enabled by the nsperm module.

<p>

Files:

<p>

 .dat files
 passwd
 group
 hosts.allow
 hosts.deny
 perms

<p>


/servers/servername/modules/tcl

<p>

Default directory for private Tcl script library for this server.

<p>

Files:

<p>

 .tcl files

<p>


/servers/servername/pages

<p>

Default directory where pages and graphics for the server are stored.
Users can optionally have individual subdirectories of this directory
(see UserDir, below).

<p>

Files:

<p>

 typically, .htm, .html, .shtml, and .adp files

<p>


</body>
</html>