Web server shuts down when I start it, and starts when I shut it down

I have an Xserve runing 10.8.4 and Server.app 2.2.1
I've been messing around, trying to get django to work, and now I appear to have done a bad thing.
When I flip the switch (or run sudo sudo serveradmin start web) in Server.app from OFF to ON, whilst running a tail -f on /var/log/apache2/error_log, I see this:
[Wed Jun 26 16:31:44 2013] [warn] NameVirtualHost 10.5.1.6:80 has no VirtualHosts
[Wed Jun 26 16:31:44 2013] [notice] Apache/2.2.22 (Unix) PHP/5.3.15 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.2 mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 configured -- resuming normal operations
and when I flip the switch from ON to OFF (or sudo serveradmin stop web) I see this:
[Wed Jun 26 16:32:01 2013] [notice] caught SIGTERM, shutting down
um... so everything is backwards.
anyone have any idea what I did?

Maybe I'm missing something...
"When I flip the switch (or run sudo sudo serveradmin start web) in Server.app from OFF to ON:
[notice] Apache/2.2.22 (Unix) PHP/5.3.15 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.2 mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 configured -- resuming normal operations
So Apache starts up (true, you have a configuration error, but that's a different issue.
Conversely:
and when I flip the switch from ON to OFF
[notice] caught SIGTERM, shutting down
So it shuts down. That doesn't match your original premise, so what's the issue?

Similar Messages

  • Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picyure or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Help?

    Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picture or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Does anyone know how to fix this?

    As a test  launch iPhoto with the Option key held down and create a new, test library.  Tru importing from your camera to it and to see if the same problem persists. Does it?
    OT

  • I get "mail server does not recognize your Apple ID and password" when I try to share a picture via email in iPhoto.  My iCloud email works ok otherwise.  I have check all mail settings for ID and password.

    I get "mail server does not recognize your Apple ID and password" when I try to share a picture via email in iPhoto.  My iCloud email works ok otherwise.  I have checked all mail settings for ID and password.

    In the iPhoto preferences ==> accounts delete the account and re-enter it - sometimes that resolves this
    Or IMHO the best long term solution is to set Apple Mail as the iPhoto e-mail client in the iPhoto preferences and use it - it has a number of advatages and has fewer problems
    LN

  • IMac froze while surfing web last night (color pinwheel), I forced quit and now when rebooting the fan and chime come on, the monitor stays on grey and the apple sign is replaced by a stop sign and I can't get past this, is there self fix? Never backed up

    iMac froze while surfing web last night (color pinwheel), I forced quit and now when rebooting the fan and chime come on, the monitor stays on grey and the apple sign is replaced by a stop sign and I can't get past this, is there self fix? Never backed up.
    The computer (top / back of monitor) gets really hot within minutes.

    How old is the iMac?
    With no backup, you have probably lost all your data.
    Sounds like serious hardware problem for which you are going to have to take it to Apple for an estimate of repairs.
    Allan

  • Start forms and start transaction?

    Hi friends,
    I am new to workflow, and can anybody just explain me the concept of start transaction and start forms in the basic data of the workflow definition?
    Thank u,
    PoOrAnI

    hi  Poorani Davidraj    .
    start form mean , whenever form( eg : absence form ) as has been accessed workflow will be triggered .
    forms can be created on u r own .
    steps for creating forms.
    1) define a wf container element withe a structure for which u want to create  eg: ekko.
    2) goto basic data > start forms complete the form wizard .
    3) when ever the form will be accessed   , wf will be triggered .

  • My new iMac with FCPX crashes when rendering complex templates and crashes when exporting with Motion 5

    My new iMac with FCPX crashes when rendering complex templates and crashes when exporting with Motion 5
    Using Motion 5.0.6 and Final Cut Pro X 10.0.7 on New iMac (December 2012)  Mountain Lion,
    Intel Core i7 quad-core a 3,4GHz, Turbo Boost fino a 3,9GHz
    32GB di SDRAM DDR3 a 1600MHz - 4 x 8GB
    Fusion Drive da 3TB
    NVIDIA GeForce GTX 680MX 2GB GDDR5
    During the rendering of complex FCPX mac crashes and I have to force a restart.
    I also happens when I try to export movies with Motion 5.
    Does anyone have the same problem with my new iMac?

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click anywhere in the line below to select it, then drag or copy it — do not type — into the Terminal window:
    find . $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l
    Press return. The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    The output of this command, on a line directly below what you entered, will be a number such as "35." Please post it in a reply.

  • After purchasing Adobe Acrobat Pro my download window is painfully slowly and seemingly stuck.  If i try to pause or cancel the download it stops responding completely.  I have tried to stop/start, redownload, and start fresh several times...all with the

    After purchasing Adobe Acrobat Pro my download window is painfully slowly and seemingly stuck. If i try to pause or cancel the download it stops responding completely. I have tried to stop/start, redownload, and start fresh several times...all with the same result. Any advice?

    Try downloading the offline installer from http://prodesigntools.com/adobe-acrobat-xi-pro-standard-reader-direct-download-links.html
    Make sure you follow the Very Important Instructions on that page.

  • When I tried to shut down my IPad( by sliding the red bar) the spinning gear started spinning and it won't shut down. The gear has been spinning for 18 hrs now. What is causing this and how can it be fixed?

    When I tried to shut down my other Ipad(by sliding the red bar) the gear symbol started spinning but it won't shut down--the gear is still spinning 18 hrs later.

    Try and force iPad into Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

    So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the system
    using credentials, we have Kerberos doing this. Once the user is logged onto the system they navigate to the document they want to view or edit. So the user wants to view a .pdf file, they click the document they want, and it is supposed to open in the default
    program associated with file extension. ie: .doc would open Word, .xls would open Excel. When the document is loading in the default program Internet Explorer opens a blank page, this page is supposed to prompt the user if they want to open or save the document.
    (I changed the registry to have the files selected to automatically open without this prompt.) The blank screen generated is still staying open, this screen is supposed to close automatically after the prompt or close automatically after the document is opened.
    So when a user is looking at several documents, this floods the screen with all these blank Internet Explorer pages. This problem is only occurring for users that have Windows 7 PC's, XP users do not have this problem at all. My PC is the only one in the company
    that is Windows 7 64-bit, and working properly with the IE blank page automatically closing. I'm wondering what can be done to fix this problem, is it as simple as registering some .dll files or do I need to make a registry change? Any help would greatly be
    appreciated.

    What is the registry change exactly?  Sounds like one which is supposed to avoid the prompt.  I know
    that there used to be such a thing, before the new prompt and I know that some users think that there should be such a thing for any program but I'm not sure if that expectation is valid or not.  I think this may also be related to a concurrent change
    in the OS.  E.g. in XP we had File Types Options editor but starting in Vista that was removed.  You might get some more clues on this tack from NirSoft's FileTypesMan utility.
    The registry change that I did was to remove the open and save prompt. I will be sure to look into that. Our company
    isn't worried about the user's automatically opening the files since they are all trusted. They also do not have the ability to install anything, so if they were to download a potentially harmful file they could never install it. We monitor downloads as well,
    if they download files off the internet that aren't work related we remove their download capabilities.
    Sounds like a scenario for using ProcMon to take two traces and compare them for their essential differences.
    I talked to my boss about using this tool and he is worried about using it. I'm only an intern at my office and do not have the authority to use a program without their knowledge or consent. I will run the idea by them again and see if it's okay I use this.
    I'll maybe make some presentation about how it can help us with our problem and how much time and money it will save. Because I really want to get down to the bottom of this.
    Probably the most significant thing is going to be the Content-type that the files are being served by. 
    You could use the Developer Tools, Network Capture to check on that and ProcMon could help explain what happens after that.  A related workaround to change the symptom when the Content-type is not what is expected is to disable MIME Sniffing (e.g. in
    Security options, Miscellaneous section).  In fact, perhaps that could explain your machine's difference with anyone else?  MIME Sniffing is a default, previously known as "save according to type not extension" (or some such wording).
    Okay I will be completely honest I have no idea how to use Developer Tools (F12), yes I could google it, when I tried using it on the blank pages it would never work, I also have no idea what I'm looking at. I should mention that I do not have access to
    the web server. Our programming and development side only has access to our AS400, which is where the web server is located. I do have MIME Sniffing enabled and so does everyone else. I may be wrong but, I believe it is needed in order to open the file extension
    in the correct default program, yes? I thought MIME Sniffing would see a .docx file and then find the appropriate program to open that .docx file in. I may be wrong but I know it's used somehow along these lines.

  • IPlanet web server 4.x on Windows 2000 fails to start after activating SSL

    I have created the trust database and installed a CA root certificate and a web server certificate. When I enable SSL, the server startup takes a long time (although the log file indicates a successful startup much earliar) and then after acknowledging the information box for successful startup, on return to the server on/off page, the page shows server off.

    Can you provide the error logs file of the instance which fails to start?
    Thanks

  • Gettin "Assertion Failed" message and "Assert: parent node must have _DOMElement set", first when trying to bookmark and then when the "auto fill" on some web sites is used. Started after 3.6.9 automatic upgrade.

    Open Firefox and navigate to web site. Try to save to bookmarks and get the "assertion Failed" message and "Assert: parent node must have _DOMElement set" followed by a list of 8 (0-8) items.

    Try the Tiny Menu extension. I am using an older version of Tiny Menu on Lucid with Firefox 3.6.x and it works fine.

  • CDSSO Issue in Web Server 6.1 SP 5. Agent and AM in different domain.

    I have Sun ONE Web Server 6.1SP5 and installed Policy Agent 2.2.
    URL: http://sjws6-dev-10.team.xtra.co.nz:10080
    I have Access Manager 7.0 in Application Server.
    URl : http://sjapp9-dev.uname.tech.co.nz:8080/amserver
    So Agent and Access Manager is in different domain.
    I have enabled CDSSO.
    # Cross-Domain Single Sign On URL
    # Is CDSSO enabled.
    com.sun.am.policy.agents.config.cdsso.enable=true
    # This is the URL the user will be redirected to for authentication
    # in a CDSSO Scenario.
    com.sun.am.policy.agents.config.cdcservlet.url = http://sjapp9-dev.uname.tech.co.nz:8080/amserver/cdcservlet
    Now problem what i am facing is :-
    When i try accessing a protected resource then it searches the Parent Realm Data Store.
    It should search the LDAP Data store which i configured for the Realm.
    com.sun.am.policy.am.login.url = http://ajapp9-dev.uname.tech.co.nz:8080/amserver/UI/Login?realm=YTel
    amAuthLDAP Log.
    08/25/2008 12:13:02:459 PM NZST: Thread[service-j2ee,5,main]
    LDAP resbundle locale=en_US
    08/25/2008 12:13:02:459 PM NZST: Thread[service-j2ee,5,main]
    Host: sjapp9-dev
    PORT : 38389
    08/25/2008 12:13:21:153 PM NZST: Thread[service-j2ee,5,main]
    LDAP initialize()
    08/25/2008 12:13:21:153 PM NZST: Thread[service-j2ee,5,main]
    attrs is : []
    08/25/2008 12:13:21:166 PM NZST: Thread[service-j2ee,5,main]
    bindDN-> cn=amldapuser,ou=DSAME Users,dc=uname,dc=tech,dc=co,dc=nz
    baseDN-> dc=uname,dc=tech,dc=co,dc=nz
    userNamingAttr-> uid
    userSearchAttr(s)-> [uid]
    userCreationAttrs-> []
    searchFilter->
    searchScope-> 2
    ssl-> false
    authLevel: 0
    Host: sjapp9-dev
    PORT : 38389
    Pattern : *|(|)|&|!
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    Connecting to sjapp9--dev:38389
    Searching dc=uname,dc=tech,dc=co,dc=nz for (uid=johndoe)
    scope = 2
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    Create LDAPConnectionPool: sjapp9--dev:38389
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    LDAPAuthUtils.LDAPAuthUtils: min=1, max=5
    08/25/2008 12:13:21:183 PM NZST: Thread[service-j2ee,5,main]
    userAttrSize is : 2
    08/25/2008 12:13:21:184 PM NZST: Thread[service-j2ee,5,main]
    Cannot find entries for (uid=johndoe)
    But it should seach in the User LDAP Data store.
    Not sure what is the problem.
    Regards,
    Edited by: IDM1312 on Aug 25, 2008 2:10 AM

    I presume that by now you have tried changeing your cdcservlet.url to read:
    com.sun.am.policy.agents.config.cdcservlet.url = http://sjapp9-dev.uname.tech.co.nz:8080/amserver/cdcservlet?realm=YTel

  • My screen continually freezes up.  I've tried closing all apps that are openfreezby double clicking on the home button and closing them. I have held down on the home button and start button simultaneously and it still freezes. Can someone out the help me?

    MY screen continually freezes up. I've tried closing all apps that are open and have held down the home button and start button simultaneously but neither helped. Can someone out there help me?

    Well the next couple of things to try would be to reset all settings, and if that doesn't help, it's probably time to restore the iOS software.
    Settings>General>Reset>Reset all settings. That will take all settings on the iPad back to factory defaults. It will not delete anything and you will not lose any data, but you will have to enter all settings again ...WiFi passwords, enable Siri, select your wallpaper, adjust brightness, turn on location services and set privacy settings, etc, etc.
    You can read about restoring the software here.
    iTunes: Restoring iOS software - Support - Apple
    Should you decide to restore the iOS, it is extremely important that you back up first so that you can restore from the backup and then sync with iTunes afterward in order to restore all content back to the iPad. It is all covered in the kb article.
    If you do not sync with iTunes, then I assume that you backup with iCloud. In that case you can erase the device in Settings>General>Reset>Erase all content and settings. Once again, backing up with I loud is I,operative before you do this so that you can restore from the iCloud backup after you erase the iPad and start over again with activation.
    You should read this first before you restore from either backup.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    This is a must read before you erase the iPad should you decide to go that route.
    iOS: Understanding 'Erase All Content and Settings' - Support - Apple

  • HT4061 I was software updating of my iphone when the updating complete and start installing the wi fi connection suddenly disconnected and it couldn't be completed. Now my phone doesnot display anything its like empty. it only shows  the apple logo. help

    Hi all,
    i was upgrading my iphone to ios6.1.2; the upgrading had been completed and starting to install but suddenly the wi fi connection lost and the installation couldn't be completed. Now my phone is dead....it only shows the apple logo....can't do anything..help me out..

    Press the button at the top right and the home button together for 30 seconds, when you see the apple logo, let  them go.
    if you see a picture of the itunes symbol and a whitye usb chord then connect the device to a computer and perform a restore. 

  • Prohibited sign on start up and error when trying to re-install os x maverick. Help?

    So I get the prohibited sign on start up, and i tried using the command-option-p-r and os x utilities popped up. I checked if any of my disks needed repairing and all of them were fine. But whenever I try to re-install os x mavericks an error would come up saying that I need to restart the application.
    Help anyone?

    This is what I would try:
    Since a 2008 MBP came with Leopard (10.5) and to install Lion (10.7)  or later requires a Snow Leopard disk (10.6), I would use one of those disks.  Again check the status of the HDD with Disk Utility>First Aid using the disk and install an OSX.  You will then have to download the Snow Leopard combo update (10.6.8).
    https://support.apple.com/kb/DL1399?locale=en_US
    You will have to erase the disk so have your data backed up,  Once you have established that you have a working OSX installed, then I would download Mavericks.
    If you cannot install an OSX with the disks then there is a hardware problem and a trip to an Apple store genius bar will be the best option.  The evaluation will be FREE.
    Ciao.

  • Ever since i updated to ios 5 my iphone shuts off several times a day and blocks. when I restore, all contacts, notes, etc are gone

    since I updated to ios5 my 3gs iphone turns off several times a day and blocks. when I restore, all contacts, notes music etc. are gone and it will not sync

    Hello Fred0272
    Check out the article below to troubleshoot issues with the response with the touchscreen response.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Regards,
    -Norm G.

