Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-14-2007, 05:29 AM   #1
Fedora 6
Registered: Oct 2007
Posts: 35

Rep: Reputation: 16
Question smbind problem

Dear friends, have a nice day

after installing smbind i ran the configtest.php and i got the following:

Testing config.php...OK
Testing PEAR DB...OK
Testing Smarty...OK
Testing templates_c...OK
Testing path...OK
Testing conf directory...OK
Testing conf file...OK
Testing named-checkconf...OK
Testing named-checkzone...OK
Testing rndc...OK
Testing (guess) /etc/rndc.conf...not found.
Testing (guess) /etc/rndc.key...OK
Testing (guess) connection to localhost:953...error. Could not connect to localhost:953: Connection refused(111)
Either named isn't running or rndc is configured on an alternate port.
Testing rndc execution...OK
server is up and running
Testing database connection...Database error: connect failed

Please any one can help me to solve this error ?
Thanks in advance
Old 11-14-2007, 09:35 AM   #2
Fedora 6
Registered: Oct 2007
Posts: 35

Original Poster
Rep: Reputation: 16
Please .... any help

Old 12-02-2007, 03:23 AM   #3
LQ Newbie
Registered: Dec 2007
Location: Iowa City, IA, USA
Distribution: XP Pro, Gentoo, Embeddix, CentOS, Vista, RH Enterprise
Posts: 3

Rep: Reputation: 0
Post Fedora 6

I just set up [smbind] and [named] on a Windows station so, this won't be a perfect match, but the basics are here.

First of all, named -- is the port blocked? Is the daemon running? Have you checked the logs? Basically, why can't it be seen? If it's not running because the config files are wrong, find a tutorial for how to set it up. They're everywhere. Looking at this carefully...did the config script start the daemon? I can't say for sure.

Second, you can't connect to the database. Ok...same questions as before, plus, have you read the installation instructions? They tell you how to set up smbind's config file(s). Regardless, like "named", you're going to have to do some of the stuff yourself, like add a mysql user and give it permissions to the correct database.

I'm assuming you're running the latest version of smbind (0.4.7). One thing to note (at least on my machine) was that the very last "insert" test fails - you need to edit the configuration test php file to include values for the columns that: have no default value but cannot be null.

Finally, once you start getting database responses you may still have a problem with PEAR or Smarty later in the process, so check the php include_path.

In any case, none of my Linux installations are Fedora--I run a couple of Gentoo's, CentOS, and Embeddix--so all I can really do is ask you the questions I'd be looking into myself. Your configuration will be somewhat alien to me so, that said, good luck.
Old 12-03-2007, 03:38 AM   #4
Fedora 6
Registered: Oct 2007
Posts: 35

Original Poster
Rep: Reputation: 16
Dear friend
Thank you so much
It did really work but am not convenced cause i disabled SElinux ... is that an acceptable solution ????
Thank you again
Old 12-22-2007, 09:12 AM   #5
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Absolutely! smbind is incompatible with the mandatory access control functions of SELinux since it relies on the normal access control systems to interact with bind/named.

You must!! disable SELinux to use smbind.

I hope to have this corrected in the future, and the test value issue corrected as well.
Old 07-25-2012, 07:22 AM   #6
LQ Newbie
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
How were you able to install your smbind? On which O/S did you install it on?
Which tut di you use?
Old 08-03-2012, 02:04 PM   #7
LQ Newbie
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
Please can you give me the tutorial or the site to help me install the SMBIND in fedora...
I am a novice and the one I got did not work for me...
Please help me....



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
SMBIND Passwords joelhop Linux - Software 0 02-15-2006 10:31 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:09 PM.

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