/srv/irclogs.ubuntu.com/2007/05/27/#ubuntu-server.txt

Nafalloanyone has an IBM IC35L036UWD210-0 that's not in use? :-)12:13
Nafalloone of mine just died...12:13
cy_what is that ?12:21
\shharddrive i think12:21
fooHaha12:22
h4wk0Sorry i have a IBM IC35L036UWD210-112:29
cy_*g12:33
cy_i wish i'd get a clue out of http://wiki.xensource.com/xenwiki/XenNetworking12:33
cy_:/12:34
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server
cy_lol12:36
cy_nice nick12:36
cy_:\12:36
peanutbim trying to get a dhcp server on my eth0 interface, with addresses from 192.168.5.2 to 192.168.5.254, and failing miserably. can someone please try to help.02:34
Kamping_Kaiserpeanutb, whats not working?02:36
peanutbit  gives this error: 02:39
peanutbConfiguration file errors encountered -- exiting02:39
peanutbStarting dhcpd failed02:39
peanutbInternet Systems Consortium DHCP Server V3.0.402:39
peanutbCopyright 2004-2006 Internet Systems Consortium.02:39
peanutbAll rights reserved.02:39
peanutbFor info, please visit http://www.isc.org/sw/dhcp/02:39
peanutb/etc/dhcp3/dhcpd.conf line 11: subnet 192.168.2.1 netmask 255.255.255.0: bad subnet number/mask combination.02:39
peanutbsubnet 192.168.2.1 netmask 255.255.255.002:39
peanutb                                       ^02:39
peanutbConfiguration file errors encountered -- exiting02:39
=== peanutb ment to pastebin that.
Kamping_Kaiserpeanutb, subnet should be 2.002:41
peanutbjust 2.0?02:41
=== peanutb feels really stupid
Kamping_Kaiserno02:41
Kamping_Kaiser192.168.2.002:41
Kamping_Kaisernot 192.168.2.102:41
peanutbohh02:41
peanutbok02:41
peanutbgot it02:41
peanutbnow it says something about not being able to create a leases file.02:48
peanutband it is not serving ips02:48
qmandid you start the service, or just run "dhcpd"02:50
peanutbi am running it through a gui config interface.02:52
peanutbso probably dhcpd02:52
Kamping_Kaisereh.02:54
qmantry opening a terminal, and running "sudo /etc/init.d/dhcpd restart"02:55
=== peanutb messed around with it and now it works
peanutbthanks for your help02:56
qmanthe error you got generally means for one reason or another the service doesn't have permission to the lease file or the folder it's in02:56
qmanwhich, often, results from running it as your own user instead of the special one, or root02:56
qmanit can also mean the service is already running, and has a lock on the file02:57
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== sahafeez [n=sahafeez@ip68-6-223-156.sd.sd.cox.net] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== mralphabet [n=username@71-10-125-165.dhcp.stpt.wi.charter.com] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jtole_ [n=jtole@c-66-176-174-121.hsd1.fl.comcast.net] has left #ubuntu-server ["Leaving"]
=== sahafeez [n=sahafeez@ip68-6-223-156.sd.sd.cox.net] has left #ubuntu-server []
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server
=== cirish [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server
=== h4wk0 [n=h4wk@84.13.255.104] has joined #ubuntu-server
=== `6og [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
=== arturaz [n=arturaz@2002:57f7:4d58:0:0:0:0:3] has joined #ubuntu-server
=== lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
=== mralphabet [n=username@71-10-125-165.dhcp.stpt.wi.charter.com] has joined #ubuntu-server
=== jtole_ [n=jtole@c-66-176-174-121.hsd1.fl.comcast.net] has joined #ubuntu-server
jtole_hey guys05:16
jtole_real quickly, is there a command to list if you have x package installed on your system05:16
jtole_?05:16
shawarmadpkg -l x05:16
jtole_thanks05:16
shawarmaIt shows you the install status of the package.05:16
shawarma'ii' at the start of the line means it's installed.05:17
jtole_ok05:18
jtole_cool05:18
jtole_muchos gracias as they say a lot here in miami05:19
=== kupesoft [n=dave@CPE00119583e9ae-CM0013718cb08a.cpe.net.cable.rogers.com] has joined #ubuntu-server
shawarmanp05:29
=== h4wk0 [n=h4wk@84.13.255.104] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
=== sahafeez [n=sahafeez@ip68-6-223-156.sd.sd.cox.net] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
=== ||arifaX [n=||arifaX@p54b59d10.dip0.t-ipconnect.de] has joined #ubuntu-server
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-server
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server
=== `6og [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
=== steveire [n=stephen@unaffiliated/steveire] has joined #ubuntu-server
steveireHey.11:08
`6oghi.11:08
steveireHey. I want to install AMP on my laptop to try out some cmses etc. Can you point me to a better more up to date guide than https://help.ubuntu.com/community/ApacheMySQLPHP11:09
Burgundaviathat is still current11:11
steveireAlright. Doesn't seem to know feisty exists though. Should I just install ubuntu-lamp and then pick up somewhere in that page?11:14
Burgundaviayep11:15
Burgundaviaand feel free to fix up that page11:15
Burgundaviait is a pubicly editable wiki11:15
=== coNP_ [n=conp@unaffiliated/conp] has joined #ubuntu-server
steveireSo Can I configure apache to not start when I boot up? It sounds like a security risk?11:29
=== coNP_ [n=conp@unaffiliated/conp] has joined #ubuntu-server
shawarmasteveire: See in /etc/defaults/apache211:30
steveireshawarma: Excellent. Anything else obvious I should do?11:31
shawarmasteveire: To accomplish what?11:31
shawarmasteveire: Ubuntu has a no-open-ports by default policy. If you haven't installed anything that listens for connections, then there's shouldn't be any.11:32
steveireTo get a good security setup.11:32
steveireapache does, right?11:32
shawarmaYes.11:32
shawarmaBut I suppose you installed it because you want to serve web pages?11:32
steveireNot really. I only want to try out some cmses etc on my laptop. I don't want anyone else seeing the content11:33
shawarmasteveire: Still, in that case you want apache to run, but not listen on anything but the loopback interface.11:34
shawarmasteveire: I believe it has a Bind directive in its main config.11:34
steveireI installed these packages: http://pastebin.ca/514709. Any of them listen?11:34
shawarmaOnly apache.11:35
shawarmaYou can always see what's listening with "sudo netstat -lnp"11:36
steveireGreat.11:37
steveireThere's a lot in there.11:37
shawarmaTry tossing it onto the pastebin.11:42
steveireWell I've moved on a bit. I tried editing ports.conf and commenting out Listen 80. Then init.d/apache stop and init.d/apache start. Now I don't think apache will start.11:46
shawarmaIt won't. It checks /etc/defaults/apache2 to see if it should.11:46
shawarmaYou could also 'update-rc.d apache2 remove'11:46
shawarmaAnd undo your changes to /etc/defaults/apache211:47
steveireI don't get it. I edited that file so it wouldn't start on every boot.11:47
steveireI undid my changes and now I can start it again.11:48
steveireIs there a configuration option to not start on boot, but allow it to start?11:49
shawarma'update-rc.d apache2 remove'11:49
steveirehttp://pastebin.ca/51473911:50
steveireWon't that just delete the curent configuration options?11:51
shawarma'update-rc.d -f apache2 remove'11:51
shawarmasteveire: no.11:51
shawarmasteveire: It'll just make it not start on boot.11:51
steveireReally? How?11:52
ajmitchby removing the symlinks in the /etc/rc2.d directory, which are used to start services11:52
steveireOK. I'm parsing it differently now. Cheers11:53
=== ajmitch waves to shawarma
shawarmahi, ajmitch!11:54
steveireNow I'm back at wanting to see the server myself, but not broadcast it to the wider internet. Do I edit ports.conf?11:55
Burgundaviahey shawarma11:55
shawarmaHi, Burgundavia.11:56
ajmitchsteveire: yes11:56
shawarmasteveire: Prepend 127.0.0.1: to the port, and you're good.11:57
steveiredo I need to restart apache or anything?11:58
ajmitchsorry, was called away from my desk :)11:58
ajmitchhello Burgundavia 11:58
shawarmasteveire: so that it reads "Listen 127.0.0.1:80"11:58
shawarmasteveire: Yes.11:59
steveireHmmm. I just ran sheilds up and I'm still running apache and it said nothing was running on 80...11:59
steveireI'm getting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName each time I start or stop apache. Is it notable?12:00
shawarmasteveire: sheilds up?12:00
shawarmasteveire: Nah, it's ok.12:01
steveirehttp://www.grc.com/default.htm Half way down that page. It scans for open ports12:01
shawarmasteveire: If it's something that checks for open ports, it's likely to not bother with stuff that only listens on the loopback interface.12:01
ajmitchplus it scans from the internet12:02
shawarmaajmitch: Oh, I though it was a local program.12:03
steveirenetstat still says apache is listening on 80.12:03
shawarmasteveire: The entire point is that when only listening on the loopback interface,it can't be reached from the outside.12:03
ajmitchnope, steve gibson's amazing online port scanner with advanced stealth capabilities & several helpings of marketing BS12:03
shawarmasteveire: Does it say 127.0.0.1:80 12:03
steveireSo what would it take for that to return a positive on port 80? Before I set it to listen only on lo it didn't detect anything.12:03
shawarmasteveire: ?12:03
steveireshawarma: Yes. It does now12:04
shawarmasteveire: Are you behind a router or anything?12:04
steveireEh, yep.12:04
shawarmaThat's it then.12:04
shawarmaYou probably can't connect to your machine from the outside at all.12:04
ajmitchhm, I suppose I should do a samba merge again12:04
shawarmaajmitch: Someone should :)12:05
steveireAh right. Thanks for that. I might try on the other side of a router to convince myself of what I expect to happen.12:05
shawarmasteveire: knock yourself out :)12:05
ajmitchshawarma: since I did the last one, I guess it falls on me again12:06
=== SWAT [n=SWAT@ubuntu/member/swat] has joined #ubuntu-server

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!