ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WEBDEV administrator / WEBDEV administrator for Linux / 5. Appendices
  • 1. Checking the server configuration in Debian
  • 1.1. Apache server
  • 1.2. FTP server (only for setup by FTP)
  • 1.3. libstdc++ library
  • 1.4. QT library
  • 1.5. Checking the Apache server after installing the application server
  • 2. Checking the server configuration in Mandrake
  • 2.1. Apache server
  • 2.2. FTP server (only for setup by FTP)
  • 2.3. libstdc++ library
  • 2.4. QT library
  • 2.5. Checking the Apache server after installing the application server
  • 3. Checking the server configuration in RedHat
  • 3.1. Apache server
  • 3.2. FTP server (only for setup by FTP)
  • 3.3. libstdc++ library
  • 3.4. QT library
  • 3.5. Checking the Apache server after installing the application server
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Before installing the WEBDEV Application Server for Linux, it is necessary to check the configuration of the Linux server.
The different steps of this configuration are as follows:
  • Checking the presence of the Apache server.
  • Searching for the Apache configuration file.
  • Checking the presence of an FTP server (only if an FTP setup is required).
  • Checking the presence of the libstdc++ library
  • Checking the presence of the QT library (version 4.5 or later).
After the setup, you must also make sure the Apache server was modified.
The following paragraphs explain how these checks can be performed in the different distributions:
  • Debian,
  • Mandrake 10,
  • Redhat 9.
1. Checking the server configuration in Debian

1.1. Apache server

Checking the presence of a Web server Before installing the WEBDEV Application Server, you must check whether an Apache Web server is installed.
Remark: to perform the following operations, it is necessary to be connected as "root".
The following command enables you to find out whether the Apache server is running on the Linux server:
dpkg-l apache
Installing an Apache server The following command line allows you to install an Apache server:
apt-get install apache
Searching for the Apache configuration file
Before installing the WEBDEV Application Server for Linux, you must identify the directory and the name of Apache configuration file.
To do so, run the following command lines:
  1. Return the list of programs corresponding to the services used:
    netstat --tcp --listen --numeric --program

    This command line returns the list of the services that are currently used with the name of corresponding program.
  2. Once you know the program name, you can easily get information about its configuration. To do so, use the following command line:
    <Program Name> -V

    In our example, corresponds to http2:
    http2 -V
    You will get the following information:
The two key points are:
  • the path of server directory.
  • the name and path of configuration file. In most cases, its path is relative to the server directory.
The configuration file required to install the WEBDEV Application Server for Linux must contain the word "User". We advise you to edit the configuration file that was previously found and to search for the word "User".
If the word is not found, it is recommended to search in the files included in this configuration file (to find the included files, search for the "Include" word in the configuration file).
For example, the following command line allows you to edit a file in Debian:
editor /etc/apache/httpd2.conf
Once you have found the configuration file containing the word "User", write down its path and name. You will need them to install the WEBDEV Application Server for Linux.

1.2. FTP server (only for setup by FTP)

The FTP server allows you to easily install the WEBDEV sites. This FTP server must be installed on the server and it must be able to manage secure exchanges (with password).
The following command allows you to find out whether an FTP server is started on the Linux server:
netstat --tcp --listen |grep ftp
This line returns the FTP services currently installed on the server. An FTP server must be installed if the FTP service is not found.
The following command line allows you to install an FTP server:
apt-get install vsftpd
In this last case, the configuration parameters can be modified as follows:
  • Edit "/etc/vsftpd.conf".
  • Uncomment the line "local_enable=YES" to allow the computer logins to connect by FTP.
  • Uncomment the line "write-enable=YES" to allow write operations.
  • Uncomment the line "local_umask=022".
  • Restart the FTP server via the following command line:
    /etc/init.d/vsftpd restart

1.3. libstdc++ library

To check the presence of the libstdc++ library, use the following command line:
ldconfig -p | grep libstdc++
If this file does not exist, see the documentation of the distribution to install it.

1.4. QT library

To check the presence of the QT library (Core and GUI), we recommend that you use the following command line:
qtconfig
If this file does not exist, see the documentation of the distribution to install it. The following command line can also be used:
apt-get install libqtcore4
apt-get install libqtgui4

1.5. Checking the Apache server after installing the application server

This has to be checked whether the setup was completed properly or ended with the "Config-broken" error.
The steps are:
  1. Check the configuration of the Apache server via the following command line:
    apache2ctl configtest

    If an error occurs, perform the following operations.
  2. Go to the the directory "/etc/apache2/mods-enabled":
    cd /etc/apache2/mods-enabled
  3. Activate the "action" and "cgi" modules via the following command lines:
    ln -s ../mods-available/actions.load ./actions.load
    ln -s ../mods-available/actions.conf ./actions.conf
    ln -s ../mods-available/cgi.load ./cgi.load
