LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I can't reinstall bind9 (https://www.linuxquestions.org/questions/linux-newbie-8/i-can%27t-reinstall-bind9-869012/)

justbeg 03-16-2011 02:36 PM

I can't reinstall bind9
 
I am very new to UBUNTU server 10.10. I am currently using an Ubuntu 10.10 Desktop and I am intending to use it as a server by installing all the needed packages like bind9 and dnsutils. I am doing this for getting a new experience. First I installed bind9 and dnsutils and when I got a mix-up I removed these two by using the remove command from the Terminal. I also removed the content of bind directory. When I came to reinstall those two packages, it did not install and I was given the following error. I would be so grateful if you would be able to help me.

Setting up bind9 (1:9.7.1.dfsg.P2-2ubuntu0.2) ...
* Starting domain name service... bind9 [fail]
invoke-rc.d: initscript bind9, action "start" failed.
dpkg: error processing bind9 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)

acid_kewpie 03-16-2011 02:43 PM

if bind failed to start then there will be errors in your system log files (/var/log/messages) probably telling you pretty clearly what happened.

note that you do not need bind for "a server", unless you want that to include a dns server, which is not standard at all.

justbeg 03-17-2011 02:08 AM

Thanks a lot for the reply. I just went to Synaptic Package Manager (SPM) and found that bind9 was still not removed. So, from the SPM I marked it for total removal, thus I could reinstall it. However, I am learning. Suppose I rather, by following the instruction on the Server Guide, succeeded in putting the domain (zizi54.com). How can one control a network so he/she can give roles or permissions to other terminal on the network. Can you just give me a hint or guide to an easy reference.

acid_kewpie 03-17-2011 03:19 AM

a domain in what context? It sounds like you're assuming something very AD-ish which is not used commonly within unix systems at all. You can join / create ad like domains using Samba, but unless windows systems are involved you wouldn't do this. Central user authentication witin Unix would generally be done via ldap or nis, possibly using kerberos (which is a large constituent part of AD authentication actually) for security.

but things like "joining the network" have very little / no place within wholly unix environments. Domains mean different things in different services, a web domain, mail domains etc, these things don't necessarily join up at all outside of a few touching points like dns.

justbeg 03-18-2011 02:51 PM

Quote:

Originally Posted by acid_kewpie (Post 4293517)
a domain in what context? It sounds like you're assuming something very AD-ish which is not used commonly within unix systems at all. You can join / create ad like domains using Samba, but unless windows systems are involved you wouldn't do this. Central user authentication witin Unix would generally be done via ldap or nis, possibly using kerberos (which is a large constituent part of AD authentication actually) for security.

but things like "joining the network" have very little / no place within wholly unix environments. Domains mean different things in different services, a web domain, mail domains etc, these things don't necessarily join up at all outside of a few touching points like dns.

Thank you so much for having gone this far with a newbie like me. This topic seems too big for me at the present time. But may I ask you a different question , that you would do me a great favor if you could help me with. Here it is:

I have installed Apache2.2 for windows 7 successfully and I created a folder on the C root and called it c:\mysites and I have put two other folders inside this root folder; I called one site1 and the second site2. That is I have C:\mysites\site1 in which I have put a simple web page and called it site1.html. I also created a server name site1.local in the apache . I have followed all the necessary steps that I found on the internet just to be able to locally host the said webpage. I also tweaked the hosts file inside the windows folder as it should be. I have two laptops one has the IP 192.168.1.102 and the other is 192.168.1.103 (got them from router). When I write http://site1.local in the address panel I never get the web page. Instead I get either Error 403: Not enough permissions or the Error Connection has timed out. Can you help please? I know that usually pages are typically executed from http://localhost/something.php or whatsoever. To clarify further, I intend to request the site1.local which is hosted on my first computer from my second computer which is on the same network


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