Maybe you are looking for

  • Failed To Install 12c R2

    Has anyone been able to perform a clean install of 12cR2 on Linux x64? Running OL 5.7 64 bit, JDK 1.6 U35 and fails to start the oms. Trying to start oms outside the installer also fails. Last few lines from CfmLogger log. INFO: oracle.sysman.top.oms

  • Uninstall Weblogic 5.1

    What's the proper procedures (and commands) to remove Weblogic 5.1 from Sun Solaris 2.7. I am trying to upgrade the server to 6.1 but I want to take the chance and clean up the folder first. Thanks. Ben

  • Keep having to synch with iTunes

    Can synch with iTunes ok but as soon as iTunes is quit and re-opened it does not recognise the AppleTV or the synched library so you have to go all through the process of synching ATV and iTunes? The odd thing is that the ATV is always available to p

  • Selecting sound output on new alu iMac

    I realise there have been quite a few posts about similar topics in Apple Discussions, but I would be really grateful if somebody could answer this one. I am using Tiger 10.4.11 (i'm waiting for software updates for Leopard to be released before inst

  • Missing SYSTABLES from my database.

    We are suddenly experiencing dumps in our system and they are saying the tables do no exist.  The tables are physically in the database on the OS side.  When investigating I find that SYSTABLES is missing from my database along with SYSCST.  Has anyo