Search Engine: Elastic

Article ID: 595, created on Oct 6, 2008, last review on May 6, 2014

  • Applies to:
  • Confixx Professional 3


The reason is that the service name and the process UID differ from those used by Confixx by default. Thus you have to specify them manually.

Confixx interacts with three types of servers only:

- DNS server,
- HTTP server,
- Mail Transfer Agent.

Here are the default parameters:

Server Name Owner
Bind named root
Apache httpd root
Sendmail sendmail root
QMail qmail-send qmails

Postfix is reloaded in a special way.

If you do not know the service name exactly, look at the command output of the corresponding port.
#netstat -lp | grep service_port

Where service_port could be one of http,domain,smtp.

tcp 0 0 *:http *:* LISTEN 978/httpd
tcp 0 0 *:https *:* LISTEN 978/httpd

This is the output of the previous command for the http port. In the last column the PID and the service name are shown.
The next step is to recognize the owner of the process.

# ps -fe | grep 978
The following output is returned.

root 978 1 0 Sep25 ? 00:00:06 /usr/sbin/httpd -DHAVE_ACCESS -D
apache 1613 978 0 01:43 ? 00:00:00 /usr/sbin/httpd -DHAVE_ACCESS -D
apache 1614 978 0 01:43 ? 00:00:00 /usr/sbin/httpd -DHAVE_ACCESS -D

You can see one parent process and several children processes. The owner of the parent process which is shown in the first column should be used.

You can specify the way how services are reloaded in the confixx_main.conf file. There are several variables which respond to the process management:
- pm_name_reload
- pm_name_start
- pm_name_user
- pm_name_name

where name is one of bind, apache, mail.

If pm_name_reload is not empty Confixx will execute the script represented in the string.

For example:

$pm_bind_reload='service named stop;service named start';
If the reload parameter is empty then Confixx uses the pm_name_user, pm_name_name to find the process and sends SIGHUP signal to it. If sending the SIGHUP failed (exit status not 0) then pm_name_start content would be used to start the service.
Note: Postfix is always reloaded by using postfix reload shell command.

85ce68e3209531714e8933ec29d267d1 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF