<div dir="ltr">Hi,<div><br></div><div style>I have an old instance of apt-cacher-np running and I am in the process of configuring it on a newer machine. The old instance is running on port 80 and I would like to keep that in the new config to avoid changing all of my VM's.</div>
<div style><br></div><div style>When I try to start the new instance on port 80, i get an error.</div><div style><div># service apt-cacher-ng start </div><div> * Starting apt-cacher-ng apt-cacher-ng Couldn't bind socket: Permission denied</div>
<div>Couldn't bind socket: Permission denied</div><div>No socket(s) could be create/prepared. Check the network, check or unset the BindAddress directive.</div><div>[fail]</div><div><br></div><div style>This new machine is very stripped down and NOT running apache. Most of the Google'ing I did resulting in people already having apache servers running.</div>
<div style><br></div><div style><div># netstat -anp</div><div>Active Internet connections (servers and established)</div><div>Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name</div>
<div>tcp 0 0 <a href="http://0.0.0.0:5666">0.0.0.0:5666</a> 0.0.0.0:* LISTEN 671/nrpe </div><div>tcp 0 0 <a href="http://127.0.0.1:587">127.0.0.1:587</a> 0.0.0.0:* LISTEN 978/sendmail: MTA: </div>
<div>tcp 0 0 <a href="http://0.0.0.0:22">0.0.0.0:22</a> 0.0.0.0:* LISTEN 375/sshd </div><div>tcp 0 0 <a href="http://127.0.0.1:25">127.0.0.1:25</a> 0.0.0.0:* LISTEN 978/sendmail: MTA: </div>
<div>tcp 0 192 155.92.X.X:22 155.92.X.X:37278 ESTABLISHED 25910/sshd: XXXXXXXXX</div><div>tcp6 0 0 :::4949 :::* LISTEN 620/munin-node </div><div>
tcp6 0 0 :::22 :::* LISTEN 375/sshd </div><div>udp 0 0 <a href="http://0.0.0.0:37232">0.0.0.0:37232</a> 0.0.0.0:* 475/rsyslogd </div>
<div>Active UNIX domain sockets (servers and established)</div><div>Proto RefCnt Flags Type State I-Node PID/Program name Path</div><div>unix 2 [ ACC ] STREAM LISTENING 770 1/init @/com/ubuntu/upstart</div>
<div>unix 7 [ ] DGRAM 6473 475/rsyslogd /dev/log</div><div>unix 2 [ ACC ] SEQPACKET LISTENING 876 299/udevd /run/udev/control</div><div>unix 2 [ ACC ] STREAM LISTENING 8307 978/sendmail: MTA: /var/run/sendmail/mta/smcontrol</div>
<div>unix 2 [ ACC ] STREAM LISTENING 6569 589/acpid /var/run/acpid.socket</div><div>unix 3 [ ] STREAM CONNECTED 1381500 25910/sshd: ridderg </div><div>unix 3 [ ] STREAM CONNECTED 1381499 25922/0 </div>
<div>unix 2 [ ] DGRAM 1392319 25910/sshd: ridderg </div><div>unix 2 [ ] DGRAM 8304 978/sendmail: MTA: </div><div>unix 2 [ ] DGRAM 7091 671/nrpe </div>
<div>unix 2 [ ] DGRAM 7420 588/xinetd </div><div>unix 2 [ ] DGRAM 6568 589/acpid </div><div>unix 3 [ ] STREAM CONNECTED 6447 1/init @/com/ubuntu/upstart</div>
<div>unix 3 [ ] STREAM CONNECTED 6443 531/upstart-socket- </div><div>unix 3 [ ] DGRAM 895 299/udevd </div><div>unix 3 [ ] DGRAM 894 299/udevd </div>
<div>unix 3 [ ] STREAM CONNECTED 832 1/init @/com/ubuntu/upstart</div><div>unix 3 [ ] STREAM CONNECTED 829 283/upstart-udev-br </div><div><br></div><div style>
The old box is:</div><div style>Ubuntu 10.04.4<br></div><div style>apt-cacher-ng 0.4.6-1ubuntu1<br></div><div style><br></div><div style>The new box is:</div><div style>Ubuntu 12.04<br></div><div style>apt-cacher-ng 0.7.2-1ubuntu1<br>
</div><div style><br></div><div style>Anyone have any ideas?</div><div style><br></div><div style>Thanks,</div><div style>Grant</div><div style><br></div><div style><p class=""><span style="color:rgb(31,73,125)">~~~~~~~~~~</span></p>
<p class=""><span style="color:rgb(31,73,125)">Grant
Ridder <<a href="mailto:ridderg@msoe.edu">ridderg@msoe.edu</a>></span></p>
<p class=""><span style="color:rgb(31,73,125)">Assistant
Systems Administrator</span></p>
<p class=""><span style="color:rgb(31,73,125)"><a href="http://www.msoe.edu/">Milwaukee School of Engineering</a></span></p></div></div></div></div>