Apache/httpd errors

I've enabled my webserver, it works publicly and privately. I use the default (what I'll call master directory), /Library/WebServer/Documents -- I do not use the ~user.
I cleared out all of the documents in /Library/WebServer/Documents and put a single .zip file in there (a WoW modpack I make for my guild/friends). Everything works, the file can be downloaded, etc...however, my access_log and error_log are filling up with odd errors I cannot seem to explain/get rid of.
Examples:
error_log
[Tue Nov 11 21:20:23 2008] [error] [client 172.16.17.1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Tue Nov 11 21:20:24 2008] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/checkurl
[Tue Nov 11 21:20:26 2008] [error] [client 172.16.17.1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Tue Nov 11 21:21:59 2008] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/checkurl
[Tue Nov 11 21:22:10 2008] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/checkurl
access_log (these seem to match the above, so I'm guessing they are some sort of hash)
127.0.0.1 - - [11/Nov/2008:21:29:28 -0600] "GET /checkurl/aHR0cDovL2Rpc2N1c3Npb25zLmFwcGxlLmNvbS9zZWFyY2guanNwYT90aHJlYWRJRD0%3 D HTTP/1.1" 404 275
127.0.0.1 - - [11/Nov/2008:21:29:31 -0600] "GET /checkurl/aHR0cDovL2Rpc2N1c3Npb25zLmFwcGxlLmNvbS9pbmRleC5qc3BhP2NhdGVnb3J5SUQ9M Q%3D%3D HTTP/1.1" 404 279
127.0.0.1 - - [11/Nov/2008:21:29:32 -0600] "GET /checkurl/aHR0cDovL2Rpc2N1c3Npb25zLmFwcGxlLmNvbS9jYXRlZ29yeS5qc3BhP2NhdGVnb3J5S UQ9MjM1 HTTP/1.1" 404 283
127.0.0.1 - - [11/Nov/2008:21:29:34 -0600] "GET /checkurl/aHR0cDovL2Rpc2N1c3Npb25zLmFwcGxlLmNvbS9mb3J1bS5qc3BhP2ZvcnVtSUQ9MTIyM g%3D%3D HTTP/1.1" 404 279
I do not know what checkurl or favicon.ico are, I cannot find them anywhere, they never existed in the directory before I cleared it out, either.
These errors go on endlessly and fill up my logs...I'm looking for a way to prevent this/put a stop to it. If anyone can assist me, please do!
Thank you for your help!
iMAC/OSX10.5.5

y2hPOD,
I'm not familiar with the checkurl error, but I noticed from your log snippet that the errors are generated by the same client: 127.0.0.1, i.e. localhost. The server itself is generating the error. There may be a server configuration or page coding issue you can resolve there. Other logs in the console may help you track this down. Good luck.
If you haven't already, make a favicon and drop it in the path the error is looking for it. That's what I did. (You may note that these errors are also consistently generated by a different client.)
J

Similar Messages

  • Apache httpd.conf and Weblogic server integration.

    Dear friends,
    I am seeing a strange problem in my Apache and weblogic integration work.
    In the Apache httpd.conf file, under mod_weblogic.c module, if i dont turn DebugConfigInfo ON then my system is not working properly. always hitting with http 404 error. can you please explain why this is required and if required is it mandatory to turn it ON ?
    when i read in weblogic docs, its mentioned as to turn it OFF for security reasons. But if i make it as OFF then my website is not working properly.
    Here is the conents of mod_weblogic.c module in my httpd.conf file.
    <IfModule mod_weblogic.c>
    WebLogicHost rlw1csts08.bpweb.bp.com
    WebLogicPort 7001
    DebugConfigInfo On
    #EnforceBasicConstraints OFF
    PathPrepend /csmain-web
    ErrorPage /err/serverErrorWL.xml
    #WLLogFile "| /export/home/wwwst08/apache/bin/rotatelogs /export/home/wwwst08/apache/logs/WL_apache_error.log.%Y%m%d%H%M%S 86400"
    WLLogFile "/export/home/wwwst08/apache/logs/WL_apache_error.log"
    </IfModule>
    Please let me know your inputs. Its very urgent.
    Thanks
    subba.

    I donot have the complete httpd.conf with me right now but you have to follow the following steps:
    1) Compile Apache with ssl module included
    2) Instead of Port 80 change the port to 443 at global level or at virtual directory level
    3) If u want to redirect the traffic on port 80 to port 443 then also include mod_rewrite module while compiliing apache and write a rule to redirect the traffic from port 80 to 443

  • Problems with libclntsh.so.10.1 and PHP/Apache HTTPD

    Hello,
    I've been wrestling with the install of Instant Client/OCI8 with PHP 5.0.4 and Apache HTTPD 2.0.52 on RHEL4 ES. Most recently I've followed the instructions detailed here: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    Apache is installed from the RHN rpm.
    PHP was successfully compiled with the following parameters:
    ./configure with-mysql with-ssl with-ldap with-apxs2 with-dom with-oci8-instant-client=/usr/local/oracle/instantclient_10_2 --enable-sigchild
    I've also attempted to get OCI8 working using the full Administration Client from CD. In either case, I can compile/install PHP just fine. I've indexed the Instant Client directory with ldconfig, and the user that runs HTTPD has read/execute permissions on libclntsh.so.10.1 and on all the directories above it. Nonetheless, when I start Apache, I invariably run into the following error:
    # /etc/init.d/httpd start
    Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/httpd/modules/libphp5.so into server: libclntsh.so.10.1: failed to map segment from shared object: Permission denied [FAILED]
    Thanks in advance for any insight,
    Patrick
    Message was edited by:
    dog.breath

    I have a similar problem:
    Syntax error on line 202 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/httpd/modules/libphp5.so into server: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Using the following succesfull configuraion
    PHP Version => 5.0.4
    System => Linux 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686
    Build Date => Aug 26 2005 11:23:17
    Configure Command => './configure' '--enable-force-cgi-redirect' '--enable-ftp' '--with-dbase' '--with-regex=system' '--with-gd' '--with-bz2' '--with-config-file-path=/etc/httpd/conf/httpd.conf' '--with-zlib' '--with-oci8=/home/oracle/product/10.1.0/Db_1' '--enable-sigchild' '--with-dom-xslt=/usr/lib/libxslt.so.1.1.11' '--with-png' '--with-apxs2'
    Server API => Command Line Interface
    Virtual Directory Support => disabled
    Configuration File (php.ini) Path => /etc/httpd/conf/httpd.conf
    Everything is visible to all users the LD Library path is set even in the httpd.conf file.
    Clear PHP works from within the command line, now I want to get it working via Apache2.
    If anybody has a clue I would be most obliged.
    Also disabling SELinux did not do the trick.

  • Httpd error log file appears to be missing

    I'm having a somewhat frustrating and seemingly elementary problem with the Server, as freshly installed. I did drag a Web Config.plist to restore the web settings from another server, and I have a feeling that this action might have caused a hiccup where the web server won't start. My symptoms are as follows:
    with no sites in the Sites list, when I click Start Service for Web Service, I get a dialog:
    A service has encourntered an error. / Try to refresh the view (server.address.here/Web). Report the problem to the administrator if it persists. (could not start web service - details in error log).
    Now here's what's frustrating... I can't find an httpd error log. the folder /var/log/httpd/ is where I would expect this log to be, but this folder is empty. There's an Apple KB article that says the httpd error log file should be at /var/log/httpd/ ( you can check it out at http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c5ws4.html ), but no such log file exists. (I verified with terminal and also looked with Console: saw no log entries under the httpd line [there is a disclose triangle that discloses no lines] )
    On a whim, I thought maybe the /var/log/httpd folder didn't have the right permissions, so I increased my permissions on this older form 0755 to 0757, so that it now reads:
    drwxr-xrwx 2 root wheel 68 Mar 27 2005 httpdd
    ... but upon retesting the Start Service button under Web service, I get the same error and can find no log file.
    Like I said, this is a freshly installed copy of OS X 10.4 Server (I have not even upgraded to Server 10.4.10, should I ?) and all I did was an Open Directory configuration (which works), and then dragged a Web Config.plist onto Server Admin to restore saved settings from another machine...
    any thoughts on what I should try next?
    Thanks, any advice is appreciated.

    Recently updated Developer preview and WebObjects. After trying
    sudo apachectl configtest
    this checks apache configuration sintax.
    If nothing fails try to start apache (sudo apachectl graceful)
    and take a look at system.log.
    discovered that /System/Library/WebObjects/Adaptors/Apache/apache.conf no longer existed.
    As root renamed apache.conf.old as apache.conf and restarted. Life is good again.
    Your mileage may vary.

  • Yosemite Server: Apache shm errors with proxy_balancer | SASL errors using user alias

    Dear OSX Server Ninjas,
    I recently upgraded my 10.9.5 Mac mini running Server 3.2.2 to Yosemite + Server v4, directly to v4.0.3. The box serves the whole Mail/Cal/Contacts/VPN palette as well as some websites, Git repos and some custom software. See below for network setup.
    After battling the most blatant issues (some easy to fix but hard to find, others hard on both), I'm almost back to a working server setup … but some things keep bugging me even after days of log-reading and OD tricks. In the last days, I have read countless discussions here as well as on stackoverflow/serverfault/apple.stackexchange and blogs, so I'll try to be as thorough and precise as possible to show what I have tried so far – sorry in advance for the long post
    … and since you might not read to the bottom: Thanks in advance for any help, especially with the Apache problem!
    My setup
    OSX Server v4.0.3 running on Yosemite 10.10.1 ➞ both latest official releases
    host + DNS
    Hostname configured for public domain mydomain.net, web traffic on selected ports comes in through router NAT
    Server has a static IP on the local subnet 192.168.178.0/24
    Server running local DNS and performing lookups for all clients in the local subnet, forwarding to the router at 192.168.178.1
    Primary zone for mydomain.net with records (A, NS, MX) pointing to said static IP
    changeip -checkhostname is successful
    Public IP is currently configured at the domain registrar through his name servers
    SSL
    Trusted third-party certificate installed for host.mydomain.net (Common Name + SAN for two subdomains)
    Used to secure all services
    Qualys SSL Test Grade B (capped due to OSX's openssl 0.9.x not being capable of TLS1.2 and Intermediate CA SHA-1 )
    TLS working both inbound and outbound according to CheckTLS.com
    OpenDirectory
    Recreated after upgrade (probably not necessary, since issue persists), re-imported groups + users from WGM backup files
    Only the server itself is bound to the directory, other devices just access services through network accounts (CRAM-MD5, MD5-Digest)
    Problems
    Apache shm errors: Apache fails to create slot memory when proxy module is enabled
    As soon as I start a service which requires the Apache proxy_balancer module (e.g. Cal/Contacts, ProfileManager), this starts filling up my Apache's error log:
    [Mon Jan 12 01:41:17.979882 2015] [proxy_balancer:emerg] [pid 2949] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1011640492
    [Mon Jan 12 01:41:17.979894 2015] [:emerg] [pid 2949] AH00020: Configuration Failed, exiting
    [Mon Jan 12 01:41:28.297127 2015] [slotmem_shm:error] [pid 3026] (28)No space left on device: AH02611: create: apr_shm_create(/private/var/run/slotmem-shm-p26d9e669--1001322955.shm) failed
    [Mon Jan 12 01:41:28.297347 2015] [proxy_balancer:emerg] [pid 3026] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1001322955
    [Mon Jan 12 01:41:28.297355 2015] [:emerg] [pid 3026] AH00020: Configuration Failed, exiting
    When I increase the Apache LogLevel to trace1, I get this as well:
    [Mon Jan 12 02:11:43.190303 2015] [slotmem_shm:debug] [pid 5501] mod_slotmem_shm.c(367): AH02602: create didn't find /private/var/run/slotmem-shm-p26d9e669-813569972.shm in global list
    This causes the Apache to crash constantly, which is … unnerving. After googling around for a while, I tried the following steps:
    Stop Services that use the Apache (Web, *DAV, ProfileManager)
    sudo apachectl stop
    Remove all orphan cache/slot files (.shm, ssl-cache, proxy.*) from /private/var/run
    Reboot the server
    Start up the Services again
    Curiously enough, this worked for a while! But I was getting several log messages about dropped proxy connections, and sometimes the ProfileManager page would time out. Then, the issue started to reappear and does not seem to be fixed again with the steps above. I looked through the Apache config files and config plists for the Services in question, as well as the default config files. The only thing I have so far is that as long as there are no active proxy connections, the Apache runs smoothly – but all goes awry when slotmem files are created (a lot of them). Sometimes, I am able to turn on the Calendar service, but switching on Contacts produces the error … one time, I even got Calendar + Contacts running, and all went well until I enabled Profile Manager.
    I found several error reports with similar or identical errors from other Apache 2.4.x users, but most of those were developer talk on mailing lists, or suggested steps that did not work for me (or were inapplicable on the OS X Server Apache environment).
    SASL errors using user alias for WebDAV-Digest authentication
    Short version: I am unable to authenticate through WebDAV-Digest with a user's alias (defined in Server Admin > Users > Context Menu > Advanced Options or WGM). Using the main short name of the same user works flawlessly. Password Server Error log just shows:
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication failed, SASL error -13 (password incorrect).
    The password is 100% correct: When I set up a test CalDAV account and put in alias+PW, it did not work (OS X Dialog showed “could not be verified”, Server log as above). Leaving the password field filled and just switching the user to the main short name went through instantaneously, with the Server log showing
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication succeeded.
    Notice the same MD5 hash and canonical short name, yet different results. I don't know if this is a new “feature”, a result of mail aliases being handled differently (at least I read that somewhere) …
    Additional Questions
    Should I configure the DNS for public use, instead of the Split-Brain configuration (local network gets local IP, outside traffic is directed by registrar NS)? I read several articles explaining that Split-Brain is common in large organizations, but might introduce weird networking issues. Entering the external IP as a Round Robin alternative for the internal does not seem sensible to me.
    I also have a question concerning LDAP log entries like this one below, but I'll put that in this already open discussion:
    => bdb_idl_delete_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)

    Today the same error occurred on a customers server.
    We don't use Calendar or Contacts.
    We only have some websites configured and want use NetInstall for deployments.
    As soon as I disable the Profilemanager the httpd starts over and other websites and NetInstall via HTTP are working fine.
    When I reenable Profilemanager the httpd processes are gone and I see the same stuff in Apache's error log...

  • Weblogic Apache Bridge Error - Urgent

    Hi,
    We have installed 11g weblogic and forms and reports successfully but while calling a form sometimes in concurrent sessions getting 'Failure of Server Apache Bridge Error'.
    Following are the system details:
    System: Windows 2008 64 bit
    Forms/reports [64 Bit] Version 11.1.2.0.0
    Weblogic server :10.3.5
    Apache Version:
    Oracle_FRHome1\ohs\bin>httpd -version
    Server version: Oracle-HTTP-Server/2.2.15 (Win32)
    Server built: Apr 2 2011 17:14:20
    Server label: APACHE_11.1.1.5.0_WINDOWS.X64_110325.2000
    As suggested in most of the forums, we have disabled IPv6 and replaced hostname with IP Address of the system in mod_wl_ohs.conf, forms.conf and reports_ohs.conf like this:
    mod_wl_ohs:
    DynamicServerList Off
    WebLogicHost 10.11.18.119
    <Location /console>
    SetHandler weblogic-handler
    WebLogicHost 10.11.18.119
    WebLogicPort 7001
    </Location>
    WebLogicPort 7001
    <Location /em>
    SetHandler weblogic-handler
    WebLogicHost 10.11.18.119
    WebLogicPort 7001
    </Location>
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicHost 10.11.18.119
    WebLogicPort 9001
    </Location>
    <Location /reports>
    SetHandler weblogic-handler
    WebLogicHost 10.11.18.119
    WebLogicPort 9002
    </Location>
    And from weblogic console also we have changed the listen address to this static IP and restarted the ohs,form, report server.
    But still facing the same issue.
    Any suggestion?
    OHS Log:-
    [2012-03-05T20:17:19.4742+05:30] [OHS] [ERROR:32] [OHS-9999] [mod_weblogic.c] [host_id: MUPF102] [host_addr: 169.254.95.120] [pid: 5068] [tid: 2064] [user: SYSTEM] [VirtualHost: main] ap_proxy: trying GET /forms/frmservlet at backend host '10.11.18.119/0; got exception 'NO_RESOURCES: [os error=0,  line 1915 of ../nsapi/URL.cpp]: apr_socket_connect call failed hostname:10.161.168.119:0 error [730049]'
    Any prompt help would be highly appreciated.
    Thanks in Advance.

    Thanks for the prompt reply.
    We can access the report with 2 or 3 concurrent connections properly but the moment there are more concurrent connections it gives 'Failure of Server Apache Bridge Error' in client browser for new connections and whoever is already logged in their application gets hang.
    So restarting also wont help as there can be more than 100 concurrent connections.
    We have changed few parameters like :
    StartServers 2
    MaxClients 2500
    MinSpareThreads 25
    MaxSpareThreads 2500
    ThreadsPerChild 25
    MaxRequestsPerChild 0
    KeepAliveTimeout 15
    Timeout 720
    Any other suggestions?

  • Basic httpd error

    I'm trying to set up DNS on my server through hand-editing of named.conf and creating the Zone files in /var/named, but in trying to test from Terminal with <sudo httpd -S> I get thrown the error:
    httpd: Syntax error on line 94 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/httpd/mod_mime.so into server: dlopen(/usr/libexec/httpd/mod_mime.so, 10): no suitable image found. Did find:\n\t/usr/libexec/httpd/mod_mime.so: no matching architecture in universal wrapper
    Line 94 is:
    LoadModule mime_module libexec/httpd/mod_mime.so

    Thanks Roger,
    Changing the path to </usr/libexec/apache> helped somewhat with the <.so> includes, with the exception of the following eight.
    The following weren't in the folder:
    mod_imap.so, libproxy.so, libssl.so, mod_access.so, modmacbinaryapple.so
    The following had missing symbols(Can't locate API module structure):
    mod_include.so , modlogconfig.so, mod_actions.so
    Commenting all those out led to the following error:
    org.apache.httpd[7988] Syntax error on line 193 of /private/etc/apache2/httpd.conf:
    org.apache.httpd[7988] Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

  • Can someone translate this HTTPD error?

    This log is from when I start the webserver from server app, I have two virtual host created that should work on port 80 and the default that runs on port 443.
    Aug 25 14:11:52 myserver servermgrd[36879]: servermgr_web: enabling
    Aug 25 14:11:55 myserver com.apple.launchd.peruser.70[37300]: Background: Bug: launchd_core_logic.c:3063 (24984):3
    Aug 25 14:11:55 myserver com.apple.launchd.peruser.70[37300]: Background: job_mig_intran() was confused by PID 37105 UID 70 EUID 70 Mach Port 0x1a07:
    Aug 25 14:11:55 myserver com.apple.launchd.peruser.70[37300]: Bug: launchd_core_logic.c:8528 (24984):3: j != NULL
    Aug 25 14:11:55 myserver org.apache.httpd[37303]: [Thu Aug 25 14:11:55 2011] [warn] NameVirtualHost 83.246.3.34:80 has no VirtualHosts
    Aug 25 14:11:56 myserver servermgrd[36879]: servermgr_web: Disabling port forwarding for port 80
    Aug 25 14:11:57: --- last message repeated 1 time ---
    Aug 25 14:11:57 myserver servermgrd[36879]: servermgr_web: waiting for pid, file /private/var/run/httpd.pid.
    Aug 25 14:11:57 myserver org.apache.httpd[37310]: [Thu Aug 25 14:11:57 2011] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    Aug 25 14:11:57 myserver org.apache.httpd[37310]: [Thu Aug 25 14:11:57 2011] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
    Aug 25 14:11:57 myserver com.apple.launchd[1] (org.apache.httpd[37310]): Exited with code: 1
    Aug 25 14:11:57 myserver com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Aug 25 14:11:58 myserver servermgrd[36879]: servermgr_web: waiting for pid, file /private/var/run/httpd.pid.
    Aug 25 14:12:02: --- last message repeated 3 times ---
    Aug 25 14:12:02 myserver servermgrd[36879]: servermgr_web: Enabling port forwarding for port 80
    Aug 25 14:12:02: --- last message repeated 1 time ---
    Aug 25 14:12:02 myserver servermgrd[36879]: servermgr_web: Cannot confirm Apache was started; missing or invalid pid file
    Aug 25 14:12:07 myserver org.apache.httpd[37321]: [Thu Aug 25 14:12:07 2011] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    Aug 25 14:12:07 myserver org.apache.httpd[37321]: [Thu Aug 25 14:12:07 2011] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
    Aug 25 14:12:07 myserver com.apple.launchd[1] (org.apache.httpd[37321]): Exited with code: 1
    Aug 25 14:12:07 myserver com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Aug 25 14:12:17 myserver org.apache.httpd[37325]: [Thu Aug 25 14:12:17 2011] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    Aug 25 14:12:17 myserver org.apache.httpd[37325]: [Thu Aug 25 14:12:17 2011] [warn] _default_ VirtualHost overlap on port 443, the first has precedence

    Let's go to end of the universe!! step by step =)
    Aug 25 14:11:55 myserver org.apache.httpd[37303]: [Thu Aug 25 14:11:55 2011] [warn] NameVirtualHost 83.246.3.34:80 has no VirtualHosts
    That means that "below your NamedVirtualHost specification there is no Virtual Host defined"
    VirtualHost are here to allow you to have multiple web pages below the same IP.
    A common Virtual Host definition is:
    NameVirtualHost *
        <VirtualHost *>
        ServerName www.domain.tld
        DocumentRoot /www/domain
        </VirtualHost>
        <VirtualHost *>
        ServerName www.otherdomain.tld
        DocumentRoot /www/otherdomain
        </VirtualHost>
    Following your Log, you have a "NameVirtualHost 83.246.3.34:80" definition without any following "<VirtualHost 83.246.3.34:80>" directive.
    All site's configuration files are in /etc/apache2/sites/
    Aug 25 14:11:57 myserver org.apache.httpd[37310]: [Thu Aug 25 14:11:57 2011] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    Aug 25 14:11:57 myserver org.apache.httpd[37310]: [Thu Aug 25 14:11:57 2011] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
    That two messages means the same, that "there are two identical VirtualHost definitions, so i'll use the first one"
    That means that you have two "<VirtualHost XXX>" directives with the same or missing "ServerName" definition.
    The Web Server a.k.a. Apache uses the "ServerName" to forward request to one or other definition.
    Let's see an example with this missconfiguration:
    NameVirtualHost 83.246.3.34:80
      <VirtualHost 83.246.3.34:80>
      ServerName www.domain.com
      DocumentRoot /www/domain
      </VirtualHost>
      <VirtualHost 83.246.3.34:80>
      ServerName www.domain.com
      DocumentRoot /www/otherdomain
      </VirtualHost>
    ... when a connection is made to www.domain.com resoults in going to 83.246.3.34 port 80
    Then Apache doesn't know where to go (/www/domain or /www/otherdomain) so it will go to the first definition
    Aug 25 14:11:57 myserver com.apple.launchd[1] (org.apache.httpd[37310]): Exited with code: 1
    Aug 25 14:11:57 myserver com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    This means "Apache process exit with errors, will try to restart it in 10 sec".
    Note that previous errors should not make Apache process die.
    Aug 25 14:11:58 myserver servermgrd[36879]: servermgr_web: waiting for pid, file /private/var/run/httpd.pid.
    Aug 25 14:12:02 myserver servermgrd[36879]: servermgr_web: Cannot confirm Apache was started; missing or invalid pid file
    The ".pid" file is just a text file with the process number in it (in this case, 36879).
    This file helps other process to kill or restart the Apache's process if needed.
    That say that "no .pid file was created, or invalid file was created, for example an empty one".
    Stop the Web Server and check that the .pid file is not there (/private/var/run/httpd.pid).
    Start the Web Server and check that the .pid file is there and has the propper content.
    You can get the PID (Process ID) for a process performing a "ps" command from the command line:
    #ps aux | grep http
    make the force b with u!

  • Apache HTTPd + 2 Tomcats with BlazeDS

    The web architecture that we have is quite simple, it is a single Apache HTTPd server that is communicating with 2 Tomcat servers using mod_jk. The configuration is made so one Tomcat is in a waiting state in case the other Tomcat server crashes (or bounce).
    How can I configure BlazeDS to support this configuration? Is sharing the HTTPSession between the two Tomcats enough for BlazeDS?
    I would like the simplest solution possible, I know about BlazeDS clustering possibilities with JGroups but it seems not adapted to multi-environments (DEV/QA/PROD) sites because we have to configure stuff inside the web app.
    In short, do BlazeDS only need HTTPSession sharing between Tomcats or is there some other requirements?

    As far as my understanding goes there should be no reason to use JGroups unless you are using messaging.
    If you are storing session data on the server you will need to using Tomcat clustering other wise you shouldn't even need that.
    We are using a similar setup with HTTPd and multiple JBoss servers for high availability/scalability. We are not using messaging so we didn't configure JGroups. We don't have JBoss clustering enabled because we don't have any data to replicate between the JBoss nodes.
    I have run several load tests using JMeter and everything runs happily when JBoss nodes are added or removed under load.
    Something to note if you are using recent builds of BlazeDS and you want to run 2 or more Tomcat servers concurrently you will need to enable Sticky Sessions with mod_jk and Tomcat other wise recent builds of BlazeDS may start throwing exceptions. This change was introduced to prevent subsequent client requests from needlessly creating new sessions. As it turns out this is a bit of an issue when doing loadbalancing unless Sticky Sessions are used.
    Hope some of that information helps,
    Lance

  • Apache (httpd) restarts automatically

    After booting my mac my webserver is not running. starting apache with the command "sudo apachectl -k start" works as it should. the webserver has been started. but after the command "sudo apachectl -k stop" the following happens: (logfile)
    [Fri Aug 10 18:19:42 2012] [notice] caught SIGTERM, shutting down
    [Fri Aug 10 18:19:43 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Fri Aug 10 18:19:44 2012] [notice] Digest: generating secret for digest authentication ...
    [Fri Aug 10 18:19:44 2012] [notice] Digest: done
    [Fri Aug 10 18:19:45 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.3.13 with Suhosin-Patch configured -- resuming normal operations
    the apache starts again, and I have access to my document root via http (127.0.0.1 or localhost and as well from other computers via my IP.
    why is the apache restarting automatically???? (and by the way: how can i fix the warning in line 2?)
    thx

    Hi,
    the event description for FMS that you gave mention about the Apache working as expected. A returned value of 0 shows the correct working of the apache httpd service.
    When the apache is stopped, as you are observing, how are the streaming services stopped? They will not be stopped as they are not on http. Anyways, one quick workaround (while we investigate why the apache is stopping intermittantly) is to have an external / separate installation of apache away from FMS and use that for all your web service purposes.
    How did you confirm about the stoppage ? The task manager or other process explorer shows it coming down ? Can you please check the fms logs if there is anything that is related to apache coming down, being logged?
    Thank you !

  • Migrating to Web Server 7.0 from Apache HTTPd document

    We've [made available|http://wikis.sun.com/display/WebServer/Migration+from+Apache+HTTP+Server] a work-in-progress document on our Wiki page discussing some of the common problems people have when they migrate from Apache HTTPd server to Sun Java System Web Server 7.0.
    We'd love to get your feedback. What are we missing? Have some information you'd like to add? The comments section is open to all feedback.
    Thanks!

    can this be made as a topic rather than a post in the forum ?

  • Apache httpd version on waas

    How can I determine the Apache HTTPD version running on the WAAS/WAE?

    Did you ever get a solution for this?? If so, can you please post it here?
    Thanks in advance

  • Multi-processor support for apache/httpd?

    Hello all,
    I'm wondering there's a way to get apache/httpd to take advantage of all 8 cores of my Mac Pro? I have a process running that is maxing out at 100% CPU and I would love to see the other 7 processors being utilized. Is this possible? Any help would be much appreciated.

    Apache is usually configured to run multiple worker processes, so yes, it can use all of an eight-core.
    Launch Terminal.app and issue the following command, authenticating with an administrative password:
    $ sudo lsof -i -P | grep -i "httpd"
    That's a list of all the web server processes active.
    Now if your central web activities are all within that one process that is using all of that core, then you do have a problem. Figuring out how to split the processing from that process across more cores depends on exactly what that particular process is doing.

  • How to start my Apache httpd server on TREX, post installation

    Dear Gurus,
    I have successfully installed TREX 7.0 SR3 on my Suse Linux 10 SP2 system and i have choosen it for ABAP and HTTP services, i have done all the post-install activities according to the standard document from SAP.
    All seems to be fine so far, and below are the services that are running on my TREX server..
    ======================================================================================================
    trexdev:/usr/sap/TRX/TRX00/trexdev/Apache # ps -fu trxadm
    UID        PID  PPID  C STIME TTY          TIME CMD
    trxadm    6039     1  0 Oct30 ?        00:01:21 /usr/sap/TRX/SYS/exe/run/saposcol
    trxadm    6055     1  0 Oct30 ?        00:00:00 /usr/sap/TRX/TRX00/exe/sapstartsrv pf=/usr/sap/TRX/SYS/profile/START_TRX00_trexdev -D
    trxadm   21304     1  0 Oct31 ?        00:00:00 sapstart pf=/usr/sap/TRX/SYS/profile/START_TRX00_trexdev
    trxadm   21316 21304  0 Oct31 ?        00:00:00 trx.sapTRX_TRX00 -d -f /usr/sap/TRX/TRX00/trexdev/TREXDaemon.ini pf=/usr/sap/TRX/SYS/profile/TRX_TRX00_trexde
    trxadm   21319 21304  0 Oct31 ?        00:00:06 /usr/sap/TRX/TRX00/exe/sapccmsr pf=/usr/sap/TRX/SYS/profile/TRX_TRX00_trexdev -j2ee -standalone -nodaemon -DC
    trxadm   21321 21316  0 Oct31 ?        00:00:22 TREXNameServer.x
    trxadm   21341 21316  0 Oct31 ?        00:00:01 TREXPreprocessor.x -port 30002
    trxadm   21345 21316  0 Oct31 ?        00:00:07 TREXIndexServer.x -port 30003
    trxadm   21352 21316  0 Oct31 ?        00:00:03 TREXQueueServer.x -port 30004
    trxadm   21367 21316  0 Oct31 ?        00:01:58 python alertserver.py
    trxadm   24710 21316  0 Oct31 ?        00:00:26 TREXRfcServer2.x
    ======================================================================================================
    I have no problems on my server as to what so ever, but the only thing is that I want to know how to start my apache httpd server so that i can starting using my Web services from Portal.
    According to SAP standard document it clearly says that Apache is installed by SAPinst tool, but i also verified that the http://localhost does not give any web page opened, probably no http service is running on my machine.
    I request all gurus to help me on this and start my httpd service.
    Thanks in advance
    Regards
    BasoKing

    Did you ever get a solution for this?? If so, can you please post it here?
    Thanks in advance

  • File request: org.apache.httpd.plist

    Can some one post me their 10.5 copy of org.apache.httpd.plist as I've managed to remove this somehow.
    Thanks.

    Welcome to Apple Discussions, Neil.
    I found this on Apple Mailing Lists
    http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00373.html
    and a possible solution:
    Maybe it's empty?
    +"Try going into your server admin "Certificates" section and removing and regenerating the certificate. Could also be permissions."+
    And...
    http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00386.html
    and a resolution, ta-ta!
    http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00387.html
    +"The problem seems to have come from my renaming the default key provided with OSX Server. For some reason, when I rebooted this past time it broke apache, even though none of the sites had SSL enabled. Fixing the default .conf files so that they referred to the new key name (and those for the four sites on Apache) fixed the problem."+
    Of course, who knows if yours is the same issue?
    -mj

Maybe you are looking for

  • Retriving company code in R3 from service organisation in CRM

    Hi, I have service organisation of CRM in R3 , now I need the corresponding company code/plant in R3. how to retrive it, is there any FM or method by which we can retrive. thanks bobby

  • Using SWING and EJB

    Had nebody used Swing for GUI and EJBs for business logic. HEre i need to use Swing for gui rather than JSPs. Can nebody help??

  • How to pass UserID to the view object after authentication?

    Hi, I am developing an application using Oracle JHeadstart 10.1.3 Version 10.1.3.0.83 I have a view where all clients' data are. But when a client logs in he/she should see only his/her data, he/she should not see other clients' data. So after loggin

  • I cannot add or change a time on an alarm

    I want to set an alarm for a specific time, but there are no options available to edit the time in any way. It lets me set an alarm and gives me the option to have an alarm go off 15 minutes before, hour before, etc. However, it doesn't let me set a

  • VK11 Validity period - Change Pointer

    Hi, I have a pricecondition ZPMO that has a Validity period. A change pointer is created when I create or change the pricecond but when the Validity period is over, nothing happends. Any pointers to how I can get a ChangePointer when a Validity perio