FreeBSD 7.2 install.sh fails to open /usr/local/etc/webmin/virtual-server/config

Looks like the install.sh script is looking to write to a file in the wrong location.

"Error occured while configuring Virtualmin: Failed to open /usr/local/etc/webmin/virtual-server/config for writing : Bad file descriptor at web-lib-funcs.pl line 1323."

The path /usr/local/etc/webmin/virtual-server/ does not actually exist on the system.

Can someone suggest a workaround? I'll gladly report back the results. Thanks!

Status: 
Closed (fixed)

Comments

Additional info: Some log output before and after if it helps.

... Enabling ProFTPd Enabling SMTP Authentication Configuring Virutalmin Error occured while configuring Virtualmin: Failed to open /usr/local/etc/webmin/virtual-server/config for writing : Bad file descriptor at web-lib-funcs.pl line 1323.

Configuring Procmail ...

Looks like this all occurs here http://software.virtualmin.com/lib/virtualmin-base-standalone.pl

Could you attach the full install output to this bug report?

Attached virtualmin-install log.

Did you perhaps have Webmin already installed on this system before installing Virtualmin?

Also, does the /etc/webmin directory exist?

This was a fresh minimal installation of FreeBSD. The only thing done prior to running the install was a portsnap fetch and extract, install wget from ports, & install postfix from ports.

I don't see the /etc/webmin directory.

Any suggestions? Thanks!

Ok, I see it now .. there was a bug in the file on our server that lists available packages.

I have fixed it - please try re-running the install script now.

Thanks! That did the trick.