LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-02-2006, 03:16 AM   #31
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0

Quote:
Originally Posted by bentz
No apache user, but instead you have 'nobody'.

Try:

chown root.nobody config.php
chmod 640 config.php
I tried this, but still got the same
and I tried this
chown root.apache config.php
chmod 640 config.php
and restart httpd, but still got the same
 
Old 11-02-2006, 03:50 AM   #32
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by bentz
Additionally, the error you mention with configtest.php:

Parse error: parse error, unexpected $ in /var/www/qonc/php/src/configtest.php on line 131

Is very perplexing... have you tried re-downloading the software from sourceforge and checking for corrupted files? Line 131 is a check for PEAR, and has nothing to do with config.php, so these two sets of error messages conflict with each other.

More information about your configuration would be helpful.
I redowned the file and when I run configtest, I got this
Warning: fopen(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/configtest.php on line 18
Could not read config.php. Check that the nobody user can read config.php.

and i try ls- l got this
-rw-r----- 1 root root 926 11月 1 23:02 config_origin.php
-rw-r----- 1 root nobody 926 11月 1 23:02 config.php
drwxr-xr-x 2 ftpuser ftpgrp 4096 10月 31 22:04 images
-rw-r--r-- 1 ftpuser ftpgrp 44 10月 31 22:09 index.php
drwxr-xr-x 2 ftpuser ftpgrp 4096 11月 2 16:31 src
drwxr-xr-x 2 ftpuser ftpgrp 4096 10月 31 22:08 templates
drwxrwxr-x 2 root apache 4096 10月 31 22:08 templates_c

and I run index.php ,I got this
Warning: main(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/include.php on line 4

Warning: main(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/include.php on line 4

Warning: main(): Failed opening '../config.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/qonc/php/src/include.php on line 4
Database error: not found

I really appreciate your help ,and i am very interested in your software
 
Old 11-02-2006, 04:22 AM   #33
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
I fixed the bug ,and now i got this when i run configtest.php
Testing config.php...OK
Testing PEAR DB...
Warning: fopen(/usr/share/pear/DB.php): failed to open stream: No such file or directory in /var/www/qonc/php/src/configtest.php on line 25
Could not read PEAR DB. Check /usr/share/pear for DB.php.

May be because i did not install pear correctly, how should I install it
install pear-1.3.6 and pear-DB 1.7.6? how should i intall them?
Thanks
 
Old 11-02-2006, 08:38 AM   #34
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
Can smbind manage BIND9.3.2?
 
Old 11-02-2006, 11:23 AM   #35
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
I got this:
Testing path...
Warning: fopen(/var/named/test): failed to open stream: Permission denied in /var/www/qonc/php/src/configtest.php on line 44
Could not write to the path. Check that the nobody user can write in /var/named/.

drwxrwx--- 2 root nobody 4096 2003-07-26 named

-rw-r--r-- 1 named named 195 2003-01-25 localhost.zone
-rw-r--r-- 1 named named 2499 2003-01-25 named.ca
-rw-r--r-- 1 named named 433 2003-01-25 named.local

I have try :chmod 770 named ,but it is still the same. when i run configtest.php, it always show:check that nobody
user can..... (config.php, templates_c the same)
 
Old 11-03-2006, 10:18 AM   #36
liusamuel
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
now I got this:
Testing rndc...OK
Testing rndc execution...Could not run rndc as nobody. Please make sure that nobody is a member of the group that runs named, and that all rndc config files and keys are readable by nobody

and when I run smbind, got this
Welcome, admin. (administrator)

DNS Services are stopped.You maintain 1 zones.

I add nobody to named group, but still could not resolve it
Thanks Samuel
 
Old 11-11-2006, 02:09 PM   #37
jeffmorlen
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Question smBind not working right...

I have installed smBind and ran the configtest.php, everything says it it working fine.

I have the system pointed toward itself for DNS resolution, however, when I create a zone and then try to resolve it (via NSLOOKUP), I get timeouts and no results.

Any ideas?
 
Old 11-29-2006, 12:10 PM   #38
l9nux
LQ Newbie
 
Registered: Mar 2003
Location: Sussex, UK
Distribution: CentOS
Posts: 4

Rep: Reputation: 0
Talking

Quote:
Originally Posted by bentz
I've written some software on sourceforge that allows you to both manage your bind DNS records in MySQL as well as use a PHP web interface to modify and push them using rndc reload (hot updating) and error checking with named_checkzone.

http://smbind.sourceforge.net/
http://sourceforge.net/projects/smbind

Hey, I just want to say that smbind rocks!!
 
Old 06-11-2007, 09:49 AM   #39
dnsgeek
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Alternative GPL DNS manager

What other GPL software is available for managing DNS? My requirements that seem to go beyond the webmin and small tools: I have several customers with hidden masters, views (very confusing) and secondary only zones (they only provide secondary NS)
 
Old 06-12-2007, 09:19 AM   #40
dnsgeek
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Any comments on mysqlBind (AKA iDNS in corporate settings)

Does anybody know anything or have any comments on freshmeat.net project mysqlBind?
 
Old 09-07-2007, 06:12 PM   #41
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Please try here for the SELinux details...http://gentoo-wiki.com/HOWTO_SELinux
 
Old 03-19-2009, 07:23 PM   #42
dnsgeek
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by dnsgeek View Post
Does anybody know anything or have any comments on freshmeat.net project mysqlBind?
I finally downloaded it, and after some minor problems. got it to work on a 5 server DNS server system and now run 1500 zones. Bad: Wierd backend. Good: Nice company-contact-role model and admin and end user interfaces.
 
Old 05-28-2009, 09:02 AM   #43
MarkTren
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 1
Exists a list of Web interfaces for BIND management. Users could find there a description of over 11 scripts that could to this.
 
1 members found this post helpful.
Old 05-09-2010, 08:57 AM   #44
dnsgeek
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
http://en.wikipedia.org/wiki/DNS_management_software is a good list also.
 
Old 11-12-2010, 04:27 AM   #45
fl30n
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
error in smbind install

hi everybody. i try install smbind using centOS. but when i try to run configtest.php, the error is like this
Testing config.php匫K
Testing PEAR DB匫K
Testing Smarty匫K
Testing templates_c匫K
Testing path匔ould not write to /var/named/.

The webserver is running as apache.
The owner root has no permissions to /var/named/.
The group root has no permissions to /var/named/.
The group root has the following members: root, root.
Any other account has no permissions to /var/named/.

i don't know where its wrong. can anybody help me?

thx
ferry
 
  


Reply

Tags
gnu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh forwarding : bind to a specific interface flupke Linux - Networking 9 12-09-2011 06:24 PM
GUI/Web Interface for BIND 9 Kholnuu Linux - Software 4 02-21-2005 03:24 PM
rsyncd bind to a interface Greenpie Linux - Networking 1 10-22-2004 08:34 AM
Is Management interface detected by Solaris ? markraem Solaris / OpenSolaris 1 07-06-2004 08:40 PM
DNS BIND and Apache web server divineutm Linux - Newbie 1 03-25-2004 03:29 AM


All times are GMT -5. The time now is 05:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration