Linux displays the correct syntax in the check settings file

Source: Internet
Author: User
Tags apache error log ldap unpack fully qualified domain name

Linux displays the correct syntax in the check settings file


[email protected]:~$ apachectl [conflgtest] program "APACHECTL" is not installed. You can use the following command to install: sudo apt-get install apache2[email protected]:~$ sudo apt-get install Apache2[sudo] password for Youhaidong:e: Dpkg is interrupted, you must manually run sudo dpkg--configure-a to resolve this issue. [email protected]:~$ sudo dpkg--configure-a is setting up Update-notifier-common (0.154.1UBUNTU1) ... Ttf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Andale32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Arial32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Arialb32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Comic32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Courie32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Georgi32.exettf-mscorefonts-installer:downloading Http://downloads.sourceforge.net/corefonts/impact32.exettF-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Times32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Trebuc32.exettf-mscorefonts-installer:downloading http://downloads.sourceforge.net/corefonts/ Verdan32.exettf-mscorefonts-installer:downloading Http://downloads.sourceforge.net/corefonts/webdin32.exeuser Did not accept the Licensethe fonts is not installed. Please run ' dpkg-reconfigure Ttf-mscorefonts-installer ' to perform the installation again is setting Ttf-mscorefonts-installer (3.4+NMU1UBUNTU1) ... user did not accept the Mscorefonts-eula license[email protected]:~$ apachectl [conflgtest] Program "Apachectl" is not installed. You can use the following command to install: sudo apt-get install apache2[email protected]:~$ sudo apt-get install apache2 is reading the package list ... Completing the dependency tree that is analyzing the package is reading state information ... Completion will install the following additional packages: Apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3 LIBAPRUTIL1-LDAP recommended packages Installed: A Pache2-doc Apache2-suexec-pristine Apache2-suexeC-custom apache2-utils The following "new" packages will be installed: apache2 apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3 LIBAPRUTIL1-LDAP upgraded 0 packages, installed 7 new packages, uninstalled 0 packages, and 6 packages were not upgraded. You need to download the 1,267 KB package. 5,238 KB of extra space is consumed after decompression. Do you want to continue? [y/n] Y get: 1 http://cn.archive.ubuntu.com/ubuntu/trusty/main libapr1 amd64 1.5.0-1 [85.1 KB] gets: 2/HTTP Cn.archive.ubuntu.com/ubuntu/trusty/main libaprutil1 AMD64 1.5.3-1 [76.4 KB] gets: 3 Http://cn.archive.ubuntu.com/ubuntu /Trusty/main libaprutil1-dbd-sqlite3 AMD64 1.5.3-1 [10.5 kB] gets: 4 http://cn.archive.ubuntu.com/ubuntu/trusty/main Libaprutil1-ldap AMD64 1.5.3-1 [8,634 B] gets: 5 Http://cn.archive.ubuntu.com/ubuntu/trusty-updates/main apache2-bin AMD64 2.4.7-1ubuntu4.1 [839 KB] gets: 6 Http://cn.archive.ubuntu.com/ubuntu/trusty-updates/main apache2-data All 2.4.7-1ubuntu4.1 [KB] gets: 7 http://cn.archive.ubuntu.com/ubuntu/trusty-updates/main apache2 AMD64 2.4.7-1ubuntu4.1 [87.5 kb] Download 1,267 KB, time 4 seconds (283 kb/s) Selecting previously unselected package libapr1:amd64.(Reading Database ... The system currently has a total of 198,114 files and directories installed. ) Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ... Unpacking libapr1:amd64 (1.5.0-1) ... Selecting previously unselected package libaprutil1:amd64. Preparing to unpack .../libaprutil1_1.5.3-1_amd64.deb ... Unpacking libaprutil1:amd64 (1.5.3-1) ... Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64. Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.3-1_amd64.deb ... Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ... Selecting previously unselected package libaprutil1-ldap:amd64. Preparing to unpack .../libaprutil1-ldap_1.5.3-1_amd64.deb ... Unpacking libaprutil1-ldap:amd64 (1.5.3-1) ... Selecting previously unselected package apache2-bin. Preparing to unpack .../apache2-bin_2.4.7-1ubuntu4.1_amd64.deb ... Unpacking Apache2-bin (2.4.7-1ubuntu4.1) ... Selecting previously unselected package apache2-data. Preparing to unpack .../apache2-data_2.4.7-1ubuntu4.1_all.deb ... Unpacking Apache2-data (2.4.7-1ubuntu4.1) ... Selecting previously UnselectEd Package apache2. Preparing to unpack .../apache2_2.4.7-1ubuntu4.1_amd64.deb ... Unpacking apache2 (2.4.7-1ubuntu4.1) ... Processing triggers for man-db (2.6.7.1-1UBUNTU1) ...  Processing triggers for ureadahead (0.100.0-16) ... ureadahead would be reprofiled on next rebootprocessing triggers for UFW (0.34~RC-0UBUNTU2) ... Setting Libapr1:amd64 (1.5.0-1) ... Setting Libaprutil1:amd64 (1.5.3-1) ... Setting Libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ... Setting Libaprutil1-ldap:amd64 (1.5.3-1) ... Setting Apache2-bin (2.4.7-1ubuntu4.1) ... Setting Apache2-data (2.4.7-1ubuntu4.1) ... Setting Apache2 (2.4.7-1ubuntu4.1) ... Enabling module Mpm_event. Enabling module Authz_core. Enabling module Authz_host. Enabling module Authn_core. Enabling module AUTH_BASIC. Enabling module ACCESS_COMPAT. Enabling module Authn_file. Enabling module Authz_user. Enabling module alias. Enabling Module DIR. Enabling module AUTOINDEX. Enabling module ENV. Enabling module MIME. Enabling module negotiation. Enabling module SETENVIF. Enabling module filter. EnablinG Module DEFLATE. Enabling module status. Enabling Conf CharSet. Enabling Conf localized-error-pages. Enabling Conf Other-vhosts-access-log. Enabling Conf security. Enabling Conf Serve-cgi-bin. Enabling site 000-default.                                                                                                                  * Starting Web server Apache2 AH00558:apache2:Could not reliably determine the server ' s fully qualified domain name, using 127.0.  1.1. Set the ' ServerName ' directive globally to suppress this message * processing triggers for libc-bin (2.19-0ubuntu6.4) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for UFW (0.34~RC-0UBUNTU2) ...                         [email protected]:~$ apachectl [conflgtest]usage:/usr/sbin/apache2 [-D name] [-D directory] [-f file] [-C "directive"]                         [-C "directive"]                         [-K Start|restart|graceful|graceful-stop|stop] [-V] [-V] [-h] [-l] [-l] [-T] [-T] [-S] [-X]  Options:-D Name:define a name for use with <ifdefine name> directives-d directory:specify an alternate Initial serverroot-f file:specify an alternate serverconfigfile-c "directive": process Directive bef Ore reading config files-c "directive": process directive after reading config FILES-E level:show STA Rtup errors of level (see LogLevel)-E file:log startup errors to File-v: Show version Nu                  Mber-v: Show compile settings-h: List available command line options (this page)-l : List compiled in modules-l: List available configuration directives-t-D Dump_vhos Ts:show parsed Vhost settings-t-D dump_run_cfg:show parsed RUN settings-s: a synonym for-t-d dump_vhosts-d Dump_run_cfg-t-D dump_modules:show all loaded modules-m: a synonym for-t-d dump_             Modules-t    : Run syntax check for config files-t: Start without DocumentRoot (s) check-x: de Bug Mode (only one worker, does not detach) Action ' [Conflgtest] ' failed. The Apache error log may has more information.


Linux displays the correct syntax in the check settings file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.