[BUG] BIND DNS domain failed! : & Apache configuration failed. [Centos 6]

6 posts / 0 new
Last post
#1 Tue, 11/29/2011 - 08:25
josteinr

[BUG] BIND DNS domain failed! : & Apache configuration failed. [Centos 6]

Sysinfo:

Operating system CentOS Linux 6.0
Webmin version 1.570
Virtualmin version 3.88.gpl GPL
Theme version 8.1 Time on server 29/Nov/2011 15:01
Kernel and CPU Linux 2.6.38.2-grsec-xxxx-grs-ipv6-32 on i686

Installed VM from scratch today, but when i create a viritual server I get

But I'm getting both

BIND DNS domain failed! :
&
Apache configuration failed.

Failed to replace /var/named/chroot/etc/named.conf with /var/named/chroot/etc/named.conf.webmintmp.12299 : Device or resource busy at /usr/libexec/webmin/web-lib-funcs.pl line 1360

I'f i go and change

"Is named.conf under chroot directory? to NO."

Then i manage to create the VM's and Everything works perfectly , exept the DNS.

Anyoen who got a fix for this?

Tue, 11/29/2011 - 10:42
andreychek

Howdy,

Yeah, we've seen this issue come up on a few occasions. Jamie offers a workaround to the BIND issue in the last post of this thread:

https://www.virtualmin.com/node/19608

Let us know if that resolves the issue you're seeing!

-Eric

Tue, 11/29/2011 - 14:10 (Reply to #2)
josteinr

Both Jamie solution works, and turning of "Is named.conf under chroot directory?" But I dont feel like it is a good solution tho.

and now I got permission issues

getting

Failed to re-start service :

Starting httpd: Syntax error on line 1084 of /etc/httpd/conf/httpd.conf: Wrapper /home/[domain]/fcgi-bin/php5.fcgi cannot be accessed: (2)No such file or directory [FAILED]

as well as

Forbidden

You don't have permission to access / on this server. Apache/2.2.15 (Scientific Linux) Server at [domain] Port 80

when i try to access all of my webpage roots.

Think im going to go back to Centos 5.

Tue, 11/29/2011 - 14:06
andreychek

Howdy,

Well, that almost sounds like a file isn't where it's expected to be... what output do you get if you run this command:

ls -l /home/[domain]/fcgi-bin/php5.fcgi

Tue, 11/29/2011 - 14:22 (Reply to #4)
josteinr

-rwxr-xr-x 1 domain.com domain.com 161 Nov 29 21:01 /home/domain.com/fcgi-bin/php5.fcgi

I deleted all VM's and created them again. Solved the restart apache issue.

lets se what the next issue is. (stuff looks normal for now.)

Tue, 11/29/2011 - 14:49 (Reply to #5)
josteinr

Going back to Centos 5.6, whit Bleeding Edge. (hoperfully i will get a bether result whit that.)

Topic locked