OSX Server Ruby device manager hogging RAM

I am running OSX Server (10.8.4 Server 2.2.1) on an iMac 8,1 (2.66 GHz Intel Core 2 Duo 6 GB RAM). In looking at the Activity Monitor I have 13 and sometimes more "ruby _devicemgr" Processes running that use about 75 MB of RAM each. That is close to 1/6 th of my total RAM. Is this normal? Are there settings that I can use/not use to reduce these processes? Since the Tech Specs only call for 2 GB of RAM (I know it's a minimum req) it seems a bit strange that ruby should be getting so much RAM.

In case anyone else comes here looking for a solution,and the above doesn't work for them. I was trying to resolve the repeated instances of this in my log file, plus the effects of not having postgres running. I'm on OS X Lion Server, 10.7.5, on an XServe.
org.postgresql.postgres[18789]: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
com.apple.launchd[1] (org.postgresql.postgres[18789]): Exited with code: 2
com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
I ran these commands:
sudo chmod 777 /var
sudo mv /var/pgsql /var/pgsql.OLD
sudo -u _postgres  /usr/bin/pg_ctl initdb -D /var/pgsql
sudo chmod 755 /var
This initialized the postgres setup and everything seems to be running happily now.

Similar Messages

  • Hp device manager Taxing Ram

    Hi I have an HP Printer that requires me to run the HP Device Manager. My issue is that it is taxing my CPU % it runs anywhere between 90% to 200% even higher some times and is using up 2.93 GB of my Vertual Memory.
    Does anyone know what may be going wrong to fix this issue?? I can turn it off but it's not a very long term solution to have to remember that all the time.
    Your help is appreciated.

    Are you sure you need it to use the Printer?
    A few workarounds here, possible solutions, not certain...
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/HP-Device-Monitor-takes-1 30-of-CPU-and-800MB-of-RAM-while-idle/td-p/655701/page/6

  • Need help with OSx server and profile manager

    I messed up my OS X server and seems like it has stopped working.
    I cannot access my server remotely or locally and it shows Safari cannot connect to server.
    I made mistake resetting keychain to default and all certificates were missing.I restored system.keychain from time machine but not it won't run.
    System log shows
    ec 30 18:31:25 mdmserver.medicalpharmacies.com certadmin[14697]: BundleManager(non-plugin calling servermgr_certs): doCommand finished reply = {
         error = <62706c69 73743030 d4010203 04050625 26582476 65727369 6f6e5824 6f626a65 63747359 24617263 68697665 72542474 6f701200 0186a0a8 07081112 1a1b1c22 55246e75 6c6cd409 0a0b0c0d 0e0f1056 4e53436f 64655a4e 53557365 72496e66 6f584e53 446f6d61 696e5624 636c6173 7311138a 80038002 80075f10 19636f6d 2e617070 6c652e73 65727665 726d6772 5f636572 7473d313 140c1517 19574e53 2e6b6579 735a4e53 2e6f626a 65637473 a1168004 a1188005 80065f10 164e534c 6f63616c 697a6564 44657363 72697074 696f6e5f 1032556e 61626c65 20746f20 66696e64 20706173 73706872 61736520 666f7220 6578706f 72746564 20707269 76617465 206b6579 d21d1e1f 205a2463 6c617373 6e616d65 5824636c 61737365 735c4e53 44696374 696f6e61 7279a21f 21584e53 4f626a65 6374d21d 1e232457 4e534572 726f72a2 23215f10 0f4e534b 65796564 41726368 69766572 d1272854 726f6f74 80010008 0011001a 0023002d 00320037 00400046 004f0056 0061006a 00710074 00760078 007a0096 009d00a5 00b000b2 00b400b6 00b800ba 00d30108 010d0118 0121012e 0131013a 013f0147 014a015c 015f0164 00000000 00000201 00000000 00000029 00000000 00000000 00000000 00000166>;
         errorCode = 5002;
         errorDescription = "Unable to find passphrase for exported private key";
    Dec 30 18:31:25 mdmserver com.apple.xpc.launchd[1] (org.apache.httpd[14695]): Service exited with abnormal code: 1
    Dec 30 18:31:25 mdmserver com.apple.xpc.launchd[1] (org.apache.httpd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

    Hi!
    Do you have a time machine backup? What you can try to do is a full restore on a testmachine or a VM and export the old keychain and import it into your broken server:
    Passwords:
    http://www.icreatemagazine.com/tips/os-x-tutorial-how-to-transfer-keychain-data- between-macs/
    Certs:
    https://www.racf.bnl.gov/docs/howto/grid/osxcertmgmt
    Good luck!

  • OSX Server 10.7 work group manager duplicating printers is OSX 10.7 MBP 15"

    Hello Everyone,
    I run the mac environment for a K-12 school. We use open directory and work group manager to manage the environment. Its always worked great up until we got our new Macbook Pros, and now our managed printers are duplicating everytime a network user logs in.
    Its crazy. 3 logins has resulted in 9 printers being pushed to the machine. Any ideas?
    OSX Server build 11g63 managing Client OSX Build 11g63b.
    Regards,
    Carl

    I think I resolved the issue by deleting the offending printers off the xserve and re-adding them 1 at a time.
    Then i opened up OD/WGM and added the printers to the managed printers list 1 at a time. I'd add one, login to the client machine 3 times to make sure it stopped replicating, and move on to the next printer.

  • IOS Mobile Device Management - The SCEP server returned an invalid response

    I am in the process of writing an open source iOS mobile device management module in Java. For this I am referring the Apple provided Ruby code at [1]. I have set this up and it works fine for me. Now I need to convert this code to Java. So far I have accomplished to do that up to PKIOperation. In the PKI operation I get "The SCEP server returned an invalid response" which I believe is due to wrong response I sent to device upon PKIOperation.
    However when I do search on the internet I get this is something to do with the "maxHttpHeaderSize" as I am using the server as Apache Tomcat. Although I increase that since still it does not get resolved.
    Here is the code I need to convert - taken from Apple provided Ruby script
    if query['operation'] == "PKIOperation"
        p7sign = OpenSSL::PKCS7::PKCS7.new(req.body)
        store = OpenSSL::X509::Store.new
        p7sign.verify(nil, store, nil, OpenSSL::PKCS7::NOVERIFY)
        signers = p7sign.signers
        p7enc = OpenSSL::PKCS7::PKCS7.new(p7sign.data)
        csr = p7enc.decrypt(@@ra_key, @@ra_cert)
        cert = issueCert(csr, 1)
        degenerate_pkcs7 = OpenSSL::PKCS7::PKCS7.new()
        degenerate_pkcs7.type="signed"
        degenerate_pkcs7.certificates=[cert]
        enc_cert = OpenSSL::PKCS7.encrypt(p7sign.certificates, degenerate_pkcs7.to_der,
            OpenSSL::Cipher::Cipher::new("des-ede3-cbc"), OpenSSL::PKCS7::BINARY)
        reply = OpenSSL::PKCS7.sign(@@ra_cert, @@ra_key, enc_cert.to_der, [], OpenSSL::PKCS7::BINARY)
        res['Content-Type'] = "application/x-pki-message"
        res.body = reply.to_der
    end
    So this is how I written this in Java using Bouncycastle library.
    X509Certificate generatedCertificate = generateCertificateFromCSR(
                    privateKeyCA, certRequest, certCA.getIssuerX500Principal()
                            .getName());
            CMSTypedData msg = new CMSProcessableByteArray(
                    generatedCertificate.getEncoded());
            CMSEnvelopedDataGenerator edGen = new CMSEnvelopedDataGenerator();
            edGen.addRecipientInfoGenerator(new JceKeyTransRecipientInfoGenerator(
                    receivedCert).setProvider(AppConfigurations.PROVIDER));
            CMSEnvelopedData envelopedData = edGen
                    .generate(
                            msg,
                            new JceCMSContentEncryptorBuilder(
                                    CMSAlgorithm.DES_EDE3_CBC).setProvider(
                                    AppConfigurations.PROVIDER).build());
            CMSSignedDataGenerator gen = new CMSSignedDataGenerator();
            ContentSigner sha1Signer = new JcaContentSignerBuilder(
                    AppConfigurations.SIGNATUREALGO).setProvider(
                    AppConfigurations.PROVIDER).build(privateKeyRA);
            List<X509Certificate> certList = new ArrayList<X509Certificate>();
            CMSTypedData cmsByteArray = new CMSProcessableByteArray(
                    envelopedData.getEncoded());
            certList.add(certRA);
            Store certs = new JcaCertStore(certList);
            gen.addSignerInfoGenerator(new JcaSignerInfoGeneratorBuilder(
                    new JcaDigestCalculatorProviderBuilder().setProvider(
                            AppConfigurations.PROVIDER).build()).build(
                    sha1Signer, certRA));
            gen.addCertificates(certs);
            CMSSignedData sigData = gen.generate(cmsByteArray, true);
            return sigData.getEncoded();
    The returned result here will be output in to the servlet output stream with the content type "application/x-pki-message".
    It seems I get the CSR properly and I generate the X509Certificate using following code.
    public static X509Certificate generateCertificateFromCSR(
            PrivateKey privateKey, PKCS10CertificationRequest request,
            String issueSubject) throws Exception {
        Calendar targetDate1 = Calendar.getInstance();
        targetDate1.setTime(new Date());
        targetDate1.add(Calendar.DAY_OF_MONTH, -1);
        Calendar targetDate2 = Calendar.getInstance();
        targetDate2.setTime(new Date());
        targetDate2.add(Calendar.YEAR, 2);
        // yesterday
        Date validityBeginDate = targetDate1.getTime();
        // in 2 years
        Date validityEndDate = targetDate2.getTime();
        X509v3CertificateBuilder certGen = new X509v3CertificateBuilder(
                new X500Name(issueSubject), BigInteger.valueOf(System
                        .currentTimeMillis()), validityBeginDate,
                validityEndDate, request.getSubject(),
                request.getSubjectPublicKeyInfo());
        certGen.addExtension(X509Extension.keyUsage, true, new KeyUsage(
                KeyUsage.digitalSignature | KeyUsage.keyEncipherment));
        ContentSigner sigGen = new JcaContentSignerBuilder(
                AppConfigurations.SHA256_RSA).setProvider(
                AppConfigurations.PROVIDER).build(privateKey);
        X509Certificate issuedCert = new JcaX509CertificateConverter()
                .setProvider(AppConfigurations.PROVIDER).getCertificate(
                        certGen.build(sigGen));
        return issuedCert;
    The generated certificate commonn name is,
    Common Name: mdm(88094024-2372-4c9f-9c87-fa814011c525)
    Issuer: mycompany Root CA (93a7d1a0-130b-42b8-bbd6-728f7c1837cf), None
    [1] - https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/iPhoneOTAConfiguration/Introduction/Introduction.html

    I am in the process of writing an open source iOS mobile device management module in Java. For this I am referring the Apple provided Ruby code at [1]. I have set this up and it works fine for me. Now I need to convert this code to Java. So far I have accomplished to do that up to PKIOperation. In the PKI operation I get "The SCEP server returned an invalid response" which I believe is due to wrong response I sent to device upon PKIOperation.
    However when I do search on the internet I get this is something to do with the "maxHttpHeaderSize" as I am using the server as Apache Tomcat. Although I increase that since still it does not get resolved.
    Here is the code I need to convert - taken from Apple provided Ruby script
    if query['operation'] == "PKIOperation"
        p7sign = OpenSSL::PKCS7::PKCS7.new(req.body)
        store = OpenSSL::X509::Store.new
        p7sign.verify(nil, store, nil, OpenSSL::PKCS7::NOVERIFY)
        signers = p7sign.signers
        p7enc = OpenSSL::PKCS7::PKCS7.new(p7sign.data)
        csr = p7enc.decrypt(@@ra_key, @@ra_cert)
        cert = issueCert(csr, 1)
        degenerate_pkcs7 = OpenSSL::PKCS7::PKCS7.new()
        degenerate_pkcs7.type="signed"
        degenerate_pkcs7.certificates=[cert]
        enc_cert = OpenSSL::PKCS7.encrypt(p7sign.certificates, degenerate_pkcs7.to_der,
            OpenSSL::Cipher::Cipher::new("des-ede3-cbc"), OpenSSL::PKCS7::BINARY)
        reply = OpenSSL::PKCS7.sign(@@ra_cert, @@ra_key, enc_cert.to_der, [], OpenSSL::PKCS7::BINARY)
        res['Content-Type'] = "application/x-pki-message"
        res.body = reply.to_der
    end
    So this is how I written this in Java using Bouncycastle library.
    X509Certificate generatedCertificate = generateCertificateFromCSR(
                    privateKeyCA, certRequest, certCA.getIssuerX500Principal()
                            .getName());
            CMSTypedData msg = new CMSProcessableByteArray(
                    generatedCertificate.getEncoded());
            CMSEnvelopedDataGenerator edGen = new CMSEnvelopedDataGenerator();
            edGen.addRecipientInfoGenerator(new JceKeyTransRecipientInfoGenerator(
                    receivedCert).setProvider(AppConfigurations.PROVIDER));
            CMSEnvelopedData envelopedData = edGen
                    .generate(
                            msg,
                            new JceCMSContentEncryptorBuilder(
                                    CMSAlgorithm.DES_EDE3_CBC).setProvider(
                                    AppConfigurations.PROVIDER).build());
            CMSSignedDataGenerator gen = new CMSSignedDataGenerator();
            ContentSigner sha1Signer = new JcaContentSignerBuilder(
                    AppConfigurations.SIGNATUREALGO).setProvider(
                    AppConfigurations.PROVIDER).build(privateKeyRA);
            List<X509Certificate> certList = new ArrayList<X509Certificate>();
            CMSTypedData cmsByteArray = new CMSProcessableByteArray(
                    envelopedData.getEncoded());
            certList.add(certRA);
            Store certs = new JcaCertStore(certList);
            gen.addSignerInfoGenerator(new JcaSignerInfoGeneratorBuilder(
                    new JcaDigestCalculatorProviderBuilder().setProvider(
                            AppConfigurations.PROVIDER).build()).build(
                    sha1Signer, certRA));
            gen.addCertificates(certs);
            CMSSignedData sigData = gen.generate(cmsByteArray, true);
            return sigData.getEncoded();
    The returned result here will be output in to the servlet output stream with the content type "application/x-pki-message".
    It seems I get the CSR properly and I generate the X509Certificate using following code.
    public static X509Certificate generateCertificateFromCSR(
            PrivateKey privateKey, PKCS10CertificationRequest request,
            String issueSubject) throws Exception {
        Calendar targetDate1 = Calendar.getInstance();
        targetDate1.setTime(new Date());
        targetDate1.add(Calendar.DAY_OF_MONTH, -1);
        Calendar targetDate2 = Calendar.getInstance();
        targetDate2.setTime(new Date());
        targetDate2.add(Calendar.YEAR, 2);
        // yesterday
        Date validityBeginDate = targetDate1.getTime();
        // in 2 years
        Date validityEndDate = targetDate2.getTime();
        X509v3CertificateBuilder certGen = new X509v3CertificateBuilder(
                new X500Name(issueSubject), BigInteger.valueOf(System
                        .currentTimeMillis()), validityBeginDate,
                validityEndDate, request.getSubject(),
                request.getSubjectPublicKeyInfo());
        certGen.addExtension(X509Extension.keyUsage, true, new KeyUsage(
                KeyUsage.digitalSignature | KeyUsage.keyEncipherment));
        ContentSigner sigGen = new JcaContentSignerBuilder(
                AppConfigurations.SHA256_RSA).setProvider(
                AppConfigurations.PROVIDER).build(privateKey);
        X509Certificate issuedCert = new JcaX509CertificateConverter()
                .setProvider(AppConfigurations.PROVIDER).getCertificate(
                        certGen.build(sigGen));
        return issuedCert;
    The generated certificate commonn name is,
    Common Name: mdm(88094024-2372-4c9f-9c87-fa814011c525)
    Issuer: mycompany Root CA (93a7d1a0-130b-42b8-bbd6-728f7c1837cf), None
    [1] - https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/iPhoneOTAConfiguration/Introduction/Introduction.html

  • OSX Server 10.8.5 (Server 2.2.1) Profile Manager

    Hello all, wondering if somebody can help.  I have a Mac Mini server (2011) running OSX Server 10.8.5 (Server 2.2.1).  I have a fully signed Certificate for the Web/OD services etc.. and its using the self assigned certificate for Profile manager.  Profile manager is running and I can add place holders for iPads, users/groups and apps etc...  Problem is the iPads running iOS6 and 7 simply will not enrol.  You goto the servers web page, then profile manager my devices and it downloads the trust certificate fine.  You click enroll and you see the browser access OTA BOOTSTRAP or something (it goes off way to quick) and does nothing.  If I try and use the Enrollment Profile I get "The Profile SECENROLL com.apple.ota blah blah blah .bootstrap could not be installed due to an unexpected error.  Can anybody help?

    Hello all, wondering if somebody can help.  I have a Mac Mini server (2011) running OSX Server 10.8.5 (Server 2.2.1).  I have a fully signed Certificate for the Web/OD services etc.. and its using the self assigned certificate for Profile manager.  Profile manager is running and I can add place holders for iPads, users/groups and apps etc...  Problem is the iPads running iOS6 and 7 simply will not enrol.  You goto the servers web page, then profile manager my devices and it downloads the trust certificate fine.  You click enroll and you see the browser access OTA BOOTSTRAP or something (it goes off way to quick) and does nothing.  If I try and use the Enrollment Profile I get "The Profile SECENROLL com.apple.ota blah blah blah .bootstrap could not be installed due to an unexpected error.  Can anybody help?

  • Managing a remote unix box with OSX server apps...

    Aside from running an OSX server, I am in charge of maintaining an external, SUN unix server from my Mac, and I hate using line commands, esp. with how jaded I've become using the nice tools for managing the Mac server. For now I use terminal in order to change passwords, set permissions and so on as the sudo user on the unix box, and use rbrowser to edit cron jobs.
    So, my question is, is there a way to get the OSX server admin tool to think the unix box is an OSX server? And if not, is there a graphical interface to maintain the server (it's running Apache too)? Rbrowser is cool and all, but doesn't let me use sudo for making chnages.
    Thanks for any help.
    Greg

    Bummer about not having the Mac feel on SUN. Life can't always be perfect.
    As far as the Webmin, no, haven't heard of it, but it sounds cool. The trick would be getting a huge client like SD County to let us buy it, then go through all the hoops and red tape to get it installed. Most likely their answer would be "Well, what have you been using this whole time and why isn't that good enough now all of a sudden?".
    So for the time being, I'l have to be happy using RBrowser for file transfers between the test and production servers (beats the pants off of typing scp -p -i over and over again) and editing cron scripts. Too bad it doesn't provide sudo for changing passwords, groups, and so forth.
    I'm this close to having the perfect work environment (the office I work in was all Windows with Dell laptops...until now).
    Dual G5 tower   Mac OS X (10.4.6)  

  • Hyper-V Server: How can I update drivers with limited Device Manager access?

    I have a brand new Intel server, SR2625URLX. I want to use Hyper-V server R2. I have been having some issues with the networking, and Intel wants me to update to the latest drivers which have been certified for R2 versions of 2008, Hyper-V, etc. It was a struggle just to get it so I can see the device manager, but come to find out it is read-only when using remotely and there is no local GUI for it. I need to update the drivers. I tried copying the drivers to a share, and running this on both of the inf files thaat were part of the driver set, but the driver did not change (even after a reboot):
    pnputil -i -a <driverinf>
    What else can I do to update the drivers for my NIC's?

    pnputil seems to be the way to go.
    Did you copy the inf files locally?
    If you have any virtual networks defined, you might need to remove them, update the drivers, and then re-create them.
    I am thinking that there might be some device not being identified properly or a file lock.  Also, the drivers must be signed properly or they will not load.
    I just noticed this from the server core list:
    To obtain a list of drivers that are installed on the server running a Server Core installation
     • At a command prompt, type:  sc query type= driver
    http://social.technet.microsoft.com/Forums/en-US/winservercore/thread/d43465c4-66e6-481f-a060-0fba173fbcec
    Also, be aware that Server 2008 certified is not equal to Hyper-V certified - so don't let the tech support person tell you there isn't a difference.
    Brian Ehlert
    (hopefully you have found this useful)

  • Ruby on Rails on OSX Server

    Has any one built or have instructions for installing Ruby on Rails on OSX Server 10.4?
    Do these instructions still apply:
    http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
    And can it play alongside Apache if you use Mongrel as the web server?

    I have been trying for the last couple of weeks to get Ruby on Rails running on OSX Server as well. I followed the instructions on the site you refer to. The whole installation proceeds just fine, I can run my RoR sites locally by running scripts/server, but when trying to access the web site I get a 403 error and the log says "Directory index forbidden by rule".
    I have followed directions from other sites regarding: installing and activating the fastcgi module, setting access rights to various folders and files, modifying the httpd.conf file to allow overwrite all and access to indexes,... No progress. I still can't get the RoR site to work.

  • Info about "Server profile" in Device manager

    I want to update my firmware via over the air to my mobile directly.
    I am using a N73 and N82.
    In device manager of N73, there is a default profile named Nokia.
    I can check for updates with it from my mobile directly.
    But N82 needs to define a server profile. Need ifro for that.
    Please help
    thanks

    T-Mobile  did the same on their custom firmware for N97  and now I find the same on N8
    no server  profile   in the end on my N97 i got so fed up i  changed the product code and got rid off all the T-Mobile nonsense blote-wear and it got me the Server profile.
    I Don't want to hack product code on my N8    in Nokia's online FAQ's is says how to set the server profile but it doesn't seem to work for N8.
    I wish Nokia would stop allowing networks to have custom versions. (let them brand by a theme only)
    Anyone know the Server Profile settings  for N8   ?

  • OS X Server 3 - Profile manager - I can't enroll any iOS devices

    OS X Server 3 - Profile manager - I can't enroll any iOS devices
    I have OS X Server setup on a Mac Mini and an Airport Extreme.
    Airport is 10.0.1.1 and server is 10.0.1.3.
    Server is setup to use DNS itself by server.mydomain.com
    Airport is setup to use the server as DNS and the server then routes DNS queries onward to the internet.
    Essentially anyone on my internal network thinks server.mydomain.com is the server itself. This is what I want.
    From the outside, anyone searching for server.mydomain.com get's some page on a free hosting site with "Server is not accessible from the internet"
    I also use a self-signed certificate to secure communications. It's valid.
    Now this configuration has worked for the past two years. Out of curiosity in Server 3.1.1 I decided to give Profile manager a shot. Set it up, no worries.
    Installed the Trust Profile first and then the Enroll profile. Done.
    I can enroll and wipe, lock any mac in my firm remotely. Everything works, except iOS devices.
    Any iOS device I try it fails at "Installing profile", I tried friend's phones, my own iPad... every iPad in my firm. It fails consistently at the same step, with no error code what so ever.
    Is there  a checklist I need to go through? Do I need some kind of weird certificate setup?
    PS. Is it a problem if my devices are enrolled as development devices, thei UUID is in Apple's device list for beta software and iOS development?

    The Problem is your DNS is being pushed locally to the iOS Device from your Airport Extreme and the DNS on your Airport extreme is undoubtedly a public form of DNS that does not recognize your private server's ip address or HQDN, in Airport Utility point the DNS at your server and let your Server provide the public DNS mapping and allow your Router to provide your Server's DNS.  This should resolve your issue and allow you to enroll your iOS Devices by logging into the Profile Manager Web Portal from the iOS Device. 

  • Early on while configuring the Device Management settings in Profile Manager (Mavericks server) I received an error code -1

    When I started up the Server application, Profile Manager was not selected as expected.  I selected it and started the first step of configuring Device Management in the Settings section.  I entered the organization information and went on to the next step which was to Configure an SSL Certificate
    I selected a "Self Signed" Cert.  Which was the only one of the two choices that made sense.  The other being the, com.deploystudio.server - Self signed
    Hit next and it processed the info and went to "Finish"  I click "Finish" and this is what I get when the setting are confirmed.
    I stopped there since I suspect this error will probably come back to haunt me further down the line as if you recall we could not get the Profile to install due to the invalid cert which I suspect has something to do with this code -1 error at the get go.  I ran the one command line instruction twice to verify this was not a quirk and the same occurred.
    sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB.sh

    Did you ever get this resolved? This error is usually related to DNS, hostname, or Open Directory configuration. Let me know if you still need help.

  • Remove Remote Erase/Lock Right on OS X Server 10.8 Managed Devices?

    Re: Mac OS X Server 2.2.1
    Recently, a friend had his iCloud account hacked into, and all of his devices were wiped and locked. They had to be taken to an Apple Store to be restored.
    To keep this from happening for OS X Server managed devices, is there a way to restrict "Mobile Device Management" Rights, to remove Remote Wipe/Erase/Lock capability?

    Bumping this old thread.  We are a distributed company with independent contractors who enroll in MDM via Profile Manager.  I'd love to disable these features so as to save the time I end up wasting trying to convince people that these "features" are not a threat to them. 
    Up until the recent Server 3.1.1 release, we offered our users the ability to just download the 'Settings for Everyone' profile without actually enrolling the device.  This appeased the most security conscious users who didn't want the scary management privelages looming over them.  As of this latest release, however, it seems this approach does not work any longer.  The settings fail to install.  I should note that we do NOT sign configuration profiles.

  • OSX server workgroup manager Won't allow me to add a group because it thinks there is already one

    OSX server workgroup manager Won't allow me to add a group because it thinks there is already one. Anyone can help with solution.

    Worked it out all I had to do was put workgroup manager into local and delete group/s

  • Device manager and Postgresql error message loop

    Hello,
    I'm on MBP 7,1, 2.4GHz Intel Core 2 Duo, 4GB DDR3 Ram, 500GB hard drive with Lion. After the v10.7.3 update, the console has been putting a looping error message regarding Device manager and PostGre SQL (below). Can anyone help?
    23/02/12 12:47:07.662 PM com.apple.launchd: (org.postgresql.postgres[1110]) Exited with code: 2
    23/02/12 12:47:07.662 PM com.apple.launchd: (org.postgresql.postgres) Throttling respawn: Will start in 10 seconds
    23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Initializing DeviceManagerDaemon with ports 3320,3321,3322,3323 (physmem = 4GB)
    23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Making sure Rails is configured properly
    23/02/12 12:47:13.834 PM com.apple.devicemanager: DEBUG: Running rake command: /usr/bin/rake db:migrate
    23/02/12 12:47:15.044 PM ruby: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
    23/02/12 12:47:15.044 PM ProfileManager: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
    23/02/12 12:47:15.045 PM com.apple.devicemanager: Feb 23 12:47:15 Computer.local ProfileManager[1116] <Error>: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
    23/02/12 12:47:16.449 PM com.apple.devicemanager: rake aborted!
    23/02/12 12:47:16.449 PM com.apple.devicemanager: could not connect to server: No such file or directory
    23/02/12 12:47:16.449 PM com.apple.devicemanager:           Is the server running locally and accepting
    23/02/12 12:47:16.449 PM com.apple.devicemanager:           connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
    23/02/12 12:47:16.450 PM com.apple.devicemanager: (See full trace by running task with --trace)
    23/02/12 12:47:16.461 PM com.apple.devicemanager: (in /usr/share/devicemgr/backend)
    23/02/12 12:47:16.470 PM com.apple.devicemanager: /usr/share/devicemgr/backend/devicemgrd:109:in `rake': Rake command failed with 256 (RuntimeError)
    23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:103:in `setupRails'
    23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:33:in `run'
    23/02/12 12:47:16.470 PM com.apple.devicemanager:           from /usr/share/devicemgr/backend/devicemgrd:131
    23/02/12 12:47:16.470 PM com.apple.launchd: (com.apple.devicemanager[1114]) Exited with code: 1
    23/02/12 12:47:16.470 PM com.apple.launchd: (com.apple.devicemanager) Throttling respawn: Will start in 8 seconds
    23/02/12 12:47:17.682 PM org.postgresql.postgres: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
    23/02/12 12:47:17.682 PM com.apple.launchd: (org.postgresql.postgres[1117]) Exited with code: 2
    23/02/12 12:47:17.682 PM com.apple.launchd: (org.postgresql.postgres) Throttling respawn: Will start in 10 seconds
    23/02/12 12:47:24.482 PM com.apple.devicemanager: DEBUG: Initializing DeviceManagerDaemon with ports 3320,3321,3322,3323 (physmem = 4GB)
    23/02/12 12:47:24.483 PM com.apple.devicemanager: DEBUG: Making sure Rails is configured properly
    23/02/12 12:47:24.483 PM com.apple.devicemanager: DEBUG: Running rake command: /usr/bin/rake db:migrate
    23/02/12 12:47:25.718 PM ruby: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
    23/02/12 12:47:25.718 PM ProfileManager: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)
    23/02/12 12:47:25.718 PM com.apple.devicemanager: Feb 23 12:47:25 Computer.local ProfileManager[1121] <Error>: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)

    In case anyone else comes here looking for a solution,and the above doesn't work for them. I was trying to resolve the repeated instances of this in my log file, plus the effects of not having postgres running. I'm on OS X Lion Server, 10.7.5, on an XServe.
    org.postgresql.postgres[18789]: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
    com.apple.launchd[1] (org.postgresql.postgres[18789]): Exited with code: 2
    com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
    I ran these commands:
    sudo chmod 777 /var
    sudo mv /var/pgsql /var/pgsql.OLD
    sudo -u _postgres  /usr/bin/pg_ctl initdb -D /var/pgsql
    sudo chmod 755 /var
    This initialized the postgres setup and everything seems to be running happily now.

Maybe you are looking for