Web sharing and apache server down

Hi all
Sorry for this noobie question but it's the first time I have this strange behavior
Today I tried to use my MBP (under Lion 10.7.4) outside of my home in a location where web connection was not permitted.
I thought I could continue to work on my web project which is at the moment on a localhost server.
But it was impossible as the web sharing was down and it was impossible to relaunch it through preferences panes.
did I missed something in my Apache config or somewhere else as I am pretty sure that this behavior should be the correct one it should be possible to have the apache server running even if not connected to the web.?
Obviously once returned at home and reconnected to the web all going back at normal.
Thanks in advance for your help
BR
BKantique

Finally I found by myself, apparently I my apache server pointed on the port 80 which once disconnected of the web cause to Apache to be down.
Changed the port into 8080 and then no issue anymore the Apache server still on once disconnected of the web

Similar Messages

  • Personal Web Sharing and Filemaker Server Advanced

    After migrating from FileMaker Server-7 Advanced and installing version-8 Advanced web components (w/Easy Install) and restarting the Mac, Personal Web Sharing refuses to activate. I also cannot access the Filemaker Admin Console to create the FMSA account to register it with the database server.
    OSX Console log listed this error below when trying to start Apace with Personal Web Sharing:
    Syntax error on line 1 of /Library/FileMaker Server/Web Publishing/web-configuration/WEB-INF/conf/mod_jk.conf:
    Cannot load /usr/libexec/httpd/modjkfm.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    Line 1 of the mod_jk.file reads:
    LoadModule jkfmmodule libexec/httpd/modjkfm.so
    What needs to be corrected so I can start web sharing and access the FileMaker Web Publishing Engine in the browser?
    Using Mac OSX 10.4.6 on Mac Mini w/Intel dual core

    Apache is trying to load modjkfm.so which should be stored in /usr/libexec/httpd, but it isn't.
    This file should be installed by the Filemaker Server installer. If it wasn't installed by the Easy Install option, check the other install options to see if it's there.

  • Web Sharing and Apache losing connection?

    ok so i just did a fresh install of 10.4 on my server (PowerMac G4 - 350 Mhz) i have set up my web sharing with a few tweaks like turned mod_ssl and installed MySQL. Other than that it's a pretty basic config.
    My problem is that i when i start or restart apache everything works and stays that way for hours as I am updating and testing. I go home at night and come back in the morning and i can not access any of my sites nor the local ip of the server (192.168.0.100) or 127.0.0.1
    so i restart apache and its back up...
    i do have a static IP so I know its not my IP Changing
    any ideas on keeping apache alive?

    What do the logs have to say about it?
    There's nothing anyone here can tell you about why it's stopping - there are just too many posibilities. The server logs, though, might provide some clues.
    Check specifically /var/log/httpd/error_log and /var/log/system.log

  • Personal Web Sharing aka Apache Config

    I have turned on 'Personal Web Sharing' and created a fairly basic test web site in /Users/<user>/Sites that gets picked up readily and quickly by IE on computers on my LAN. However, trying to view the site locally has me confused. When I run Safari or Firefox and manually type in the URL ("http:/IP/~user"), it takes several minutes for each page to load, and Safari doesn't get any of the images that are included. If I select the link in the Sharing panel in System Preferences, the site is accessed almost instantly. The one difference I have noted is that, when typing the URL manually in to the browser, the IP address is changed to the computer name, e.g., "computer.local/~user", whereas when the link in System Preferences is used the URL uses the IP address, e.g., "192.168.0.10/~user". Any thoughts?
    Thanks.

    ShutterMonkey wrote:
    The one difference I have noted is that, when typing the URL manually in to the browser, the IP address is changed to the computer name, e.g., "computer.local/~user", whereas when the link in System Preferences is used the URL uses the IP address, e.g., "192.168.0.10/~user". Any thoughts?
    I bet when you type in the URL, you don't include the trailing slash, just like you've typed it here. If you don't include the trailing slash, your Apache will basically "redirect" back to itself and include the trailing slash. It appears that if you haven't set up a server name in your Apache config file, then it must "redirect" back to the Bonjour name (the ".local" one).
    When you click on the link in the Sys Prefs, they've included the slash, so the "redirect" doesn't happen, hence the IP address stays.
    charlie

  • Web Sharing and vhosts

    Hi all
    Can some one help with regards to setting up web sharing and vhosts under 10.8.
    I have started apache (sudo apachectl start).
    I've enabled php and mysql.
    I have de hashed (#) Include /private/etc/apache2/extra/httpd-vhosts.conf
    I have added my vhost :
    127.0.0.1      www.myvhosts.dev
    127.0.0.1     myvhost.dev
    to the file     /private/etc/hosts
    I have also edited the http-vhost.conf file by adding
    <VirtualHost *:80>
            DocumentRoot "/Volumes/MacPro RAID/Web Development/myvhost"
            ServerName www.myvhosts.dev
    </VirtualHost>
    <VirtualHost *:80>
            DocumentRoot "/Volumes/MacPro RAID/Web Development/myvhost"
            ServerName myvhosts.dev
    </VirtualHost>
    But typing in www.myvhosts.dev or myvhosts.dev takes me straight to google.
    Further more http://localhost and http://localhost/~username
    both kick out access errors that I have tried to fix with a user.conf file with
    <Directory "/Volumes/MacPro\ RAID/stevenwhiteley/Sites">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    But nothing works.
    Any assistance would be most apprecated.
    Cheers
    Steve

    Either move the content to the /Library/WebServer/Documents
    directory or create aliases in that directory for the real files.
    Dave

  • Best Practises for File Sharing and Print Server on Windows Server 2012

    Is it better to have File Sharing and Print Server installed on the same Windows 2012 Server ?
    Or, they should be installed on 2 different Windows Servers ?
    Hussien Sherief

    It will work just fine to combine them.
    But most people would recommend keeping functionality separate... if the budget allows.  That whole "single point of failure" concept.  If that server dies, you've lost both of those functions.

  • Shared and Dedicated server modes

    Hi,
    We have been having some issues with connections and listeners. Please find here... Link [Post1|http://forums.oracle.com/forums/message.jspa?messageID=3665455] and Link [Post2|http://forums.oracle.com/forums/message.jspa?messageID=3677914].
    Despite this help from this forum, I still face some problem configuring listener in both Shared and Dedicated server modes.
    Pls find the below the problem...
    Two listeners namely, LSNR1 and LSNR2 have been started.
    listener.ora:
    LSNR2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LSNR2  =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TESTDB)
          (ORACLE_HOME = /u02/app/oracle)
    LSNR1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LSNR1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TESTDB)
          (ORACLE_HOME = /u02/app/oracle)
      )LSNR1 works with both Shared and Dedicated configurations, whereas LSNR2 neither DEDICATED nor SHARED configurations...
    Here is the TNS names entry at the client (for LSNR2)...
    serv2=
    (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))
        (CONNECT_DATA =
          (SERVICE_NAME=DEDICATED)
      )When I try to connect using this, it says
    + ORA-12514: TNS: Listener does not know of service requested in connect descriptor +
    Pls help.
    Thanks,
    Aswin.

    Aswin,
    I didnt see the other posts but the error is fairly simple,
    >
    ORA-12514:
    TNS:listener does not currently know of service requested in connect descriptor
    Cause:     The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action:     
    - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.
    >
    So check what you are passing in the connection string.
    HTH
    Aman....

  • Shared and Dedicated Server...

    Dear All,
    Can anybody tell what's the difference between shared and dedicated server? Our database is Oracle 9.0.1 in Windows 2003. Our total session is around 200. Our server is dedicated server. What will be the benefit if we change our database to shared server for specific users???
    Shared pool size = 728MB
    Buffer Cache = 592MB
    Java pool = 104MB
    Large pool = 60MB
    There is no pga_aggregate_target in our database. Is the configuration ok for more than 200 users??? Most of the times we get 'out of process memory error'. What should we do in this situation??? Plz suggest.

    mrashid07 wrote:
    Can anybody tell what's the difference between shared and dedicated server?Dedicated server is the default. It means that each and every user session is serviced by a dedicated Oracle server process. 200 user connections? 200 dedicated server processes.
    On Windows these are however threads inside the physical oracle.exe process (and not actual separate process images like on Unix/Linux for example). A standard thread on Windows needs around 2MB of kernel space. So 200 threads, for 200 dedicated server connections, need 200 x 2MB RAM.
    Shared server works differently. A pool of dispatchers and shared servers are created. The dispatcher processes deals with the communication between the Oracle client and the Oracle instance. A dispatcher places client requests on a virtual circuit. These requests are picked up by idle shared server processes and processed. The results are send back to the client via a dispatcher process.
    So instead of having 200 dedicated server processes to service 200 users, you can for example use 5 dispatcher processes and 30 shared server processes to service the 200 sessions of those 200 users. In this case 35 processes are used that translates into 35 threads at a basic 2MB RAM cost per thread. (also note that the UGA now moves from the Oracle PGA to the Oracle SGA and the SGA needs to be sized accordingly).
    However, should such a user session send a long and complex request, that will tie up that shared server for a long time.. and this is bad. When the shared server process is busy, it cannot service any new requests. When all the shared servers in the pool are busy, no new request can be serviced. So you want the requests from the clients to be short and sweet - with a shared server not spending more than a few seconds per request.
    So typically OLTP requests are fine for shared servers.. OLAP requests not.
    Our database is Oracle 9.0.1 in Windows 2003. You should have been on 9.2.0.7 (last 9i patch set). You should currently being in the process of upgrading to 11gR2. 9i is basically an unsupported product. It is not a good idea to use an unsupported product in production. Even worse when you are not using the latest patchset for that product.
    As for using Windows.. why? 32bit is old hat. 64bit CPUs are standard even in today's desktop PCs. Consider using Linux instead. It is Open Source, is free ito purchasing (you only pay for support and maintenance) and it has had de-facto 64bit support for many years now. There's no need to hack the operating system, like Windows with its AWE extensions to address more than 4GB RAM.

  • Web sharing with Apache: Forbidden

    My Mac OS X 10.8 Mountain Lion Upgrade broke local web sharing of my  ~/Sites/ directories.
    I googled around and followed the advice in http://support.apple.com/kb/TA25038 , which matches my problem closely.  However, that solution does not repair the problem.
    My Sites directory and permissions:
    v21837:~ drf$ ls -la ~/Sites
    total 7160
    drwxr-xr-x   19 drf  staff      646 Aug  7 14:06 .
    drwxr-xr-x+ 197 drf  staff     6698 Aug  6 17:44 ..
    -rw-r--r--@   1 drf  staff    12292 Aug  3 21:26 .DS_Store
    -rw-r--r--    1 drf  staff        0 Feb  2  2008 .localized
    -rw-r--r--    1 drf  staff        3 Aug  7 14:06 00Junk.txt
    Safari on http://localhost/~drf/00Junk.txt:
    Forbidden
    You don't have permission to access /~drf/00Junk.txt on this server.
    Safari on a non-existent file:
    Forbidden
    You don't have permission to access /~drf/Junk.txtq on this server.

    I solved my problem.  I had cut and pasted the information into the /etc/apache2/users/UserName.conf file from a web page and used non-matching up/down quote marks like this:
    <Directory “/Users/username/Sites/”>
    rather than matching ones like:
    <Directory "/Users/username/Sites/">
    Apache seemed to parse it OK with 'apachectl -t', but with the up/down quotation marks, it did not enable my directory, apparently taking the quotes as literal parts of the directory name.

  • Forms 6i and Apache server

    HI all,
    I have an assignment to replicate production installation to another environment on another server. Currently what is installed on those servers is:
    - Main server (production): Windows server 2000 SP4, Forms 6i service, Reports 6i service , iSuites HTTP listener. In some documents I found that 9i Rel1 Applications Server was actually installed creating Forms60service, Reports60service and HTTP listener. Unfortunately, I don't have access to 9i Rel1 disks (only 9i Rel2 and Forms6i Rel2) and since it is desupported, I can't download them online.
    - Other server: Windows Server 2003 ( with installed Forms 10g and services disabled).
    What I did was install Forms6i server and Apache web server. Apache server works, and I made aliases so it can access files on the server. Aliases were taken from documentation of production installation. However, I don't know how to make Apache listen for forms server requests. I assume in 9i it is handled automatically, like in 10g?
    Questions:
    -Does 9i Rel1 create those services? I'm new to 9i and 6i AS, and don't have disks to test it. Is there a way to download 9i Rel1?
    -How can Apache be configured to handle requests to Forms server? Its now listening on port 81, and when called gives a blank page. JInitiator isn't started.
    Any help would be greatly appreciated.

    If you are using a standalone Apache install and not the one included with iAS 1.0.2, you must run the Forms Server. If you are using the iAS installation, you can use either the Forms Server or the Forms Servlet. The Forms Servlet takes advantage of JServ, which allows requests from Forms to route on the same port by which the HTTP listener is using. On the other hand, if you don't use the Servlet and instead use the Forms Server, requests from the client are routed from the client directly to the Forms Server on a different port. In this case the HTTP Server is only used for the initial request which then pass future requests to the server. The down side to this is that you must run 2 servers and have 2 available ports - one for the http listener and one for Forms. This is why using the Servlet is preferred.
    I believe you must be using Forms 6i Release 2 (6.0.8.11) plus patch 10 or 11 or newer in order to successfully deploy using Servlet. This translates into being iAS 1.0.2.2.2 if I recall correctly.
    Here are some doc references which may be of help:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting-084882.html
    http://www.oracle.com/technetwork/documentation/6i-forms-084462.html
    http://www.oracle.com/technetwork/documentation/forms-094534.html
    http://www.oracle.com/technetwork/documentation/dev-arch-093406.html

  • Issue on Web sharing and XSL files

    Hi all,
    What are the things to be taken care while we are doing websharing. I have an issue with one of my xMII projects. Everything is working fine on that server except xsl files. It is not getting transformed into HTML at run time. It is showing in XML format instead. I really doubt the problem is with my web sharing, because the same set of files(<b>including XSL file</b>) are working on a different server without any issue.
    I have done websharing by right clicking on the folder name, selecting the websharing tab and giving Alias name. Is that ok or anything more as to be done?
    Can anyone please trace out the issue.
    Thanks in advance
    Muzammil P.T

    Hi,
    Webroot is still in c:\inetpub\wwwroot, but i set up a new virtual directory to <b>c:\Lighthammer</b> and accessing xMII using the URL http://*...*/Lighthammer
    and my project contects using http://*...*/Lh/CompApps/MyProj/HomePage.html
    (I have given Lh as the Alias name).
    Here, My xMII homepage is working and myProj Homepage is also working fine. Once i calls the HTML pages which contains XSL files, the problem is coming.
    Please Note: The same contents is working on our different server without any change.
    Regards
    Muzammil

  • WLS and Apache Server

    Hi all,
    I'd like to use Apache Server to serve static HTML pages and WLS to serve JSP pages.
    I wonder what solution is better: Dedicate one machine to Apache and one to WLS in
    order to scale better or it's better to keep both server on one machine to reduce
    network traffic (caused by redirects) ?
    Thanks
    Francesco

    I found this link to a .pdf that I believe explains the difference between OHS and Apache and what the web server plug-ins do. See this link:
    http://www.oracle.com/technetwork/middleware/ias/ohs11gr1-131852.pdf

  • Web Start and Game Server

    i have a client-server game and i would like to put it on my site
    i've managed to put both the client and the server
    the problem is when i run the server, i give it a port and it opens and says waiting for a connection, but when a client joins it doesn't detect it
    of course, this problem doesn't exist if i run the server jar file from my computer and then run the clients (webstart or console), it's only loading server through web start that it doesn't work
    so, if i run the server through webstart, then run a client through command prompt, what happens is it connects, server doesn't display a connection detected message and then client just drops out, seems like the sockets don't connect properly???
    thanx

    i generated a key and signed the jar file, but it still gives the same error
    seems like i need a java.policy file in order to allow connection on the ports >1024???
    i made a policy file, but in order to use it, i have to give it as a parameter to the jar file
    so, java -jar myjar.jar -Djava.security.policy=java.policy
    now, the problem is how to make the jnlp file run my class file with the -Djava.security.policy=java.policy parameter???
    the policy file contains:
    grant {
    permission java.net.SocketPermission "*:1024-65535",
    "connect,accept";
    permission java.net.SocketPermission "*:80", "connect";
    };

  • Reporting and Analysis server down need to move to another server

    I lost my original server for RA and re-installed the components on another server, however, when I try to access from workspace, I receive the message *"Could not find a Hyperion Reporting and analysis server running on "old server name' at port 6800. Please veriify your server connect string and confirm the server is set up".*
    I've re-run the installer and configuration to no avail. Is there a configuration file that I have to update someplace?

    This basically means that the HSS registry is still pointing to the old server name for RA_FRAMEWORK component.You will have to check through the registry report whether there are multiple instance of RA framework registered (one with the old server and another with the new server).If yes you can delete the old one from registry through the epmsys_registry command tool and reconfigure with the new server.
    If you want assistance with the same,please raise an SR with Oracle support and should be able to guide you through.

  • Passing data b/w applet and apache server

    Hi all,
    I have an application that runs in the JApplet.I have to pass data b/w server and applet.The
    datas are brought from the server using php to the browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from applet?
    2.How to retrieve data from the param tag to the applet in the form of an array.
    In the getParameter it is required to specify the param name.
    Is it possible to retrieve data from param tag similar to that of getting data from command
    line arguments array.

    Hi all,
    I have an application that runs in the JApplet.I have
    to pass data b/w server and applet.The
    datas are brought from the server using php to the
    browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from
    applet?Why do you ever want to do it? It sounds like setting arguments passed to a program's main method from command line after the main method has been invoked. It is possible though to dynamically set any values for any applet params using php before the applet gets loaded to the browser window as you generate an html file on the server side.
    2.How to retrieve data from the param tag to the
    applet in the form of an array.
    In the getParameter it is required to specify the
    param name.
    Is it possible to retrieve data from param tag similar
    to that of getting data from command
    line arguments array.You can use some naming/numbering convention for your params. For example settings1, settings2 ... Then you can loop in your code retrieving the values like getParameter("settings" + i) checking to see that it is not null or empty.
    However, if you don't want to reload the applet (together with the page) just to get some new data from the server, you can establish a tcp/ip connection as elchaschab recommended.
    Cheers!

Maybe you are looking for