How to debug virtual server creation?

3 posts / 0 new
Last post
#1 Tue, 04/10/2007 - 15:15
DanielPacker

How to debug virtual server creation?

I upgraded from Debian Sarge to Debian Etch now that Etch is stable, so I expected a couple of things to break. So far the only major problem is creating new Virtual Servers.

All is fine until:

... omitted ...

Adding Apache user www-data to server's group .. .. done

Setting up scheduled Webalizer reporting .. .. Webalizer reporting failed! : Missing file to open at virtual_server::/usr/share/webmin/web-lib-funcs.pl line 1917 at /usr/share/webmin/web-lib-funcs.pl line 951.

Setting up log file rotation .. .. Log file rotation failed! : Missing file to open at virtual_server::/usr/share/webmin/web-lib-funcs.pl line 1917 at /usr/share/webmin/web-lib-funcs.pl line 951.

Creating MySQL login ..

Then it gets stuck. Everything is done except the mysql user doesn't have create user privs and the virtual server record isn't complete. The user, home dir, virtual server, dns entry, is there, however.

Anyone have any ideas on how to debug this? Nothing in the mysql logs, system logs, etc. I scoured around and found nothing to help me out in fixing this.

Thanks!

PS. I'm on Debian 4.0, Webmin version 1.337, Virtualmin version 3.38

Tue, 04/10/2007 - 15:49
DanielPacker

I narrowed it down to the mysql database creation. I disabled mysql in features, and the virtual server was created successfully.

When I go to enable mysql, I get the same problem. The user is created, but without any permissions, and no database is created.

I'm not seeing anything useful for debugging. Any ideas? Thanks.

Tue, 04/10/2007 - 16:08
DanielPacker

After a reboot the problem seems to have gone away.

An odd thing though. The /home/USER/etc directory isn't present until I hit "save" in the website options screen. And until I do that I can't get php working (via the etc/php.ini file). Now that I know how to do it it's simple, but it's odd workflow.

Anyway, problem solved for now.

Topic locked