Virtualmin cannot create subserver document root

7 posts / 0 new
Last post
#1 Sat, 10/15/2011 - 14:09
et100

Virtualmin cannot create subserver document root

Hi! First of all, thank you for such great program!

With many hours of trial-and-error, I've managed to successfully created a virtual server. Now, I wanted to create something like sub1.mydomain.com - so I decided to create a subserver under a virtual server.

Virtualmin does not show any error messages. Everything is well, except the fact that even though Virtualmin reports

/home/mydomain/domains/sub1.mydomain.com/public_html

exists, it really does not.

In simple words, Virtualmin cannot create folders for subservers.

I'm wondering if it's due to my server's permission or wrong nameserver settings, or etc.

I'd appreciate any input. Thank you!

NOTE: Here's my setup OpenVZ VPS Centos 6 64-bit Apache

Sat, 10/15/2011 - 14:40
andreychek

Howdy,

Well, we've run into a lot of strange problems on OpenVZ-based systems due to how it handles memory management... it's possible that's what you're running into.

Can you paste in the contents of your /proc/user_beancounters file?

Also, what does "free -m" show on your server?

Lastly, does the domain "/home/mydomain/" exist?

-Eric

Sat, 10/15/2011 - 15:02
et100

Thank you for the quick reply!

While I was waiting, I rebooted my server and tried again. This time, Virtualmin successfully created "/home/mydomain" folder with all the correct path.

Now the problem is that the subdomain isn't connecting at all. No error messages, nothing. Whole new set of problem. :(

Should I still copy/past those infos that you requested? Or is this a whole different problem now?

Sat, 10/15/2011 - 15:06
andreychek

While the issues you're seeing seem unrelated -- it's possible they share the same underlying cause... and your /proc/user_beancounters and free -m output may show if that's the case.

Thanks!

Sat, 10/15/2011 - 15:11
et100
             total       used       free     shared    buffers     cached
Mem:           384        233        151          0          0        124
-/+ buffers/cache:        108        275
Swap:          128          5        122



Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
     2774:  kmemsize                 14472859             47886336  9223372036854775807  9223372036854775807                    0
            lockedpages                     0                 1000  9223372036854775807  9223372036854775807                    0
            privvmpages                 68079               227281  9223372036854775807  9223372036854775807                    0
            shmpages                     1189                 8043  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        42                   93  9223372036854775807  9223372036854775807                    0
            physpages                   56877               109899                    0                98304                    0
            vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
            oomguarpages                21318                89025  9223372036854775807  9223372036854775807                    0
            numtcpsock                     16                   47  9223372036854775807  9223372036854775807                    0
            numflock                        9                   28  9223372036854775807  9223372036854775807                    0
            numpty                          0                    2  9223372036854775807  9223372036854775807                    0
            numsiginfo                      0                   45  9223372036854775807  9223372036854775807                    0
            tcpsndbuf                  285712              1044352  9223372036854775807  9223372036854775807                    0
            tcprcvbuf                  262144              7634904  9223372036854775807  9223372036854775807                    0
            othersockbuf               143344               337568  9223372036854775807  9223372036854775807                    0
            dgramrcvbuf                     0                17440  9223372036854775807  9223372036854775807                    0
            numothersock                  124                  223  9223372036854775807  9223372036854775807                    0
            dcachesize                7268788             39440102  9223372036854775807  9223372036854775807                    0
            numfile                       835                 1900  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      24                  641  9223372036854775807  9223372036854775807                    0

Thank you. I really appreciate it! :)

Sat, 10/15/2011 - 19:43
andreychek

Hrm, my hunch is that you're hitting resource limits of some kind... but I'm not sure which ones exactly, and they aren't showing up as I'd have hoped in your user_beancounters file.

What output do you receive if you run the command "dmesg | tail -30"?

Also, when you say the subdomain isn't connecting -- what do you mean exactly... can you describe what you're trying, and what happens when you try?

-Eric

Mon, 10/17/2011 - 20:58
et100

Sorry for the late update. I just decided to go with Centos 6.0 32-bit. Killed all the unused services, moved my DNS service to other servers; now everything works correctly.

I also noticed that the 32bit OS + VirtualMin/Webmin combo uses less memory for my setup.

Thank you for such great software!

Topic locked