/srv/irclogs.ubuntu.com/2011/01/04/#ubuntu-server.txt

RoyKthis is quite nice00:19
RoyKI'm home sick with a leg in a cast, boss sent me ane sms "are you logged onto the dhcp server?" replied "huh?"00:19
RoyKhe 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
ScottKTo which you replied "Fixed it - now where's my check?"00:21
RoyKI'm called in sick, his only reply was 'well, roy, you've done your job today again :)'00:22
RoyKI love debugging unices when I get to the point quickly00:22
RoyKthose windoze nerds just bladder and can't understand how something can be fixed that easily, or quickly00:23
RoyKand WITHOUT A REBOOT00:23
yann2reminds 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:28
RoyK:)00:29
RoyKwindoze is defective by design00:29
pmatulisyann2: did you ever get more info re 'kvm and memory usage'?00:30
yann2pmatulis, nope...00:30
pmatulisyann2: k00:30
RoyKyann2: what was that about?00:30
yann2is a vm with postgres, still swapping when having plenty of filecache, still no idea, still thinking I should add more ram00:30
RoyKgoogle swappiness00:31
yann2thought about that, but didnt know what to set it to00:31
RoyKlinux will start swapping out things quite early by default00:31
yann2and a good value for that is quite disputed00:31
RoyKit's a good thing to swap out crap you don't need in ram00:31
yann2and actually pmatulis told me not to, I think my original questoin was "what should i set swappiness to" :)00:32
yann2RoyK, when 60% of ram is used it starts to get me worried00:32
RoyKdefault value is 6000:32
RoyKI usually set it to 10000:32
RoyKyann2: the point is that you want as much memory usable as possible, stuff hanging around eating memory is of no use00:33
yann2but when its claimed back it might take a lot of i/o, more than some filecache00:33
yann2plus on a postgres VM, filecache is probably the db files... and swap the postgres memory00:34
RoyKnot necessarily, swapped out doesn't mean released from memory00:34
yann2I meant used back, or read back :)00:34
RoyKswapped out is an old term, these days things get swapped out and not released from memory00:35
yann2just 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 data00:35
RoyKso that the memory contains the data, but can release it quickly, or release it from swap00:35
RoyKI don't think postgres has any caching00:36
RoyKit just relies on the filesystem buffers00:36
RoyKyann2: don't care too much about how much is swapped out - care about i/o load00:37
yann2wonder what  it uses 600M ram for then :(00:38
RoyKif sar/sysstat/vmstat/something tells you wio is high, well, that's an indicator for need of more memory00:38
yann2RoyK, the thing is, it's a very sensible VM, if it runs out of memory it might kill my data00:38
RoyKyann2: don't bother00:38
yann2and it would be good00:38
yann2I certainly dont want my VM to run out of ram... and monitoring the swap is the best way I know to monitor it00:39
* RoyK guesses that last one should be 'no good'00:39
yann2no good yes :P00:39
yann2although its boring finance stuff :)00:39
RoyKhow is the i/o load of the vm?00:39
yann2has pikes00:40
RoyKon average00:40
RoyKapt-get install sysstat00:40
RoyKenable it in /etc/default/sysstat00:40
RoyKstart it00:40
yann2pasted you a link in private00:40
RoyKthat will show you io load over time00:40
yann2with detailed stats00:40
RoyKwell, that's ok00:41
RoyKsome spikes, but overall just fine00:41
yann2maybe I should change my swap alerts levels00:42
RoyKI really wouldn't worry about that00:42
RoyKyou're hardly using swap at all00:43
yann2got an alert at 40% :)00:43
RoyKand the memory stats look good00:43
RoyKdisk i/o load is close to zero00:44
RoyKso don't worry00:44
yann2like collectd? :)00:44
RoyKwell, add a truckload of memory and you might gain 10% performance00:45
RoyKyour system is not under heavy load00:45
yann2I know :) just concerned its sometimes swapping out 400MB when it has 500MB filecache00:46
RoyKlinux does that00:46
RoyKit swaps out stuff not in use00:46
RoyKso that the memory can be used for something useful00:46
yann2k00:46
RoyKat swappiness = 60, being the default, it's quite moderate00:47
RoyKat 100 it's a little more triggerhappy, better for most systems, at least those with low memory00:48
RoyKlow memory being < 200% needed of the apps00:48
Ph0t0nixhi all00:59
Ph0t0nixcould anyone help me recovering grub2 on a software RAID?01:00
RoyKafter an upgrade from 8.04?01:01
hallynjdstrand: is bug 696318 something you've ran across before?01:08
uvirtbotLaunchpad bug 696318 in libvirt "Starting VMs on qcow2 format with base images in level three fails" [Medium,Confirmed] https://launchpad.net/bugs/69631801:08
pmatulisyann2: what disk format are you using with your plagued guest?01:17
quentusrexAnyone familiar with Supermicro ipmi on Ubuntu 10.04 or 10.10?01:20
yann2qcow2 pmatulis , on local disk01:21
yann2its not THAT plagued01:21
yann2sent you the graphs in pv01:22
yann2anyway its late here, I think I'm off to bed :) see you tomorrow, and thanks to both of you for your help01:24
FrenkHey, 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 ...01:43
=== PleXT is now known as PleXs_zZz
qman__Frenk, mail is sent "from" the mailname you specified when configuring your mail server01:52
Frenkqman__: 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 <testmail@gmail.com>; Tue, 4 Jan 2011 02:32:41 +0100 (CET)01:54
Frenkand I want to get rid of damdamdam.org01:55
qman__yes, this is what I'm talking about01:55
qman__that name is the system's mailname01:55
qman__what that name is has nothing to do with DNS, though you're supposed to choose a DNS accurate name01:55
Frenkcat /etc/post*/main.cf | grep my >>> myhostname = myrightdomain.org01:56
qman__that is not the mailname01:57
qman__cat /etc/mailname01:57
Frenkoutput is: static.MY-IP-ADRESS.clients.HOSTER.com01:58
qman__well, if it's coming from somewhere else, grep -R damdamdam.org /etc02:00
qman__might be the sender specifying that in headers too02:00
Frenkqman__:  I found smth but there are all domains listed that Im using. I just run grep for / ... waiting ..02:10
fubadaanyone use Adaptec 2240900-R?02:27
fubadaor Rosewill RC-21802:27
fubadaneed more sata ports for my sw raid not sure which is best for ubuntu02:28
twbI don't use hardware raid.02:34
fubadai dont either02:35
fubadai want to use sw raid02:35
fubadai just need more ports.02:35
twbIf you just need SATA sockets for your md RAID, just buy a $10 SATA controller card.02:35
twbIt 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:35
fubadathe rosewill is the only option i found on newegg thats nonraid, 4xsataII,02:36
fubadapci-e 4x02:36
twbThey all CLAIM to be raid, but it's fakeraid02:36
fubadayes i know02:36
twbdon't worry about it02:36
fubadai was lookng at a 3ware card but thats way overkill02:36
fubadai dont need 300mb/sec02:36
twbJust buy three $10 ones of different makes (and chipsets, if you can confirm that)02:36
twbOne of them will work and support "no raid" as an option02:37
fubadaheh in my case i can only use 1. its on a atom ion202:37
fubada1xpci-e02:37
twbYes, but buy three at once so you have a better chance of ONE of them working02:37
fubadaLOL02:37
fubadaoh its like that02:37
fubadathanks02:38
qman__I have a couple promise TX4s02:53
qman__the only features you might be interested in are NCQ and friends, for performance02:53
qman__everything else is irrelevant as long as it can operate in non-raid mode02:53
twbNCQ is the noop call, right?02:55
twbOh, no, it's more like an interrupt protocol.  Never mind02:55
twbhttp://en.wikipedia.org/wiki/NCQ02:55
fubadak i do want ncq thanks03:00
twbfubada: eh, depends if it's gonna be a database server or just host users' word documents :-P03:01
qman__if you have more than four drives, you're probably CPU and network limited anyway03:05
fubadatwb ill surely have mysql or some db backend for services03:07
fubadai have 4 drives for md raid03:07
fubadaand ssd for os03:07
fubadahttp://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=1221549403:07
qman__raid 10/0+1?03:08
fubadai was thinking raid503:09
fubada4x2tb's03:09
fubadamd raid03:09
qman__going to be CPU limited03:09
fubadareally? dual core 1.803:09
qman__reads will be fast, but writes will be CPU limited03:09
qman__still pretty fast, but don't expect more than ~60MB/s03:10
fubadahm03:10
qman__it has to calculate the parity on the fly03:11
qman__raid 10 would not have that problem03:12
fubadacan linux do sw raid1003:12
qman__but gigabit ethernet will cap your throughput around 80MB/s03:12
qman__so unless that throughput is needed locally, not really worth it03:12
qman__yes03:13
fubadaso what is the best option? a 3ware card runs 320$03:13
fubadabut i dont need that kinda read/write03:14
qman__not worth it, for that scale03:14
fubadaraid 1?03:14
qman__if you need more throughput, spend more on a faster CPU and better drives, or just go raid 1003:14
fubadaraid 5 is too much cpu, im not familiar with raid1003:14
fubadathe drives are wd greens for low power03:14
fubadaand low heat03:15
qman__green drives are the bottom of the barrel03:15
qman__they like to advertise low power but they're very slow and won't last under heavy loads03:15
qman__but again, it all depends on your needs03:16
qman__if it's just storing data backups, no problem03:16
qman__if you're hosting a high traffic database, get something else03:16
fubadahtpc, home nas03:16
fubadabackups03:16
fubadaseed box for my torrents03:17
fubada500/sec 24/703:17
fubada500k/sec03:17
qman__you're going to need a faster CPU if you want good throughput with that going03:17
qman__encoding/decoding video and running torrents are going to put notable load on it already, plus a raid 503:18
fubadaeh i dont think it'll be doing any encoding03:18
fubadaion2 is onboard for gfx03:18
qman__let me put it this way03:18
fubada:)03:18
qman__my file server, 8 disk raid 6, runs torrents03:18
qman__2.2GHz single core CPU03:18
qman__my writes under normal circumstances cap around 35MB/s03:19
qman__when I start a bunch of torrents the server load exceeds 20 for several minutes03:19
fubadawhat.cd?03:19
qman__nah, 10-20 torrents03:19
fubadadamn03:20
qman__and normal, seeding load is .10-.1503:20
qman__that chip is dual core, so it is faster than mine, and raid 6 has twice the parity to calculate03:20
qman__but you're still looking at notable overhead03:20
qman__you're going to be waiting on it when you start big torrents, and your writes probably won't cap your gigabit03:21
FrenkMh 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
fubadagot it03:21
fubadathe goal was to build a lower power box, so i'll have to sacrifice on services03:21
fubadathats fine03:21
qman__ok, just so you're aware03:21
fubadaappreciate the info thank you03:22
qman__it'll work fine, just a bit slower03:22
fubadai wanted to run xen on this lol03:22
dschuetthow do you make it so you can access your webpages internally like this: http://internal.ip.of.server/directory_of_webpage03:23
fubadaqman__, can you think of a better 5400rpm drive03:23
fubadathan the wd caviar green03:24
dschuetti am currently using virtual hosts03:24
qman__I don't have suggestions there, I use 7200RPM drives03:24
qman__samsung HD103SJs, to be exact03:24
fubadanice03:24
fubada72k's run too hot03:25
fubada4 stacked will run really hot03:25
qman__in my experience, WD drives run a lot hotter than other bransd03:25
qman__though it has not affected longevity03:25
qman__10C on average03:25
qman__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 experience03:26
fubadathere's a samsung green drive03:27
fubada540003:27
fubadaits 20bucks cheaperr03:27
fubadaSAMSUNG Spinpoint F4 HD204UI03:27
qman__one suggestion, make sure you configure SMART monitoring03:28
qman__I lost my first array when three drives failed in one day, and I already had to RMA one drive from this new array03:28
fubada3 drives in one day03:29
fubadaearthquake?!03:29
qman__no, just plain drive failure03:29
qman__those were seagate 7200.11 500GB03:29
qman__two an hour apart03:30
fubadai have 1 drive fault tolerance with raid10?03:30
qman__the third a few hours later03:30
fubada4x2tb03:30
qman__any one drive, and in some cases two drives03:30
fubadacool03:30
qman__it depends on which two, though03:30
fubadaright03:30
fubadaare you using myth03:31
fubadamythtb03:31
fubadatv03:31
qman__no, my file server isn't also an htpc03:31
fubada:)03:31
qman__I tried to set up myth on a different machine but it wouldn't work with my graphics03:31
qman__had to install windows, unfortunately03:31
fubadaim so enraged at this cablecard issue03:31
fubadaencryption of hdmi, lack of cablecard support in linux03:31
fubadasdv03:31
fubadathis makes mythtv not even worth it03:32
The_Tickit's not if you have encrypted qam channels03:32
fubadai want to fire my cablecompany now03:32
The_TickI just want to buy the channels I use03:32
The_Tickand not the other shit03:32
fubadaexactly03:32
The_Tickdream on ;)03:33
fubadaim going to fire my cabletv03:33
The_Tickwhat do you watch anyhow?03:33
fubadaa&e03:33
fubadanfl03:33
fubadahistory03:33
fubadanatgeo03:33
The_Ticknfl you're set03:33
fubadaespn03:33
The_Tickget an xbox03:33
The_Tickand downlod the espn app03:33
The_Tick:D03:33
fubadai have ps3 :P03:33
The_Tickdoes the ps3 have the espn app? ;)03:34
fubadai doubt it03:34
The_Tickanything that plays on espn03:34
The_Tickyou can play on the xbox03:34
fubadai think you can stream hd nfl games for 100$/yr03:34
fubadain flash03:34
The_Tickwhat on a&e?>03:34
fubadahorders and intervention03:34
The_Tickhaha03:34
fubadaother crap03:34
The_Tickya, same03:34
fubadai really liked that show on amc03:35
fubadaabout meth...03:35
fubadadoh whats the name03:35
fubadaespn signed a deal with MS03:36
fubadano espn for ps303:36
The_Tickright03:36
fubadaThe_Tick, do you own a hauppage hd-pvr03:36
The_Ticknope03:36
The_Tickfubada: I have an xbox03:36
The_Tickand I'm almost off of cable03:36
fubadathats one way to have mythtv with cablecard03:36
The_Tickreally?03:37
fubadabut can only record/watch one channel03:37
The_Tickhrmm03:37
fubadayea it just records and encodes 1080i03:37
The_Tickso get more than one computer03:37
fubadaand USB to your box03:37
fubadathe media/communication companies in this country are filthy pigs.03:38
=== 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
tom_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
tom_just thinking of running out of inodes or something.06:24
shaunotom_: '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 funky06:28
tom_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:31
shaunoI think what you'll start to run into first with that kinda scenario is the limits of shell globbing06:32
twbtom_: by default GNU ls will sort records06:32
twbtom_: there is an option to prevent this, which will make it emit results as they arrive from the directory listing syscalls06:33
twbAlternatively, find -ls or just find06:33
stlsainthello folks06:34
twbOh, 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
stlsaintcould someone help me to install grub to from cli?06:34
twbstlsaint: "grub-install /dev/sdz", where sdz is your disk.06:34
tom_I don't event want them !! I think I must have screwed up in a php script.06:34
twbstlsaint: if that doesn't work, you're on your own -- I use extlinux.06:34
stlsainti installed server edition, but grub installed on the usb stick and not my master harddrive06:34
tom_but it should be safe to just delete that directory right?06:35
twbtom_: find /tmp/foo -name 'php_??????.txt' -delete06:35
twbtom_: yes, or just rm -r the parent dir06:35
twbstlsaint: that is a known bug06:35
twbstlsaint: 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:35
stlsaintoh man there has to be a better way than that!06:36
twbstlsaint: it'll be fixed in natty (and maverick?)06:36
tom_thx for ur help twb shauno, that number just was astronomical06:36
stlsaint10.0406:36
twbstlsaint: of course you can also fix things post-facto by booting a live image and using grub-install from there.06:36
twbstlsaint: or you could install 8.04 normally, then upgrade it to 10.0406:37
stlsaintthis is a pretty big bug to let go unwarranted06:41
stlsaintsmh06:41
twbEr, it's not "unwarranted".06:42
twbIt has been fixed.06:42
twbSince 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:43
stlsainttwb: 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 LTS06:44
twbstlsaint: AFAIK you're using an unsupported install medium, so if it breaks, you get to keep both pieces06:45
stlsaintso the only supported installs are cd?06:47
stlsainti wouldnt understand how a net install would be supported...06:47
stlsaintbut a usb is not...06:47
twbAFAIK only CD installs are officially supported.06:47
stlsaintsmh06:48
twbFWIW 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:49
stlsaintaye06:50
stlsaintthat is good tto know06:50
twbThat's these: http://archive.ubuntu.com/ubuntu/dists/{hardy,lucid,maverick}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/{linux,initrd.gz}06:51
twbWithin that tree are boot.img and mini.iso that are basically the same content, but pre-rolled with a bootloader.06:52
stlsainttwb: i went with the re-install of grub from livecd (usb)07:01
stlsainttwb: thanks for your assistance07:01
twbstlsaint: OK07:01
=== sresu_ is now known as sresu
uvirtbotNew bug: #697105 in apache2 (main) "Segfault on POST" [Undecided,New] https://launchpad.net/bugs/69710507:51
Guest17443where i can discuss about ubuntu amazon or UCE images - any idea - is it the right room?09:00
xampartmy log is filling up with collectd rrdtool -errors like these http://pastebin.com/Fm1LDc7V any experiences?09:03
twbxampart: install ntp?09:15
macnoHi, when I start the cman service in 10.10 I see these messages in daemon.log http://paste.ubuntu.com/550140/09:15
twbxampart: the first line looks like it's whinging because an epoch time counter somewhere went backwards09:15
twbOr rather, stood still09:16
twbxampart: what happened at Mon Jan  3 08:19:39 UTC 2011 ?09:16
twbmacno: udev is pissed because the rules file you just installed expects (presumably) an older kernel09:18
twbmacno: try copying it from /lib/udev/rules.d/ to /etc/udev/rules.d/ and removing the "misc/"'s09:18
macnoI upgraded from 10.4 to 10.1009:18
macnolet me try09:19
twbmacno: note that I'm just guessing; I'm not familiar with "cman" nor 10.1009:19
xamparttwb: nothing special in syslog or messages09:32
xampartand ntp is installed09:33
no--nameis it safe to use ubuntu-server as a desktop os?09:34
no--namedoes it have all the security stuff that ubuntu-desktop has?09:34
TREllisno--name: yes, apart from the packages installed by default from the server cd will be different and the kernel installed will be the -server flavor09:37
no--nameTREllis: is there anything I should install security wise that -server doesn't have installed by default?09:38
TREllisno--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.html09:41
no--nameok09:42
no--nameso in the end it will be a lot more work than just going with -desktop?09:43
TREllisno--name: "more work" would depend on what you want to use it for09:44
no--nameok09:44
twbno--name: define "safe"09:46
no--nametwb: as safe as ubuntu-desktop09:47
sorenIt's safer.09:48
sorenWay safer.09:48
sorenIt has almost nothing installed by default.09:48
sorenLess attack vectors.09:48
twbno--name: IMO -server is not significantly LESS safe than -desktop; it may be MORE safe.09:48
twbno--name: they differ primarily in the set of packages installed by default; they both back onto the same package repository.09:49
no--nametwb: but I want to use it like I'd use -desktop09:49
no--namejust because it has less bloat09:49
jussiargh, what is the package that provides the command "locate" ?09:50
twbno--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
twbjussi: mlocate (or locate or slocate, depending on vintage and preference).09:50
jussitwb: ok, what is the one that usually ships with maverick?09:51
twbjussi: apt-file can tell you, in future.09:51
twbjussi: mlocate, I expect09:51
jussithey didnt put it onto my server... :/09:51
no--nametwb: 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 OS09:51
twbno--name: conventional wisdom is that installing packages makes a system LESS safe09:52
no--nameok09:52
no--namewhat 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:53
twbno--name: that is simply because you have fewer packages installed.09:54
no--nameok, cool :)09:54
twbno--name: security updates apply to both.09:54
no--nameboth what?09:54
twbno--name: both -server and -desktop.09:54
no--namehmm09:54
twbno--name: they back onto the same security repository.09:54
no--namewhy is it that when i ran the update manager on -server i only got kernel stuff?09:55
twb20:54 <twb> no--name: that is simply because you have fewer packages installed.09:55
no--nameoh, right :/09:55
twbWell, it may also be because you screwed up something and updates aren't being received09:55
no--namehmm09:55
no--nameit's too bad I don't have it installed right now09:55
no--nameI'll install it on vbox and see how it goes.09:57
SyriaHi, please tell me if this is correct   cp -r var/www/site1/folder   var/www/site2/folder10:17
no--nametwb: would recommend "install security updates automatically" or "manage system with landscape"?10:25
no--namewould "no automatic updates" have update manager manage them isntead?10:25
twbno--name: unless you have a support contract with canonical, there's no point in choosing landscape10:35
no--name?10:36
no--namehmm, oh well. should i choose automatic or no automatic (seeing i will be using update manager)10:37
twbNo idea.  I do not support desktops.10:38
no--nameok10:38
no--namewell, i'll try no10:38
no--namelast time i did install them automatically10:38
Syriaplease tell me if this is correct   cp -r var/www/site1/folder   var/www/site2/folder10:39
no--namemaybe that's why the update manager only came up with the kernel stuff10:39
sorenSyria: How are we supposed to know?11:00
Syriasoren am i using the right command? because i am getting a message telling me that folder was not found.11:01
sorenSyria: 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:01
no--nameshould be a / in front of var11:02
sorenHow can you know that?11:02
Syriano--name thnx, I will try it.11:02
no--namecp -r /var/www/site1/folder /var/www/site2/folder11:02
no--nameand only use one space11:03
SyriaOkay.11:03
sorenDoesn't matter.11:03
sorenAt all.11:03
no--nameok11:04
no--namewell the / in front matters if you're not in the / directory11:04
sorenUnless 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
no--namehmm, true11:07
no--namedidn't think about that11:07
Syriano--name I had to add the / It works now.11:07
no--namecool11:08
SyriaThank you guys.11:08
no--namenp11:08
SyriaUsing the terminal is much cooler than gui and comfortable to me, but I am still having a problem with learning the commands.11:09
SyriaI have a vps with Lucid server installed on it.11:09
no--nameyeah i like using the terminal11:12
SyriaGuys 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
Syria644 permessions.11:21
uvirtbotNew bug: #697181 in php5 "DoS: Infinite loop processing 2.2250738585072011e-308" [Undecided,New] https://launchpad.net/bugs/69718111:31
Pupeno[work]Hello.11:52
Pupeno[work]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:52
xperiahello to all. i am trying to send email from my php scripts but somehow in the mail logs i get allways the error message11:58
xperiaInvalid mail address, must be fully qualified domain11:58
xperialooks like a configuration problem with php and postfix becouse i am able to send mails over telnet11:58
xperiaany know how to fix that11:58
Syriaxperia install rouncube.12:02
xperiaSyria: 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:04
nooderhello. if i have 2 socket server, total ram available is divided by 2?12:31
uvirtbotNew bug: #697197 in libvirt (main) "Empty password allows access to VNC in libvirt" [Undecided,New] https://launchpad.net/bugs/69719712:32
zoopsternooder: ??? sockets have nothing to do with the available RAM.12:33
zoopsternooder: available cpu is just that...something that an app can utilize...same goes for RAM.12:34
nooderzoopster, so if i setup 16 + 16 gb, for 1 db instance (mysql) gonna be 32gb available?12:35
zoopsterif 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 question12:36
nooderzoopster, 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:37
zoopsterI 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 configuration12:41
zoopsterin most inexpensive mainboard configs all cpu and all ram are available as a whole to the os and any apps running on it12:42
zoopsterin 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 config12:43
nooderzoopster, is there a chip way to get 64gb ram or more? because 16gb modules costs really much :(12:48
sn0man@nooder what are you trying to use memory for?12:49
sn0manapache? nginx or somethng else?12:49
noodermysql cache12:49
nooderput whole innodb inside ram12:49
sn0manwhy not try some SSD drives?12:50
zoopsternooder: as you increase the amount of ram on a module the price increases rapidly12:50
reisinooder: buy an actual battery-backed ram disk12:50
nooderthere is point to use fusionio12:50
zoopsterthe question really is why do you want to cache the entire db?12:51
reisinooder: though, are you sure you need to have a 30GB database in-memory?12:51
nooderzoopster, thats a standart operation. if all db fits in ram there is 3x increase in performance12:52
sn0manthey have a point, kinda impractical to put entire db in RAM... what happens when your DB exceeds your RAM later?12:52
zoopsteryes, but if you are looking for performance, there are many other ways to go about it in addition to caching the entire db12:52
zoopsterit USED to be standard practice...before SSDs, nosql, etc12:53
sn0manbuy a battery backed raid controller, setup a Raid10 with 4 SSD drives12:53
nooderhm, there is a point in that12:54
nooderjust never dealed with ssd12:54
sn0manresponse time is really what your after12:54
nooderso how much is 1 ssd about?12:55
nooder100+gb12:55
sn0man200 bucks maybe?12:55
nooderthats much cheaper than ram anyway12:56
sn0manbut if you go 60gb they're as low as 80 bucks maybe?12:56
nooderanybody used intel platforms?12:57
sn0manwhat OS are you running?12:57
nooderfedora 1412:57
nooderext412:57
sn0manwhat kernel12:58
nooderjust thinking for now, buy or not supermicro12:59
nooder.35 i think12:59
sn0man2.6.33+ allows for TRIM support I believe, which you'll want for sure12:59
nooderdid you hear about issues with ssd?13:00
nooderfailures or smth13:00
sn0manOCZ 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 such13:01
sn0manwhere as other companies have to use reference firmware from sandforce.   Some licensing bullshit13:01
sn0manWhatever SSD disk/company you choose, spend an hour and read through their support forums before purchasing13:02
sn0manand read up on TRIM and Garbage collection for your OS13:03
nooderfor os i will use regular hdd13:03
sn0manTRIM and GC will keep the drives healthy and fast13:03
nooderi think no need for os in fast drive13:03
RoyKiirc there's no TRIM in Lucid13:04
RoyKthat is, trim came into 2.6.33, so unless someone has backported it to the current lucid packages, there's none13:04
sn0manhe said he's got 2.6.3513:04
sn0manso he should be ok there13:04
RoyKoh, well, then it should be there13:05
sn0manbut he's on fedora 14, dunno if that matters.  But a kernel is a kernel right?13:05
RoyKmore or less, yes13:06
RoyKalbeit asking for fedora help on #ubuntu-server is a little wierd13:06
sn0man@RoyK: https://sites.google.com/site/lightrush/random-1/howtoinstalllinuxkernel2635onubuntu1004lucidfromubuntu1010mavericktheeasyway13:06
sn0manlooks like someone did13:06
RoyKah - nice backport13:07
sn0manBut yea, nooder.  Go get some SSD drives and that shit will be flyin13:07
ScottKThe powerpc buildds on Launchpad run a maverick kernel with a lucid userspace as it's more stable on that arch.13:08
RoyKsn0man: a kernel is a kernel, but all distros have their own patch kits...13:08
sn0mantrue13:08
nooderlast question is intel or supermicro? intel is very cheap13:09
sn0manfor what, SSD?13:09
nooderplatform13:09
nooderchasis + mb13:09
RoyKnooder: both work, it's more a matter of taste13:09
sn0manahh, just make sure the chipset is fully supported13:10
* RoyK uses supermicro for storage systems and a few servers13:10
sn0manI've woked with a lot for SuperMicro and found them pretty decent13:10
RoyKbut then, I don't use linux for storage...13:10
* RoyK wants ZFS13:10
RoyKs/wants/needs/13:10
sn0manZFS is the sex13:10
RoyKwith 2 boxes with 100TB each, I somewhat want block-level checksumming :P13:11
sn0manhehe, so long as you got a decent L2ARC cache deduplication is a great thing to have13:12
nooderand for mysql whats will be better i7-980x 3.33 or xeon e5620 2.6 but with more l1 cache13:14
=== oubiwann is now known as oubiwann_
nooderi think that mhz are really important. but don't know what this cache means for mysql :)13:15
RoyKsn0man: really? I've done quite some testing on this 12TB test system, and found dedup quite unusable due to very low write speeds13:16
RoyKthis was with some 160GB of L2ARC13:16
RoyKtotal space used was 2-3TB13:16
RoyKso way within the 'specs', but still, not very usable13:16
sn0manto be correct you need a proper LOG cache as well too.13:17
RoyKSLOG, yes13:17
RoyKhad that as well13:17
RoyK4GB13:17
sn0manso, LOG and L2ARC for read and write13:17
RoyKquite sufficient13:17
RoyKSLOG for write, L2ARC for read13:17
RoyKL2ARC is critical if using dedup13:17
RoyKor a truckload of RAM...13:17
RoyKor both13:17
sn0mandid you give it a proper amount of time to build the cache?  With those two it should be flying13:18
RoyKbut stil there are issues with destroying a deduped dataset - it can take hours or even days, hanging the system13:18
RoyKnot very funny13:18
RoyKI guess that's the reason S10u9 doesn't have dedup...13:19
sn0manyea, all that stuff is still technically dev builds, but long overdue :P13:19
sn0manCan't wait till FreeBSD gets p2213:20
RoyKso for these two systems, and a smaller 14TB box for another office, we chose openindiana and sufficient disk space13:20
sn0manBut by that time, Maybe BTRfs will be out with a stable release13:20
RoyKlooks like there's something in the works with raid[56] there too13:21
=== oubiwann_ is now known as oubiwann
nooderso which ssd to choose? x25m? or there are better once?13:26
RoyKfor what use?13:26
nooderdb13:27
RoyKCrucial's RealSSD C300 is fast and works wery well for most use13:27
RoyKx25m is quite old and not very fast compared to the newer ones on the market13:28
RoyKnooder: how large is the database?13:28
nooder64 gb is enough13:28
nooderjust needs to be as fast as possible13:28
RoyKthen I'd recommend the C30013:28
RoyKthey're quite fast )13:29
RoyK:)13:29
nooderi read reviews for crucial ram modules and there is quite big number of returns13:30
nooderif a buy one, i need to upgrade firmware at first?13:31
skorvhello13:37
skorvi have a server setted up with bind9+dhcp3 and its working13:37
skorvbut it serves 2 subnest13:37
skorvon dhcp everything is fine13:37
skorvon bind i have zone "domain", the rev.lan1 and rev.lan213:38
skorvwhen i ping my server from lan1 it gives me the ip ih has in lan2 (only in windows)13:39
skorvall zones are master13:39
skorvi tried to create another zone with a domain for lan2 but bind fails to start13:40
RoyKnooder: wouldn't think so - also, about return of crucials, I haven't heard that, got an url on that one?13:42
sn0mankeep in mind, you always find more complaints than postive reviews13:42
sn0manwhen something works, people don't talk13:42
sn0manso more people on a forum saying something doesn't work doesn't really mean much13:43
RoyKskorv: I think you need split horizon - see the section about views in the manual13:43
noodersn0man, http://www.amazon.com/Crucial-CT2KIT51264BC1067-204-PIN-PC3-8500-SODIMM/product-reviews/B001MX5YWI/ref=sr_cr_hist_all?ie=UTF8&showViewpoints=113:43
RoyKnooder: I wouldn't worry about that - get a couple of C300, mirror them, and you should be safe13:45
nooderi just cant understand what can happen13:45
RoyKnooder: also, even if crucial had a bad series of memory chips, that doesn't really matter much for other products13:45
sn0manregardless 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:45
nooderregular hdd i'm monitoring with smart13:46
sn0manyou can still use SMART13:46
sn0manthere are also new SMART codes specific to SSD's13:46
sn0manso you have to make sure the tool you're using to check the SMART codes supports them13:46
skorvput each subnet + reverse in its own view?13:46
RoyKSMART might be even SMARTer on the SSDs, since a drive quite oftenly dies without telling SMART about it13:46
skorvwould that be the idea13:46
RoyKskorv: yes13:47
sn0mansupports SSD, that is13:47
skorvhumm13:47
skorvty for the help.... i'm new to bind :P13:47
nooderthx, that really helped me :)13:49
uvirtbotNew bug: #697227 in apache2 (main) "Apache processes segfault" [Undecided,New] https://launchpad.net/bugs/69722714:06
ssureshotI 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:31
SpamapSssureshot: how are you setting up the bonded interface?14:40
ssureshotSpamapS: 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 way14:42
ssureshotI was setting up the auto bond0 with the slave directive for eth0 and114:43
uvirtbotNew bug: #697243 in samba (main) "winbind offline logon doesn't works after winbind restart" [Undecided,New] https://launchpad.net/bugs/69724314:46
RoyKdoes a bonded network allow for full speed on boths NICs for a single TCP/UDP stream?14:46
SpamapSRoyK: depends on how you have it bonded14:48
SpamapSRoyK: the default method is just for failover14:48
SpamapSbut some switches support a trunking protocol14:49
RoyKit was trunking I was thinking of14:49
RoyKjust curious how that works when a stream is sent to a MAC address on the network layer14:49
RoyKif it can balance a single connection across two NICs14:50
ssureshotroyk: generally speaking, modes provide either hot standby or load balancing services. <-- taken from a quick google14:54
RoyKssureshot: I'm aware of that14:55
RoyKI was just wondering about if those trunks could balance a single connection14:55
ssureshotI 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.15:00
=== smoser` is now known as smoser
RoyKssureshot: sure, but what about single connections? I was told from someone I couldn't get 2Gbps on a single connection from two bundled 1Gbps connections15:11
sorenRoyK: It depends.15:17
RoyKdepends on what?15:17
sorenRoyK: All the components in between the two systems exchanging data.15:18
RoyKno, you misunderstand15:18
sorenEasiest way to success is to have a switch that supports bonding.15:18
sorenOr trunking.15:18
sorenOr whatever the vendor chooses to call it.15:18
RoyKif I open a connection from A to B, single TCP connection15:18
RoyKhow will bonding help if the data is sent to/from MAC adresses?15:19
ssureshotroyk: soren is right he beat me too it... youll never get 2gbs on bonded nics unless you have the switches to support it15:19
sorenif the switch is up for it, the two ports can share a MAC.15:19
RoyKok15:19
RoyKbut then, the OS needs to support shared MAC as well?15:20
sorenSure.15:20
RoyKany idea if linux supports that?15:20
sorenErr. Sure. I thought that's how this discussion started.15:21
* soren only read the last few lines of context15:21
ssureshotroyk: the bonding bonds eth0 and eth1 to a single mac address attached to bond015:21
sorenRoyK: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/networking/bonding.txt;h=5dc638791d975116bf1a1e590fdfc44a6ae5c33c;hb=HEAD15:22
RoyKthanks15:22
pmatulissoren: nice link15:24
=== hito_jp0 is now known as hito_jp
zulivoks: im the middle of packaging dovecot2 for universe15:34
araHello guys!15:38
compdocdont us gals get a hello?15:40
araI am also a lady, and I use guys for both male/female :)15:41
compdocIm not a gal - but I could have been15:41
zulhi ara15:41
AndyGraybealanyone 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
araAnyway, during our weekly testing before holidays, we found this bug in the server isos15:41
arahttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/69304215:41
uvirtbotLaunchpad bug 693042 in linux "Kernel Panic while booting Natty installer kernel (2.6.37-10-generic) on amd64 ISO" [Undecided,New]15:41
arahey zul :)15:42
zulara: crappers...:(15:43
arazul, have you experienced something similar?15:43
zulara: not recently15:44
ivokszul: eh? universe?15:44
arazul, and before that? the test was done before the holidays15:44
zulivoks: yeah im calling it dovecot2 but it will conflict with dovecot15:44
zulara: no thats totally new to me...ill bring it up in the meeting today15:45
ivoksah, dovecot 215:45
arazul, I will bring it if you want, I will be there15:45
arazul, you mean the kernel meeting?15:46
zulara: server team meeting15:47
arazul, ah, OK, I won't be at that one15:47
zulbut if you want you can bring it up there as well ;)15:47
arazul, I will raise it in the kernel meeting, and you can do it in the server meeting :)15:47
zulara: sounds like a plan15:47
zul2 people nagging are always better than 1 ;)15:48
ara:)15:48
zulthanks!15:48
AndyGraybeali 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
AndyGraybeal        -o, --owner                 preserve owner (super-user only)15:54
AndyGraybealwhy does it only do 'super-user only'?15:55
kim0AndyGraybeal: you need to rsync as root (or sudo) in order for that option to work15:55
AndyGraybealaaah15:55
kim0AndyGraybeal: since chown'ing files is a root thing15:55
AndyGraybealthank you kim015:55
AndyGraybealso, 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
AndyGraybealit doesn't apply does it?15:56
AndyGraybeali have to be root on the machine that is receiving for it to be able to preserve the owner, correct?15:56
zuluh...is it me running the meeting today?15:57
AndyGraybealhm. 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
kim0AndyGraybeal: yeah root on receiver I'd say .. on reader machine, you'd only need permission to read the files15:57
AndyGraybeal:)15:57
JamesPagezul: looks like it - smoser did the last one pre xmas15:58
zulfrig..15:58
smoseri did one prior to the break.16:00
fubadahi, 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.816:00
fubadawhich raid do you think is more appropriate, raid5 or 1016:00
kim0fubada: for performnance raid10 for capacity raid516:01
gobbewell. raid10 is ofcourse better than raid516:01
gobbeif you look performance16:01
smoserso, http://www.mojvideo.com/video-it-ain-t-me-babe/36cb8416efd2ca44c4b616:01
fubadawhat capacity will i get with 4x2tb raid10? 4tb?16:01
fubadaraid5? 6tb?16:01
kim0fubada: yeah16:02
compdoc616:02
fubadahm16:02
compdocraid 10 would be 416:02
fubadais sw raid5 cpu intensive?16:02
fubadamores than sw 1016:03
compdocooops - raid 5 is 6, raid 10 is 416:03
fubadadang16:04
fubadaim not sure what i want16:04
kim0fubada: what are you storing there16:07
fubadamedia primarily16:08
fubadaseed box also16:08
fubadap2p16:08
fubadabackups16:08
kim0fubada: is that mostly movies16:08
fubadamovies and mp3s16:08
fubadaxbmc type of stuff16:09
kim0fubada: media and backups are streaming large files .. I'd go raid5. Hopefully mp3s are not gonna be a problem16:09
fubadaa problem for the cpu keeping up with raid5?16:10
kim0fubada: you'll only know after trying, but I'd be surprised16:10
fubadaheh16:10
pmatulishm, intel atom processor16:10
pmatulisfubada: if it's just dishing up files it shouldn't be a problem16:11
fubadapmatulis, the box will also be my xbmc16:11
fubadaand torrent seedbox16:11
fubadathanks kim016:12
pmatulisfubada: does that involve a lot of processing?  i have no idea16:12
kim0fubada: you're welcome16:12
fubadapmatulis, i dont think so16:12
fubadathanks pmatulis16:12
kim0fubada: use ext4 since it's a bit faster16:12
fubadaext4 raid5 for a total of 6tb's :)16:12
kim0fubada: yep :)16:13
pmatulisfubada: so just reading from box right?  not writing?16:13
fubadawell ill be writing to it when its doing backups16:14
fubadaand when its downloading torrents16:14
fubadamy torrent speeds can hit 3mb/sec16:14
fubadaOS is on SSD16:14
pmatulisfubada: k, b/c raid5 suffers a bit with writing, due to parity16:16
HJesswhat 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
fubadaHJess, raid?16:17
kim0HJess: seen that with bad sata cables16:18
HJessfubada: yes and no - there is a raid connected, but the copyed files are from a USB to a SATA disk inside the server16:18
HJesskim0: ok a bit strange.. given that the problem kind of builds up .. upstart works fine and so16:19
patdk-wkI don't know where the 99.9% comes from, as iotop doesn't use percents16:19
HJessat the momemt I have 5 Mb/s transfer from the USB to the sata disk .. normal this would be around ~30 MB/s16:21
patdk-wkthere are so many reasons for that :)16:22
patdk-wkharddrive issues on either one, usb or sata16:22
patdk-wkother usb device or that one, causing usb bus speed to be slow16:22
patdk-wkdoes dmesg say anything?16:23
HJessno errors at all ..16:23
patdk-wkprobably read recovery or hardware ecc errors on one of the drives16:23
patdk-wkuse smartctl (doesn't work over usb)16:23
HJessok .. just plain stranage.. a "ls ~" - takes around 2 minutes..16:24
HJesswhen doiing the cp16:25
patdk-wkand you find that odd?16:25
patdk-wksince you don't have any dmesg stuff, I doubt it's an interface issue, so must be a bad drive16:26
HJessnormal it would take a spilt sec.16:26
patdk-wknormally != failed drive16:26
HJessif it was a failed drive would fsck pick it up?16:27
patdk-wkno16:28
patdk-wkfsck is for failed filesystem16:28
HJesssmartctl it is then16:28
kennethbaucumCan someone give me some tips on getting my Ubuntu LAMP setup to talk to a MSSQL database residing on a different server?16:42
kennethbaucumI'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:44
kennethbaucumTried following structions found at http://us2.php.net/manual/en/book.mssql.php but to no avail16:45
thesheff17kennethbaucum: by default mysql only listens on localhost...edit /etc/mysql/my.cnf comment out bind-address            = 127.0.0.1 and restart mysql16:46
kennethbaucumthesheff17: I can talk to MYSQL fine, I need help talking to MSSQL, Miscrosoft SQL Server16:47
thesheff17kennethbaucum: oh sorry...Unfortunately almost everyone here doesn't use microsoft16:48
thesheff17kennethbaucum: http://www.webcheatsheet.com/PHP/connect_mssql_database.php maybe this how may help.16:49
kennethbaucumthesheff17: 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:49
kennethbaucumthesheff17: Thanks, I'll check the link...16:50
kennethbaucumthesheff17: 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
thesheff17have you installed php5-sybase16:51
thesheff17it looks like the PHP to MSSQL module16:51
kennethbaucumthesheff17: 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:52
RoyKSybase -> MSSQL was a nice turn16:54
RoyKMicrosoft was part of the Sybase project, and one day, they just took the code and ran away to make MSSQL16:55
RoyKmuch  the same way as with OS/2 => Windows NT16:55
eagles0513875hehey 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 this16:58
blistovanyone know how to setup nfsv3 on 10.10 ?17:57
blistovSeems to have disappeared from all the repos.17:57
pmatulis!info nfs-kernel-server18:04
ubottunfs-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 kB18:04
pmatulisblistov: ⤴18:04
blistovGah.18:07
RoyKnfs3 is still in18:07
RoyKmount -o vers=318:07
blistovv4 supports v3, but I'm wondering if there's a way to disable 2 and 4, enable 3, and not use kerberos.18:07
blistovRoyK, I don' t have the ability to set client options.  The client is an esxi 4.1 server.18:08
blistovIt defaults to v4 as a client, but doesn't ACTUALLY support v4.18:08
blistovso you have to completely disable v4 on the server.  Doing this however, seems to force kr5b enabled on the server.18:09
RoyKkrb is an nfs4 thing18:09
blistovRoyK, 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
blistovAny idea why/18:11
elijahosborneI 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:11
* RoyK made costers for some family members out of old harddrive platters this christmas18:13
pmatuliselijahosborne: by default ubuntu starts installed services on boot18:23
RoyKelijahosborne:  apache starts in /etc/rc2.d18:24
pmatuliselijahosborne: it's a bit mysterious how to change that behaviour18:24
pmatulisRoyK: not upstart?18:25
RoyKelijahosborne: just remove the symlink there and it won't start18:25
RoyKiirc apache doesn't use upstart18:25
hggdhupdate-rc.d can be used for that18:32
hggdhe.g. sudo update-rc.d apache2 disable18:33
SpamapSis it just me, or does natty alpha1 boot into a black screen (have to alt-f1 to get the login) ?18:35
hggdhI have seen it, but not always, SpamapS18:36
SpamapSI think its an attempt to avoid flicker that is having a negative affect on the server18:36
SpamapSwill have to check it out on alpha2..18:37
SpamapShggdh: I think we have a fix for the libc6 thing18:38
hggdhSpamapS: yes, I saw your entry in the bug, great!18:39
hggdhSpamapS: perhaps this time I will be able to finish an install on the test rig ;-)18:39
hggdhSpamapS: there is also bug 693042 that *may* be related18:40
uvirtbotLaunchpad 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/69304218:40
SpamapSoh thats fun.. virt manager won't give me my mouse back when I hit ctrl-alt18:41
=== thomas_s_ is now known as sjolshag
RoyKSpamapS: seen that happen, especially from remote18:53
SpamapSzul: + [zulcss] get cobbler deploying Ubuntu From Ubuntu: DONE   w0000t19:04
zulSpamapS: yep19:05
zulSpamapS: i rule19:05
SpamapSzul: O'Doyle Rules19:10
sorenSpamapS, zul: Where can I see this new hotness?19:24
zulsoren: its in the cobbler git repo19:24
_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 static19:32
SpamapS_Neytiri_: did you do 'ifdown ethX' before making that change?19:36
SpamapS_Neytiri_: dhcpcd is probably still running19:36
_Neytiri_no19:36
SpamapSor dhclient19:36
_Neytiri_i have never had to do that before but i will try it19:36
SpamapS_Neytiri_: the issue is that dhclient is still running19:37
SpamapS_Neytiri_: you can probably just kill dhclient19:37
* SpamapS thinks ifup should take care of that19:37
SpamapS_Neytiri_: you may want to report that as a bug.19:37
_Neytiri_i will cause i know in 10.4 all i had to do was restart netwroking nd it would solve it19:38
cdubyais 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:38
genii-aroundcdubya: Did you do something like: sudo apt-get update                beforehand, to get the latest list of files?19:41
cdubyayep19:41
cdubyajust did it again for grins19:41
genii-aroundHm19:42
=== chris____ is now known as N2Deep_
genii-aroundcdubya: Were you perhaps using a ppa or so, which installed later versions of it's dependencies for some other program?19:44
cdubyaIt 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:44
cdubyagenii-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:45
cdubyagenii-around, the only ppa in the sources file is the ebox one, but it's commented out.....19:46
genii-aroundcdubya: 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 version19:48
cdubyaok, I'll try that.19:48
deadsmithcan someone please direct me to the correct channel for installation on an Apple XServe?19:48
cdubyagenii-around, that did it. Thanks!19:51
genii-aroundcdubya: Yer welcome19:52
genii-arounddeadsmith: https://help.ubuntu.com/community/Xserve2-1 may be of some kind of help20:01
deadsmithgenii-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:21
genii-arounddeadsmith: the amd64 is for all processors that use 64 bit instruction sets (AMD or Intel, doesn't matter)20:22
RoyKand most software work well with both 64 and 32bit20:26
RoyKsome software links to 32bit libs, meaning you need those as well20:26
deadsmithgenii-around:  thanks.  It's been about 6 years since I've done anything, and the hardware seen has changed a bit...20:28
RoyKdeadsmith: the game is still the same20:31
deadsmithick... ack... *scene.  :-)20:31
RoyKhttp://karlsbakk.net/xray.png <-- I guess I could have brought home more interesting artifacts from Iceland than these20:32
AmgineRoyK: but, perhaps, none you'd be as able to keep track of.20:40
=== DrNick__ is now known as DrNick_
cdubyawhat's the easiest way to allow samba guest access with rw permissions on a share?21:34
cloakableMake the folder rw to the samba guest account (default nobody), set the share 'guest ok' and make it writable.21:36
cloakablewhy?21:36
remix_tjcloakable: e.g. for an app like a mine which eats pdf from a share and returns postprocessed pdfs? :-)21:37
cloakable:)21:39
_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 after21:42
AndyGraybeali 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:43
pmatulisAndyGraybeal: cron sends emails to the user of the job21:44
AndyGraybealpmatulis: interesting21:44
* genii-around ponders --log-file=something21:47
kirklandzul: hey22:11
kirklandzul: saw your blueprint update22:11
kirklandzul: so you got cobbler deploying ubuntu from ubuntu?22:11
kirklandcjwatson: howdy22:17
kirklandcjwatson: i just uploaded a new package, ssh-import-id to natty22:17
kirklandcjwatson: if you could/would give that an Archive Admin's review, and get it into the archive, you can prune that code from openssh22:17
kirklandcjwatson: i'll send a merge proposal for that too22:18
kirklandcjwatson: lp:~kirkland/openssh/remove-ssh-import-id22:25
NateWim 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
deadsmithI'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:26
The_Tickgrub doesn't have documentation about that?22:27
thesheff17NateW: did you install php?  many times that happens when apache hasn't been restarted after php is installed.22:27
NateWinstalled php5 and restarted apache22:28
NateWthe php mod is enabled as well22:28
deadsmithThe_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:29
NateWthesheff17: would restarting the server help?22:31
thesheff17NateW: no...so it is working in /var/www/  you are missing something within the directive.22:31
NateWhow would i fix this?22:32
The_Tickwell22:32
NateWi tried searching online and havent found a solution yet22:32
The_Tickif he modified a config file22:32
The_Tickhe may need to restart apache to make modphp work22:32
thesheff17can you pastebin your /etc/apache2/sites-available/default22:32
thesheff17is that where you are adding that public_html dir?22:33
NateWi used a2enmod22:33
NateWhavent edited the /etc/apache2/sites-available/default at all22:33
thesheff17apache2 needs to be restarted so the module is picked up22:33
NateWi have restarted apache22:34
NateWthe public_html folder works with html files.. just not php22:34
thesheff17I would also check permissions22:38
thesheff17chown -R www-data:www-data /var/www/22:38
thesheff17here is a real simple PHP script...try creating test.php w/ this content: http://pastebin.com/e4yacRWR22:42
The_Tickit won't work thesheff1722:44
The_Tickthe fact it's downloading it22:44
The_Tickand not trying to process22:44
NateWthats actually the php file im using22:44
NateWsetting /var/www to www-data makes it download in the same way22:44
The_Tickapache is misconfigured most likely22:44
thesheff17hmm...maybe apache2 isn't restarting correctly?22:45
thesheff17try stopping it and ps aux | grep apache22:45
NateWsetting it back to the default username makes it work again22:45
thesheff17I'm a little confused?  what do you mean default username?22:46
NateWusername i use for the server22:46
thesheff17this should be done w/ sudo or root22:47
thesheff17if that is what you mean?22:47
NateWlcs      30906  0.0  0.0   8952   876 pts/2    S+   17:47   0:00 grep --color=auto apache22:47
NateWi mean.. running chmod www-data:www-data makes the php file not open correctly, running chmod lcs:lcs makes it work again22:48
NateWof course im using sudo and using /var/www with -R22:49
NateWhttp://paste.ubuntu.com/550419/ is /etc/apache2/sites-available/default22:51
thesheff17NateW: yea my default looks the same :-/22:52
thesheff17and it works22:52
thesheff17what version of ubuntu?22:53
NateW10.1022:53
thesheff17odd...I'm running 10.0422:53
NateWits strange.. php files in /var/www work, but not in ~/public_html22:53
thesheff17so if you put test.php with phpInfo(); in /var/www/ it works fine?22:54
NateWyeah22:54
thesheff17ah ok...I think something needs to be added to apache2 config to say ~/plublic_html to process php files.22:56
NateWwhat should i put?22:57
thesheff17https://wiki.ubuntu.com/UserDirectoryPHP22:58
=== JanC_ is now known as JanC
hggdhsmoser: there? A question on karmic and EC223:04
NateWthesheff17:awesome.. that fixed the problem.. thanks23:04
thesheff17NateW: np didn't read close enough that you where trying to use ~/public_html23:05
zulkirkland: yep23:21
kirklandzul: you rock, man23:21

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