We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40735
    • 119 Posts
    Hi!
    I was trying to install 2.2.6 on a Dreamhost hosted server. I got the following error:

    Warning: session_start() [function.session-start]: open(/tmp/sess_5n6s7qrse8528vg3ulirg63ak2, O_RDWR) failed: Permission denied (13) in /home/iamdave220/robyn.ravenflight.net/setup/index.php on line 32
     
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/iamdave220/robyn.ravenflight.net/setup/index.php:32) in /home/iamdave220/robyn.ravenflight.net/setup/index.php on line 32
    FATAL ERROR: MODX Setup cannot continue.
     
    Make sure your PHP session configuration is valid and working.
     
     
    Warning: Unknown: open(/tmp/sess_5n6s7qrse8528vg3ulirg63ak2, O_RDWR) failed: Permission denied (13) in Unknown on line 0
     
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


    I opened a support ticket with Dreamhost. They told me this:
    Hello David,

    Thanks for contacting support. You would have to install MODx on a VPS or
    a dedicated virtual server. The shared hosting environment doesn't allow
    for root access. You can however, provision a VPS for a one week trial
    period, and use sudo to gain the access you need to install MODx.

    I questioned them on this because I have Revo installed on another domain that I host with them on the same account. They responded thusly:
    The reason I suggested a VPS or Dedicated is because we've run into a few
    customers who installed MODx on their shared, and were hitting memory
    allocation limits for shared hosting. I just wanted to make sure your
    site won't go down due to memory limits.

    However, there are work arounds. I did find this article for you:

    http://rtfm.modx.com/display/revolution20/Server+Requirements

    I ran a check for the user 'iamdave220' and yep, you're already hitting
    procwatch:

    Mar 31 08:06:17 2013 procwatch3 INFO: PID 47158 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:17 2013 procwatch3 INFO: PID 56152 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:17 2013 procwatch3 INFO: PID 56180 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:17 2013 procwatch3 INFO: PID 56179 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:17 2013 procwatch3 INFO: PID 56184 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:17 2013 procwatch3 INFO: PID 56181 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 56177 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 56185 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 56182 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 56183 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 57152 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 57153 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 57165 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 56178 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 57159 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:27 2013 procwatch3 INFO: PID 57170 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 08:06:37 2013 procwatch3 INFO: PID 57167 (php53.cgi)
    iamdave220:pg1980292
    Mar 31 11:09:26 2013 procwatch3 INFO: PID 41650 (php53.cgi)
    iamdave220:pg1980292

    That's why I suggested a VPS. MODx is notorious for memory consumption:

    https://forums.modx.com/index.php?topic=63714.0;wap2

    I'm not convinced they know what they're talking about. Anyone have any input?
      • 22303 MODX Staff
      • 10,725 Posts
      How many Resources in your site?
        • 40735
        • 119 Posts
        Well, none in this one. The installation won't proceed. There are seven in the other site that's hosted with them.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Odd that other hosting companies don't seem to have this problem. SkyToaster, for example, has inexpensive shared hosting and fully supports Revo. In fact, the SkyToaster site itself is on Revo.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 40735
            • 119 Posts
            I tried to run the install again today and it worked this time. I think they were blowing smoke and whatever the real problem was, it's been fixed now.
              • 3749
              • 24,544 Posts
              I would check the memory limit they impose. If it's low, you might want to switch hosts.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 40735
                • 119 Posts
                I'm not sure how to check it but I want to switch anyway. My Dreamhost sites are sloooooow.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  SkyToaster is good, and certainly not expensive. I'm sure you've seen AMDBuilder (Patrick) from SkyToaster is very active on the forums here.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 40735
                    • 119 Posts
                    I have seen that. Given that he/they are part of the community, I would assume that MODx should run well on their servers, yes?
                      • 3749
                      • 24,544 Posts
                      Absolutely.
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting