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