Nafallo | anyone has an IBM IC35L036UWD210-0 that's not in use? :-) | 12:13 |
---|---|---|
Nafallo | one of mine just died... | 12:13 |
cy_ | what is that ? | 12:21 |
\sh | harddrive i think | 12:21 |
foo | Haha | 12:22 |
h4wk0 | Sorry i have a IBM IC35L036UWD210-1 | 12:29 |
cy_ | *g | 12:33 |
cy_ | i wish i'd get a clue out of http://wiki.xensource.com/xenwiki/XenNetworking | 12:33 |
cy_ | :/ | 12:34 |
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server | ||
cy_ | lol | 12:36 |
cy_ | nice nick | 12:36 |
cy_ | :\ | 12:36 |
peanutb | im 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_Kaiser | peanutb, whats not working? | 02:36 |
peanutb | it gives this error: | 02:39 |
peanutb | Configuration file errors encountered -- exiting | 02:39 |
peanutb | Starting dhcpd failed | 02:39 |
peanutb | Internet Systems Consortium DHCP Server V3.0.4 | 02:39 |
peanutb | Copyright 2004-2006 Internet Systems Consortium. | 02:39 |
peanutb | All rights reserved. | 02:39 |
peanutb | For 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 |
peanutb | subnet 192.168.2.1 netmask 255.255.255.0 | 02:39 |
peanutb | ^ | 02:39 |
peanutb | Configuration file errors encountered -- exiting | 02:39 |
=== peanutb ment to pastebin that. | ||
Kamping_Kaiser | peanutb, subnet should be 2.0 | 02:41 |
peanutb | just 2.0? | 02:41 |
=== peanutb feels really stupid | ||
Kamping_Kaiser | no | 02:41 |
Kamping_Kaiser | 192.168.2.0 | 02:41 |
Kamping_Kaiser | not 192.168.2.1 | 02:41 |
peanutb | ohh | 02:41 |
peanutb | ok | 02:41 |
peanutb | got it | 02:41 |
peanutb | now it says something about not being able to create a leases file. | 02:48 |
peanutb | and it is not serving ips | 02:48 |
qman | did you start the service, or just run "dhcpd" | 02:50 |
peanutb | i am running it through a gui config interface. | 02:52 |
peanutb | so probably dhcpd | 02:52 |
Kamping_Kaiser | eh. | 02:54 |
qman | try opening a terminal, and running "sudo /etc/init.d/dhcpd restart" | 02:55 |
=== peanutb messed around with it and now it works | ||
peanutb | thanks for your help | 02:56 |
qman | the 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 in | 02:56 |
qman | which, often, results from running it as your own user instead of the special one, or root | 02:56 |
qman | it can also mean the service is already running, and has a lock on the file | 02: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 guys | 05:16 |
jtole_ | real quickly, is there a command to list if you have x package installed on your system | 05:16 |
jtole_ | ? | 05:16 |
shawarma | dpkg -l x | 05:16 |
jtole_ | thanks | 05:16 |
shawarma | It 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_ | ok | 05:18 |
jtole_ | cool | 05:18 |
jtole_ | muchos gracias as they say a lot here in miami | 05:19 |
=== kupesoft [n=dave@CPE00119583e9ae-CM0013718cb08a.cpe.net.cable.rogers.com] has joined #ubuntu-server | ||
shawarma | np | 05: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 | ||
steveire | Hey. | 11:08 |
`6og | hi. | 11:08 |
steveire | Hey. 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/ApacheMySQLPHP | 11:09 |
Burgundavia | that is still current | 11:11 |
steveire | Alright. Doesn't seem to know feisty exists though. Should I just install ubuntu-lamp and then pick up somewhere in that page? | 11:14 |
Burgundavia | yep | 11:15 |
Burgundavia | and feel free to fix up that page | 11:15 |
Burgundavia | it is a pubicly editable wiki | 11:15 |
=== coNP_ [n=conp@unaffiliated/conp] has joined #ubuntu-server | ||
steveire | So 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 | ||
shawarma | steveire: See in /etc/defaults/apache2 | 11:30 |
steveire | shawarma: Excellent. Anything else obvious I should do? | 11:31 |
shawarma | steveire: To accomplish what? | 11:31 |
shawarma | steveire: 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 |
steveire | To get a good security setup. | 11:32 |
steveire | apache does, right? | 11:32 |
shawarma | Yes. | 11:32 |
shawarma | But I suppose you installed it because you want to serve web pages? | 11:32 |
steveire | Not really. I only want to try out some cmses etc on my laptop. I don't want anyone else seeing the content | 11:33 |
shawarma | steveire: Still, in that case you want apache to run, but not listen on anything but the loopback interface. | 11:34 |
shawarma | steveire: I believe it has a Bind directive in its main config. | 11:34 |
steveire | I installed these packages: http://pastebin.ca/514709. Any of them listen? | 11:34 |
shawarma | Only apache. | 11:35 |
shawarma | You can always see what's listening with "sudo netstat -lnp" | 11:36 |
steveire | Great. | 11:37 |
steveire | There's a lot in there. | 11:37 |
shawarma | Try tossing it onto the pastebin. | 11:42 |
steveire | Well 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 |
shawarma | It won't. It checks /etc/defaults/apache2 to see if it should. | 11:46 |
shawarma | You could also 'update-rc.d apache2 remove' | 11:46 |
shawarma | And undo your changes to /etc/defaults/apache2 | 11:47 |
steveire | I don't get it. I edited that file so it wouldn't start on every boot. | 11:47 |
steveire | I undid my changes and now I can start it again. | 11:48 |
steveire | Is there a configuration option to not start on boot, but allow it to start? | 11:49 |
shawarma | 'update-rc.d apache2 remove' | 11:49 |
steveire | http://pastebin.ca/514739 | 11:50 |
steveire | Won't that just delete the curent configuration options? | 11:51 |
shawarma | 'update-rc.d -f apache2 remove' | 11:51 |
shawarma | steveire: no. | 11:51 |
shawarma | steveire: It'll just make it not start on boot. | 11:51 |
steveire | Really? How? | 11:52 |
ajmitch | by removing the symlinks in the /etc/rc2.d directory, which are used to start services | 11:52 |
steveire | OK. I'm parsing it differently now. Cheers | 11:53 |
=== ajmitch waves to shawarma | ||
shawarma | hi, ajmitch! | 11:54 |
steveire | Now 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 |
Burgundavia | hey shawarma | 11:55 |
shawarma | Hi, Burgundavia. | 11:56 |
ajmitch | steveire: yes | 11:56 |
shawarma | steveire: Prepend 127.0.0.1: to the port, and you're good. | 11:57 |
steveire | do I need to restart apache or anything? | 11:58 |
ajmitch | sorry, was called away from my desk :) | 11:58 |
ajmitch | hello Burgundavia | 11:58 |
shawarma | steveire: so that it reads "Listen 127.0.0.1:80" | 11:58 |
shawarma | steveire: Yes. | 11:59 |
steveire | Hmmm. I just ran sheilds up and I'm still running apache and it said nothing was running on 80... | 11:59 |
steveire | I'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 |
shawarma | steveire: sheilds up? | 12:00 |
shawarma | steveire: Nah, it's ok. | 12:01 |
steveire | http://www.grc.com/default.htm Half way down that page. It scans for open ports | 12:01 |
shawarma | steveire: 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 |
ajmitch | plus it scans from the internet | 12:02 |
shawarma | ajmitch: Oh, I though it was a local program. | 12:03 |
steveire | netstat still says apache is listening on 80. | 12:03 |
shawarma | steveire: The entire point is that when only listening on the loopback interface,it can't be reached from the outside. | 12:03 |
ajmitch | nope, steve gibson's amazing online port scanner with advanced stealth capabilities & several helpings of marketing BS | 12:03 |
shawarma | steveire: Does it say 127.0.0.1:80 | 12:03 |
steveire | So 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 |
shawarma | steveire: ? | 12:03 |
steveire | shawarma: Yes. It does now | 12:04 |
shawarma | steveire: Are you behind a router or anything? | 12:04 |
steveire | Eh, yep. | 12:04 |
shawarma | That's it then. | 12:04 |
shawarma | You probably can't connect to your machine from the outside at all. | 12:04 |
ajmitch | hm, I suppose I should do a samba merge again | 12:04 |
shawarma | ajmitch: Someone should :) | 12:05 |
steveire | Ah 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 |
shawarma | steveire: knock yourself out :) | 12:05 |
ajmitch | shawarma: since I did the last one, I guess it falls on me again | 12: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!