helfire | my 8.04.3 server, apache takes my load to 150+ when say 50 requests come at it, and the load wont go back down. This locks up my server every time google indexes it | 00:01 |
---|---|---|
=== codedrunk is now known as wifisniper | ||
ghostlines | can anyone help me with a cod4 dedicated server setup? | 00:09 |
ikonia | whats the problem ? | 00:10 |
ghostlines | i run the server, but can't connect to it to join a game | 00:10 |
ghostlines | when i do a nmap scan the port isn't open so I'm not suprised | 00:11 |
ikonia | drop you're firewall | 00:11 |
ghostlines | netstat also doesn't show anything | 00:11 |
ikonia | nmap isn't the best tool to check | 00:11 |
ghostlines | the firewall in my router you mean? | 00:11 |
ikonia | then the server isn't running | 00:11 |
ghostlines | cuz i don't have ufw setup in ubuntu | 00:11 |
ikonia | if netstat doesn't show it listening, it's not running | 00:11 |
smackd | in squirrelmail im getting this error.. what does this mean.. | 00:11 |
smackd | Transaction failed | 00:11 |
smackd | 554 5.7.1 <matt14213@yahoo.com>: Relay access denied | 00:11 |
ikonia | smackd: it means youre mail server is not setup as a mail relay | 00:11 |
ikonia | smackd: look at your smtp server settings | 00:12 |
ghostlines | i don't have a firewall setup, unless ubuntu confifures one by default | 00:13 |
ikonia | ghostlines: it's not listening | 00:13 |
ikonia | ghostlines: that's the problem, not the firewall | 00:13 |
ikonia | if netstat doesn't show it as listening - it's not running | 00:13 |
ghostlines | my bad you said something about a firewall so i commented on that | 00:14 |
ghostlines | indeed it isn't running | 00:14 |
ghostlines | but in my cod4 console it does say that it's running strange | 00:14 |
ikonia | so there is your answer | 00:15 |
ghostlines | cool, I'll look into why the codserver is giving probs, thanks for your help | 00:16 |
xander787 | i upgraded my ubuntu server 9.04 (with gnome) to 9.10 and now it wont boot and spits out the error: mountall: symbol lookup error: mountall: undefined symbol: udev_monitor_filter_add_match_subsystem_devtype | 00:40 |
=== alex88 is now known as alex88[sleep] | ||
XiXaQ | I'm wondering about this with encrypted home and mailserver. Will it work at all? Would it make it possible to setup a mailserver where even I cannot read the mail of my users at all? | 01:44 |
aperson | howdy: my server isn't serving up php files, my browser asks to download phtml files | 01:47 |
aperson | I've gone through the troubleshooting with the ubuntuserverguide | 01:47 |
jmarsden | aperson: Is the issue with .php files, .phtml files, or both? And which version of Ubuntu Server are you running? | 01:56 |
aperson | jmarsden, I am running ubuntu-desktop and I installed lamp via tasksel | 01:58 |
aperson | 9.10 | 01:58 |
jmarsden | OK... and if you create a file called say test.php does that render correctly? | 01:59 |
aperson | yes | 01:59 |
jmarsden | But test.phtml does not. Sounds like you just need to add a handler for .phtml files somewhere... let me explore ... | 02:00 |
aperson | I do not have any phtml files | 02:00 |
aperson | or at least everything is .php | 02:01 |
aperson | it's just the index.php that won't work | 02:01 |
jmarsden | AHA... then it is not PHP handling you need to change just the DirectoryIndex setting | 02:02 |
jmarsden | Note that saying "my server isn't serving up php files" when in reality you mean "my server is not serving index.phtml" is confusing to those trying to help you... | 02:02 |
aperson | sorry | 02:02 |
aperson | I didn't realize that it was just the index.php that wasn't working up until you said reminded me that the test.php worked | 02:03 |
aperson | wow, sentences, I apparently can't form them | 02:03 |
jmarsden | OK. Try editing the file /etc/apache2/mods-available/dir.conf so the DirectoryIndex line has index.phtml at the end of it, and restart apache2 and retest | 02:05 |
aperson | nope | 02:07 |
aperson | still asks to download it | 02:08 |
jmarsden | Hmmm. If you create a test.phtml file it definitely renders OK, right? | 02:09 |
aperson | let me double check | 02:09 |
aperson | anything specific I should put in there? | 02:10 |
jmarsden | some PHP :) | 02:10 |
aperson | sadly, I know none | 02:10 |
aperson | I'll change the test.php | 02:10 |
jmarsden | You are setting up a PHP web server without knowing PHP? ... OK... try the contents of http://pastebin.com/f75a19f9f | 02:11 |
aperson | renders fine | 02:11 |
jmarsden | OK, so it is definitely indexing related. | 02:11 |
jmarsden | Where did you get the PHP you are working with and does anything else you did define DirectoryIndex somewhere? a .htaccess file perhaps? | 02:12 |
aperson | I don't have any .htaccess files | 02:12 |
aperson | this is for an irpg | 02:12 |
aperson | it worked fine on my old server | 02:13 |
jmarsden | Old server as in Ubuntu 8.04 LTS? Or something else? I'll set up a fresh apache2 install in a VM and add index.phtml to that line in dir.conf and test here... | 02:14 |
aperson | I haven't edited any configs other than what you've had me do and creating a /etc/apache2/conf.d/fqdn | 02:14 |
aperson | I think I was running 8.10 at the time | 02:15 |
aperson | btw, thank you for your help so far | 02:15 |
aperson | maybe if I create a .htaccess for it to process the file? | 02:17 |
jmarsden | OK... let's see if I can duplicate this. On my (Ubuntu 9.04 amd64) desktop index.php definitely works as expected... | 02:18 |
aperson | hmm | 02:18 |
aperson | I can try purging and re-installing everything | 02:19 |
jmarsden | Is the file named /var/www/index.php or is it somewhere else? | 02:19 |
aperson | just to be sure we have a clean install | 02:19 |
aperson | it's in /var/www/irpg/index.php | 02:19 |
aperson | let me see if it'll work in /var/www/ | 02:19 |
aperson | that one works | 02:20 |
aperson | so it's just the other dir | 02:20 |
jmarsden | Ok, pastebin that config file you put under conf.d somewhere so I can see what is in it, please | 02:21 |
aperson | the fqdn? | 02:22 |
jmarsden | Yes, if that is what you called it. | 02:22 |
aperson | ServerName localhost | 02:22 |
jmarsden | No... use pastebin, don't put all of it here :) | 02:22 |
aperson | that is it | 02:22 |
jmarsden | Oh. That's all? OK... | 02:23 |
aperson | that was just to stop apache from complaining when I started it | 02:23 |
jmarsden | I'll have a fresh 9.10 server VM running here in a few minutes I can test with... if I can reproduce the issue I can almost certainly fix it too :) | 02:23 |
aperson | :D | 02:24 |
jmarsden | BTW a sane one line test.php or test.phtml or index.phtml or whatever would be <?php phpinfo(); ?> | 02:27 |
aperson | that's what I was using :) | 02:28 |
jmarsden | OK... booting into my new fresh 9.10 server Vm now... | 02:30 |
aperson | huzzah | 02:31 |
aperson | virtualbox? | 02:31 |
aperson | ooh, permission error perhaps? | 02:33 |
jmarsden | Yes, virtualbox... and it works fine for me in /var/www/irpg/index.php "out of the box", no config changes at all. | 02:34 |
aperson | blast | 02:34 |
jmarsden | well, at least it suggests you are not facing some new weird 9.10 bug :) | 02:35 |
jmarsden | You can try changing the perms on index.php but as long as they are at least 644 all should be well. | 02:35 |
aperson | no dice | 02:36 |
jmarsden | And perms on /var/www/irpg are sane too? | 02:38 |
aperson | yes | 02:38 |
poningru | aperson, what is the issue? | 02:38 |
poningru | reading up | 02:38 |
aperson | I 777'd everything just for now | 02:38 |
poningru | hmm | 02:38 |
poningru | I see | 02:38 |
aperson | poningru, I can serve index.php from /var/www/ but not from any folders below it | 02:39 |
poningru | oh?! | 02:39 |
poningru | wtf | 02:39 |
aperson | I wonder if it'd do the same for an index.html | 02:39 |
poningru | can you pastebin your apache2.conf? | 02:39 |
aperson | sure | 02:39 |
poningru | and your default-ssl from sites-enabled if appropriate | 02:40 |
aperson | http://pastebin.ubuntu.com/312929/ | 02:40 |
jmarsden | Unchanged from the default, as far as I can see. | 02:42 |
poningru | looking | 02:42 |
aperson | off-topic: THERE'S A /etc/apache2/magic | 02:42 |
poningru | yeah | 02:42 |
poningru | lol | 02:42 |
poningru | btw yeah was re: jmarsden | 02:42 |
jmarsden | aperson: There is indeed, but it shouldn't have anything in it about PHP or PHTML | 02:44 |
aperson | I know it doesn't have to do anything with my problem, I just found it amusing | 02:44 |
aperson | still want the default-ssl? | 02:45 |
jmarsden | aperson: Sure. Re magic files: man file to read about magic files and what they are used for :) | 02:46 |
aperson | http://pastebin.ubuntu.com/312931/ | 02:46 |
jmarsden | aperson: You can even man magic :) | 02:47 |
aperson | I haven't changed anything from the defaults that I know | 02:47 |
jmarsden | Yes, that looks nice and boring too... | 02:48 |
jmarsden | aperson: Can you check the issue is with all subdirectories (maybe just irpg??)... sudo mkdir /var/www/somedir && sudo cp -p /var/www/irpg/index.php /var/www/somedir and then browse to localhost/somedir/index.php | 02:50 |
aperson | will try 'er out | 02:51 |
aperson | it... works? | 02:52 |
aperson | now I'm bothered | 02:52 |
aperson | so it's the directory | 02:52 |
jmarsden | OK, so is there another file index.* under /var/www/irpg/ or is there a file /var/www/irpg/.htaccess ? | 02:53 |
jmarsden | actually, I'm relieved... it isn't apache, it is something you put in that directory :) | 02:53 |
aperson | last I checked I didn't have any .htaccess files | 02:53 |
aperson | there are no other files with the name index | 02:54 |
jmarsden | OK, you can check if it moves with the directory, so sudo mv /var/www/irpg /var/www/irpg-new and then browse to http://localhost/irpg-new/index.php | 02:55 |
jmarsden | Basically from here we can narrow down the cause until we find it... | 02:56 |
aperson | could it be that the files aren't in the right group? | 02:56 |
jmarsden | For read access is shouldn't matter. | 02:56 |
jmarsden | Move irpg to irpg-new, test , then we can move somedir to irpg and retest that... | 02:57 |
aperson | will do | 02:57 |
aperson | moving it worked | 02:58 |
jmarsden | Hmmm. So it works fine as irpg-new ? | 02:58 |
aperson | yes | 02:58 |
jmarsden | Then somewhere there must be something mentioning or configuring irpg by name... | 02:58 |
jmarsden | To confirm that, mv somedir to irpg and test browsing to irpg/index.php | 02:59 |
jmarsden | and it should fail. | 02:59 |
aperson | yeah | 03:00 |
jmarsden | OK. So... who or what is configuring irpg "specially"? Does grep -ri irpg /etc/apache2/ output anything? | 03:01 |
aperson | nope | 03:02 |
jmarsden | This is starting to feel rather odd... *something* is causing that index.php to not render correctly. Can you pastebin the output of ls -la /var/www/irpg/ for me, just in case that helps? | 03:04 |
aperson | http://pastebin.ubuntu.com/312944/ | 03:05 |
jmarsden | Hmm, I was expecting a dir with just index.php in it... since at this point irpg/ should be the renamed somedir ... what happened? | 03:07 |
aperson | oh, I'be been moving things back and forth | 03:07 |
aperson | let me move things again | 03:07 |
jmarsden | That's ... not helpful :) | 03:07 |
jmarsden | also, the index.php in there is big, way more than just <?php phpinfo(); ?> | 03:09 |
aperson | http://pastebin.ubuntu.com/312946/ | 03:09 |
jmarsden | That index.php is way big, too... | 03:10 |
poningru | aperson, quick question what does firefox say is the mime type of that file? | 03:10 |
aperson | oh, gah | 03:10 |
aperson | I moved the index.php from the irpg back into the irpg folder :/ | 03:10 |
aperson | I forgot which folder I had the test one in | 03:11 |
jmarsden | aperson: It is really hard to work with you if you keep doing silent changes to the test setup! | 03:11 |
aperson | well, sorry | 03:11 |
aperson | I'm not doing anything major, just moving files around | 03:11 |
jmarsden | OK, let's retest with a /var/www/irpg that has just a one line index.php in it. | 03:11 |
aperson | doesn't make a difference | 03:12 |
jmarsden | Try restarting apache and retesting, just in case somehow that got cached | 03:13 |
aperson | nope | 03:13 |
jmarsden | OK, now sudo mv /var/www/irpg/ /var/www/irpg2 and browse to that -- let's make sure that works fine. | 03:14 |
aperson | http://imgur.com/8gA2x.png | 03:14 |
jmarsden | aperson: Is this some sort of weird FF issue? CAn you browse using lynx or some other browser and see if it makes any difference? | 03:15 |
aperson | I have on multiple computers and a couple of different browsers | 03:16 |
aperson | chromium mostly | 03:16 |
aperson | irpg2 works | 03:16 |
jmarsden | OK... so somewhere there seems to be something configuring Apache not to interpret index.php when it is in the irpg directory. But any other directory name works fine. | 03:18 |
aperson | I haven't edited any config files specifically for anything related to that | 03:19 |
aperson | I can purge the server and re-install for sanity's sake | 03:19 |
jmarsden | OK... at this point I'm not sure what else to suggest :) | 03:20 |
aperson | but I *really don't recall* editing anything from the defaults | 03:20 |
jmarsden | FYI, someone else did complain about this kind of an issue here in #ubuntu-server last month, but then they said they'd research it some more.. and they didn't come back to say what they discovered... | 03:21 |
jmarsden | This kind of issue as in FF saying it got a PHTML file... not necessarily that it only happens in the irpg directory! | 03:22 |
jmarsden | It was tiger2wander on 2009-10-21, according to my logs. | 03:23 |
aperson | purged... now re-installing | 03:23 |
jmarsden | OK. | 03:24 |
aperson | weird, I'm in /var/www | 03:24 |
aperson | and sudo is telling me it can't get the working directory | 03:24 |
aperson | nvm | 03:24 |
jmarsden | cd /var/www --- you are in an old deleted /var/www not the newly created on. | 03:24 |
aperson | just figured that :) I shouldn't think out loud so much | 03:25 |
jmarsden | :) | 03:25 |
aperson | nope, doesn't work | 03:26 |
aperson | let me double check that | 03:26 |
jmarsden | Try testing without moving any of the old files, the real irpg/* files, back in. Just create a one liner index.php and test with that. | 03:27 |
aperson | ok, so I looked inside the phtml file | 03:27 |
jmarsden | OK... | 03:27 |
aperson | I deleted the entire /var/www/* | 03:27 |
aperson | I used the test php for /var/www/irpg/index.php | 03:28 |
aperson | and the file that got spit out was the irpg index.php | 03:28 |
aperson | I tried that in two different browsers on two different computers | 03:28 |
aperson | and it's always a .part file from firefox | 03:29 |
jmarsden | OK... but uninterpreted. That's what I'd expect if Apache is (somehow/somewhere) being told not to interpret that file... Not sure about the .part thing, that is probably just a Firefox-ism. | 03:29 |
aperson | yeah | 03:29 |
aperson | but why would it be spitting out the file that isn't there? | 03:29 |
jmarsden | The file isn't there?? | 03:30 |
aperson | I'm using the test php index.php | 03:30 |
aperson | not the irpg one | 03:30 |
aperson | it's spitting out the irpg one | 03:30 |
jmarsden | Oh, the big real one? | 03:30 |
aperson | yeah | 03:30 |
fxhp | I just followed this guide, but I'm unable to ping my vm: https://help.ubuntu.com/community/JeOSVMBuilder | 03:30 |
jmarsden | aperson: OK, so something is either caching it, or you have some config file somewhere changing how Apache is behaving. Where on your machine do you currently have copies of that larger index.php ? | 03:31 |
aperson | on a flashdrive | 03:31 |
jmarsden | umount the flashdrive and retest | 03:32 |
aperson | same thing | 03:32 |
jmarsden | So either there is another copy, or something is caching big time... are you running squid or anything similar on this machine?? | 03:33 |
jmarsden | Worst case you could reboot the machine, but that will make finding the real culprit harder. | 03:35 |
aperson | no squid | 03:36 |
aperson | I can reboot it | 03:36 |
jmarsden | First try stopping apache2 and then starting it ? | 03:36 |
aperson | too late | 03:37 |
jmarsden | Ok :) | 03:37 |
aperson | same thing | 03:39 |
aperson | where would the cache be? | 03:39 |
jmarsden | In some service that is doing caching... ? Are you browsing to localhost or to a real IP address? Does it make any difference? | 03:40 |
aperson | no difference | 03:41 |
jmarsden | aperson: If you stop apache completely and then browse to it, what happens? | 03:41 |
jmarsden | Maybe this PHTML is not really coming from your apache server at all?? | 03:41 |
aperson | failed to connect | 03:41 |
aperson | it has to be coming from it | 03:41 |
aperson | I've been testing it on multiple computers | 03:42 |
jmarsden | aperson: well, you could theoretically have had another service sending it to all of them... but if stopping apache prevents it, that's somewhat conclusive. | 03:43 |
aperson | SUCCESS | 03:43 |
jmarsden | OK... what was it? | 03:43 |
aperson | sudo service apache start-htcacheclean | 03:43 |
aperson | thank you, tab-completion | 03:43 |
aperson | well, not out of the water yet | 03:44 |
aperson | I still need to test the site | 03:44 |
aperson | but it's serving the test php from /var/www/irpg | 03:44 |
jmarsden | Ok, well, at leats I was right about the caching :) That's mod_cache ... | 03:44 |
jmarsden | Did you install that on purpose, or is it there by default? | 03:45 |
aperson | all I did was tasksel and selected lamp | 03:45 |
aperson | to install the server | 03:45 |
aperson | success! | 03:46 |
aperson | jmarsden, your patience is amazing :) | 03:46 |
aperson | and I think you much for stick with me through this | 03:46 |
aperson | s/stick/sticking | 03:46 |
jmarsden | Cool. No problem, I'm glad we got there in the end :) Now I can go eat! | 03:46 |
aperson | same here! | 03:47 |
aperson | I've been dying to eat | 03:47 |
aperson | wait | 03:49 |
aperson | well, don't | 03:49 |
aperson | GAAH | 03:50 |
aperson | it won't serve it again | 03:51 |
aperson | it's a problem with the config.php | 03:53 |
jmarsden | aperson: I'm back... what did you change in which config.php to fix it? | 04:12 |
aperson | setting: $BASEURL="/irpg/"; | 04:16 |
aperson | causes the error | 04:16 |
jmarsden | Ah, Ok, so there really was a config file with the string irpg in it... but that file was where exactly on the machine? | 04:17 |
aperson | /var/www/irpg | 04:18 |
aperson | if you're really interested, I can pastebin the offending files, but I have it fixed for the moment | 04:18 |
jmarsden | OK. That explains why searching under /etc/apache2/ failed to see it :) No, that's fine, makes sense now. Thanks. | 04:18 |
aperson | huzzah! fixed my other error I was getting :D | 04:19 |
jmarsden | :) | 04:19 |
aperson | had to install php5-gd | 04:19 |
jmarsden | OK... looks like we're going out for coffee and dessert... glad it is all (finally!) working. | 04:20 |
aperson | thanks much jmarsden | 04:21 |
uvirtbot | New bug: #413285 in whois "Translations: no.po should be nb.po" [Low,Fix released] https://launchpad.net/bugs/413285 | 04:22 |
ScottK | sommer: Are you going to update ldapscripts? Debian is way ahead of us now. | 04:47 |
uvirtbot | New bug: #478142 in samba (main) "package winbind 2:3.4.0-3ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/478142 | 08:07 |
kaushal | hi | 08:28 |
kaushal | what are the causes for degradation in Hardware RAID ? | 08:29 |
=== alex88[sleep] is now known as alex88 | ||
=== Chaoz is now known as Guest99723 | ||
=== Chaoz|W is now known as Chaoz | ||
=== tyabux is now known as XiXaQ | ||
davdm2010 | hi, looking for some help. I am a newb, just want to clarify that up front. | 14:23 |
uvirtbot | New bug: #478378 in bind9 (main) "package bind9 1:9.6.1.dfsg.P1-3 [modified: usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: sub-processo script post-installation instalado foi morto por sinal (Interrup??o)" [Undecided,New] https://launchpad.net/bugs/478378 | 14:26 |
=== zoopster1 is now known as zoopster | ||
StrangeCharm | what's the name of the lamp metapackage? | 17:14 |
kblin | apache mysql-server php-cgi ? | 17:15 |
kblin | apache2, probably | 17:15 |
StrangeCharm | kblin, isn't there a metapackage that includes the correct packages | 17:16 |
kblin | StrangeCharm: not that I'm aware of.. though you can probably use tasksel to pick it | 17:19 |
StrangeCharm | kblin, tasksel is launched with sudo tasksel? | 17:20 |
kblin | I think so.. it's been years since I last ran it manually, I'm afraid | 17:20 |
terinjokes | hey guys, i think i have a configuration issue with fither interfaces or dhcpd | 17:35 |
terinjokes | my server box gets the internet from wifi and shares it over eth0... setting on the desktop, i can get the server (at 192.168.3.2) but not the internet | 17:37 |
terinjokes | s/setting/sitting/g | 17:37 |
terinjokes | no ideas? | 17:46 |
kane_ | terinjokes: chances are your gateway's not setup properly.. a quick google offers this howto that might be helpful: http://www.ubuntugeek.com/sharing-internet-connection-in-ubuntu.html | 18:09 |
terinjokes | kane_: you mean the server? | 18:09 |
kane_ | yeah, on the server | 18:09 |
terinjokes | kane_: from the wrkgroup i can connect to the server, and it's resources, but nothing past that | 18:10 |
kane_ | right, that's the gateway issue; the server has to connect eth0 to it's wifi for you. take a read through the howto,it shoudl explain a lot | 18:11 |
terinjokes | kane_: if only i had internet :P | 18:11 |
kane_ | terinjokes: i'm trusting you have internet, since you're on this *irc* channel :) | 18:11 |
terinjokes | kane_: from sshing to the server from that internet-less desktop :P | 18:12 |
kane_ | apt-get install lynx to read webpages on the terminal | 18:12 |
terinjokes | kane_: i know, 'cept i perfer links | 18:13 |
terinjokes | looks like ubuntu.com when offline | 18:23 |
terinjokes | kane_: crossing my fingures | 18:33 |
terinjokes | nope, dropping the connection... | 18:34 |
terinjokes | kane_: tried setting up iptables, no luck | 18:39 |
baltadt | has anyone ever used Drupal? | 18:42 |
terinjokes | kane_: works better when i don't drop *every* thing from iptables | 18:52 |
terinjokes | kane_: E: Package ipmasq has no installation candidate | 18:58 |
terinjokes | going down | 19:15 |
ehazlett | greetings... can someone point me to docs on how to setup xen on 9.10 server? | 19:47 |
ehazlett | (just to get the boot correctly with grub 2) | 19:47 |
terinjokes | kane_: still there? tried https://help.ubuntu.com/community/EasyWirelessToWiredConnectionSharing which doesn't work either | 20:03 |
kblin | terinjokes: so your packages from the local network don't get routed via the wifi? | 20:10 |
terinjokes | packets, yep | 20:11 |
terinjokes | i feel like that USPS right now... | 20:11 |
kblin | er, packets.. | 20:11 |
kblin | ok, you switched on ipv4 forwarding? | 20:12 |
kblin | and I assume you've set up masquerading? | 20:12 |
terinjokes | echo 1 > /proc/something/something/ipv4/ip_forwarding | 20:12 |
kblin | what does cat /proc/sys/net/ipv4/ip_forward give you? | 20:13 |
terinjokes | kblin: i've added a postrouting to the nat iptable | 20:13 |
RoyK | omg. the opensolaris community is even worse than some linux communities | 20:13 |
terinjokes | kblin: right now "1", i assume on reboot that would go back to 0 | 20:14 |
kblin | yeah | 20:14 |
terinjokes | (well, 1, no quotes) | 20:14 |
kblin | but for now that should work | 20:14 |
kblin | can you pastebin the output of "iptables -t nat -L" | 20:15 |
terinjokes | sure... let me switch computers and reopen screen | 20:19 |
terinjokes | kblin: http://pastebin.ubuntu.com/313587/ | 20:20 |
uvirtbot | New bug: #478649 in samba (main) "Files named cifsxxxx (x is various numbers) suddenly appear in many directories of cif mounts" [Undecided,New] https://launchpad.net/bugs/478649 | 20:21 |
kblin | what is your wireless interface, and how did you set up the masquerading? | 20:21 |
terinjokes | kblin: wlan0 | 20:22 |
terinjokes | kblin: that one was http://www.ubuntugeek.com/sharing-internet-connection-in-ubuntu.html | 20:22 |
terinjokes | kblin: if i follow https://help.ubuntu.com/community/EasyWirelessToWiredConnectionSharing i get http://pastebin.ubuntu.com/313591/ | 20:23 |
terinjokes | (i was using -s 192.168.3.0/16 in the iptables command midway through that last page | 20:23 |
kblin | I jusdt want to see the iptables command you used | 20:24 |
terinjokes | iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE *or* iptables -t nat -A POSTROUTING -s 192.168.3.0/16 -o wlan0 -j MASQUERADE | 20:25 |
terinjokes | i do *not* have dnsmasq or ipmasq installed | 20:25 |
terinjokes | kblin: and for good measure my interfaces and dhcpd configuration: http://pastebin.ubuntu.com/313597/ | 20:30 |
kblin | perfect, I was just about to ask | 20:30 |
kblin | ok | 20:31 |
terinjokes | kblin: something wrong? | 20:33 |
ehazlett | greetings all... i am trying to get xen to run on ubuntu 9.10 server. i can't seem to get it to boot xen | 20:36 |
smackd | why would netstat only show apache2 listening on tcp6 :::80 ?? and not 4 | 20:40 |
terinjokes | kblin: anything? | 20:41 |
kblin | terinjokes: sorry, pinged out | 20:54 |
kblin | terinjokes: the second entry looks better, but not quite right yet | 20:54 |
kblin | do an iptables -t nat -F | 20:55 |
kblin | that will flush the old rules | 20:55 |
kblin | oh, and please pastebin the output of "iptables -L" | 20:55 |
kblin | then do an iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | 20:56 |
kblin | that together with the ip_forwarding setting should be sufficient to masquerade your clients out | 20:56 |
kblin | unless your firewall is acting funny | 20:57 |
=== Blusion`Eten is now known as Blusion | ||
ninjah | I'm trying to unmount a file system that's bussy | 21:09 |
ninjah | How do I find out why its busy? | 21:09 |
guntbert | ninjah: fuser -m <mountpoint> should help | 21:11 |
kblin | lsof might help as well | 21:11 |
ninjah | guntbert, kblin: lsof worked but fuser didn't give me much... Thanks! | 21:16 |
uvirtbot | New bug: #477795 in gnome-system-tools (main) "Please remove obsolete ntp servers from gnome time applet" [Undecided,New] https://launchpad.net/bugs/477795 | 21:22 |
russlar | ninjah: fuser -cu | 21:25 |
terinjokes | kblin: http://pastebin.ubuntu.com/313636/ | 21:29 |
kblin | terinjokes: looks good. should masquerade now if your clients are set up correctly | 21:30 |
kblin | need to change trains, bbl | 21:31 |
terinjokes | kblin: that's dandy... i wonder if i can get the PC to start with WOL | 21:31 |
=== Blusion is now known as Blusion`Afk | ||
=== mtrudel_ is now known as cyphermox | ||
sjefen6 | How can I make ubuntu server turn off the screen on my laptop when the screen is not being used (using ubuntu-server on my laptop) | 21:53 |
uvirtbot | New bug: #478762 in lm-sensors (main) "lm-sensors don't work" [Undecided,New] https://launchpad.net/bugs/478762 | 22:57 |
MenZa | Is it possible to make update-motd update the motd on login? | 22:57 |
MenZa | Specifically, I have a perl script I want to have executed on login. Perhaps I'm going about this the wrong way, so if there's a better option, please do point me towards it. :) | 23:00 |
MenZa | It seems to me that the contents of /etc/motd is just sent to the user, but not run if indicated as a script. Perhaps I need to include the script (perl /path/to/file > /etc/motd) on login? | 23:05 |
MenZa | Then again, that seems like a fairly bad solution | 23:05 |
pmatulis | MenZa: you should be working with your users' shell files, not motd | 23:10 |
MenZa | pmatulis: Why so? | 23:25 |
MenZa | pmatulis: I'm showing information about the system, including load, number of currently logged-in users, stuff like that | 23:25 |
MenZa | Makes perfect sense to have that information viewable on login. | 23:26 |
=== Sam-I-Am_ is now known as Sam-I-Am |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!