Once Apache is configured properly, restart Apache via the following command line:
apache2ctl graceful
Remark: Immediately after the setup is completed, the WEBDEV 29 service is active. However, in some cases, if the Linux machine is rebooted, the service will not be restarted.
Check wd290admind to determine if the WEBDEV Application Server is running. To get this information, type the following command line:
ps -ef | grep wd280admind
To have the WEBDEV29 service automatically restart at boot time, enter the following command line:
update-rc.d WEBDEV29 defaults 91
2. Checking the server configuration in Mandrake

2.1. Apache server

Checking the presence of a Web server
Before installing the WEBDEV Application Server, you must check whether an Apache Web server is installed.
Note: To perform the following operations, it is necessary to be connected as "root".
The following command enables you to find out whether the Apache server is running on the Linux server:
netstat --tcp --listen
This line returns the services currently installed on the server. For example:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:time *:* LISTEN
tcp 0 0 *:discard *:* LISTEN
tcp 0 0 *:daytime *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
If the http service is not found, then no Web server is running on the current computer.
The following command line can also be used to check the presence of a Web server:
netstat --tcp --listen --numeric
If port 80 is displayed in the result, then a Web server is installed.
Installing an Apache server The following command line allows you to install an Apache server:
urpmi apache
Searching for the Apache configuration file
Before installing the WEBDEV Application Server for Linux, you must identify the directory and the name of Apache configuration file.
To do so, run the following command lines:
  1. Return the list of programs corresponding to the services used:
    netstat --tcp --listen --numeric --program

    This command line returns the list of the services that are currently used with the name of corresponding program.
  2. Once you know the program name, you can easily get information about its configuration. To do so, use the following command line:
    <Program Name> -V

    In our example, corresponds to http2:
    http2 -V
You will get the following information:
The two key points are:
  • the path of server directory.
  • the name and path of configuration file. In most cases, its path is relative to the server directory.
The configuration file required to install the WEBDEV Application Server for Linux must contain the word "User". We advise you to edit the configuration file that was previously found and to search for the word "User".
If the word is not found, it is recommended to search in the files included in this configuration file (to find the included files, search for the "Include" word in the configuration file).
For example, the following command line allows you to edit a file:
emacs /etc/apache/httpd2.conf
Remark: you can also edit the file with:
vi /etc/apache/httpd2.conf
Once you have found the configuration file containing the word "User", write down its path and name. You will need them to install the WEBDEV Application Server for Linux.

2.2. FTP server (only for setup by FTP)

The FTP server allows you to easily install the WEBDEV sites. This FTP server must be installed on the server and it must be able to manage secure exchanges (with password).
The following command allows you to find out whether an FTP server is started on the Linux server:
netstat --tcp --listen |grep ftp
This line returns the FTP services currently installed on the server. An FTP server must be installed if the FTP service is not found.
The following command line allows you to install an FTP server:
urpmi proftpd

2.3. libstdc++ library

To check the presence of the libstdc++ library, use the following command line:
ldconfig -p | grep libstdc++-libc6.2-2.so.3
If this file does not exist, see the documentation of the distribution to install it.
Remark: make sure that the libstdc++ library is not configured to automatically update to the last stable version: indeed, an update to a non-compatible module could be performed.

2.4. QT library

To check the presence of the QT library (Core and GUI), we recommend that you use the following command line:
qtconfig
If this file does not exist, see the documentation of the distribution to install it.

2.5. Checking the Apache server after installing the application server

This has to be checked whether the setup was completed properly or ended with the "Config-broken" error.
The steps are:
  1. Check the configuration of the Apache server via the following command line:
    apachectl configtest

    If an error occurs, perform the following operations.
  2. Edit the configuration file of Apache.
    Use the following command line for example:
    emacs /etc/apache/httpd2.conf

    Remark: you can also edit the file with:
    vi /etc/apache/httpd2.conf
  3. Find the following line and delete the # character at the beginning of the line:
    # LoadModule actions_module /usr/lib/apache/1.3/mod_actions.so

    Remark: this line may vary according to the version of Apache. This line must have the following format:
    # LoadModule actions_module <path of the server modules>/
    mod_actions.so
  4. Save the configuration file and check the configuration of the Apache server once again (point 1).
