seraph741 Posted August 18, 2006 Report Share Posted August 18, 2006 I installed pdnsd with the GUI and its giving me this error when i try to start it up: cannot change directory to /var/lib/pdnsd: no such file what does that mean? seems to me like its not installed correctly, why? TIA! Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 19, 2006 Author Report Share Posted August 19, 2006 any1? it seems like its not installed properly, but i used URPMI. whats up? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 20, 2006 Report Share Posted August 20, 2006 Do you have all repositories on your system? (main, contrib, updates, plf-free and plf-nonfree) Maybe you're missing some dependencies causing the problem. Go into System/Configuration/Packaging/Software Media Manager and check to see if you have the above repositories. If not, then remove pdnsd and then add the repositories and then reinstall it again later. Remove with: urpme pdnsd or whatever the packagename is. Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 21, 2006 Author Report Share Posted August 21, 2006 i have all the repositories and it still doesn't run. I should have 2 files, pdnsd and pdnsd-ctl or something like that in var/lib or something, but i don't have those files. they seem to not install. do they go to a different folder? Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 21, 2006 Author Report Share Posted August 21, 2006 ok, i figured out that the files were in the wrong place, but now i get this error when trying to start the service: Starting pdnsd: -bash: pdnsd: command not found what does this mean? Thanks! Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 21, 2006 Report Share Posted August 21, 2006 How are you trying to start the service? They should exist in /etc/init.d so if pdnsd is not here, this will be why you can't start the service. Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 21, 2006 Author Report Share Posted August 21, 2006 i am trying to start using the gaphical environement. system conif > services or something like that. all i do is click start on next to pdnsd and it gives me that error. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 21, 2006 Report Share Posted August 21, 2006 Open up a command line and do this: chkconfig --list and see if pdnsd appears in the list. Does it have "on" against runlevels 3 and 5? Now, try: service pdnsd start and if it fails, look in /etc/init.d/ and see if a file called pdnsd exists. If not, this is why your service is failing to start. Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 21, 2006 Author Report Share Posted August 21, 2006 hey man, thanks a lot. i would like to thank you for all your help with everything. i appreciate it. i will try this when i get back from work! thanks again! Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 21, 2006 Author Report Share Posted August 21, 2006 pdnsd is in all the places u asked me to look, but run level 3 and 5 say "OFF". How do I change this? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 22, 2006 Report Share Posted August 22, 2006 (edited) Can you post your /etc/pdnsd.conf ? Maybe some setting in there is not right (eg ipv6 is enabled). And you shouldn't move installed files by hand- never, ever. Edited August 22, 2006 by scarecrow Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 22, 2006 Author Report Share Posted August 22, 2006 i haven't set it up really, just trying to get pdnsd to run, seems like install was wrong or something. // $Id: pdnsd.conf.in,v 1.4 2000/11/11 20:32:58 thomas Exp $ global { perm_cache=512; cache_dir="/var/cache/pdnsd"; max_ttl=604800; run_as="nobody"; paranoid=on; # server_port=53; # server_ip="127.0.0.1"; } server { ip="192.168.0.1"; timeout=30; interval=30; uptest=ping; ping_timeout=50; purge_cache=off; } source { ttl=86400; owner="localhost."; # serve_aliases=on; file="/etc/hosts"; } /* neg { ttl=86400; name="foo.bar."; types=domain; } neg { ttl=86400; name="foo.baz."; types=A,AAAA, MX; } */ /* rr { ttl=86400; owner="localhost."; name="localhost."; a="127.0.0.1"; soa="localhost.","root.localhost.",42,86400,900,86400,86400; } rr { ttl=86400; owner="localhost."; name="1.0.0.127.in-addr.arpa."; ptr="localhost."; soa="localhost.","root.localhost.",42,86400,900,86400,86400; } */ Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 22, 2006 Report Share Posted August 22, 2006 To turn the service on: chkconfig pdnsd on but if it won't work with: service pdnsd start then there can only be a config problem of some sorts if all the files are in the right place. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 22, 2006 Report Share Posted August 22, 2006 Do you have a user "nobody" in your system? If you don't then it won't start (same is the default behaviour of some FTP servers, like proFTPd). I believe than documentation suggests starting the daemon with pdnsd -s or pdns --status and then running pdnsd-ctl for doing runtime configuration. Quote Link to comment Share on other sites More sharing options...
seraph741 Posted August 23, 2006 Author Report Share Posted August 23, 2006 it seems like maybe the permissions are set wrong? its the same error message that i get when u try to run something without root permissions. let me know! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.