Profile Manager redirects to Wiki page.

Since the 10.7.2 update if I try to access the Profile Manager I get the login screen OK and then it redirects the web to the Wiki page. Cannot find any relevant Aliases in the httpd.conf files. Where to look next?

I am having this issue too, did you find a solution?

Similar Messages

  • Profile manager redirect issue

    I'm setting up a new Mac Mini Server with OS 10.7.3. I've run through the Profile Manager configuration and it appears to be running. When I go to https://server.domain/mydevices I get the login screen, but when I try to login I receive the following  redirect error.
    The webpage at https://server.domain/auth?redirect=https://server.domain/devicemanagement/api/a uthentication/device_callback has resulted in too many redirects.
    Any suggestions?

    Well, I meanwhile managed to get most services up and running, all in all quite a time consuming process though.
    Did you set up your server with a public dynamic DNS hostname such as name.dyndns,org or as a private server ?
    If I remember well I set up the server as a public server (which makes sense if you want to use Profile and Device Manager) and I re-created the Open Direcory database and the server SSL's as described in one of my recent posts:
    https://discussions.apple.com/message/20816605#20816605
    If you follow these steps religiously you should be able to get all services up and running.
    Of course, DNS should also be working properly.
    I did not mention in that post that if applicable all server databases should be be backed-up (dumped) as described for example in an article by Jason Bosket (Sep 2011 on Sourcenetworks, sorry, I could not find the URL anymore).
    Hope that helps to give you an idea.
    Regards,
    Twistan
    NB. I am not an expert, just an experienced Mac user.

  • Error reading settings in wiki and profile manager

    I have just upgraded from Snow Leopard Server to Lion server.
    I now have the following errors in server app:-
    Wiki : message "Error Reading Settings"
    Profile Manager: message  "Error Reading Settings"
    What do I do to get my wiki back!
    When I visit my default ssl Wiki I get the following:-
    Collaboration::PGCConnectionError in Sources#index
    Showing /usr/share/collabd/coreclient/app/views/layouts/application.html.erb where line #5 raised:
    FATAL:  role "collab" does not exist
    Extracted source (around line #5):
    2:      :user => @user,3:      :entity => @entity,4:      :owner => @owner,5:      :service_client => service_client,6:      :controller => controller7: }) %>8:
    Rails.root: /usr/share/collabd/coreclient
    Application Trace | Framework Trace | Full Traceapp/controllers/application_controller.rb:325:in `service_client'app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___1616978790_2215846900_0'app/controllers/application_controller.rb:44:in `render_server_error'app/controllers/application_controller.rb:43:in `render_server_error'
    Request
    Parameters:
    None
    Show session dump
    Show env dump
    Response
    Headers:
    None
    Please help

    I did a clean install of Lion/Lion Server, but I ran ino the same problem too with "Error Reading Settings" for both the profile manager and the wiki.
    INVESTIGATION: I checked to see if the postgres database (which I presumed was were the settings were being read from).
    # sudo serveradmin fullstatus postgres
    postgres:dataDirHasBeenInitialized = yes
    postgres:PG_VERSION = "9.0.4"
    postgres:dataDir = "/var/pgsql"
    postgres:postgresIsResponding = no     # !!! why isn't it responding???
    postgres:dataDirIsDirectory = yes
    postgres:PGserverVersion = 0
    postgres:dataDirExists = yes
    postgres:setStateVersion = 1
    postgres:state = "RUNNING"
    PROBLEM: The postgres service hadn't been started properly; I found this by doing the following:
    # sudo serveradmin stop postgres
    postgres:state = "STOPPED"
    # sudo serveradmin start postgres
    postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR"
    FIX: The postgres service couldn't create the log file because it didn't have permission. I did this to fix it, then simply restarted it and all was well:
    # sudo chmod 777 /Library/Logs/
    # sudo serveradmin start postgres
    postgres:state = "RUNNING"
    I hope this helps someone.

  • Change Server URL in Profile Manager Enrollment Process?

    It appears devices learn the IP or URL of their MDM server during the Profile Manager enrollment process. It must be part of the configuration profile sent to the device. It also appears this is based on the machine's host name. Is there anyway to change that URL - as when the host name of the server changes? If so, where are the files located on the server.
    I believe in the previous iPhone Configuration Utility there was a "server URL" and "Check in URL" that could be set. We can't seem to find any parameters in Profile Manger to control the same. Thanks for any help.

    Hi Jonathan,
    I stumbled on your responses because I was looking for an answer to my own issues.
    I am like most just a lay user, although wth 20 years Mac experience.
    The issue is as folllows:
    I set up Lion Server and I host a Wiki page and I try to run Profile Manager.
    I do not have a registered host name. The hostname is server.name.private.
    In order to reach the server from the Internet my clients use a DynDNS hostname such as "name.dyndns.org".
    My clients can access the Wiki pages with no problems and Safari shows https://name.dyndns.org in the address line.
    However, if they want to connect to Profile manager, the server re-directs https://name.dyndns.org/profilemanager https://server.name.private/auth?redirect=https://server.name.private/devicemana gement/api/authentication/callback
    which the client's browser cannot resolve because the internal hostname is unknown to public DNS servers.
    Why does Profile Manager redirect in the first place ?
    Can this issue be resolved without obtaining an "officially registered" hostname ?
    Thank you for helping.
    Regards,
    Twistan

  • Can't log in to Profile Manager or My Devices with Active Directory logins

    I have an OSX Lion 10.7.4 Server set up with Profile Manager and it is joined to AD.
    I am able to see AD groups in the Profile Manager groups section.
    I can also see and add AD users and groups using the server app.
    I have enabled the "Can Enable Remote Management" check box for Domain Users through Profile Manager. I have also added Domain Admins to the Workgroup group in the Server app. I'm not sure that I want or need either of these options, but they were suggestions to try.
    I am not able to log on to the Profile Manager or My Devices pages with AD logins.
    I found these directions about nested groups in Workgroup Manager http://krypted.com/iphone/integrating-mac-os-x-lion-servers-profile-manager-with -active-directory/ but I don't have a com.apple.access_devicemanagement local group or any groups like are shown in the picture.
    Any ideas what I'm missing?
    Cheers,
    Ian

    I found the two pieces I was missing:
    1) Install the Lion Server Admin Tools
    Launch the Server Admin App
    Click on the server name in the left pane
    Click on the Access button in the upper part of the window
    Click on Profile Manager
    Either manually add specific groups to the list or if you're feeling brave choose the "Allow all users and groups" radio button
    2) Run the command line steps on this page to change the authentication to plain text to support AD authentication:
    http://support.apple.com/kb/HT4837
    Voila!

  • HT200088 Error Reading Settings in Lion Server Profile Manager

    Whenever I try to use Profile Manager in Lion Server, it says "Error Reading Settings". Can anybody help?

    I did a clean install of Lion/Lion Server, but I ran ino the same problem too with "Error Reading Settings" for both the profile manager and the wiki.
    INVESTIGATION: I checked to see if the postgres database (which I presumed was were the settings were being read from).
    # sudo serveradmin fullstatus postgres
    postgres:dataDirHasBeenInitialized = yes
    postgres:PG_VERSION = "9.0.4"
    postgres:dataDir = "/var/pgsql"
    postgres:postgresIsResponding = no     # !!! why isn't it responding???
    postgres:dataDirIsDirectory = yes
    postgres:PGserverVersion = 0
    postgres:dataDirExists = yes
    postgres:setStateVersion = 1
    postgres:state = "RUNNING"
    PROBLEM: The postgres service hadn't been started properly; I found this by doing the following:
    # sudo serveradmin stop postgres
    postgres:state = "STOPPED"
    # sudo serveradmin start postgres
    postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR"
    FIX: The postgres service couldn't create the log file because it didn't have permission. I did this to fix it, then simply restarted it and all was well:
    # sudo chmod 777 /Library/Logs/
    # sudo serveradmin start postgres
    postgres:state = "RUNNING"
    I hope this helps someone.

  • Profile Manager site blank externally

    Changed the server's host name to include the company's domain name and lost the ability to navigate to the site eternally.  I've recreated all certs following the name change and can navigate to the site internally and enroll devices without issue however the external site is blank.  When I enable Websites I'm able to navigate to the sites homepage however selecting Profile Manager loads a blank page.
    Navigating to the MyDevices page loads a Service Unavailable error:
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache Server at PUBLIC_IP Port 443
    Any idea what could be causing this behavior and how to resolve?  Thank you

    I used the Server app to change the name which did recreate the self-signed certificate.  Unfortunately Profile Manager also relies on two other certificates, the code signing cert and the MDM Identity cert.  Deleting and recreating the Open Directory master DB recreated these for me and allowed me to point Profile Manager's "Sign Configuration profiles" to the newly created certificate. 
    After all of that I was able to navigate to all the pages internally and enroll devices however still can't access it externally.  I'm going to apply an SSL cert to the server to see if anything changes however I should be able to access the sites externally w/out one.
    Anyone ever run into this issue before?

  • Keep 443 open for profile updates, but limit profile manager login

    I notice that port 443 is used by clients to communicate with the server when profiles are pushed (I assume as an encrypted connection for transmitting the profile file). Therefore it seems that for profiles to be pushed to devices outside the LAN 443 needs to be available when clients come calling to the FQDN to get a new profile (when Apple's push notification service says 'hey something is waiting for you').
    However, from a security standpoint I'm not thrilled about exposing the profile manager login to the page to the whole world. Is there a way to limit access to this page to say just our LAN (e.g., using .htaccess) and still allow clients to come calling to the server from anywhere on 443 to fetch profiles? How have others handled this scenario?
    Thanks!

    ...minor updates (see below) after some additional testing. Added /auth as this is another mechanism for authenticating against the admin panel. Also Added an additional allow for loopback traffic since logs showed some items being blocked on : : 1
    <Location /profilemanager>
        AllowOverride None
        Options MultiViews FollowSymlinks
        Order deny,allow
        Deny from all
        Allow from 10.0.0.0/8                   #OUR LAN
        Allow from XXX.XXX.XXX.XXX              #SERVER'S PUBLIC IP
        Allow from 127.0.0.0/255.0.0.0 ::1/128    #FOR INTERNAL LOOPBACK TRAFFIC
        Header Set Cache-Control no-cache
    </Location>
    <Location /mydevices>
        AllowOverride None
        Options MultiViews FollowSymlinks
        Order deny,allow
        Deny from all
        Allow from 10.0.0.0/8                   #OUR LAN
        Allow from XXX.XXX.XXX.XXX              #SERVER'S PUBLIC IP
        Allow from 127.0.0.0/255.0.0.0 ::1/128    #FOR INTERNAL LOOPBACK TRAFFIC
        Header Set Cache-Control no-cache
    </Location>
    <Location /auth>
        AllowOverride None
        Options MultiViews FollowSymlinks
        Order deny,allow
        Deny from all
        Allow from 10.0.0.0/8                   #OUR LAN
        Allow from XXX.XXX.XXX.XXX              #SERVER'S PUBLIC IP
        Allow from 127.0.0.0/255.0.0.0 ::1/128    #FOR INTERNAL LOOPBACK TRAFFIC
        Header Set Cache-Control no-cache
    </Location>

  • Cannot find WIKI page of Profile Manager

    When I try and login to Profile Manager, this is what I see after I put in my credentials. Does anybody have any ideas as to what is going on or how to fix it?

    Okay I have done fresh installs of Lion server on the computer and still get this error. If I turn on the WIKI service, when I click the profile manager link it takes me to main wiki page. Anyone have any ideas? I even formated the hard drive before I reinstalled Lion server. Need to get Profile Manager setup.

  • 404 Error when viewing Wiki or Profile Manager in a browser

    I have been struggling with Lion Server for a numbers of months now and am very frustrated with the difficulty of diagnosing what seem to be very simple issues. In particular I have Profile Manager and Wiki Server both behaving properly when configuring, starting and stopping them in Server Admin. They look as if all is OK. However when I try to go to the Wiki or Profile Manager in a browser I just get a 404 error.
    I have searched and searched for a solution but have been totally unsuccessful. If anyone can help me I would most possibly become a friend on their Facebook page!
    Cheers
    Martin Fuggle

    Hey,
    Sorry, because I'm so new I don't quite get what you mean. A little more information is I'm using my MacBook which is connected to the same WiFi network as the other Mac's. What do you mean by the FQDN?
    I'm able to type in the IP address etc. on any other of the Mac's and it loads the 'Welcome to OS X Server' page, it's just when I select Profile Manager, I get the error. Thanks for getting back though, appreciated the quick help.. and I'm still super stuck. I've got a whole day on it today ha.
    Elliot

  • Profile Manager - Not Found  The requested URL /wiki was not found on this server.

    I have installed Lion Server with Web and Profile Manager services. When I log into the profile manager web page I receive the message "Not Found  The requested URL /wiki was not found on this server."  I followed the guide here for install http://krypted.com/iphone/setting-up-profile-manager-in-lion-server/.

    This was the fixed I found
    Fixing profile manager has been solved by someone else:
    1.  Turn off all services under Server app.
    2.  Under Hardware, settings, change SSL certificate to "none"
    3.  Under Hardware, network, reset host name again.
    4.  Under Hardware, settings, change SSL certificate back to correct one
    5.  Turn Web service ON.
    It may still say /var/empty.
    6.  Turn Wiki service ON
    7.  Recheck Web service.  It should be changed to /Library/Server/Web/Data/Sites/Default.

  • Server Error has occurred when loading profile manager page

    I am getting message saying Server Error has occurred when I login into profile manager web page. How can i solve this issue. I am using Mavericks Server.

    PM Logs
    2014-03-07 00:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322439-2" ("value" varchar UNIQUE)
    2014-03-07 00:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 00:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322439-2" ("value" varchar UNIQUE)
    2014-03-07 01:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322441-2" ("value" varchar UNIQUE)
    2014-03-07 01:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 01:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322441-2" ("value" varchar UNIQUE)
    2014-03-07 02:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322443-2" ("value" varchar UNIQUE)
    2014-03-07 02:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 02:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322443-2" ("value" varchar UNIQUE)
    2014-03-07 03:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322445-2" ("value" varchar UNIQUE)
    2014-03-07 03:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 03:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322445-2" ("value" varchar UNIQUE)
    2014-03-07 04:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322447-2" ("value" varchar UNIQUE)
    2014-03-07 04:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 04:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322447-2" ("value" varchar UNIQUE)
    2014-03-07 05:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322449-2" ("value" varchar UNIQUE)
    2014-03-07 05:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 05:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322449-2" ("value" varchar UNIQUE)
    2014-03-07 06:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322451-2" ("value" varchar UNIQUE)
    2014-03-07 06:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 06:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322451-2" ("value" varchar UNIQUE)
    2014-03-07 07:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322453-2" ("value" varchar UNIQUE)
    2014-03-07 07:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 07:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322453-2" ("value" varchar UNIQUE)
    2014-03-07 08:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322455-2" ("value" varchar UNIQUE)
    2014-03-07 08:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 08:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322455-2" ("value" varchar UNIQUE)
    2014-03-07 09:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322457-2" ("value" varchar UNIQUE)
    2014-03-07 09:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 09:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322457-2" ("value" varchar UNIQUE)
    2014-03-07 10:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322459-2" ("value" varchar UNIQUE)
    2014-03-07 10:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 10:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322459-2" ("value" varchar UNIQUE)
    2014-03-07 10:18:03 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322461-2" ("value" varchar UNIQUE)
    2014-03-07 10:18:03 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 10:18:03 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322461-2" ("value" varchar UNIQUE)
    2014-03-07 11:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322463-2" ("value" varchar UNIQUE)
    2014-03-07 11:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 11:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322463-2" ("value" varchar UNIQUE)
    2014-03-07 12:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322465-2" ("value" varchar UNIQUE)
    2014-03-07 12:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 12:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322465-2" ("value" varchar UNIQUE)
    2014-03-07 13:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322467-2" ("value" varchar UNIQUE)
    2014-03-07 13:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 13:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322467-2" ("value" varchar UNIQUE)
    2014-03-07 14:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322469-2" ("value" varchar UNIQUE)
    2014-03-07 14:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 14:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322469-2" ("value" varchar UNIQUE)
    2014-03-07 15:05:34 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322472-2" ("value" varchar UNIQUE)
    2014-03-07 15:05:34 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:05:34 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322472-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:11 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322474-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:11 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322474-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:45 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:45 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:06:45 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322480)
    2014-03-07 15:06:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:06:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322482)
    2014-03-07 15:07:56 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:07:56 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:07:56 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322485)
    2014-03-07 15:08:04 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:08:04 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:08:04 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322489)
    2014-03-07 15:09:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322495)
    2014-03-07 15:09:15 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:15 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:15 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322497)
    2014-03-07 15:09:19 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:19 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:19 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322500)
    2014-03-07 15:09:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:28 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:28 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322502)
    2014-03-07 15:09:43 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:43 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:43 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322504)
    2014-03-07 15:09:48 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:48 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:48 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322506)
    2014-03-07 15:09:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:52 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:52 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322508)
    2014-03-07 15:13:59 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322519-2" ("value" varchar UNIQUE)
    2014-03-07 15:13:59 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:13:59 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322519-2" ("value" varchar UNIQUE)
    2014-03-07 15:14:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:14:11 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:14:11 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322522)
    2014-03-07 15:15:40 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:40 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:15:41 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322586-2" ("value" varchar UNIQUE)
    2014-03-07 15:15:41 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:15:41 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322586-2" ("value" varchar UNIQUE)
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:10 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:16:10 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:16:10 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322599)
    2014-03-07 15:16:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:16:47 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:16:47 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:52 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:16:52 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:16:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:16:53 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:01 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:01 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:01 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:14 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:14 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:14 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:17:26 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:26 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:26 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:31 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:31 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:31 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:18:00 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:18:00 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:18:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:18:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:18:01 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:18:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:19:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:20:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:20:16 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:20:16 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322639)
    2014-03-07 15:20:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:20:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:20:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:20:26 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322641)
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:21:11 NZDTLOG:  connection authorized: user=_devicemgr database=postgres
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  received smart shutdown request
    2014-03-07 15:21:14 NZDTLOG:  autovacuum launcher shutting down
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "system_applications" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "assets" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "devices" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "vpp_products" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "library_items_assets" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "its_accounts" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "profile_substitution_caches" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  shutting down
    '/Library/Server/ProfileManager/Data/PostgreSQL/pg_xlog/0000000100000001000000D0 ' ... '/Library/Server/ProfileManager/Data/backup/0000000100000001000000D0'
    2014-03-07 15:21:14 NZDTLOG:  database system is shut down
    '/Library/Server/ProfileManager/Data/PostgreSQL/pg_xlog/0000000100000001000000D0 ' --> '/Library/Server/ProfileManager/Data/backup/0000000100000001000000D0'
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  database system was shut down at 2014-03-07 15:21:14 NZDT
    2014-03-07 15:22:15 NZDTFATAL:  the database system is starting up
    2014-03-07 15:22:15 NZDTFATAL:  the database system is starting up
    2014-03-07 15:22:15 NZDTLOG:  autovacuum launcher started
    2014-03-07 15:22:15 NZDTLOG:  database system is ready to accept connections
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:16 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:22:16 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:20 NZDTLOG:  replication connection authorized: user=_devicemgr
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "system_applications" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "assets" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "devices" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "vpp_products" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "library_items_assets" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "its_accounts" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "profile_substitution_caches" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322725-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:25 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:22:25 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322725-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:35 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322728-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:35 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:22:35 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322728-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_18"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:23:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:23:11 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:23:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:23:11 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:23:11 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322766-2" ("value" varchar UNIQUE)
    2014-03-07 15:23:12 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:23:12 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322766-2" ("value" varchar UNIQUE)
    2014-03-07 15:24:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:24:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:24:14 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322870)
    2014-03-07 15:27:19 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322874-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:19 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:27:19 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322874-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:52 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322875-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:27:52 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322875-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:15 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:28:16 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322881-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:28:16 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322881-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:28:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:28:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322886)
    2014-03-07 15:29:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:16 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:16 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322888)
    2014-03-07 15:29:23 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:23 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:23 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322890)
    2014-03-07 15:29:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:28 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:28 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322892)
    2014-03-07 15:29:38 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:38 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:38 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322894)
    2014-03-07 15:34:34 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:34 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:34 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322921)
    2014-03-07 15:34:45 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:45 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:45 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322923)
    2014-03-07 15:34:49 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:49 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:49 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322927)
    2014-03-07 15:34:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:52 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:52 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322929)
    2014-03-07 15:35:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:11 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:11 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322931)
    2014-03-07 15:35:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:14 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322933)
    2014-03-07 15:35:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322936)
    2014-03-07 15:35:58 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:58 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:58 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322939)
    2014-03-07 15:36:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:01 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322941)
    2014-03-07 15:36:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322944)
    2014-03-07 15:36:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322945)
    2014-03-07 15:36:12 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:12 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:12 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322948)
    2014-03-07 15:36:23 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:23 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:23 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322950)
    2014-03-07 15:36:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:26 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322952)
    2014-03-07 15:36:42 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:42 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:42 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322954)
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  connection authorized: user=_devicemgr database=postgres
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTLOG:  received smart shutdown request
    2014-03-07 15:40:58 NZDTLOG:  autovacuum launcher shutting down
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTL

  • AFP / Profile Manager / Wiki problems Lion OSx 10.8.5 Server 2.2.2

    I experience strange problems with our AFP sessions after upgrading to 10.8.5 / 2.2.2 where sessions will hang and a second session is opened. Users log out correctly. Seems that iMacs coming out of sleep mode are having this issue more then the ones with sleep disabled.
    Most of the time I can solve the issue by having the user logout and then disconnect all the specific sessions in the server.app but sometimes I have to completely disable AFP and enable it again to solve the problem, this action has a lot of impact on th businees though. It also happens that only one session is shown but files remain locked as if there was another session still open.
    All my users have their profile on the server so when this happens they cannot open mail etc. due to files being in use by the 'hanging' session already.
    The AFP error log does not show me any errors at all, other then the shutdowns of AFP to make it all work again:
    Oct  9 11:36:00 proserver AppleFileServer[1176] <Info>: Server shut down.
    Oct 11 10:15:38 proserver AppleFileServer[1022] <Info>: Server shut down.
    Oct 12 12:43:25 proserver AppleFileServer[35223] <Info>: Server shut down.
    Oct 14 13:30:39 proserver AppleFileServer[53368] <Info>: Server shut down.
    Oct 15 09:52:02 proserver AppleFileServer[52848] <Info>: Server shut down.
    Since the upgrade I also have a non-working Profile manager / Wiki with the infamous "Error reading settings" error. For this I see the following errors in the logs:
    Oct 15 14:07:14 proserver.repod.nl Server[23468]: Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_devicemgr'. Error: Error Domain=servermgr_devicemgr Code=1 "PrepareDatabase: 'devicemgrd -migrate' status = 1" UserInfo=0x7fd70ee67bb0 {NSLocalizedDescription=PrepareDatabase: 'devicemgrd -migrate' status = 1}
    d[1] (com.apple.postgres[28978]): Exited with code: 1
    Oct 15 14:07:16 proserver com.apple.launchd[1] (com.apple.postgres): Throttling respawn: Will start in 10 seconds
    Oct 15 14:07:17 proserver ProfileManager[28974]: Retry #1 of database migration...
    Oct 15 14:07:19 proserver ProfileManager[28974]: Retry #2 of database migration...
    Oct 15 14:07:21 proserver ProfileManager[28974]: Retry #3 of database migration...
    Oct 15 14:07:22 proserver ProfileManager[28974]: Retry #4 of database migration...
    This is a production server with 12 people using it daily so for me it is not the first option to take the server down and start hassling with it so I would be pleased if someone could help me to sort these issues without having to interrupt the day2day business here.
    If any more information is needed, please let me know, I'll be more then happy to supply it.

    Dear Alfi66, i have same issue as yours. Do you have any progress with resolving it?

  • Folder Redirection in Profile Manager

    Hi,
    We are currently using the Preference editor in Work Group Manger to redirect folders (com.apple.MCXRedirector), now that WGM is becoming obsolete is there a way of setting this up using Profile Manager?
    Many Thanks

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>LoginRedirection</key>
      <array>
      <dict>
      <key>action</key>
      <string>deleteAndCreateSymLink</string>
      <key>destPath</key>
      <string>/tmp/%@/Library/Application Support</string>
      <key>path</key>
      <string>~/Library/Application Support</string>
      </dict>
      </array>
      <key>LogoutRedirection</key>
      <array>
      <dict>
      <key>action</key>
      <string>deleteandCreateSymLink</string>
      <key>destPath</key>
      <string>/tmp/%@/Library/Application Support</string>
      <key>path</key>
      <string>~/Library/Application Support</string>
      </dict>
      </dict>
      </array>
    </dict>
    </plist>

  • How to add keynote, numbers and pages to profile manager

    Hi
    I'm using the app Profile Manager on a Mac Mini with OS X Server Mavericks.
    I don't want to install Pages, Numbers and Keynote on this server but I would want to install those apps om my iMacs.
    Can someone tell me how I can achieve this?
    I'm from Belgium and at the moment of speaking the VPP isn't avaible to me.

    Best practice without VPP is to deploy a copy of every app via Apple Remote Desktop, assuming that you have the correct number of licenses.
    You can still buy them at the Apple BE Business Store ...
    For example, Pages :
    1-19 seats : http://store.apple.com/be-nl-business/product/D6101ZM/A/pages?fnode=000104090a
    20+ seats : http://store.apple.com/be-nl-business/product/D6012ZM/A/volumelicenties-voor-pag es-vanaf-20-seats?fnode=000104090a

Maybe you are looking for

  • How can I prevent Firefox from opening the file I create when I print a page with PDF Create! 5

    After I print a web page using PDF Create! 5, Firefox opens the file so i can view it. Before I print, I select print properties and disable "view resulting pdf". However, the file is always opened in Adobe Acrobat, although I believe I have Adobe Re

  • Error while creating relational connection

    HI Experts, I used the Information Design Tool to create a relational conncetion to a SAP BW cube. Above this I created the data foundation and then the business layer (universe). Creation of connection and universe works, but in the IDT when I click

  • How to connect to a hard drive on a internet box (afp ?)

    hello everyone I have a problem since I am on Lion with my internet box. I pluged a hard drive on it. On my others computers (on Windows, icluding my mac with bootcamp) The Lion is unable to connect the HD. I can see it on my finder (but not everytim

  • Use macbook pro as a monitor

    Can I use my Macbook Pro as a monitor for my G4 tower? I am trying to see if the existing monitor I have is causing my kernal panics on my G4 tower....

  • Disk utilities, safari, any installer will not load

    when I go to use disk utilities it wont load, I ran start up disk to repair persmissions but still when I restart and try opening programs such as safari, or disk utilities, or installers to upgrade to os 10.3.9 they just speed the wheel of death, I'