File: errors.yo

package info (click to toggle)
stealth 4.04.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: cpp: 2,759; sh: 151; makefile: 111; ansic: 52
file content (202 lines) | stat: -rw-r--r-- 7,968 bytes parent folder | download | duplicates (5)
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
    tt(Can't chdir to `path')
    quote(the directory tt(path) could not be
created/used. This may be a permission problem. Check the permissions of
tt(path) if tt(path) does actually exist. The problem may be in a path
component, not necessarily in the last element of the path.
    )
    
    tt(Can't open `<fname>' to read (or write))
     quote(When a tt(GET) or tt(PUT) command fails because the target file
could not be read or written, s() terminates afer logging this message. The
file may not exist or you may not not have sufficient permissions to read or
write it.
    )

    tt(Corrupt line in policy file: ...)
    quote(The apparently corrupted line is shown. The line is corrupted if
the line could not be split into an initial word and its remainder. Normally
this should not happen. As the line is mentioned, the message itself should
assist you in your repairs.
    )

    tt(could not open <logname>)
    quote(This message is generated when the mentioned log-file cannot be
written to. Check the permissions of the file, and check if the path to the
file exists. The problem may be in a path component, not necessarily in the
last element of the path or in the file itself.
    )

    tt(--daemon: missing uds-file or policy file)
    quote(The tt(--daemon) option requires the location for its Unix Domain
Socket, and in addition a policy file must be specified. Most likely the
location of the Unix Domain File was omitted, thus confusing the policy file
with the Unix Domain File
    )


    tt(incompatible options: ...)
    quote(Two or more incompatible options are shown. E.g., tt(--daemon) is
incompatible with IPC options, which themselves are mutually
incompatible. Omit all but one of the mentioned options and restart s()
    )

    tt(Inserting command `...' failed.)
    quote(the mentioned command could not be sent to a child-process (tt(sh)
or tt(ssh)). Check the availability of the tt(ssh) connection to the
client, and whether you have permissions to execute the specified command.
    )

    tt(Invalid --random-interval specified)
    quote(The --random-interval option was given an invalid (too large or
        negative) argument.
    )

    tt(invalid --<option> specified)
    quote(The specified option value (e.g., tt(--max-size) was specified, but
its option value is not a valid integral number) is not supported
    )

    tt(LocalClientSocket::connect(): ...)
    quote(When running in IPC-mode s() could not connect to the unix domain
socket specified for the IPC-mode. Check whether the matching s() daemon
exists, and whether the location of the uds-file was correctly specified
    )

    tt(LocalServerSocket::accept(): ...)
    quote(When running in daemon mode incoming connections could not be
accepted. This may have many causes, and a probably cause is mentioned with
the error message
    )

    tt(LocalServerSocket::listen(): ...)
    quote(When running in daemon mode the unix domain socket failed to
listen for incoming connections. This may have many causes, and a probably
cause is mentioned with the error message
    )

    tt(LocalServerSocket::open(<uds>): ...)
    quote(When running in daemon mode the unix domain socket could not be
opened. A possible reason is that an entry in the file system having the same
name already exists. The error message will mention a probably cause of the
failure
    )

    tt(--max-size incompatible with IPC calls)
    quote(The tt(--max-size) option can can only be used when s() is also
receiving a policy file. It cannot be used in combination with the Inter
Process Communication (IPC) options tt(--reload, --rerun, --resume, --suspend)
or tt(--terminate).
    )

    tt(--max-size <value>: invalid option value)
    quote(An invalid specification for tt(--max-size) was received. Refer to
the man-page or manual for information about valid options.)

    tt(No exit value for <cmd> ...)
    quote(No exit value was received for the logged command, after which s()
terminates. 
    )

    tt(--<option> is only valid for a s() foreground process)
    quote(The indicated option cannot be specified in combination with a
tt(--daemon) or IPC-option (like tt(--suspend))
    )

    tt(--random-interval requires --repeat)
    quote(The tt(--random-interval) option can only be used when the
tt(--repeat) option has also been specified.
    )

    tt(--repeat not available in IPC modes)
    quote(The tt(--repeat) option cannot be specified in combination with an    
IPC-option (like tt(--suspend))
    )

    tt(--run-command 0: not a valid (natural) command number)
    quote(The tt(--run-command) option requires an argument, which is a
positive, integral value.
    )

    tt(--run-command <nr>: invalid command number)
    quote(The tt(--run-command) option requires an argument, which is a
positive, integral value at most equal to the number of commands listed in the
policy file.
    )

    tt(--skip-files incompatible with IPC calls)
    quote(The tt(--skip-files) option can only be used when s() is also given
a policy file. It cannot be used in combination with IPC options (tt(--reload,
--rerun, --resume, --suspend) or tt(--terminate)).
    )

    tt(--skip-files: missing skip-file or policy file)
    quote(The tt(--skip-files) option requires a file name and the s() command
also requires a policy file. Most likely the name of the skip-file was not
provided, thus confusing the policy file with the skip-file.
    )

    tt(--stdout incompatible with --daemon)
    quote(The tt(--stdout) option can only be used when s() is not started as
a daemon process.
    )

    tt(syslog facility <facility> not supported)
    quote(The option tt(--syslog-facility) requires the name of a standard
bf(syslog)(1) facility. Supported facilities are tt(DAEMON, LOCAL0) through
tt(LOCAL7) and tt(USER). See, e.g., the bf(syslog)(3) man-page for an overview
of their definitions.)


    tt(--syslog* options incompatible with IPC calls)
    quote(tt(--syslog*) options can can only be used when s() is also
receiving a policy file. It cannot be used in combination with the Inter
Process Communication (IPC) options tt(--reload, --rerun, --resume, --suspend)
or tt(--terminate).
    )

    tt(syslog priority <priority> not supported)
    quote(The option tt(--syslog-priority) requires the name of a standard
bf(syslog)(1) priority. All standard priorities are supported. See, e.g., the
bf(syslog)(3) man-page for an overview of available priorities. The prefixes
used with the priorities in this man-page (i.e., tt(LOG_) should not be used
when specifying the tt(--syslog-priority). E.g., use tt(--syslog-priority
WARNING) rather than tt(--syslog-priority LOG-WARNING))
    )

    tt(terminated: non-zero exit value for `...')
    quote(A local command (not using the tt(CHECK) keyword), returned with a
non-zero exit. This will terminate further processing of the policy
file. Inspect and/or rerun the command `by hand' to find indications about
what went wrong. The report file or the standard error stream may also contain
additional information about the reason of the failure.
    )

    tt(Unable to create the logfile `...')
    quote(the mentioned log file could not be created. Check the permissions of
the file, check if the path to the file exists. The problem may be in a path
component, not necessarily in the last element of the path or in the file
itself.
    )

    tt(Unix Domain Socket `<uds>': already in use, remove it first)
    quote(The intended Unix Domain Socket name (tt(<uds>)) is already in
use. It could be a file that is or has been used by another process. Either
use another name for the unix domain socket, or remove the existing
file-system entry)

    tt(USE SSH ... entry missing in the policy file)
    quote(there is no default for the tt(USE SSH) specification in the policy
file. The specification could not be found. Provide a specification like:
    verb(USE SSH     ssh -q root@localhost)
    )