Welcome, Guest
Please Login or Register.
Lost Password?
How to debug virtual server creation? (1 viewing)
Post Reply

TOPIC: How to debug virtual server creation?

#4527
DanielPacker (User)
Posts: 20
graphgraph
How to debug virtual server creation? 2007/04/10 15:15  
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
  The administrator has disabled public write access.
#4528
DanielPacker (User)
Posts: 20
graphgraph
Re: How to debug virtual server creation? 2007/04/10 15:49  
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.
  The administrator has disabled public write access.
#4529
DanielPacker (User)
Posts: 20
graphgraph
Re: How to debug virtual server creation? 2007/04/10 16:08  
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.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.