Once Apache is configured properly, restart Apache via the following command line:
apachectl graceful
Remark: Immediately after the setup is completed, the WEBDEV 29 service is active. However, in some cases, if the Linux machine is rebooted, the service will not be restarted.
Check wd290admind to determine if the WEBDEV Application Server is running. To get this information, type the following command line:
ps -ef | grep wd280admind
To have the WEBDEV29 service automatically restart at boot time, enter the following command line:
chkconfig --level2 service on
3. Checking the server configuration in RedHat

3.1. Apache server

Checking the presence of a Web server
Before installing the WEBDEV Application Server, you must check whether an Apache Web server is installed.
Remark: to perform the following operations, it is necessary to be connected as "root".
The following command enables you to find out whether the Apache server is running on the Linux server:
netstat --tcp --listen
This line returns the services currently installed on the server. For example:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:time *:* LISTEN
tcp 0 0 *:discard *:* LISTEN
tcp 0 0 *:daytime *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
If the http service is not found, then no Web server is running on the current computer. The name used for the service may change from one computer to another one.
The following command line can also be used to check the presence of a Web server:
netstat --tcp --listen --numeric
If port 80 is displayed in the result, then a Web server is installed.
Installing an Apache server
The Apache server must be installed from the setup CD of Redhat.
Searching for the Apache configuration file
Before installing the WEBDEV Application Server for Linux, you must identify the directory and the name of Apache configuration file.
To do so, run the following command lines:
  1. Return the list of programs corresponding to the services used:
    netstat --tcp --listen --numeric -- program

    This command line returns the list of the services that are currently used with the name of corresponding program.
  2. Once you know the program name, you can easily get information about its configuration. To do so, use the following command line:
    <Program Name> -V

    In our example, corresponds to http2:
    http2 -V
You will get the following information:
The two key points are:
  • the path of server directory.
  • the name and path of configuration file. In most cases, its path is relative to the server directory.
The configuration file required to install the WEBDEV Application Server for Linux must contain the word "User". We advise you to edit the configuration file that was previously found and to search for the word "User".
If the word is not found, it is recommended to search in the files included in this configuration file (to find the included files, search for the "Include" word in the configuration file).
Use the following command line for example:
emacs /etc/apache/httpd2.conf
where:
vi /etc/apache/httpd2.conf
Once you have found the configuration file containing the word "User", write down its path and name. You will need them to install the WEBDEV Application Server for Linux.

3.2. FTP server (only for setup by FTP)

The FTP server allows you to easily install the WEBDEV sites. This FTP server must be installed on the server and it must be able to manage secure exchanges (with password).
The following command allows you to find out whether an FTP server is started on the Linux server:
netstat --tcp --listen |grep ftp
This line returns the FTP services currently installed on the server. An FTP server must be installed if the FTP service is not found.
The FTP server must be installed from the setup CD of Redhat.

3.3. libstdc++ library

To check the presence of the libstdc++ library, use the following command line:
ldconfig -p | grep libstdc++-libc6.2-2.so.3
If this file does not exist, see the documentation of the distribution to install it.
Remark: make sure that the libstdc++ library is not configured to automatically update to the last stable version: indeed, an update to a non-compatible module could be performed.

3.4. QT library

To check the presence of the QT library (Core and GUI), we recommend that you use the following command line:
qtconfig
If this file does not exist, see the documentation of the distribution to install it.

3.5. Checking the Apache server after installing the application server

This has to be checked whether the setup was completed properly or ended with the "Config-broken" error.
The steps are:
  1. Check the configuration of the Apache server via the following command line:
    apachectl configtest

    If an error occurs, perform the following operations.
  2. Edit the configuration file of Apache.
    Use the following command line for example:
    emacs /etc/apache/httpd2.conf

    or
    vi /etc/apache/httpd2.conf
  3. Find the following line and delete the # character at the beginning of the line:
    # LoadModule actions_module /usr/lib/apache/1.3/mod_actions.so

    Remark: this line may vary according to the version of Apache. This line must have the following format:
    # LoadModule actions_module <path of the server modules>/
    mod_actions.so
  4. Save the configuration file and check the configuration of the Apache server once again (point 1). Once Apache is configured properly, restart Apache via the following command line:
    apachectl graceful
Remark: Immediately after the setup is completed, the WEBDEV 29 service is active. However, in some cases, if the Linux machine is rebooted, the service will not be restarted.
Check wd290admind to determine if the WEBDEV Application Server is running. To get this information, type the following command line:
ps -ef | grep wd280admind
To have the WEBDEV29 service automatically restart at boot time, enter the following command line:
ntsysv
and check the wd290admind service.
Minimum version required
  • Version 28
Comments
Click [Add] to post a comment

Last update: 09/05/2023

Send a report | Local help