You can then use the graceful restart option
(apachectl graceful) to instruct Apache to reload its configuration without disconnecting any
active clients.
The graceful restart option in apachectl automatically tests the configuration
before sending the reload signal to apache, but it is still a good idea to get in the habit
of running the manual configuration test after making any configuration changes.
Some configuration problems pass the syntax tests performed by apachectl, but then result in
the HTTP daemon exiting immediately after reloading its configuration. If this happens, use the
tail command to check Apache??™s error log for useful information. On Debian systems, the error
log is in /var/log/apache/error.log. On other systems, the location can be found by looking
for the ErrorLog directive in your Apache configuration.
An error message that you might encounter looks something like this:
[crit] (98)Address already in use: make_sock: could not bind to port 80
This error often indicates that something else is bound to port 80 (not very common unless you
have attempted to install another Web server), that another Apache process is already running
(apachectl usually catches this), or that you have told Apache to bind the same IP address and
port combination in more than one place.
Pages:
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224