Problem starting apache web server [SOLVED]

when i start apache manually (sudo /etc/rc.d/./httpd start) i just get a fail, but when i start it through webmin i get the following:
stty: standard input: Inappropriate ioctl for device
Can someone tell me how i can fix this, or if it is too hard to fix, give me the name of the next best http server available?

i had problems with apache too, but then i just did some changes:
in httpd.conf i changed user from nobody to httpd;
then added to system user httpd via adduser httpd in group nobody and it worked well

Similar Messages

  • Problem i starting Apache web server

    # service httpd start
    Got message like :--------------------------
    Redirecting to /bin/systemctl start  httpd.service
    Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
    on checkig log file ::  -----------------------------------------------i found this.   
    # journalctl -xn
    -- Logs begin at Sun 2013-01-27 20:38:14 IST, end at Mon 2013-01-28 13:57:43 IST. --
    Jan 28 13:56:50 nitk.admin systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    Jan 28 13:56:50 nitk.admin httpd[26019]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/aeolus-conductor.con
    Jan 28 13:56:50 nitk.admin httpd[26019]: httpd (no pid file) not running
    Jan 28 13:56:50 nitk.admin systemd[1]: Failed to start The Apache HTTP Server.
    -- Subject: Unit httpd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
    -- Unit httpd.service has failed.
    -- The result is failed.
    Jan 28 13:56:50 nitk.admin systemd[1]: Unit httpd.service entered failed state
    Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3377
    Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 49
    Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8
    Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.resource_tracker [-] Compute_service record updated for nitk.admin
    Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.manager [-] Updating host status
    (END)
    Can anyone help me to decide, where is the problem???????????
    content of the file    ;   /usr/lib/systemd/system/httpd.service
    [Unit]
    Description=The Apache HTTP Server
    After=network.target remote-fs.target nss-lookup.target
    [Service]
    Type=notify
    PIDFile=/var/run/httpd/httpd.pid
    EnvironmentFile=/etc/sysconfig/httpd
    ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
    ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
    ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
    PrivateTmp=true
    [Install]
    WantedBy=multi-user.target
    Last edited by hunter.ashish (2013-01-28 08:32:52)

    Could you check if you have this directory? (It can be empty):
    /var/run/httpd
    permissions should be root:root, mod:755

  • Failed to start Apache Web Server

    I can not start apach aftre the upgrade of the system
    /etc/httpd/conf/httpd.conf:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
    # will be interpreted as '/logs/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to specify a local disk on the
    # Mutex directive, if file-based mutexes are used. If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    ServerRoot "/etc/httpd"
    # Mutex: Allows you to set the mutex mechanism and mutex file directory
    # for individual mutexes, or change the global defaults
    # Uncomment and change the directory if mutexes are file-based and the default
    # mutex file directory is not on a local disk or is not appropriate for some
    # other reason.
    # Mutex default:/run/httpd
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    #LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_socache_module modules/mod_authn_socache.so
    LoadModule authn_core_module modules/mod_authn_core.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    #LoadModule authz_dbd_module modules/mod_authz_dbd.so
    LoadModule authz_core_module modules/mod_authz_core.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule access_compat_module modules/mod_access_compat.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_form_module modules/mod_auth_form.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule allowmethods_module modules/mod_allowmethods.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cache_disk_module modules/mod_cache_disk.so
    #LoadModule cache_socache_module modules/mod_cache_socache.so
    #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    #LoadModule socache_dbm_module modules/mod_socache_dbm.so
    #LoadModule socache_memcache_module modules/mod_socache_memcache.so
    #LoadModule watchdog_module modules/mod_watchdog.so
    #LoadModule macro_module modules/mod_macro.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    #LoadModule echo_module modules/mod_echo.so
    #LoadModule buffer_module modules/mod_buffer.so
    #LoadModule data_module modules/mod_data.so
    #LoadModule ratelimit_module modules/mod_ratelimit.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule request_module modules/mod_request.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    #LoadModule reflector_module modules/mod_reflector.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule sed_module modules/mod_sed.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule deflate_module modules/mod_deflate.so
    #LoadModule xml2enc_module modules/mod_xml2enc.so
    #LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_debug_module modules/mod_log_debug.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule logio_module modules/mod_logio.so
    #LoadModule lua_module modules/mod_lua.so
    LoadModule env_module modules/mod_env.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    #LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    #LoadModule remoteip_module modules/mod_remoteip.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_express_module modules/mod_proxy_express.so
    #LoadModule session_module modules/mod_session.so
    #LoadModule session_cookie_module modules/mod_session_cookie.so
    #LoadModule session_crypto_module modules/mod_session_crypto.so
    #LoadModule session_dbd_module modules/mod_session_dbd.so
    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
    #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
    #LoadModule ssl_module modules/mod_ssl.so
    #LoadModule dialup_module modules/mod_dialup.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
    LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
    LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    LoadModule mpm_event_module modules/mod_mpm_event.so
    LoadModule unixd_module modules/mod_unixd.so
    #LoadModule heartbeat_module modules/mod_heartbeat.so
    #LoadModule heartmonitor_module modules/mod_heartmonitor.so
    #LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule asis_module modules/mod_asis.so
    #LoadModule info_module modules/mod_info.so
    #LoadModule suexec_module modules/mod_suexec.so
    #LoadModule cgid_module modules/mod_cgid.so
    #LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    #LoadModule actions_module modules/mod_actions.so
    #LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    <IfModule unixd_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    <Directory />
    AllowOverride none
    Require all denied
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    <Directory "/srv/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # AllowOverride FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Require all granted
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <Files ".ht*">
    Require all denied
    </Files>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
    </Directory>
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #EnableMMAP off
    #EnableSendfile on
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Configure mod_proxy_html to understand HTML4/XHTML1
    <IfModule proxy_html_module>
    Include conf/extra/proxy-html.conf
    </IfModule>
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    # uncomment out the below to deal with user agents that deliberately
    # violate open standards by misusing DNT (DNT *must* be a specific
    # end-user choice)
    #<IfModule setenvif_module>
    #BrowserMatch "MSIE 10.0;" bad_DNT
    #</IfModule>
    #<IfModule headers_module>
    #RequestHeader unset DNT env=bad_DNT
    #</IfModule>

    There are many topic related to problem with Apache 2.4 upgrade. Search the forum.

  • Problem starting Tomcat web server in Ubuntu.

    Hi every one,
    I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as
    '/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'
    I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.
    I have set JAVA_HOME varible as
    '/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'
    line 41 is '. setJava --devel Java2'
    Could anyone help me to solve this issue?
    And Thanks in advance
    -Jegan

    I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as
    '/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'
    I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.
    I have set JAVA_HOME varible as
    '/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'
    line 41 is '. setJava --devel Java2'
    Could anyone help me to solve this issue?
    And Thanks in advance

  • SAP Content server installation using apache web server under HP-UX 11i

    Hello,
    I installed a SAP Content Server 6.4 in HP-UX 11.11 with MaxDB 7.6.
    Although Installation is finished completely I got an syxtext error when apache web server is started after completing installation as below;
    kbwpdc 106: /home/dmscs/bin>./apachectl start
    Syntax error on line 233 of /home/dmscs/conf/httpd.conf:
    Cannot load /home/dmscs/modules/mod_sapcs2.so into server: Invalid
    argument
    I think apache web server doesn't know mod_sapcs2.so although it exists in the directory(/home/dmscs/module).
    - Working sequence
    1) Environment variables setup to compile with 64bit.
    2) "configure" generation with option relevant to SAP content server
    3) "make" generation
    4) "make install" generation
    5) Install SAP Content server 6.40
    6) Install MaxDB 7.6
    7) Edit httpd.conf for loading mod_sapcs2.so module and changing Listen port.
    8) Start apache web server.
    Do I need to configure to solve this syntext error? missing any step?
    Please let me know to solution if you had experienced with the same problem.
    I will wait for your response.
    Thanks,
    Mark Yoo.

    Hi Mark,
    Can i check with you how do you set your environment to compile in 64bit ? My file mod_sapcs.o apear in the libexec directory instead of mod_sapcs.so. That why my apache cannot start. It prompted Cannot load module /home/sapcs/libexec/mod_sapc.o
    Regards
    Kim

  • Apache Web Server Listener is not running

    Hi,
    when starting E_BUSINESS issuing this
    adstrtal.sh apps/apps
    , I have this error message :
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    What might be the problem ? How can I launch Apache Web Server Listener to see why it can not start and where to see it's log file ?
    Many thanks

    hsawwan,
    I stopped all services, and killed process that were using port 8103. Then restarted all. In jserv.log we have
    [09/11/2007 15:36:27:798 CET] Host os02ebsx.ourdomain.net not found and not allowed to connect
    [09/11/2007 15:37:29:146 CET] Repository /Data/oracle/d03/prdacomn/java/apps.zip doesn't exist!
    [09/11/2007 15:37:29:178 CET] oracle.apps.icx.common.InitSystemProperties: init
    [09/11/2007 15:37:29:233 CET] oracle.apps.fnd.tcf.SocketServer: init
    [09/11/2007 15:37:29:247 CET] weboamLocal/oracle.apps.fnd.oam.servlet.ui.OAMServlet: init
    [09/11/2007 15:37:30:005 CET] weboamLocal/oracle.apps.fnd.oam.servlet.ui.OAMServlet: Sucessfully initialize oaosu.OAMServlet
    [09/11/2007 15:37:30:156 CET] oracle.apps.mwa.wap.engine.WapServlet: init
    [09/11/2007 15:37:30:156 CET] oracle.apps.mwa = /Data/oracle/d03/prdaappl/mwa/11.5.0
    [09/11/2007 15:37:33:271 CET] Fatal error in parsing device registration file. See system log file for de-tails.
    but in Context.xml file we do not have os02ebsx.ourdomain.net. Where does java server pick up this host ?
    Thanks and regards.

  • Failed to start Apache Web Service

    I hava KDE. When I start the laptop, it goes to a black screen with a mouse pointer (kde mouse pointer). Everytime I have to press Ctrl+Alt+F1 to go to tty1 and I see this message
    Failed to start Apache Web Service
    and it suggest to see "systemctl status httpd.service". After I restart kdm.service in tty1, everything is ok. Here is the output of  "systemctl status httpd.service".
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
       Active: failed (Result: exit-code) since Thu 2014-06-05 09:54:01 IRDT; 14min ago
      Process: 806 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
    Jun 05 09:54:01 localhost apachectl[806]: httpd: Syntax error on line 59 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_default.so into server: /etc/httpd/modules/mod_authn_default.so: cannot open shared object file: No such file or directory
    Jun 05 09:54:01 localhost systemd[1]: httpd.service: control process exited, code=exited status=1
    Jun 05 09:54:01 localhost systemd[1]: Failed to start Apache Web Server.
    Jun 05 09:54:01 localhost systemd[1]: Unit httpd.service entered failed state.

    It looks like you didn't merge pacnew files (correctly) after upgrading apache.
    mod_authn_default.so is removed, have a look at http://httpd.apache.org/docs/2.4/upgrading.html

  • Apache Web Server Listener (PLSQL) is not running!!!

    adapcctl erroring out with message "Apache Web Server Listener (PLSQL) is not running." after a simple apache bounce
    EBS 11.5.10.2
    [applmgr@naoes04 naprod]$ adapcctl.sh start
    adapcctl.sh version 115.55
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    adapcctl.sh: exiting with status 0
    [applmgr@naoes04 naprod]$ adapcctl.sh status
    adapcctl.sh version 115.55
    Apache Web Server Listener :httpd ( pid 19447 ) is running.
    Apache Web Server Listener (PLSQL) is not running.
    adapcctl.sh: exiting with status 1

    1. Check adapcctl.sh log file
    2. It was working before? If yes what changed?
    3. Did you change apps password?1. No noticeable entry in adapcctl log except this
    +05/24/12-06:46:02 :: adapcctl.sh version 115.55+
    +05/24/12-06:46:02 :: Apache Web Server Listener :httpd ( pid 30453 ) is running.+
    +05/24/12-06:46:02 :: Apache Web Server Listener (PLSQL) is not running.+
    +05/24/12-06:46:02 :: adapcctl.sh: exiting with status 1+
    +================================================================================+
    +05/24/12-06:46:17 :: adapcctl.sh version 115.55+
    +05/24/12-06:46:17 :: Apache Web Server Listener :httpd ( pid 30453 ) is running.+
    +05/24/12-06:46:17 :: Apache Web Server Listener (PLSQL) is not running.+
    +05/24/12-06:46:17 :: adapcctl.sh: exiting with status 1+
    +===============================================================================+
    2. It was working before, nothing was changed
    3. Nope, I did not change the apps password
    I have already tried those steps
    Apache Web Server Listener (PLSQL) is not running.
    adapcctl.sh: exiting with status 1
    Edited by: 928983 on 24-May-2012 05:23

  • Problem with inbuilt Solaris Apache Web Server v 2.0.58

    Hi,
    Set-up:
    We are working on a custom application which works with the inbuilt Apache Web Server on the Sun Solaris platform. Here are the details of the versions of the various components involved:
    Apache Web Server: Version 2.0.58
    Platform: SunOS 5.10 Generic_127111-03
    Our application is in the form of a shared library(.so binary) which is loaded into the Apache Web Server by mentioning the following directive in the Apache Web Server's configuration file (httpd.conf).
    LoadModule at_module "/var/apache2/logs/sample/sample.so"
    where, sample.so is our application's binary
    and at_module is the name of the module.
    httpd.conf file has been attached for your reference.
    Attachments:
    httpd.conf - Apache Web Server's configuration file.
    sample-apache.cpp - Sample program which is showing the problem.
    httpd.h - Apache Software Foundation's file which contains the structure "request_rec" that represents the current request.
    Problem summary:
    For each request to the Apache Web server, the server maintains a table of type "apr_table_t" which contains the header environment from the request. There is a structure "request_rec" maintained in the httpd.h file:
    /** A structure that represents the current request */
    struct request_rec {
    /** The pool associated with the request */
    apr_pool_t *pool;
    /** Request method (eg. GET, HEAD, POST, etc.) */
    const char *method;
    /** MIME header environment from the request */
    apr_table_t *headers_in;
    In our case, when we try to retrieve the address of "headers_in", we get a NULL Value. Please refer to the attached "sample-apache.cpp" program. In this program, inside the access_checker() method, we try to retrieve the address of "headers_in" and get that as NULL:
    extern "C" int access_checker(request_rec *r)
         FILE * fp;
         fp = fopen("/var/apache2/logs/sample.txt", "a");
         fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
         fclose(fp);
         return OK;
    Here is the output of the sample program after accessing the main page of the Web server:
    r->headers_in = 0, r->method = GET
    r->headers_in = 0, r->method = GET
    r->headers_in = 0, r->method = GET
    Though we are able to retrieve one member of the structure request_rec (method), we are not able to retrieve the address of the other member (headers_in).
    Observation:
    We made an interesting observation that when we used the same sample program with the inbuilt Apache 2.0.52 Web Server on Solaris, we were able to successfully retrieve the address of headers_in. Here are the details of the set-up which is working fine:
    Apache Web Server: Version 2.0.52
    Platform : SunOS 5.10 Generic_118822-30
    Thus, there is something different which has happened between the Sun's Solaris Apache Web Server's versions 2.0.52 and 2.0.58 which is making it unable to retrieve the address of the request headers (headers_in).
    I am requesting someone to kindly shed light on this difference and let us know if we need to change the way of retrieving the request headers for Solaris Apache 2.0.58.
    Thanks,
    Atul.

    The only way you can achieve it is by running the web server to listen on port 80
    Please change the port in your httpd.conf file for the webserver and restart it.
    If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
    Arun

  • Problem in configuring Apache Web Server v2.2

    Hi,
    I am facing problem in configuring apache web server with tomcat 7.0. I want to configure the web server in such a way that I can access the application only using the localhost(without appending the port to it). Ex I want to access the application through "http://localhost" instead of "http://localhost:8080".
    I tried to configure it using the concept of vertical clustering and "load balancer", but failed to do that.
    Can anyone please tell me steps to configure apache web server with tomcat or provide any useful link / urls to do that one.
    Thanks in advance

    The only way you can achieve it is by running the web server to listen on port 80
    Please change the port in your httpd.conf file for the webserver and restart it.
    If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
    Arun

  • Apache web server not start

    Hi. I had to reload my server with 2008 server R2 for a maintenance. but now apache web server on my LMS 4.0 no start. I tried stop and restart daemon manager but nothing. apache is stoped.

    Hi ,
    Try the below steps and see how it works :
    On the command Prompt run this commad to check the Dependency of the Apache :
    C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -l Apache
             Process      = Apache
             Path         = C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe
             Flags        = -d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL
             Startup      = y
             Dependencies = Tomcat
    Now Unregister the Apache with below commad :
    pdreg -u Apache
    To Registered the Apache:
    Note :You need to check the Apache.exe location  ,so anyone of the below  will work for you  :
    C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -r Apache -e "C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe" -f "-d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL" -d Tomcat
    (used your NMSROOT Location )
    C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -r Apache -e "C:\PROGRA~2\CSCOpx\MDC\Apache\Apache.exe" -f "-d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL" -d Tomcat
    Now re-check the Apache Registration :
    C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -l Apache
            Process      = Apache
            Path         = C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe
            Flags        = -d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL
            Startup      = y
            Dependencies = Tomcat
    Once above is done try to Restart the Apache and check how it works !!
    Thanks--
    Afroj

  • Problem in starting the web-server after configuring .so on AIX

    I am trying to configure a .so file in iplanet fasttrack web server 4.1 on AIX 4.3. I have build the .so file on IBM AIX 4.3. But while starting the web-server it failed to start.It fails when I include the following in obj.conf "Init fn="test-init" config="ConfigFile". While starting web-server I got the following :
    server terminated (signal 11): watchdog is restarting it
    failure: server initialization failed
    Any pointers on this would be helpful.

    I got similar errors in the past when the web server process was running in the background. Sometimes shutting down WAS does not work.
    Before you start WAS ensure that no java process is running or better try rebooting.

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • SSL connectivity - Weblogic 8.1 and Apache web server 2.0

    I'm using a Apache web server 2.0.64 as a front end web server for Weblogic server v8.1 sp6. I have managed setup the connection between both server and now i want to configure the SSL connection Apache web server. However i have face some problems with the SSL connection and i can't figure out the problems. I'm using the ssl.conf* to do the SSL connection. Here are the changes i did on my ssl.conf:
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    #<IfDefine SSL>
    Listen 443
    SSLPassPhraseDialog builtin
    SSLSessionCache dbm:logs/ssl_scache
    SSLSessionCacheTimeout 300
    <VirtualHost default:443>
    DocumentRoot "C:/Program Files/Apache Group/apache2/htdocs"
    ServerName 10.122.50.218:443
    ServerAdmin [email protected]
    ErrorLog logs/ssl_log TransferLog logs/access_log
    SSLEngine on
    SSLCertificateFile conf/ssl/server.crt
    SSLCertificateKeyFile conf/ssl/server.key
    </VirtualHost>
    #</IfDefine>
    When i testing the application, it comes out :
    NOT Found
    The requested URL /secureWebAuth/ was not found on this server.
    Apache/2.0.64 (Win32) mod_ssl/2.0.64 OpenSSL/0.9.8o Server at 10.122.50.218 Port 443
    What should i do in order to solve this problem? Thanks for your help!!!

    I'm using a Apache web server 2.0.64 as a front end web server for Weblogic server v8.1 sp6. I have managed setup the connection between both server and now i want to configure the SSL connection Apache web server. However i have face some problems with the SSL connection and i can't figure out the problems. I'm using the ssl.conf* to do the SSL connection. Here are the changes i did on my ssl.conf:
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    #<IfDefine SSL>
    Listen 443
    SSLPassPhraseDialog builtin
    SSLSessionCache dbm:logs/ssl_scache
    SSLSessionCacheTimeout 300
    <VirtualHost default:443>
    DocumentRoot "C:/Program Files/Apache Group/apache2/htdocs"
    ServerName 10.122.50.218:443
    ServerAdmin [email protected]
    ErrorLog logs/ssl_log TransferLog logs/access_log
    SSLEngine on
    SSLCertificateFile conf/ssl/server.crt
    SSLCertificateKeyFile conf/ssl/server.key
    </VirtualHost>
    #</IfDefine>
    When i testing the application, it comes out :
    NOT Found
    The requested URL /secureWebAuth/ was not found on this server.
    Apache/2.0.64 (Win32) mod_ssl/2.0.64 OpenSSL/0.9.8o Server at 10.122.50.218 Port 443
    What should i do in order to solve this problem? Thanks for your help!!!

Maybe you are looking for

  • Very poor image quality in book Preview

    I have just finished creating my first book. When I previewed it, I found that many of the images (not all) have very strange artifacts - red  or white outlines, outlines, white eyes, etc. What I see in iPhoto on my screen looks great. Any thoughts?

  • Transferring IMovie files to DVD

    Can anybody tell me how I might transfer an IMovie file on to a disk which is playable in a normal domestic DVD player (ie the sort that is connected to a TV via a scart lead). What kind of disk do I need and do I need a special software programme. M

  • Ingesting media from Sony XDCAM HD

    What software/drivers do I need to ingest media from a Sony XDCAM HD deck? A link would be great if anyone has it. I really appreciate it. Best. Tom

  • Bandwidth utilised for dialog users and VPN encryption for ERP 6.0 ABAP

    Hi all, I have 30 users coming from remote locations to SAP system using centrally connected VPN server which is running with 2 mbps leased line bandwidth. what is the bandwidth taken for every dialog user on a average 3 sessions always connected.(ER

  • Buying tv shows from itunes

    First of all I know this is the wrong forum for this topic... however the itunes forum isn't moving half as fast... Anyways I was just wondering if anyone knows when the itunes music store will be selling tv shows in Canada or if they ever will, beca