[00:19] this is quite nice [00:19] I'm home sick with a leg in a cast, boss sent me ane sms "are you logged onto the dhcp server?" replied "huh?" [00:21] he called me minute later, the dhcp servers had been down for half an hour or so, I checked /var/log/daemon.log, complaints about timesync between the two servers, installed and configurd ntp, restarted ntpd, dhcpd, done, about a minute work, and boss was like WTF did you do? [00:21] To which you replied "Fixed it - now where's my check?" [00:22] I'm called in sick, his only reply was 'well, roy, you've done your job today again :)' [00:22] I love debugging unices when I get to the point quickly [00:23] those windoze nerds just bladder and can't understand how something can be fixed that easily, or quickly [00:23] and WITHOUT A REBOOT [00:28] reminds me when I started virtualising windows... "what a terrible idea! How will users press the reset button now when its being slow?" (true story sadly) [00:29] :) [00:29] windoze is defective by design [00:30] yann2: did you ever get more info re 'kvm and memory usage'? [00:30] pmatulis, nope... [00:30] yann2: k [00:30] yann2: what was that about? [00:30] is a vm with postgres, still swapping when having plenty of filecache, still no idea, still thinking I should add more ram [00:31] google swappiness [00:31] thought about that, but didnt know what to set it to [00:31] linux will start swapping out things quite early by default [00:31] and a good value for that is quite disputed [00:31] it's a good thing to swap out crap you don't need in ram [00:32] and actually pmatulis told me not to, I think my original questoin was "what should i set swappiness to" :) [00:32] RoyK, when 60% of ram is used it starts to get me worried [00:32] default value is 60 [00:32] I usually set it to 100 [00:33] yann2: the point is that you want as much memory usable as possible, stuff hanging around eating memory is of no use [00:33] but when its claimed back it might take a lot of i/o, more than some filecache [00:34] plus on a postgres VM, filecache is probably the db files... and swap the postgres memory [00:34] not necessarily, swapped out doesn't mean released from memory [00:34] I meant used back, or read back :) [00:35] swapped out is an old term, these days things get swapped out and not released from memory [00:35] just with a postgres vm, you end up having postgres trying to read as much as possible into memory, and the filesystem doing the same for the same data [00:35] so that the memory contains the data, but can release it quickly, or release it from swap [00:36] I don't think postgres has any caching [00:36] it just relies on the filesystem buffers [00:37] yann2: don't care too much about how much is swapped out - care about i/o load [00:38] wonder what it uses 600M ram for then :( [00:38] if sar/sysstat/vmstat/something tells you wio is high, well, that's an indicator for need of more memory [00:38] RoyK, the thing is, it's a very sensible VM, if it runs out of memory it might kill my data [00:38] yann2: don't bother [00:38] and it would be good [00:39] I certainly dont want my VM to run out of ram... and monitoring the swap is the best way I know to monitor it [00:39] * RoyK guesses that last one should be 'no good' [00:39] no good yes :P [00:39] although its boring finance stuff :) [00:39] how is the i/o load of the vm? [00:40] has pikes [00:40] on average [00:40] apt-get install sysstat [00:40] enable it in /etc/default/sysstat [00:40] start it [00:40] pasted you a link in private [00:40] that will show you io load over time [00:40] with detailed stats [00:41] well, that's ok [00:41] some spikes, but overall just fine [00:42] maybe I should change my swap alerts levels [00:42] I really wouldn't worry about that [00:43] you're hardly using swap at all [00:43] got an alert at 40% :) [00:43] and the memory stats look good [00:44] disk i/o load is close to zero [00:44] so don't worry [00:44] like collectd? :) [00:45] well, add a truckload of memory and you might gain 10% performance [00:45] your system is not under heavy load [00:46] I know :) just concerned its sometimes swapping out 400MB when it has 500MB filecache [00:46] linux does that [00:46] it swaps out stuff not in use [00:46] so that the memory can be used for something useful [00:46] k [00:47] at swappiness = 60, being the default, it's quite moderate [00:48] at 100 it's a little more triggerhappy, better for most systems, at least those with low memory [00:48] low memory being < 200% needed of the apps [00:59] hi all [01:00] could anyone help me recovering grub2 on a software RAID? [01:01] after an upgrade from 8.04? [01:08] jdstrand: is bug 696318 something you've ran across before? [01:08] Launchpad bug 696318 in libvirt "Starting VMs on qcow2 format with base images in level three fails" [Medium,Confirmed] https://launchpad.net/bugs/696318 [01:17] yann2: what disk format are you using with your plagued guest? [01:20] Anyone familiar with Supermicro ipmi on Ubuntu 10.04 or 10.10? [01:21] qcow2 pmatulis , on local disk [01:21] its not THAT plagued [01:22] sent you the graphs in pv [01:24] anyway its late here, I think I'm off to bed :) see you tomorrow, and thanks to both of you for your help [01:43] Hey, I have a strange issue with hostnames on ubuntu. When I send an e-mail there is a line: Received from damdamdam.org (ip6-localhost [127.0.0.1]) but my hosts file does not have damdamdam.org ... === PleXT is now known as PleXs_zZz [01:52] Frenk, mail is sent "from" the mailname you specified when configuring your mail server [01:54] qman__: I mean something else: the from adress is okay. But when I open all headers: Received from damdamdam.org (ip6-localhost [127.0.0.1]) by myrightdomain.org (Postfix) with ESMTP id 223 for ; Tue, 4 Jan 2011 02:32:41 +0100 (CET) [01:55] and I want to get rid of damdamdam.org [01:55] yes, this is what I'm talking about [01:55] that name is the system's mailname [01:55] what that name is has nothing to do with DNS, though you're supposed to choose a DNS accurate name [01:56] cat /etc/post*/main.cf | grep my >>> myhostname = myrightdomain.org [01:57] that is not the mailname [01:57] cat /etc/mailname [01:58] output is: static.MY-IP-ADRESS.clients.HOSTER.com [02:00] well, if it's coming from somewhere else, grep -R damdamdam.org /etc [02:00] might be the sender specifying that in headers too [02:10] qman__: I found smth but there are all domains listed that Im using. I just run grep for / ... waiting .. [02:27] anyone use Adaptec 2240900-R? [02:27] or Rosewill RC-218 [02:28] need more sata ports for my sw raid not sure which is best for ubuntu [02:34] I don't use hardware raid. [02:35] i dont either [02:35] i want to use sw raid [02:35] i just need more ports. [02:35] If you just need SATA sockets for your md RAID, just buy a $10 SATA controller card. [02:35] It shouldn't matter a damn as long as you can say "don't fakeraid", which most can -- and if the one you get can't, just buy another $10 card with a different controller. [02:36] the rosewill is the only option i found on newegg thats nonraid, 4xsataII, [02:36] pci-e 4x [02:36] They all CLAIM to be raid, but it's fakeraid [02:36] yes i know [02:36] don't worry about it [02:36] i was lookng at a 3ware card but thats way overkill [02:36] i dont need 300mb/sec [02:36] Just buy three $10 ones of different makes (and chipsets, if you can confirm that) [02:37] One of them will work and support "no raid" as an option [02:37] heh in my case i can only use 1. its on a atom ion2 [02:37] 1xpci-e [02:37] Yes, but buy three at once so you have a better chance of ONE of them working [02:37] LOL [02:37] oh its like that [02:38] thanks [02:53] I have a couple promise TX4s [02:53] the only features you might be interested in are NCQ and friends, for performance [02:53] everything else is irrelevant as long as it can operate in non-raid mode [02:55] NCQ is the noop call, right? [02:55] Oh, no, it's more like an interrupt protocol. Never mind [02:55] http://en.wikipedia.org/wiki/NCQ [03:00] k i do want ncq thanks [03:01] fubada: eh, depends if it's gonna be a database server or just host users' word documents :-P [03:05] if you have more than four drives, you're probably CPU and network limited anyway [03:07] twb ill surely have mysql or some db backend for services [03:07] i have 4 drives for md raid [03:07] and ssd for os [03:07] http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=12215494 [03:08] raid 10/0+1? [03:09] i was thinking raid5 [03:09] 4x2tb's [03:09] md raid [03:09] going to be CPU limited [03:09] really? dual core 1.8 [03:09] reads will be fast, but writes will be CPU limited [03:10] still pretty fast, but don't expect more than ~60MB/s [03:10] hm [03:11] it has to calculate the parity on the fly [03:12] raid 10 would not have that problem [03:12] can linux do sw raid10 [03:12] but gigabit ethernet will cap your throughput around 80MB/s [03:12] so unless that throughput is needed locally, not really worth it [03:13] yes [03:13] so what is the best option? a 3ware card runs 320$ [03:14] but i dont need that kinda read/write [03:14] not worth it, for that scale [03:14] raid 1? [03:14] if you need more throughput, spend more on a faster CPU and better drives, or just go raid 10 [03:14] raid 5 is too much cpu, im not familiar with raid10 [03:14] the drives are wd greens for low power [03:15] and low heat [03:15] green drives are the bottom of the barrel [03:15] they like to advertise low power but they're very slow and won't last under heavy loads [03:16] but again, it all depends on your needs [03:16] if it's just storing data backups, no problem [03:16] if you're hosting a high traffic database, get something else [03:16] htpc, home nas [03:16] backups [03:17] seed box for my torrents [03:17] 500/sec 24/7 [03:17] 500k/sec [03:17] you're going to need a faster CPU if you want good throughput with that going [03:18] encoding/decoding video and running torrents are going to put notable load on it already, plus a raid 5 [03:18] eh i dont think it'll be doing any encoding [03:18] ion2 is onboard for gfx [03:18] let me put it this way [03:18] :) [03:18] my file server, 8 disk raid 6, runs torrents [03:18] 2.2GHz single core CPU [03:19] my writes under normal circumstances cap around 35MB/s [03:19] when I start a bunch of torrents the server load exceeds 20 for several minutes [03:19] what.cd? [03:19] nah, 10-20 torrents [03:20] damn [03:20] and normal, seeding load is .10-.15 [03:20] that chip is dual core, so it is faster than mine, and raid 6 has twice the parity to calculate [03:20] but you're still looking at notable overhead [03:21] you're going to be waiting on it when you start big torrents, and your writes probably won't cap your gigabit [03:21] Mh can anyone explain this to me: https://help.ubuntu.com/10.04/serverguide/C/certificates-and-security.html there is some information: http://paste.ubuntu.com/550071/ What does this paragraph mean? Its my first SSL experience (Official SSL from a CA) - I mean eg. if Apache or Cyrus crashed, does it mean my watchdog cant start them again until I type in my password again for the cert? [03:21] got it [03:21] the goal was to build a lower power box, so i'll have to sacrifice on services [03:21] thats fine [03:21] ok, just so you're aware [03:22] appreciate the info thank you [03:22] it'll work fine, just a bit slower [03:22] i wanted to run xen on this lol [03:23] how do you make it so you can access your webpages internally like this: http://internal.ip.of.server/directory_of_webpage [03:23] qman__, can you think of a better 5400rpm drive [03:24] than the wd caviar green [03:24] i am currently using virtual hosts [03:24] I don't have suggestions there, I use 7200RPM drives [03:24] samsung HD103SJs, to be exact [03:24] nice [03:25] 72k's run too hot [03:25] 4 stacked will run really hot [03:25] in my experience, WD drives run a lot hotter than other bransd [03:25] though it has not affected longevity [03:25] 10C on average [03:26] the green drives may be a different story, I don't know because I don't use them, but for everything else that has been my experience [03:27] there's a samsung green drive [03:27] 5400 [03:27] its 20bucks cheaperr [03:27] SAMSUNG Spinpoint F4 HD204UI [03:28] one suggestion, make sure you configure SMART monitoring [03:28] I lost my first array when three drives failed in one day, and I already had to RMA one drive from this new array [03:29] 3 drives in one day [03:29] earthquake?! [03:29] no, just plain drive failure [03:29] those were seagate 7200.11 500GB [03:30] two an hour apart [03:30] i have 1 drive fault tolerance with raid10? [03:30] the third a few hours later [03:30] 4x2tb [03:30] any one drive, and in some cases two drives [03:30] cool [03:30] it depends on which two, though [03:30] right [03:31] are you using myth [03:31] mythtb [03:31] tv [03:31] no, my file server isn't also an htpc [03:31] :) [03:31] I tried to set up myth on a different machine but it wouldn't work with my graphics [03:31] had to install windows, unfortunately [03:31] im so enraged at this cablecard issue [03:31] encryption of hdmi, lack of cablecard support in linux [03:31] sdv [03:32] this makes mythtv not even worth it [03:32] it's not if you have encrypted qam channels [03:32] i want to fire my cablecompany now [03:32] I just want to buy the channels I use [03:32] and not the other shit [03:32] exactly [03:33] dream on ;) [03:33] im going to fire my cabletv [03:33] what do you watch anyhow? [03:33] a&e [03:33] nfl [03:33] history [03:33] natgeo [03:33] nfl you're set [03:33] espn [03:33] get an xbox [03:33] and downlod the espn app [03:33] :D [03:33] i have ps3 :P [03:34] does the ps3 have the espn app? ;) [03:34] i doubt it [03:34] anything that plays on espn [03:34] you can play on the xbox [03:34] i think you can stream hd nfl games for 100$/yr [03:34] in flash [03:34] what on a&e?> [03:34] horders and intervention [03:34] haha [03:34] other crap [03:34] ya, same [03:35] i really liked that show on amc [03:35] about meth... [03:35] doh whats the name [03:36] espn signed a deal with MS [03:36] no espn for ps3 [03:36] right [03:36] The_Tick, do you own a hauppage hd-pvr [03:36] nope [03:36] fubada: I have an xbox [03:36] and I'm almost off of cable [03:36] thats one way to have mythtv with cablecard [03:37] really? [03:37] but can only record/watch one channel [03:37] hrmm [03:37] yea it just records and encodes 1080i [03:37] so get more than one computer [03:37] and USB to your box [03:38] the media/communication companies in this country are filthy pigs. === WinstonSmith_ is now known as WinstonSmith === ^rifter^ is now known as rifter === cradek_ is now known as cradek === guampa is now known as guampa-off [06:24] oh dear - I think I've done something stupid. I have 320000 files in one directory (small css files).Am I reaching somehow some limits here on ext3? [06:24] just thinking of running out of inodes or something. [06:28] tom_: 'df -i' will show you your filesystem usage by inode count, I'd keep an eye on that as the first sign of things going funky [06:31] uff - still shows 26% free ... :-) but an ls | wc -l takes like 5 minutes. I guess I'm best of deleting the whole directory, they are just temp files. [06:32] I think what you'll start to run into first with that kinda scenario is the limits of shell globbing [06:32] tom_: by default GNU ls will sort records [06:33] tom_: there is an option to prevent this, which will make it emit results as they arrive from the directory listing syscalls [06:33] Alternatively, find -ls or just find [06:34] hello folks [06:34] Oh, and 320,000 files in a single dir will not be handled very well by ext[23] or fat -- possibly not by any block-oriented filesystem. Try an extent-oriented filesystem? [06:34] could someone help me to install grub to from cli? [06:34] stlsaint: "grub-install /dev/sdz", where sdz is your disk. [06:34] I don't event want them !! I think I must have screwed up in a php script. [06:34] stlsaint: if that doesn't work, you're on your own -- I use extlinux. [06:34] i installed server edition, but grub installed on the usb stick and not my master harddrive [06:35] but it should be safe to just delete that directory right? [06:35] tom_: find /tmp/foo -name 'php_??????.txt' -delete [06:35] tom_: yes, or just rm -r the parent dir [06:35] stlsaint: that is a known bug [06:35] stlsaint: I don't know what the workaround is, other than unplugging the USB key after you've loaded its kernel and ramdisk into memory. [06:36] oh man there has to be a better way than that! [06:36] stlsaint: it'll be fixed in natty (and maverick?) [06:36] thx for ur help twb shauno, that number just was astronomical [06:36] 10.04 [06:36] stlsaint: of course you can also fix things post-facto by booting a live image and using grub-install from there. [06:37] stlsaint: or you could install 8.04 normally, then upgrade it to 10.04 [06:41] this is a pretty big bug to let go unwarranted [06:41] smh [06:42] Er, it's not "unwarranted". [06:42] It has been fixed. [06:43] Since it does not affect the supported install media, I assume that the release policy didn't require it to be backported to stable releases. [06:44] twb: aye, i see what you mean but is it corrected in 10.04 as i see this being the most important as it is a LTS [06:45] stlsaint: AFAIK you're using an unsupported install medium, so if it breaks, you get to keep both pieces [06:47] so the only supported installs are cd? [06:47] i wouldnt understand how a net install would be supported... [06:47] but a usb is not... [06:47] AFAIK only CD installs are officially supported. [06:48] smh [06:49] FWIW a 10.04 netboot kernel and ramdisk can be bootstrapped from a USB key, then the USB key removed, and then the install completed from the network. This is how I perform installs when the PXE server is down. [06:50] aye [06:50] that is good tto know [06:51] That's these: http://archive.ubuntu.com/ubuntu/dists/{hardy,lucid,maverick}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/{linux,initrd.gz} [06:52] Within that tree are boot.img and mini.iso that are basically the same content, but pre-rolled with a bootloader. [07:01] twb: i went with the re-install of grub from livecd (usb) [07:01] twb: thanks for your assistance [07:01] stlsaint: OK === sresu_ is now known as sresu [07:51] New bug: #697105 in apache2 (main) "Segfault on POST" [Undecided,New] https://launchpad.net/bugs/697105 [09:00] where i can discuss about ubuntu amazon or UCE images - any idea - is it the right room? [09:03] my log is filling up with collectd rrdtool -errors like these http://pastebin.com/Fm1LDc7V any experiences? [09:15] xampart: install ntp? [09:15] Hi, when I start the cman service in 10.10 I see these messages in daemon.log http://paste.ubuntu.com/550140/ [09:15] xampart: the first line looks like it's whinging because an epoch time counter somewhere went backwards [09:16] Or rather, stood still [09:16] xampart: what happened at Mon Jan 3 08:19:39 UTC 2011 ? [09:18] macno: udev is pissed because the rules file you just installed expects (presumably) an older kernel [09:18] macno: try copying it from /lib/udev/rules.d/ to /etc/udev/rules.d/ and removing the "misc/"'s [09:18] I upgraded from 10.4 to 10.10 [09:19] let me try [09:19] macno: note that I'm just guessing; I'm not familiar with "cman" nor 10.10 [09:32] twb: nothing special in syslog or messages [09:33] and ntp is installed [09:34] is it safe to use ubuntu-server as a desktop os? [09:34] does it have all the security stuff that ubuntu-desktop has? [09:37] no--name: yes, apart from the packages installed by default from the server cd will be different and the kernel installed will be the -server flavor [09:38] TREllis: is there anything I should install security wise that -server doesn't have installed by default? [09:41] no--name: the server install will have a very minimal package set, so by default you shouldn't have any ports open or anything. I'd start off with reading through the server guide, it has a fairly brief overview of things to look at securing, really depends on what services you want to run. https://help.ubuntu.com/10.10/serverguide/C/index.html [09:42] ok [09:43] so in the end it will be a lot more work than just going with -desktop? [09:44] no--name: "more work" would depend on what you want to use it for [09:44] ok [09:46] no--name: define "safe" [09:47] twb: as safe as ubuntu-desktop [09:48] It's safer. [09:48] Way safer. [09:48] It has almost nothing installed by default. [09:48] Less attack vectors. [09:48] no--name: IMO -server is not significantly LESS safe than -desktop; it may be MORE safe. [09:49] no--name: they differ primarily in the set of packages installed by default; they both back onto the same package repository. [09:49] twb: but I want to use it like I'd use -desktop [09:49] just because it has less bloat [09:50] argh, what is the package that provides the command "locate" ? [09:50] no--name: perhaps you should install from the "alternate" CD, choosing the "cli" option and then installing only what desktop packages you think you need. [09:50] jussi: mlocate (or locate or slocate, depending on vintage and preference). [09:51] twb: ok, what is the one that usually ships with maverick? [09:51] jussi: apt-file can tell you, in future. [09:51] jussi: mlocate, I expect [09:51] they didnt put it onto my server... :/ [09:51] twb: ok. I was just wondering if there were packages I'd need to add for security if I were to use it as a desktop OS [09:52] no--name: conventional wisdom is that installing packages makes a system LESS safe [09:52] ok [09:53] what concerned me is that update manager on -desktop comes up with all sorts of "security updates" but on -server it just comes up with kernel stuff. I guess that's because these security updates are for packages that aren't on -server? [09:54] no--name: that is simply because you have fewer packages installed. [09:54] ok, cool :) [09:54] no--name: security updates apply to both. [09:54] both what? [09:54] no--name: both -server and -desktop. [09:54] hmm [09:54] no--name: they back onto the same security repository. [09:55] why is it that when i ran the update manager on -server i only got kernel stuff? [09:55] 20:54 no--name: that is simply because you have fewer packages installed. [09:55] oh, right :/ [09:55] Well, it may also be because you screwed up something and updates aren't being received [09:55] hmm [09:55] it's too bad I don't have it installed right now [09:57] I'll install it on vbox and see how it goes. [10:17] Hi, please tell me if this is correct cp -r var/www/site1/folder var/www/site2/folder [10:25] twb: would recommend "install security updates automatically" or "manage system with landscape"? [10:25] would "no automatic updates" have update manager manage them isntead? [10:35] no--name: unless you have a support contract with canonical, there's no point in choosing landscape [10:36] ? [10:37] hmm, oh well. should i choose automatic or no automatic (seeing i will be using update manager) [10:38] No idea. I do not support desktops. [10:38] ok [10:38] well, i'll try no [10:38] last time i did install them automatically [10:39] please tell me if this is correct cp -r var/www/site1/folder var/www/site2/folder [10:39] maybe that's why the update manager only came up with the kernel stuff [11:00] Syria: How are we supposed to know? [11:01] soren am i using the right command? because i am getting a message telling me that folder was not found. [11:01] Syria: Again: How are we supposed to know? That command copies a folder called var/www/site1/folder to var/www/site2/folder. How can we tell if that's what you want? [11:02] should be a / in front of var [11:02] How can you know that? [11:02] no--name thnx, I will try it. [11:02] cp -r /var/www/site1/folder /var/www/site2/folder [11:03] and only use one space [11:03] Okay. [11:03] Doesn't matter. [11:03] At all. [11:04] ok [11:04] well the / in front matters if you're not in the / directory [11:07] Unless you're in /home/foo/ and the folder you actually want to copy is called /home/foo/var/www/site1/folder, which is perfectly valid. [11:07] hmm, true [11:07] didn't think about that [11:07] no--name I had to add the / It works now. [11:08] cool [11:08] Thank you guys. [11:08] np [11:09] Using the terminal is much cooler than gui and comfortable to me, but I am still having a problem with learning the commands. [11:09] I have a vps with Lucid server installed on it. [11:12] yeah i like using the terminal [11:21] Guys do you have an idea why my .htaccess file doesn't work? what I ever I type in it? for example "deny from all" [11:21] 644 permessions. [11:31] New bug: #697181 in php5 "DoS: Infinite loop processing 2.2250738585072011e-308" [Undecided,New] https://launchpad.net/bugs/697181 [11:52] Hello. [11:52] I have a server that quite often runs out of ram and stops responding all together and needs to be restarted. Any ideas where to start to debug the problem? [11:58] hello to all. i am trying to send email from my php scripts but somehow in the mail logs i get allways the error message [11:58] Invalid mail address, must be fully qualified domain [11:58] looks like a configuration problem with php and postfix becouse i am able to send mails over telnet [11:58] any know how to fix that [12:02] xperia install rouncube. [12:04] Syria: i have roundcube and it works great. I am able to send and recive mails without any problems with roundcube but when i try to send a email for a event from one of my scripts it does not work ! normally this worked till yet with the php function "mail" [12:31] hello. if i have 2 socket server, total ram available is divided by 2? [12:32] New bug: #697197 in libvirt (main) "Empty password allows access to VNC in libvirt" [Undecided,New] https://launchpad.net/bugs/697197 [12:33] nooder: ??? sockets have nothing to do with the available RAM. [12:34] nooder: available cpu is just that...something that an app can utilize...same goes for RAM. [12:35] zoopster, so if i setup 16 + 16 gb, for 1 db instance (mysql) gonna be 32gb available? [12:36] if you have a server with 32gb, then that ram will be allocated to what needs it....if you have a 30gb db and you cache it all...it will use 30g if it's available...maybe I don't understand your question [12:37] zoopster, there is mb that have 2 sockets. each socket have 6 ram slots near it. will 1 application have access to both processors and both ram blocks? [12:41] I guess it depends on how the mb is architected. It could be two distinct mainboards on one, but is likely to just be organized in a dual-channel configuration [12:42] in most inexpensive mainboard configs all cpu and all ram are available as a whole to the os and any apps running on it [12:43] in very high end mainboards there are proprietary configurations that allow for the separation, but you would know that if you are working with a proprietary config [12:48] zoopster, is there a chip way to get 64gb ram or more? because 16gb modules costs really much :( [12:49] @nooder what are you trying to use memory for? [12:49] apache? nginx or somethng else? [12:49] mysql cache [12:49] put whole innodb inside ram [12:50] why not try some SSD drives? [12:50] nooder: as you increase the amount of ram on a module the price increases rapidly [12:50] nooder: buy an actual battery-backed ram disk [12:50] there is point to use fusionio [12:51] the question really is why do you want to cache the entire db? [12:51] nooder: though, are you sure you need to have a 30GB database in-memory? [12:52] zoopster, thats a standart operation. if all db fits in ram there is 3x increase in performance [12:52] they have a point, kinda impractical to put entire db in RAM... what happens when your DB exceeds your RAM later? [12:52] yes, but if you are looking for performance, there are many other ways to go about it in addition to caching the entire db [12:53] it USED to be standard practice...before SSDs, nosql, etc [12:53] buy a battery backed raid controller, setup a Raid10 with 4 SSD drives [12:54] hm, there is a point in that [12:54] just never dealed with ssd [12:54] response time is really what your after [12:55] so how much is 1 ssd about? [12:55] 100+gb [12:55] 200 bucks maybe? [12:56] thats much cheaper than ram anyway [12:56] but if you go 60gb they're as low as 80 bucks maybe? [12:57] anybody used intel platforms? [12:57] what OS are you running? [12:57] fedora 14 [12:57] ext4 [12:58] what kernel [12:59] just thinking for now, buy or not supermicro [12:59] .35 i think [12:59] 2.6.33+ allows for TRIM support I believe, which you'll want for sure [13:00] did you hear about issues with ssd? [13:00] failures or smth [13:01] OCZ is actually a good choice, I seem to recall reading somewhere they have some exclusive crap deal with Sandforce (the SSD controller on the devices) that gives them exclusive access to firmware and such [13:01] where as other companies have to use reference firmware from sandforce. Some licensing bullshit [13:02] Whatever SSD disk/company you choose, spend an hour and read through their support forums before purchasing [13:03] and read up on TRIM and Garbage collection for your OS [13:03] for os i will use regular hdd [13:03] TRIM and GC will keep the drives healthy and fast [13:03] i think no need for os in fast drive [13:04] iirc there's no TRIM in Lucid [13:04] that is, trim came into 2.6.33, so unless someone has backported it to the current lucid packages, there's none [13:04] he said he's got 2.6.35 [13:04] so he should be ok there [13:05] oh, well, then it should be there [13:05] but he's on fedora 14, dunno if that matters. But a kernel is a kernel right? [13:06] more or less, yes [13:06] albeit asking for fedora help on #ubuntu-server is a little wierd [13:06] @RoyK: https://sites.google.com/site/lightrush/random-1/howtoinstalllinuxkernel2635onubuntu1004lucidfromubuntu1010mavericktheeasyway [13:06] looks like someone did [13:07] ah - nice backport [13:07] But yea, nooder. Go get some SSD drives and that shit will be flyin [13:08] The powerpc buildds on Launchpad run a maverick kernel with a lucid userspace as it's more stable on that arch. [13:08] sn0man: a kernel is a kernel, but all distros have their own patch kits... [13:08] true [13:09] last question is intel or supermicro? intel is very cheap [13:09] for what, SSD? [13:09] platform [13:09] chasis + mb [13:09] nooder: both work, it's more a matter of taste [13:10] ahh, just make sure the chipset is fully supported [13:10] * RoyK uses supermicro for storage systems and a few servers [13:10] I've woked with a lot for SuperMicro and found them pretty decent [13:10] but then, I don't use linux for storage... [13:10] * RoyK wants ZFS [13:10] s/wants/needs/ [13:10] ZFS is the sex [13:11] with 2 boxes with 100TB each, I somewhat want block-level checksumming :P [13:12] hehe, so long as you got a decent L2ARC cache deduplication is a great thing to have [13:14] and for mysql whats will be better i7-980x 3.33 or xeon e5620 2.6 but with more l1 cache === oubiwann is now known as oubiwann_ [13:15] i think that mhz are really important. but don't know what this cache means for mysql :) [13:16] sn0man: really? I've done quite some testing on this 12TB test system, and found dedup quite unusable due to very low write speeds [13:16] this was with some 160GB of L2ARC [13:16] total space used was 2-3TB [13:16] so way within the 'specs', but still, not very usable [13:17] to be correct you need a proper LOG cache as well too. [13:17] SLOG, yes [13:17] had that as well [13:17] 4GB [13:17] so, LOG and L2ARC for read and write [13:17] quite sufficient [13:17] SLOG for write, L2ARC for read [13:17] L2ARC is critical if using dedup [13:17] or a truckload of RAM... [13:17] or both [13:18] did you give it a proper amount of time to build the cache? With those two it should be flying [13:18] but stil there are issues with destroying a deduped dataset - it can take hours or even days, hanging the system [13:18] not very funny [13:19] I guess that's the reason S10u9 doesn't have dedup... [13:19] yea, all that stuff is still technically dev builds, but long overdue :P [13:20] Can't wait till FreeBSD gets p22 [13:20] so for these two systems, and a smaller 14TB box for another office, we chose openindiana and sufficient disk space [13:20] But by that time, Maybe BTRfs will be out with a stable release [13:21] looks like there's something in the works with raid[56] there too === oubiwann_ is now known as oubiwann [13:26] so which ssd to choose? x25m? or there are better once? [13:26] for what use? [13:27] db [13:27] Crucial's RealSSD C300 is fast and works wery well for most use [13:28] x25m is quite old and not very fast compared to the newer ones on the market [13:28] nooder: how large is the database? [13:28] 64 gb is enough [13:28] just needs to be as fast as possible [13:28] then I'd recommend the C300 [13:29] they're quite fast ) [13:29] :) [13:30] i read reviews for crucial ram modules and there is quite big number of returns [13:31] if a buy one, i need to upgrade firmware at first? [13:37] hello [13:37] i have a server setted up with bind9+dhcp3 and its working [13:37] but it serves 2 subnest [13:37] on dhcp everything is fine [13:38] on bind i have zone "domain", the rev.lan1 and rev.lan2 [13:39] when i ping my server from lan1 it gives me the ip ih has in lan2 (only in windows) [13:39] all zones are master [13:40] i tried to create another zone with a domain for lan2 but bind fails to start [13:42] nooder: wouldn't think so - also, about return of crucials, I haven't heard that, got an url on that one? [13:42] keep in mind, you always find more complaints than postive reviews [13:42] when something works, people don't talk [13:43] so more people on a forum saying something doesn't work doesn't really mean much [13:43] skorv: I think you need split horizon - see the section about views in the manual [13:43] sn0man, http://www.amazon.com/Crucial-CT2KIT51264BC1067-204-PIN-PC3-8500-SODIMM/product-reviews/B001MX5YWI/ref=sr_cr_hist_all?ie=UTF8&showViewpoints=1 [13:45] nooder: I wouldn't worry about that - get a couple of C300, mirror them, and you should be safe [13:45] i just cant understand what can happen [13:45] nooder: also, even if crucial had a bad series of memory chips, that doesn't really matter much for other products [13:45] regardless of reviews on amazon, you have no idea what they did to the product in the first place, how they configured it, how they maintained it, treated it. [13:46] regular hdd i'm monitoring with smart [13:46] you can still use SMART [13:46] there are also new SMART codes specific to SSD's [13:46] so you have to make sure the tool you're using to check the SMART codes supports them [13:46] put each subnet + reverse in its own view? [13:46] SMART might be even SMARTer on the SSDs, since a drive quite oftenly dies without telling SMART about it [13:46] would that be the idea [13:47] skorv: yes [13:47] supports SSD, that is [13:47] humm [13:47] ty for the help.... i'm new to bind :P [13:49] thx, that really helped me :) [14:06] New bug: #697227 in apache2 (main) "Apache processes segfault" [Undecided,New] https://launchpad.net/bugs/697227 [14:31] I have my nics bonded but when I restart netwroking avter I've added a new slave in the interfaces file the bond kicks errors and does not work.. how can you restart networking with a bond active? [14:40] ssureshot: how are you setting up the bonded interface? [14:42] SpamapS: wow.. I was just reading the documentation for the first time in a while and although the old way works it seems things have changed so let me try the new way [14:43] I was setting up the auto bond0 with the slave directive for eth0 and1 [14:46] New bug: #697243 in samba (main) "winbind offline logon doesn't works after winbind restart" [Undecided,New] https://launchpad.net/bugs/697243 [14:46] does a bonded network allow for full speed on boths NICs for a single TCP/UDP stream? [14:48] RoyK: depends on how you have it bonded [14:48] RoyK: the default method is just for failover [14:49] but some switches support a trunking protocol [14:49] it was trunking I was thinking of [14:49] just curious how that works when a stream is sent to a MAC address on the network layer [14:50] if it can balance a single connection across two NICs [14:54] royk: generally speaking, modes provide either hot standby or load balancing services. <-- taken from a quick google [14:55] ssureshot: I'm aware of that [14:55] I was just wondering about if those trunks could balance a single connection [15:00] I believe they can balance using the roundrobin style mode.. which Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance. === smoser` is now known as smoser [15:11] ssureshot: sure, but what about single connections? I was told from someone I couldn't get 2Gbps on a single connection from two bundled 1Gbps connections [15:17] RoyK: It depends. [15:17] depends on what? [15:18] RoyK: All the components in between the two systems exchanging data. [15:18] no, you misunderstand [15:18] Easiest way to success is to have a switch that supports bonding. [15:18] Or trunking. [15:18] Or whatever the vendor chooses to call it. [15:18] if I open a connection from A to B, single TCP connection [15:19] how will bonding help if the data is sent to/from MAC adresses? [15:19] royk: soren is right he beat me too it... youll never get 2gbs on bonded nics unless you have the switches to support it [15:19] if the switch is up for it, the two ports can share a MAC. [15:19] ok [15:20] but then, the OS needs to support shared MAC as well? [15:20] Sure. [15:20] any idea if linux supports that? [15:21] Err. Sure. I thought that's how this discussion started. [15:21] * soren only read the last few lines of context [15:21] royk: the bonding bonds eth0 and eth1 to a single mac address attached to bond0 [15:22] RoyK: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/networking/bonding.txt;h=5dc638791d975116bf1a1e590fdfc44a6ae5c33c;hb=HEAD [15:22] thanks [15:24] soren: nice link === hito_jp0 is now known as hito_jp [15:34] ivoks: im the middle of packaging dovecot2 for universe [15:38] Hello guys! [15:40] dont us gals get a hello? [15:41] I am also a lady, and I use guys for both male/female :) [15:41] Im not a gal - but I could have been [15:41] hi ara [15:41] anyone know a good hardware mailling list? i emailed the ubuntu users list about a PDU but haven't gotten a good response yet, plus it's technically off-topic. [15:41] Anyway, during our weekly testing before holidays, we found this bug in the server isos [15:41] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/693042 [15:41] Launchpad bug 693042 in linux "Kernel Panic while booting Natty installer kernel (2.6.37-10-generic) on amd64 ISO" [Undecided,New] [15:42] hey zul :) [15:43] ara: crappers...:( [15:43] zul, have you experienced something similar? [15:44] ara: not recently [15:44] zul: eh? universe? [15:44] zul, and before that? the test was done before the holidays [15:44] ivoks: yeah im calling it dovecot2 but it will conflict with dovecot [15:45] ara: no thats totally new to me...ill bring it up in the meeting today [15:45] ah, dovecot 2 [15:45] zul, I will bring it if you want, I will be there [15:46] zul, you mean the kernel meeting? [15:47] ara: server team meeting [15:47] zul, ah, OK, I won't be at that one [15:47] but if you want you can bring it up there as well ;) [15:47] zul, I will raise it in the kernel meeting, and you can do it in the server meeting :) [15:47] ara: sounds like a plan [15:48] 2 people nagging are always better than 1 ;) [15:48] :) [15:48] thanks! [15:54] i need some help, i'm rsyncing across hosts with the -a switch; which should do -o. it says "super-user" only; what does this mean? [15:54] -o, --owner preserve owner (super-user only) [15:55] why does it only do 'super-user only'? [15:55] AndyGraybeal: you need to rsync as root (or sudo) in order for that option to work [15:55] aaah [15:55] AndyGraybeal: since chown'ing files is a root thing [15:55] thank you kim0 [15:56] so, if i'm running th ecommand as root on one computer, and sending it to another computer as a regular user ... does this apply? [15:56] it doesn't apply does it? [15:56] i have to be root on the machine that is receiving for it to be able to preserve the owner, correct? [15:57] uh...is it me running the meeting today? [15:57] hm. so i'm doing it opposite of what i should be.. okay - i'll try something else.. thank you very much kim0 for responding. [15:57] AndyGraybeal: yeah root on receiver I'd say .. on reader machine, you'd only need permission to read the files [15:57] :) [15:58] zul: looks like it - smoser did the last one pre xmas [15:58] frig.. [16:00] i did one prior to the break. [16:00] hi, I plan on using ubuntu-server w/ Linux md raid for purposes of NAS. I have 4x2tb drives driven by Intel Atom d525 dual core 1.8 [16:00] which raid do you think is more appropriate, raid5 or 10 [16:01] fubada: for performnance raid10 for capacity raid5 [16:01] well. raid10 is ofcourse better than raid5 [16:01] if you look performance [16:01] so, http://www.mojvideo.com/video-it-ain-t-me-babe/36cb8416efd2ca44c4b6 [16:01] what capacity will i get with 4x2tb raid10? 4tb? [16:01] raid5? 6tb? [16:02] fubada: yeah [16:02] 6 [16:02] hm [16:02] raid 10 would be 4 [16:02] is sw raid5 cpu intensive? [16:03] mores than sw 10 [16:03] ooops - raid 5 is 6, raid 10 is 4 [16:04] dang [16:04] im not sure what i want [16:07] fubada: what are you storing there [16:08] media primarily [16:08] seed box also [16:08] p2p [16:08] backups [16:08] fubada: is that mostly movies [16:08] movies and mp3s [16:09] xbmc type of stuff [16:09] fubada: media and backups are streaming large files .. I'd go raid5. Hopefully mp3s are not gonna be a problem [16:10] a problem for the cpu keeping up with raid5? [16:10] fubada: you'll only know after trying, but I'd be surprised [16:10] heh [16:10] hm, intel atom processor [16:11] fubada: if it's just dishing up files it shouldn't be a problem [16:11] pmatulis, the box will also be my xbmc [16:11] and torrent seedbox [16:12] thanks kim0 [16:12] fubada: does that involve a lot of processing? i have no idea [16:12] fubada: you're welcome [16:12] pmatulis, i dont think so [16:12] thanks pmatulis [16:12] fubada: use ext4 since it's a bit faster [16:12] ext4 raid5 for a total of 6tb's :) [16:13] fubada: yep :) [16:13] fubada: so just reading from box right? not writing? [16:14] well ill be writing to it when its doing backups [16:14] and when its downloading torrents [16:14] my torrent speeds can hit 3mb/sec [16:14] OS is on SSD [16:16] fubada: k, b/c raid5 suffers a bit with writing, due to parity [16:17] what could cause a very disk disk io (99,9%) on while trying to copy big files on a ubuntu server? (the io stat is taken from iotop) - it locks everything down so even ssh timeout while doing a copy of the files.. [16:17] HJess, raid? [16:18] HJess: seen that with bad sata cables [16:18] fubada: yes and no - there is a raid connected, but the copyed files are from a USB to a SATA disk inside the server [16:19] kim0: ok a bit strange.. given that the problem kind of builds up .. upstart works fine and so [16:19] I don't know where the 99.9% comes from, as iotop doesn't use percents [16:21] at the momemt I have 5 Mb/s transfer from the USB to the sata disk .. normal this would be around ~30 MB/s [16:22] there are so many reasons for that :) [16:22] harddrive issues on either one, usb or sata [16:22] other usb device or that one, causing usb bus speed to be slow [16:23] does dmesg say anything? [16:23] no errors at all .. [16:23] probably read recovery or hardware ecc errors on one of the drives [16:23] use smartctl (doesn't work over usb) [16:24] ok .. just plain stranage.. a "ls ~" - takes around 2 minutes.. [16:25] when doiing the cp [16:25] and you find that odd? [16:26] since you don't have any dmesg stuff, I doubt it's an interface issue, so must be a bad drive [16:26] normal it would take a spilt sec. [16:26] normally != failed drive [16:27] if it was a failed drive would fsck pick it up? [16:28] no [16:28] fsck is for failed filesystem [16:28] smartctl it is then [16:42] Can someone give me some tips on getting my Ubuntu LAMP setup to talk to a MSSQL database residing on a different server? [16:44] I'm using Ubuntu 10.04.1 LTS Server Edition with LAMP package installed and up-to-date...need to talk to an MSSQL server and I have the correct creds... [16:45] Tried following structions found at http://us2.php.net/manual/en/book.mssql.php but to no avail [16:46] kennethbaucum: by default mysql only listens on localhost...edit /etc/mysql/my.cnf comment out bind-address = 127.0.0.1 and restart mysql [16:47] thesheff17: I can talk to MYSQL fine, I need help talking to MSSQL, Miscrosoft SQL Server [16:48] kennethbaucum: oh sorry...Unfortunately almost everyone here doesn't use microsoft [16:49] kennethbaucum: http://www.webcheatsheet.com/PHP/connect_mssql_database.php maybe this how may help. [16:49] thesheff17: I understand that, and I don't prefer MS SQL server by any means...but the boss opted to outsource development of an app and that guy chose ASP/MSSQL...I'm still required to talk to the data he has in his app...just need a way to get to it...PHP throws error Fatal error: Call to undefined function mssql_connect() [16:50] thesheff17: Thanks, I'll check the link... [16:51] thesheff17: Thanks....I have the code, just as listed on the page you suggested, but perhaps there is a MSSQL module missing from PHP5, that I cannot use that built-in function... [16:51] have you installed php5-sybase [16:51] it looks like the PHP to MSSQL module [16:52] thesheff17: Oh wait! I scrolled down and saw how to connect with a DSN name...let me try that...and I'll look at the php5-sybase package...back in a few! [16:54] Sybase -> MSSQL was a nice turn [16:55] Microsoft was part of the Sybase project, and one day, they just took the code and ran away to make MSSQL [16:55] much the same way as with OS/2 => Windows NT [16:58] hehey guys i need some help with roundcube i have a mail server running imaps and its failling to authenticate against it for some reason and log me in can someone help me fix this [17:57] anyone know how to setup nfsv3 on 10.10 ? [17:57] Seems to have disappeared from all the repos. [18:04] !info nfs-kernel-server [18:04] nfs-kernel-server (source: nfs-utils): support for NFS kernel server. In component main, is optional. Version 1:1.2.2-1ubuntu1 (maverick), package size 158 kB, installed size 396 kB [18:04] blistov: ⤴ [18:07] Gah. [18:07] nfs3 is still in [18:07] mount -o vers=3 [18:07] v4 supports v3, but I'm wondering if there's a way to disable 2 and 4, enable 3, and not use kerberos. [18:08] RoyK, I don' t have the ability to set client options. The client is an esxi 4.1 server. [18:08] It defaults to v4 as a client, but doesn't ACTUALLY support v4. [18:09] so you have to completely disable v4 on the server. Doing this however, seems to force kr5b enabled on the server. [18:09] krb is an nfs4 thing [18:11] RoyK, hrm... well is set --no-nfs-version 4 --no-nfs-version 2" on the server, and now its insisting on locating creds for kr5b. [18:11] Any idea why/ [18:11] I have a question please, after installing lamp, is there a way to not have everything start on reboot, so when I need to use the lamp I type in sudo service apache2 start? [18:13] * RoyK made costers for some family members out of old harddrive platters this christmas [18:23] elijahosborne: by default ubuntu starts installed services on boot [18:24] elijahosborne: apache starts in /etc/rc2.d [18:24] elijahosborne: it's a bit mysterious how to change that behaviour [18:25] RoyK: not upstart? [18:25] elijahosborne: just remove the symlink there and it won't start [18:25] iirc apache doesn't use upstart [18:32] update-rc.d can be used for that [18:33] e.g. sudo update-rc.d apache2 disable [18:35] is it just me, or does natty alpha1 boot into a black screen (have to alt-f1 to get the login) ? [18:36] I have seen it, but not always, SpamapS [18:36] I think its an attempt to avoid flicker that is having a negative affect on the server [18:37] will have to check it out on alpha2.. [18:38] hggdh: I think we have a fix for the libc6 thing [18:39] SpamapS: yes, I saw your entry in the bug, great! [18:39] SpamapS: perhaps this time I will be able to finish an install on the test rig ;-) [18:40] SpamapS: there is also bug 693042 that *may* be related [18:40] Launchpad bug 693042 in linux "Kernel Panic while booting Natty installer kernel (2.6.37-10-generic) on amd64 ISO" [High,Incomplete] https://launchpad.net/bugs/693042 [18:41] oh thats fun.. virt manager won't give me my mouse back when I hit ctrl-alt === thomas_s_ is now known as sjolshag [18:53] SpamapS: seen that happen, especially from remote [19:04] zul: + [zulcss] get cobbler deploying Ubuntu From Ubuntu: DONE w0000t [19:05] SpamapS: yep [19:05] SpamapS: i rule [19:10] zul: O'Doyle Rules [19:24] SpamapS, zul: Where can I see this new hotness? [19:24] soren: its in the cobbler git repo [19:32] <_Neytiri_> i am having a issue with the networking on Ubuntu server 10.10 i set the /etc/network/interfaces file to use a static ip address and it works but then later on it changes back to a dhcp assigned address even tho the file still says static [19:36] _Neytiri_: did you do 'ifdown ethX' before making that change? [19:36] _Neytiri_: dhcpcd is probably still running [19:36] <_Neytiri_> no [19:36] or dhclient [19:36] <_Neytiri_> i have never had to do that before but i will try it [19:37] _Neytiri_: the issue is that dhclient is still running [19:37] _Neytiri_: you can probably just kill dhclient [19:37] * SpamapS thinks ifup should take care of that [19:37] _Neytiri_: you may want to report that as a bug. [19:38] <_Neytiri_> i will cause i know in 10.4 all i had to do was restart netwroking nd it would solve it [19:38] is there a problem with the current samba package in the repos for 10.04? I was trying to install samba and am getting an error on unmet dependencies. Looks like maybe the samba package is looking for older versions of the dependencies than exist in the repos? [19:41] cdubya: Did you do something like: sudo apt-get update beforehand, to get the latest list of files? [19:41] yep [19:41] just did it again for grins [19:42] Hm === chris____ is now known as N2Deep_ [19:44] cdubya: Were you perhaps using a ppa or so, which installed later versions of it's dependencies for some other program? [19:44] It doesn't like the versions of samba-common and libwbclient0 that it's seeing (wants 2:3.4.7~dfsg-1ubuntu3.2 on both, sees 2:3.4.8~dfsg-0ubuntu1 available...?) [19:45] genii-around, I had tried to install ebox on this machine. That's the only thing. Backed it off, but perhaps that's the issue. [19:46] genii-around, the only ppa in the sources file is the ebox one, but it's commented out..... [19:48] cdubya: Well, you can always do the long form for the deps.. like: sudo apt-get install libwbclient0=2:3.4.7~dfsg-1ubuntu3.2 for instance to install that specific version [19:48] ok, I'll try that. [19:48] can someone please direct me to the correct channel for installation on an Apple XServe? [19:51] genii-around, that did it. Thanks! [19:52] cdubya: Yer welcome [20:01] deadsmith: https://help.ubuntu.com/community/Xserve2-1 may be of some kind of help [20:21] genii-around: Thanks :-) That's what I was looking at, but the boot options just give me a blank screen after I select one. I can get to grub, but that's the only thing that works. The server version is named "-amd64.iso" -- do you if there is there a separate x86-64 kernel for the intel machines? [20:22] deadsmith: the amd64 is for all processors that use 64 bit instruction sets (AMD or Intel, doesn't matter) [20:26] and most software work well with both 64 and 32bit [20:26] some software links to 32bit libs, meaning you need those as well [20:28] genii-around: thanks. It's been about 6 years since I've done anything, and the hardware seen has changed a bit... [20:31] deadsmith: the game is still the same [20:31] ick... ack... *scene. :-) [20:32] http://karlsbakk.net/xray.png <-- I guess I could have brought home more interesting artifacts from Iceland than these [20:40] RoyK: but, perhaps, none you'd be as able to keep track of. === DrNick__ is now known as DrNick_ [21:34] what's the easiest way to allow samba guest access with rw permissions on a share? [21:36] Make the folder rw to the samba guest account (default nobody), set the share 'guest ok' and make it writable. [21:36] why? [21:37] cloakable: e.g. for an app like a mine which eats pdf from a share and returns postprocessed pdfs? :-) [21:39] :) [21:42] <_Neytiri_> i am having a issue with the networking on Ubuntu server 10.10 i set the /etc/network/interfaces file to use a static ip address and it works but then later on it changes back to a dhcp assigned address even tho the file still says static, i have shut the interfaces down and then restartred netwreoking and its still grabbing a dhcp address about a hour or so after [21:43] i want to rsync some files in a cron job, the problem i'm wondering about is how do i make sure that the rsync job ran and that it did the job i asked it to do? [21:44] AndyGraybeal: cron sends emails to the user of the job [21:44] pmatulis: interesting [21:47] * genii-around ponders --log-file=something [22:11] zul: hey [22:11] zul: saw your blueprint update [22:11] zul: so you got cobbler deploying ubuntu from ubuntu? [22:17] cjwatson: howdy [22:17] cjwatson: i just uploaded a new package, ssh-import-id to natty [22:17] cjwatson: if you could/would give that an Archive Admin's review, and get it into the archive, you can prune that code from openssh [22:18] cjwatson: i'll send a merge proposal for that too [22:25] cjwatson: lp:~kirkland/openssh/remove-ssh-import-id [22:26] im trying to get php working on ubuntu-server.. if i have a page in /var/www it works, if i have it in public_html then the browser tries to download it. why does this happen? [22:26] I'm trying to update the 64bit install CD with grub2 so it will work with the EFI on my Xserve2,1 systems. Can someone explain to me the process on boot? [22:27] grub doesn't have documentation about that? [22:27] NateW: did you install php? many times that happens when apache hasn't been restarted after php is installed. [22:28] installed php5 and restarted apache [22:28] the php mod is enabled as well [22:29] The_Tick: I wanted to make sure I was doing things in a sanctioned way, hoping that i could upload the ISO to a server to solve the problem for others. I think I understand the GRUB stuff essentially, but I'm not sure about path names and the EFI setup. [22:31] thesheff17: would restarting the server help? [22:31] NateW: no...so it is working in /var/www/ you are missing something within the directive. [22:32] how would i fix this? [22:32] well [22:32] i tried searching online and havent found a solution yet [22:32] if he modified a config file [22:32] he may need to restart apache to make modphp work [22:32] can you pastebin your /etc/apache2/sites-available/default [22:33] is that where you are adding that public_html dir? [22:33] i used a2enmod [22:33] havent edited the /etc/apache2/sites-available/default at all [22:33] apache2 needs to be restarted so the module is picked up [22:34] i have restarted apache [22:34] the public_html folder works with html files.. just not php [22:38] I would also check permissions [22:38] chown -R www-data:www-data /var/www/ [22:42] here is a real simple PHP script...try creating test.php w/ this content: http://pastebin.com/e4yacRWR [22:44] it won't work thesheff17 [22:44] the fact it's downloading it [22:44] and not trying to process [22:44] thats actually the php file im using [22:44] setting /var/www to www-data makes it download in the same way [22:44] apache is misconfigured most likely [22:45] hmm...maybe apache2 isn't restarting correctly? [22:45] try stopping it and ps aux | grep apache [22:45] setting it back to the default username makes it work again [22:46] I'm a little confused? what do you mean default username? [22:46] username i use for the server [22:47] this should be done w/ sudo or root [22:47] if that is what you mean? [22:47] lcs 30906 0.0 0.0 8952 876 pts/2 S+ 17:47 0:00 grep --color=auto apache [22:48] i mean.. running chmod www-data:www-data makes the php file not open correctly, running chmod lcs:lcs makes it work again [22:49] of course im using sudo and using /var/www with -R [22:51] http://paste.ubuntu.com/550419/ is /etc/apache2/sites-available/default [22:52] NateW: yea my default looks the same :-/ [22:52] and it works [22:53] what version of ubuntu? [22:53] 10.10 [22:53] odd...I'm running 10.04 [22:53] its strange.. php files in /var/www work, but not in ~/public_html [22:54] so if you put test.php with phpInfo(); in /var/www/ it works fine? [22:54] yeah [22:56] ah ok...I think something needs to be added to apache2 config to say ~/plublic_html to process php files. [22:57] what should i put? [22:58] https://wiki.ubuntu.com/UserDirectoryPHP === JanC_ is now known as JanC [23:04] smoser: there? A question on karmic and EC2 [23:04] thesheff17:awesome.. that fixed the problem.. thanks [23:05] NateW: np didn't read close enough that you where trying to use ~/public_html [23:21] kirkland: yep [23:21] zul: you rock, man