/srv/irclogs.ubuntu.com/2010/10/12/#ubuntu-server.txt

OverandAnyone with any ideas on how to fire off a script based on if rsync does - or doesn't - update any files?00:04
detrix42I am trying to set up my server.  everything is going well, except...when I try to view  <?php phpinfo() ?> in my test index.html page, I don't get the phpinfo.  need help figuring out why.00:10
uvirtbotNew bug: #658795 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/65879500:36
keyboarddrummerhello.  sorry for asking such a basic question, but how do you update packages in 10.04?00:39
nealmcbkeyboarddrummer: sudo apt-get update; sudo apt-get upgrade00:41
detrix42I am trying to set up my server.  everything is going well, except...when I try to view  <?php phpinfo() ?> in my test index.html page, I don't get the phpinfo.  need help figuring out why.00:41
nealmcbdetrix42: did you look at the log file?00:42
nealmcbis php installed?00:42
detrix42sorry for the delay.... nealmcb, which log file?00:43
detrix42I am fairly new at this00:43
detrix42the server stuff that is00:44
detrix42nealmcb: and yes php5 is installed00:44
nealmcbdetrix42: did you use a guide or tutorial somewhere that you can refer to?00:45
detrix42nealmcb: yes, the ubuntu site guide.00:45
nealmcbdetrix42: the apache log file - https://help.ubuntu.com/community/LinuxLogFiles00:46
nealmcbdetrix42: and what exactly DO you get?00:46
qman__detrix42, php only works in files named .php00:46
qman__.html files won't be processed00:46
nealmcb(unless you configure it otherwise?)00:47
detrix42ahhhh....hold on a sec.00:47
qman__yes00:47
detrix42ok. that was the missing link.  but when I mv index.html index.php it defaulted to index.html and got one.  there should not have been one after I renamed it.00:50
detrix42I did get it to work, but specifing index.php00:51
qman__sure it wasn't your browser caching it?00:52
qman__index.php should also render as the default site page00:52
detrix42hey thanx for all the excellent help00:52
detrix42it might have been a cached page00:52
detrix42I will know in a few when I try to access it from my laptop00:53
detrix42Thanx again.00:53
detrix42see ya00:54
Andre_Gondimin ubuntu server kernel uses OCS or CFS scalonator?02:03
Andre_Gondimin ubuntu server kernel uses OCS or CFS scalonator kernel02:03
maruqhi guys.02:23
maruqaccording to press release (http://www.canonical.com/news/ubuntu-10.10-server), it's possible to run AMIs offline in KVM. anyone know how to do it?02:23
maruqcan't find any docs on the server / cloud pages02:24
jeeves_mosshow come this script is only getting the index.html pages and not reading through them or spydering them to pull just the images out of it?  http://pastebin.ca/195971702:52
=== zz_sailerboy is now known as sailerboy
=== Pilif12p|afk is now known as Pilif12p
detrixhi, I am fairly new to setting up servers.  I need help setting up bind9.  I am trying to follow some howto's but they are somewhat confusing.  anyone here care to help me with this?03:48
RColawhats the issue?03:48
RColayou got any errors?03:48
detrixno not yes....just trying to follow the online howto's but I am starting to get confused......I need help setting up the config files.03:49
detrixis there a utility to aid in this03:50
RColawell #1 are you trying to do it as a resolver as well?03:50
detrixI believe so03:50
RColapm me and we'll talk more.03:51
ScottKdetrix: If you look at the Ubuntu Server guide (link in /topic) it has bind9 setup that's been validated on Ubuntu for many common situations.04:03
jeeves_mosswhy is this script not pulling JUST the images from the list of URLs in the text file?  http://pastebin.ca/1959756  it will d-load the index.html file, then finish04:07
jeeves_mossRCola, why is this script not pulling JUST the images from the list of URLs in the text file?  http://pastebin.ca/1959756  it will d-load the index.html file, then finish04:10
=== Pilif12p is now known as Pilif12p|afk
MrDowntempoHi All! I'm building my first Ubuntu Server with 10.10 32bit. But I'm having a bit o' trouble.04:52
MrDowntempoThe Install fails after creating the file system04:52
MrDowntempoeverytime. No matter if I pick ext2, ext4 or reiserfs04:52
|rt|MrDowntempo: no idea if this is what you're running into but I had that happened to me a while back due to a bad hard drive04:54
MrDowntempo|rt|, well its a brand new drive, but its an SSD not a HDD04:55
MrDowntempoDoes ubuntu server not know how to deal with its boot sector?04:55
MrDowntempoor something like that?04:56
|rt|MrDowntempo: I've never installed on an SSD but I don't think that would be the problem04:57
|rt|how far along in the install does it get?04:57
MrDowntempoUp to creating the file system04:57
|rt|in my case it would always get about 80% through installing before it would start erroring04:57
MrDowntempoIt patitions fine04:57
MrDowntempoI think.04:57
MrDowntempoAlso I was able to install Arch on the same drive earlier that day04:58
|rt|anything in dmesg?04:59
MrDowntempoHehe, not at the moment. Im running off a live disc on the same machine right now05:04
MrDowntempoWhat should I look for in there?05:05
|rt|MrDowntempo: any errors that my point to what the issue is05:08
|rt|you would need to try to install it and then when it errors look to see what the recent dmesg entries have to say....may provide a clue....may not05:09
|rt|anyhow...time for bed for me05:09
=== sailerboy is now known as zz_sailerboy
billybigriggeris anyone alive to help me through a borked upgrade?06:20
soren!ask06:24
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)06:24
Pwndeurayahhhhhhhhhhhh !06:25
billybigriggerok well just seeing if anyone is alive...im going to login to my server and see if i can pull up a log or something to help me out with the question...06:25
Pwndeuruh06:25
Pwndeura question ?06:26
Pwndeurbeer or not beer that is the question =)06:26
billybigriggerbasically, i was uprgrading a 10.04 system to 10.10, i followed the upgrade procedures, and when it came time to replace a packge, it ask me if i wanted to accept, keep installed version, show differences, or something....so i chose to read through the differences...when i got to the end of the file...i stupidly hit ctrl-z ending the process...now when i tried do-release-upgrade -d again, it says there's nothing to upgrade06:27
billybigriggeri haven't done anything since...and no i don't have a backup....what would my safest option be?06:27
billybigriggerthe upgrade packages where all downloaded, and aptitude was already starting to update the packages...06:28
sorenbillybigrigger: ctrl-z doesn't end the process.06:28
sorenbillybigrigger: It pauses it.06:28
billybigriggerwell the process isn't there anymore according to top06:28
sorenbillybigrigger: Which process?06:28
billybigriggerwell aptitude would be running im assuming no?06:29
sorenbillybigrigger: I wouldn't know. Did you use aptitide to do the upgrade?06:29
sorenaptitude.06:29
billybigriggerdo-release-upgrade -d06:29
billybigriggerwhich initiates apt or aptitude yes?06:29
sorennot aptitude.06:30
sorenfor sure.06:30
billybigriggerok well i'll pastebin /var/log/dist-upgrade/apt.log06:30
billybigriggerhmm looking through it it doesn't look helpful at all06:31
sorenLook, if you ctrl-z'ed it, it's just paused.06:31
sorenIn the same terminal, just run "fg" and see what happens.06:31
billybigriggerok how do i resume it?06:31
billybigriggerthat term session has ended06:31
sorenOk, then it's gone.06:32
sorenJust try a good old "sudo apt-get dist-upgrade", then.06:32
billybigriggerbillybigrigger@timmy:~$ fg06:33
billybigriggersudo do-release-upgrade -d06:33
billybigrigger 06:33
billybigriggernow im just sitting there with a cursor06:33
sorenYou just said the term session had ended?!?06:33
billybigriggeryes06:33
soren"yes"?06:33
billybigriggerok, the server is on a VPS, linode.com...i'm using it's ajax based remote console, as a dist-upgrade via ssh is not suggested...06:34
billybigriggerso i fired up the remote console again and my past error msgs are still there...so i guess technically that session didn't end06:34
sorenOk.06:35
sorenWhat happens if you press return?06:36
billybigriggershal i try "a good old sudo apt-get dist-upgrade" then or what?06:36
sorenNo.06:36
billybigriggerhah shit06:36
billybigriggerbillybigrigger@timmy:~$ fg06:37
billybigrigger-bash: fg: current: no such job06:37
billybigriggerok well sudo apt-get dist-upgrade it is06:38
sorenWha..06:39
sorenDid you just make this up:06:39
soren05:33 < billybigrigger> billybigrigger@timmy:~$ fg06:39
soren05:33 < billybigrigger> sudo do-release-upgrade -d06:39
soren?06:39
billybigriggernope06:41
billybigriggerit was there06:41
billybigriggeri ctrl-c'd out to do the dist-upgrade06:41
billybigriggerso the process was paused, and i killed it :(06:41
* soren gives up06:42
billybigriggerok so again i say....06:44
billybigriggerok well sudo apt-get dist-upgrade it is06:44
billybigriggerhope this works06:44
billybigriggersoren: ....06:46
billybigriggerbillybigrigger@timmy:~$ sudo apt-get dist-upgrade06:46
billybigriggerE: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)06:46
billybigriggerE: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?06:46
billybigriggeryou think that my upgrade process is still running? i don't see it in ps aux output06:46
sorenbillybigrigger: I don't know. You only tell me half of everything.06:46
sorenI can't help you this way.06:47
RudyValenciaHow do you upgrade a package?06:48
billybigriggerwell what do you want to know?06:48
RudyValenciaI forget06:48
billybigriggersoren: ? what more do you want to know06:51
sorenbillybigrigger: I don't know.06:52
sorenbillybigrigger: When for instance you say that your term session has ended, I didn't know to ask "Hey, dude, is this perhaps Linode's ajaxterm, so it might still be alive even though you restarted your web browser?".06:53
sorenbillybigrigger: I also didn't know to ask if you thought it would be fun to ctrl-c your way out of do-release-upgrade.06:54
billybigriggerwell you told me to do a good old sudo apt-get dist-upgrade06:54
billybigriggerso what was i supposed to do?06:54
sorenbillybigrigger: I also would have never guessed that when you say that the upgrade process isn't in the process table anymore that you were really looking for "aptitude" even though aptitude has nothing at all to do with the upgrade.06:55
billybigriggersorry for the confusion06:55
sorenbillybigrigger: I told you to do that because you said a bunch of stuff that turned out not to be true.06:55
billybigriggerok06:55
billybigriggerwell my bad, busy day and i'm not thinking straight06:55
sorenbillybigrigger: Right now I have to guess what you mean when you say that the upgrade process isn't in the ps output.06:56
billybigriggerthanksgiving weekend here in canada so my head is full of turkey sorry :(06:56
sorenbillybigrigger: Last time you said that, it was ill informed.06:56
billybigriggerright06:56
billybigriggerarghh...well i'm lost now soren06:57
billybigriggerroot     26055  0.0  4.9  42856 25088 hvc0     S    Oct11   0:00 /usr/bin/python /tmp/tmpzQNQJU/mave06:58
billybigriggerrick --mode=server --frontend=DistUpgradeViewText06:58
billybigriggerthat is about the only process i can see that's related06:58
sorenand that's the upgrade process.06:58
billybigriggerok06:58
billybigriggernow how do i go about resuming it?06:59
sorenI have no way to tell.06:59
sorenI have no clue what you've done.06:59
billybigriggerok, well my services are still running ok, http and mail are fine...that's all im worried about for now...i guess i'll have to sleep on it and return tomorrow to try and fix it07:00
billybigriggermaybe someone else can help me out...thanks for your patience :)07:00
sorenWhen I say "I have no clue what you've done", that's a hint that you should *explain* what you've done.07:02
MTecknologyYou guys know where I can configure the memory limit for php-apc?07:25
Doonzhey guys do the new 12 core opterons have hyperthreading?07:28
twbLast time I looked, hyperthreading was an Intel-specific hack07:30
twbhttp://en.wikipedia.org/wiki/Simultaneous_multithreading#Modern_commercial_implementations07:32
Doonzdoesnt amd offer a comparable...07:40
twbGiven that it's a dodgy hack, I don't know why they would07:45
Doonzim looking at a vps server07:46
Doonzbut i should be fine with just 12 cores07:46
Doonzsince the linux vm machins running arent cpu intensive07:47
twbKids these days07:47
twb"just 12 cores"07:47
Doonzbut the price of the cpu isonly 800 bux07:47
Doonzi know eh07:47
twbDoonz: it would obviously depend on how many VMs you want and what virtualization technology you used07:47
Doonzwell i currently run 8 machines on the 6 core with only 16gb ram07:48
twbIIRC Russel Coker got about 8 VMs running on an Eee PC 701.07:49
twbThat's a 600MHz celeron with 1GB of RAM07:49
Doonzyeah07:49
=== Amgine is now known as Amgine_
noaXesshello08:07
noaXessi'm planing a server with a min of raid 1... normally if i create the raid0 hardware based, on ubuntu server installation i see both hd's even if they are in raid 1 mode.. what do i need, that on ubuntu server installation i see the raid 1 device?08:09
noaXess.. ^ raid 1 hardware based08:12
noaXessor is it better to use software based raid 108:13
noaXess??08:13
twbnoaXess: sounds like you're using fakeraid08:15
twbnoaXess: how much did you pay for your hardware raid controller?08:15
noaXesstwb: haven't one.. i'm planing.. for it08:16
noaXessjust setup buy list ;)08:16
twb"I see both HDDs even if they are in RAID1 mode" means you don't have a real raid controller08:16
noaXessserver that will be used: http://www.supermicro.com/products/system/4U/7046/SYS-7046A-3.cfm08:16
noaXessaha08:17
noaXessit's a Intel ICH10R SATA 3.0Gbps Controller08:17
noaXesswill use SATA drivers08:17
noaXessdrives ^08:17
twbICH10 is the southbridge.  It doesn't contain a real RAID controller.  Don't use it for RAID.08:18
noaXesstwb: ok.. so.. better use software raid?08:18
twbmd RAID, yes.08:18
noaXesstwb: you preffere md RAID?08:19
twbI don't like the term "software raid" because it could mean fakeraid, and fakeraid is bad.08:19
twbI almost always deploy md RAID.08:19
noaXesstwb: and in what category goes md RAID?08:19
twbIf I had a customer with lots of money, I deploy (real) hardware RAID.08:19
twbnoaXess: "md" is just the name of the RAID code in the Linux kernel08:20
twbmd = multi-disk08:20
noaXessok..08:20
noaXessso work with mdadm08:22
twbYes.08:22
twbYou can do it at install time using the ubuntu-server install media08:22
noaXesstwb: so if i have two identical hd's i can create the raid on ubuntu-server installation08:23
twbThey don't need to be identical08:24
noaXessthe server will be a vbox host.. with 3 vm's08:24
twbRAID1 will use the size of the smallest disk.08:24
noaXesstwb: hm.. isn't it better?08:24
twbWell, if you RAID1 a 2TB and a 128MB disk, you'll waste most of the 2TB disk.  In that sense, it's better to use equal-sized disks08:25
noaXesstwb: ok.. thats right.. but if i want a mirror i prefer to use two identical hd's08:25
noaXessjep08:25
twbNote that you can (and usually do) perform raid at the partition level08:25
twbSo you could create a 128MB partition on each disk and raid that, and still use the remaining space on the 2TB as a non-raided area08:25
noaXesstwb: yea.. i see..08:26
noaXesstwb: do you raid the system and data part of your servers or just data part? normally i have a hd for system and a hd for data..08:27
twbMy normal setup is to create two partitions, one for /boot and one for an LVM PV.  The former is RAID1'd, the latter is RAID1'd or RAID5'd (depending on the number of disks).  The root, /home, /srv, filesystems are LVs allocated from the PV08:28
noaXesslvm - logical volume management.. but pv?08:30
twbPhysical Volume08:30
noaXessah08:30
twbi.e. partitions assigned to an LVM VG (volume group)08:30
noaXessok..08:30
noaXesstwb: thanks for you information... will come back if the hardware is here ;)08:32
noaXessit's long time ago since i used md.. think it was about 6 years ago.. since there.. i have done win-servers-- but now i'm off from servers normally.. but one customer i have, need a new one and i knw hes whole network and software.. and will bring the whole company to opensource software..08:34
noaXesstwb: what raid controller you use? promise?08:46
noaXessbbl... visit customer.. bye08:49
twbI think he missed the point.  With md RAID *you don't have a hardare RAID controller*, fake or otherwise.08:57
uvirtbotNew bug: #659036 in pptpd (main) "Install directory incorrect for pptpd source" [Undecided,New] https://launchpad.net/bugs/65903609:51
=== cs278|| is now known as cs278^kinslayer
overriderHello; My freshly installed 10.4 server was compromised, and id like to figure out how. I can see in the auth.log how a new root account gets created, but i would like to know how the intruder get in to begin with. where there any known exploits against sshd on a 10.4 unpatched server?10:34
=== poepding is now known as Xaer0
=== Xaer0 is now known as X-2
=== cs278|| is now known as cs278
twboverrider: did you do the install while connected to the internet, and allow it to install security patches (which it will do by default, without asking)?10:49
mgolisch_auth.log shows creation of users?10:51
mgolisch_why would it?10:51
overridertwb: nay, i installed the system, then later after changing to a close by mirror installed the patches10:52
overridermgolisch_: this is a line from my authlog useradd[28117]: new user: name=nicola, UID=0, GID=0, home=/root, shell=/bin/sh10:53
twboverrider: so you had a window in which your system was on the internet but was running whatever your install media shipped, rather than the latest ubuntu-security versions10:54
mgolisch_wow10:54
overridertwb: protected by a nat router on a small network. if thats enough to get my humped, wow10:55
overriderbecause sshd i installed only after getting all the patches10:55
twboverrider: of ALL the things you could install, sshd is probably the most secure10:56
twbIME when people get rooted, it's almost always because they installed some retarded PHP thing10:56
overridertwb: this was a plain install; i used ufw to block all ports except sshd, and still.10:57
twbBeing behind a nat doesn't actually give you any real protection10:57
twbApart from anything else, other hosts on the LAN can attack you10:58
twbWhat evidence do you have that you were rooted, anyway?  Maybe you're just misinterpreting normal auth logs.10:58
overriderunlikely in this lan;10:58
overridertwb: oh for starters, i have a new root user called nicola10:58
twbAs in nicola:x:0:0:... ?10:59
overriderthen the user logged in, and modified my sshd.conf so he could login later with a ssh keyfile10:59
twbFair enough, then.10:59
twbWere you physically proximal to the box?11:00
twbIt's trivial to get root on an Ubuntu box if you have physical access and can reboot it11:00
overriderit was in a server room and surely accessed over the network. also behind a nat router, and the only port mapped to it was 2211:02
=== cs278|| is now known as cs278^kinslayer
overriderhe also forgot to clear his history file, so some things he did are shown here http://pastebin.ca/195995911:04
overriderif he brute forced my password to login via ssh, fine i am dumb, but if he could get in without password, i am sort of anxious to figure out how11:05
twbSo 22 *was* DNATted when you were compromised?11:05
overridertwb: yes sure. the server in a serverroom, connected to the internet via a normal router (dlink i think). the only thing open to the world was 2211:06
twbUnless you picked a predictable admin username and password at install time, I can't see how they would get in11:09
twbLooks like fresh.tgz:passfile contains the passwords they're using11:09
overridertwb: mine is not in there; honestly, i am quite stumped11:10
twbYou used the 10.04 *server* install CD?11:12
overridertwb: yes11:12
twbAnd the only thing you installed was sshd?11:12
overridertwb: no. i also installed vim, rsync, things like that. but the only network service that had a port open was sshd11:13
twbrsync contains a network service, fyi11:13
twbBut it's off by default11:13
overrideryeah11:14
overrideralso i had everything denied except 22 via ufw11:14
twbMy inclination is to suspect that they either managed to brute-force your password, or that you installed an insecure service without realizing it.11:14
twbhttp://people.canonical.com/~ubuntu-security/cve/ lists known vulnerabilities11:15
overridertwb: thanks, i will check it out.11:15
twbIt could also be that your tertiary/quaternary mirror was compromised, of course11:15
twbIf you were using <country code>.archive.ubuntu.com or whatever it is, that should be OK11:16
=== cs278|| is now known as cs278
twbYou might like to bug -hardened about it11:23
twbThey're probably better at forensics than -server.11:23
=== cs278|| is now known as cs278^kinslayer
=== cs278|| is now known as cs278
zoozwhat is the default kernel with 10.10 ?12:09
sorenzooz: 2.6.35.12:11
=== cs278|| is now known as cs278^kinslayer
noaXesstwb: hey hey..12:29
twbnoaXess: 18:57 <twb> I think he missed the point.  With md RAID *you don't have a hardare RAID controller*, fake or otherwise.12:30
noaXesstwb: i asked what hardware raid controller you use.. for a real RAID..12:30
twbWhatever $boss buys12:30
twbWhich is basically whatever the tier-1 vendor supplies12:30
twbi.e. you ring up HP or IBM and say "hi, I have $10k to spend and I want a <model number> with the hardware RAID5 option"12:31
=== cs278|| is now known as cs278
JamesPagettx: ping12:54
ttxJamesPage: pong12:54
JamesPagettx: have you had a change to look at bug 658227?12:55
uvirtbotLaunchpad bug 658227 in openldap "upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)" [Low,Triaged] https://launchpad.net/bugs/65822712:55
ttxJamesPage: that's next on my todo12:55
ttxlooking now12:55
JamesPagettx: thanks12:55
ttxJamesPage: I raised priority13:00
ttxWill mention it in todays meeting.13:00
JamesPagettx: are we to late to add this to the release notes for Maverick?13:01
ttxJamesPage: is that the only annoying regression you caught in triage ?13:01
ttxJamesPage: We ususally don't add bugs to release notes after release.13:02
JamesPagettx: only one I have found so far (I only spent an hour or so reviewing yesterday afternoon - realised everyone was on hols)13:02
noaXesstwb: so you work with hp/ibm servers?13:02
twbIf I have no alternative13:02
* ttx has a quick look at the new bugs13:03
=== cs278|| is now known as cs278^kinslayer
noaXesstwb: and which kind of raind controller?13:03
noaXessraid ^13:03
twbNFI13:04
=== Barre_ is now known as Barre
=== bladernr is now known as bladernr_
noaXesstwb: any weblink of NFI?13:43
twbNFI = No Fucking Idea13:48
twbProbably 3ware.  I don't know if anybody else even makes hardware raid controllers.13:49
noaXesstwb: aha.. :) ok13:49
patdk-wkwhat kind of server is it in?13:49
noaXesspromise, LSI,13:49
twbI don't think they make raid controllers, only fakeraid13:50
noaXesspatdk-wk: i'm searching a real hardware raid controller13:50
noaXesstwb: ok. hm..13:50
noaXessAdaptec?13:50
twbHum, bizarre.  Apparently LSI bought 3ware last april13:50
patdk-wkfor what kind of usage?13:50
patdk-wkya, lsi owns most all raid now13:50
twbnoaXess: yeah, I thikn adaptec are the other one I was trying to remember.13:50
patdk-wkthey are like the biggest raid currently13:50
patdk-wkadaptec seems to be going down quickly13:50
twbI'm not really involved in the hardware raid space.  md is plenty fast for me, and it's more useful.13:51
patdk-wkhighpoint is just odd, but many love them13:51
patdk-wkareca seem to be good ones though13:51
* soren doesn't approve of hardware raid.. never did.13:51
=== ogra_ is now known as ogra
twbI can put the disks in any system with any version of linux and they're Just Work, and I don't need to install proprietary management tools (or worse, reboot) to manage arrays.13:51
noaXesstwb: think will also use md13:52
noaXesstwb: hm... looks nice ;)13:52
patdk-wkI had always had issues with software raid13:52
patdk-wklike swapping disks13:52
twbThe only real upside of hardware raid is that it's faster13:52
patdk-wkknowing what disk needs to be swapped13:52
patdk-wkplus, I love the bbu13:52
twbpatdk-wk: that shouldn't be hard; mdstat tells you which node fell over, and you ask hdparm for its serial number13:52
noaXesspatdk-wk: what controller you use?13:53
patdk-wkI have 3ware, lsi, and adaptec's13:53
twbpatdk-wk: do you always buy a couple of spare controllers, so that if the one you're using dies, you can still get the data out? ;-)13:53
noaXesspatdk-wk: do 3ware make real RAID's?13:54
patdk-wktwb, if only I could see the serial numbers without disconnecting the drives13:54
twbnoaXess: yes13:54
patdk-wktwb, yes, I normally have a spare one13:54
twbpatdk-wk: aha, that's why you put sticky labels on the faces before you insert them, or so13:54
twbOr use like a dentists mirror13:54
patdk-wktwb, ya, but flashing lights on the front of the hotswap is almost idiot proof :)13:54
twbCome to think of it, you're right -- I'm too poor to get hotswap, so I can always just pull both drives out and read their labels13:55
patdk-wkfor me, raid is ok, even software raid is fine13:56
patdk-wkbut my servers spend 0% of their time doing reads, and 100% of the time writing13:56
_rubenwhen my md setup complains about sdX being kicked out, i just do dd if=/dev/sdX of=/dev/null and see which light goes nuts ;)13:56
patdk-wkso I need write performance, and the only way to do that is with a bbu raid13:56
twbpatdk-wk: you don't need a disk at all, the13:56
twb*then13:56
patdk-wktwb, only for reboots :)13:57
twbSo 0% is only an approximation? ;-)13:57
patdk-wkwell, it's like 0.01%13:57
patdk-wkI rounded :)13:57
twbOtherwise you use /dev/null for your array13:57
twbJust like the tape backups13:57
patdk-wkya, fun, 56 lto3 tape lib13:58
noaXesswhat should i use for a vbox host with about 4 vm's? md or 3ware controller?13:58
twbnoaXess: depends what the VMs are doing13:59
patdk-wkit all depends on what kind of drive activity, as far as I am concerned :)13:59
twbpatdk-wk: we got rid of tape last year, I think13:59
twbpatdk-wk: replaced it with ZFS13:59
noaXessone abacus/financial server, one openerp, one win2k3 database controller, one i.e. win2k3 citrix terminal server and a spare one..13:59
noaXesstest one14:00
patdk-wkI would love to get an offsite, realtime backup going14:00
noaXessinstead of one win2k3 citrix  one lstsp server14:00
noaXessltsp i mean ^14:01
twbpatdk-wk: eh, mine isn't realtime14:01
twbpatdk-wk: it's basically rsnapshot except using zfs snapshots instead of cp -al14:01
twbnoaXess: if this is a whitebox solution, you could roll out md and see how it goes14:02
twbnoaXess: if the devs bitch, then you can migrate to hardware raid14:02
noaXesstwb: whitebox.. you mean test14:02
twbwhitebox as in you lucky dragon random components you assemble yourself14:02
noaXessso.. i can also use hardware14:02
twbAs opposed to paying another 40% to get an HP-brand box14:02
patdk-wkthe drives will probably need to be reformated to switch14:03
twbYeah, true14:03
patdk-wkbut that would be the worst14:03
twbIf you are buying a raid controllre you can probably afford the extra $50 for another pair of 2TB SATA drives14:03
noaXesswhat about this controller? http://www.ltsp.org/14:04
noaXessshit.. sorry 3ware 9650SE-8LPML14:04
patdk-wkthat works, lets you use 8 drives, hardware14:04
twbhttp://en.wikipedia.org/wiki/White_box_(computer_hardware)14:04
patdk-wkI would get the battery for it14:04
patdk-wkbattery is like $11014:05
twbas in UPS?14:05
patdk-wkno14:05
twbWhy not just get a UPS?14:05
patdk-wktotally different14:05
patdk-wkand a ups wouldn't speed it up at all14:06
patdk-wkwell, not safely14:06
twbHow does a battery improve I/O speed?14:06
patdk-wkyou can use writeback instead of writethrough safely on the raid card14:06
patdk-wkso your writes are extreemly fast, unless your writing gigs of info14:06
twbWouldn't you get that with UPS, too?14:06
patdk-wknope14:06
noaXesspatdk-wk: and configured raid's are visible in ubuntu server installation without any additional drivers?14:06
twbWhy not?14:06
patdk-wkcause the raid card wouldn't know when the ups lost power to flush it's cache14:07
patdk-wkso when the ups died, even if you turned the computer off cleanly14:07
patdk-wkthere would still be writes outstanding on the raid cards memory, not on the drives14:07
patdk-wkand you loose them14:07
twbpatdk-wk: OK, but theoretically if there was a way to say to the card "STFU, I have a UPS and I'll tell you when to panic", it'd be just as effective.  it's just that the controller manufacturer doesn't provide such a thing14:07
patdk-wkyep14:07
patdk-wkmake a custom cable from the raid card to the ups14:08
_rubenheh14:08
twbOK, I thought for a moment maybe I misunderstood how it worked14:08
twbpatdk-wk: yeah, or jumper one of the undocumented pins wokka wokka wokka14:08
_rubenbasically a bbu is to a raidcard, what an usp is to a server14:08
_rubens/usp/ups/14:08
twbYeah, I get the idea14:08
patdk-wkI just look at the bbu as the write speed tax14:08
twbIt just hadn't occurred to me that you couldn't force writethrough from the OS14:09
patdk-wkyou can force it14:09
patdk-wkbut if you ever disconnect power, your screwed14:09
twbAh, good point14:09
_rubenmost raidcards offer the option "use cache when battery is alive"14:10
_rubenit'll even discharge/recharge the battery occasionaly to keep it alive and check its expected lifetime14:10
patdk-wkyep14:10
patdk-wkmine normally range from 50-80 hours14:10
_rubennever really bothered to check on mine ;)14:11
patdk-wkI do, so I can replace them, if needed14:11
_rubenestimated charge remaining: 1 days 20 hours 19 minutes14:11
_ruben3 days 1 hours 13 minutes on another14:12
_rubenguess adaptec doesn't care much about multiples or not ;)14:12
patdk-wkheh14:12
noaXessif i use a 3ware controller, do i need anything special while installing ubuntu-server?14:17
patdk-wkkeyboard helps14:17
noaXessso the installer does see the configured raid's..14:18
twbnoaXess: there's probably an Ubuntu HCL somewhere14:19
twbA la kmuto's debian one14:19
noaXess??14:19
patdk-wkif you setup the drives in the 3ware bios, ubuntu will just see the raid as a single drive (or more if you setup several)14:20
noaXesso14:20
noaXessok14:20
patdk-wkafter install, you can install the 3ware utils to monitor it from linux/ubuntu14:20
twbNot in main though, are they >grumble<14:21
patdk-wkI actually haven't installed ubuntu on any of my 3ware machines, yet14:22
patdk-wkso not sure exactly14:22
twbI should start a "main or GTFO" vendor liason group14:25
patdk-wkheh14:26
twbBecause, you know, I enjoy helping people14:27
patdk-wkI only see hp, adaptec, and old lsi14:29
noaXesspatdk-wk: will come back to this channel. if my hardware is assembled14:33
=== shauno_ is now known as shauno
illytacosplease can I get some help? the nautilus-gksu plugin has messed me up hard. I keep getting an error when I log in that Could not update ICEauthority file /home/name/.ICEauthority so I go into terminal and attempt to change permissions only the ICEauthority file is nowhere to be found. I did a search and it did not exist... not sure how a file could write to something that isn't there. I then tried to set a new password as per15:19
illytacossorry for the cross post it's15:20
illytacosfor a samba file server and I realized I was in the wrong room15:20
meh2hey guys, does anyone here run HE ipv6 tunnelbroker on a daynamic ip?15:29
meh2i have a problem running it on my dynamic* ip15:29
_rubenmeh2: use their pptp tunnel option, and for more support, check out #ipv615:31
illytacoshey folks anyone able to assist with my question? tnx!15:32
meh2thanks _ruben15:32
_rubenmeh2: it's also possible to update your ipv4 endpoint's ip address via a special url btw15:33
meh2_ruben, yeah, i tried that special url but it didnt want to work for me :(15:34
=== ivoks-afk is now known as ivoks
patdk-wkI just can't believe some of these stats16:10
patdk-wkSolaris 2.5-7, 111915 emails, 99.63% spam16:11
tgwoollardcould someone please help me to understand if i have setup my swap okay on a new 10.04 Ubuntu installation? During install i partitioned 64GB for swap and the rest of my disk for ext3. System is loaded and working okay and fstab shows expected entries for swap and ext3 but a df -h doesn't list any swap space. How can i tell that swap is setup correctly? Thanks in advance.16:20
twbpatdk-wk: why are you running Solaris 2.5?16:22
|rt|tgwoollard: df doesn't list swap but free will...it won't tell you where it's coming from but you'll be able to verify that you have 64GB16:23
|rt|tgwoollard: dmesg | grep swap will tell you where it's coming from16:23
tgwoollardrt: thanks a bunch. You're a star16:24
MezCan anyone tell me why for some reason, I'm not able to view the processes of anyone else as a normal user (hardy, unfortunately)16:33
MezI'mn trying to get nrpe working, but it only seeing it's own processes - it's hard to check if things are working16:34
overriderhow can i check whether i have automatic-updates enabled or not?16:34
overriderah got it16:36
patdk-wktwb, nope16:36
patdk-wkthat is using the os detection (pof) of servers that connect to me16:36
patdk-wkI log the spamass value of each email they send me, by ip, and os16:37
patdk-wkand about twice a month or so, I update my white/black/yellow/brown lists :)16:38
gregclipshey, trying to restart samba and sudo /etc/init.d/samba restart won't work keeps saying file not found then tried sudo /etc/samba restart to no avail. is there another way? thnx16:48
qman__gregclips, on lucid, sudo service smbd restart16:50
gregclipsthanks man16:53
gregclipsworked like a charm!16:54
thesheff17join #boto17:08
gregclipsHey one more question, how do I migrate files from one server to another retaining the permissions? I'm a n00b so when I do cp -pR /media/usb key /media/files/shared/shared files it says 'files' is not a directory17:09
thesheff17is there anyway to automatically accept the sun-java6-jdk package?17:10
Nyxationgregclips: Surround the path with quotations or escape that space in the path.17:10
thesheff17gregclips: also make sure the dest folder is created: mkdir -p /media/files/shared/shared17:11
uvirtbotNew bug: #659305 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 75" [Undecided,New] https://launchpad.net/bugs/65930517:11
=== dantaliz1ng is now known as dantalizing
gregclipsNyxation: so '/media/files/shared/shared files'?17:16
gregclipsthesheff17: sorry, in my syntax /media/usb key is the media I would like to copy /media/files/shared/shared files to. Do I have that right?17:17
Nyxationgregclips: cp -pR /media/usb\ key /media/files/shared/shared\ files17:18
thesheff17gregclips: it looks right accept for the space between usb and key.   Surround the path with quotations...or never have spaces in folder names...and rename the folder17:19
gregclipsOh ok! I will try that thank you. Just getting used to all this.17:19
Nyxationgregclips: Your one in quotations should work, single and double work.17:19
gregclipsNyxation: ok. In some cases I don't have a choice with the file names because I'm migrating files other users have created and they want to maintain that for whatever reason.17:20
gregclipsbut that helps a lot17:20
gregclipsNyxation: the backslash also will allow for spaces?17:21
Nyxationgregclips: Yeah, it's an escape character.17:22
=== ivoks is now known as ivoks-afk
haakonnhey, any idea about ubuntu packages for trac 0.12[.1]? even ubuntu 10.10 still has 0.11 as default, which seems very strange to me.17:32
gregclipsNyxation: Thanks man. This helps a lot17:32
TeTeThow do I specify the user for which I want to delete a security group?17:49
TeTeTin UEC17:49
frankstervilleTeTeT:  edit /etc/group17:57
frankstervilleremove the user there17:57
TeTeTfranksterville: it's not Unix group, it's a UEC security group, different problem17:58
TeTeTfranksterville: but thanks for your help anyway17:59
frankstervilleTeTeT:  oops guess I need to read lol17:59
gregclipsanother newbie question - trying to change file permissions and I'm having some trouble with my syntax. Trying to dp chown -R 770 user:user /home/servername/test/user\ lastname and it's saying that chown: cannot access `user': No such file or directory18:01
frankstervillegregclips:  Case sensitive?18:03
frankstervilleUser18:03
franksterville"maybe"18:03
qman__gregclips, you can't do chmod and chown with the same command18:05
qman__remove the 77018:05
qman__chown -R user:group18:05
qman__chmod 77018:05
qman__also, it's a bad idea to chmod 770 all files recursively18:06
RColayou have to specify the name of the user the and the group.18:06
RColachown -R 770 admin:wheel /test/dir18:07
qman__use chmod -R u=rwX,g=rwX,o= /path/to/dir18:07
qman__the capital X means directories will be listable, and existing executable files will remain executable, but it will not make all files executable18:07
RColastat /home/servername/test/user will also tell you if the path exists18:09
gregclipsqman__: I'm just trying to do chown for now. Have I made an error?18:14
gregclipsahhh thanks. I see my error now.18:17
gregclipsqman__: ok one last silly question when I do chmod how do I set the user? chmod user -R rwx /dir ?18:20
haakonnyou don't, check out chown instead18:24
ne7workctrl + what is for background process?18:25
gregclipshaakonn: ohhh ok.18:25
gregclipssorry I needed to read the scroll I made a minor boo boo18:26
gregclipsthanks for making it painless18:26
=== shennyg_ is now known as shennyg
Kaeltenanyone able to tell me why %www-data ALL=NOPASSWD:gunicorn_reload would create a syntax error19:03
Kaeltenin sudoers19:03
uvirtbotNew bug: #659376 in net-snmp (main) "mibs absent from maverick" [Undecided,New] https://launchpad.net/bugs/65937619:06
qman__Kaelten, you're missing a field19:08
Kaeltenqman__: where?19:08
qman__the bit in parentheses, the operator19:09
qman__e.g. %admin ALL = (ALL) ALL19:09
Kaelten%www-data ALL=(ALL) NOPASSWD: gunicorn_reload19:10
Kaeltenstill results in an syntax error19:10
qman__not sure about it, but every example has it spaced19:11
qman__try putting spaces in19:11
qman__also, you need to put the absolute path for the command19:11
qman__ /usr/sbin/gunicorn_reload, or wherever it is19:12
Kaeltenit's a bash function19:13
Kaeltenbut that appears to have been the problem19:14
qman__what I'm reading indicates that you can't add shell builtin commands to sudoers19:16
qman__not sure what the workaround would be19:16
qman__maybe create a script which performs the task, and then grant sudoer permission to that script19:17
* RoyK hands qman__ a beer19:18
Kyle__Is there anyone here with experience running an NIS server out of ubuntu?19:28
=== ivoks-afk is now known as ivoks
pmatuliswhy is this happening to me?19:29
pmatulisip route add 192.168.1.0/24 via 10.153.108.132 dev br019:29
pmatulisRTNETLINK answers: No such process19:29
Aisonhello, something goes wrong with my ubuntu server19:34
Aisonpppd[6128]: segfault at bfaf070f ip b7539398 sp bfaeae2c error 6 in libnss_files-2.12.1.so[b7537000+a000]19:34
Aisonwhen I try starting pppd I get this error19:34
RoyKAison: post a bug - add all relevant info19:43
Aisonmaybe I should try reinstall this libnss_files first19:45
Aisonhow can I get the related packagE?19:45
RoyKI don't think reinstalling a package will help a segfault19:45
RoyKbut you just might try19:45
uvirtbotNew bug: #659400 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12 failed to install/upgrade: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal." [Undecided,New] https://launchpad.net/bugs/65940019:46
AisonRoyK, this bug is really new, it worked now over an year, so maybe some file is corrupted19:46
pmatulisAison: are you using 10.10 ?19:47
Aisonpmatulis, yes, updated on my testing machine19:48
pmatulisAison: the packages is 'libc6'.  i'm not sure if you should re-install that but if it's a test machine...19:50
Aisonwell, don't help19:51
Aisonthen it's a bug in 10.1019:51
Aisonbad thing :(19:52
ivokszul: ping19:54
zulivoks: yo19:54
haakonnupgraded a server to maverick. "* Not starting NFS kernel daemon: no support in current kernel." -- wtf? no nfs support in the new kernel?19:54
ivokszul: is there a howto for daily builds in ppa? :)19:54
ivokshaakonn: modinfo nfsd19:55
zulivoks: yeah...check the server team knowledge base to get started19:55
ivokszul: thanks19:55
haakonnivoks:  ERROR: modinfo: could not find module nfsd19:55
ivokshaakonn: uname -a19:55
haakonnivoks:  Linux dev.jafu 2.6.35-22-virtual #34-Ubuntu SMP Sun Oct 10 12:25:39 UTC 2010 x86_64 GNU/Linux19:56
haakonnand it is a virtual machine19:56
ivokshaakonn: does this file exists19:56
ivokshaakonn: /lib/modules/2.6.35-22-generic/kernel/fs/nfsd/nfsd.ko19:56
ivoksah, -virtual19:56
haakonnivoks:  no, does not exist19:56
ivoksnot sure what's in virtual19:56
ClaesBasInstalling "minimal server" in exportmode (for sw-raid & lvm) 10.10 stops after 5% when "Select and install software" anybody seen a solution for that?19:57
haakonn/lib/modules/2.6.35-22-virtual/kernel/fs/nfsd/ exists but is empty19:57
ClaesBass/export/expert/19:57
Aisonhmm, also ssh login on 10.10 takes over 20seconds! quite strange19:57
Jeeves_ClaesBas: You don't need expert-mode for that?19:57
Jeeves_Aison: Check your dns19:58
ClaesBasJeeves_: I was using the SSH-install19:58
Jeeves_ClaesBas: Ah, ok19:58
Jeeves_No clue about your problem, btw19:59
AisonJeeves_, what should I check there? so far my dns worked fine?19:59
ClaesBasI will givit a try without the expertmode...19:59
ivokshaakonn: i'm checking, wait couple of minutes19:59
ClaesBasI will be back...19:59
Jeeves_Aison: Usually, if logging in takes some time19:59
haakonnivoks:  thanks, current plan b is to boot back to old kernel if possible…19:59
Jeeves_the resolving on the serverside is broken20:00
AisonJeeves_, I just noticed this error before motd: Failed to add entry for user root.20:01
Jeeves_Hmm20:02
Jeeves_that's odd20:02
haakonnivoks:  https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/659084 looks bad :(20:04
uvirtbotLaunchpad bug 659084 in linux-meta "2.6.35-22-virtual is missing nfs modules" [Undecided,New]20:04
ivokshaakonn: did you try proposed?20:16
ivokshaakonn: nah, don't bother...20:17
haakonnivoks:  agree, trying to think of alternatives while waiting for new kernel20:19
ivokskernel rebuild20:20
ivokszul: i've hit the brick wall20:32
zulivoks: oh?20:32
ivokszul: while i'm importing upstream's mercurial, it asks for 'Project'20:33
zulivoks: yeah it has to be imported into bzr20:33
ivokszul: 'Request a code import'; fails cause 'ubuntu' is invalid value for the project20:33
ivokszul: yes, that's what i'm doing20:33
ivoksThe Project to associate the code import with.20:34
ivokszul: https://code.edge.launchpad.net/+code-imports/+new20:34
ivoksi give up20:38
ajmitchyou need a register a project on LP for code to be imported into20:39
ivoksdoh :)20:40
ivoksi can't use 'Ubuntu'?20:41
ajmitchnope, you can't import code to a distribution :)20:41
ivoksi'm looking at https://code.edge.launchpad.net/~ubuntu-server-edgers/ubuntu/maverick/varnish/varnish-dailies.packaging20:41
ivoksthis looks like ubuntu project20:42
ivoksor LP UI is missleading :)20:42
ajmitchright, but that's not a code import20:42
ajmitchthe recipe refers to lp:~zulcss/varnish-cache/trunk20:43
ajmitch#launchpad would know far more than I do20:43
ivoksthanks20:44
ajmitchnot sure how zul has those import branches set up, but they appear to be against a project on LP still20:45
zulactually im right here20:45
ajmitchzul: good, you can answer it then :)20:46
zulivoks: are you trying to do dovecot?20:46
ivokszul: no, pacemaker20:46
zulivoks: gimme a sec20:46
ivoksok.... one second is up20:47
ivoks:)20:47
ajmitchimpatient...20:47
zulivoks: so basically this is what you have to do20:47
zulim trying to type ass :)20:47
zul1. register the project in launchpad20:48
zul2. import the code into launchpad20:48
ivoksok20:48
zul3. make a bzr branch of the debian directory20:48
zul4. write the reciepe20:48
ivoksi don't get it why it has to be a new project20:48
ivoksit's ubuntu project20:48
ClaesBasAnybody more with fail after 5% when "Select and install software" in fresh 10.10AMD64 minimal server install?20:48
zul5. publish to the ppa20:48
zul6. profit20:48
ajmitchivoks: because you're merging ubuntu changes to upstream code20:48
zulivoks: because its tied to launchpad20:48
ajmitchtechnically any distro on LP could base their recipes off the same upstream branch20:49
ivokshm... ok20:51
ivoksand bzr is synced from upstream's mercurial/cvs/svn?20:52
* ajmitch wonders how broken daily php5 builds are20:52
ivoks:)20:52
ajmitchyeah, they sync mirrored branches every few hours20:52
ivoksor20:54
ivoksi could add everything to server-daily-builds :)20:54
ivokszul: ^^20:54
riboanyone here use pacemaker?20:57
ivoksheh20:57
riboand have any idea what this means: --norc: no such option: noprofile20:57
ivoksribo: where did you get that?20:57
riboafter writing my config with crm configure edit20:58
ribohttp://pastebin.com/cXzmkWYV20:58
ivoksthat's configuration20:59
ivoksbut where do you get --norc?20:59
ribowhen you exit the editor it commits the changes, and throws that error20:59
ribothen reverts the config to default21:00
bits8mybyteshello what permissions do you generally set to the /var/www directory?21:00
bits8mybytesI am trying to get joomla to work but I don't want to chmod 777 it because I heard that is insecure21:00
ivoksribo: have you tried without 'order'?21:01
ivoksribo: ip1:start apache2:start donesn't look good to me21:01
ivoksribo: ip1 apache2 is what i'm using21:01
ribohmm ok21:02
ClaesBasHere is my syslog of failing installation: http://pastebin.ca/1960350 (I've tried many variants of the minimal AMD64-server with sw-raid and lvm, all get stucked when "Select and install software"!!)21:02
riboivoks: so like order apache_after_ip inf: ip1 apache221:04
ribo?21:04
ivoksribo: yes21:04
ribosame error21:04
ivokswhich ubuntu is that?21:04
ribo10.1021:05
ribofollowing this: https://wiki.ubuntu.com/ClusterStack/LucidTesting21:05
ivoksi didn't know that page is so popular :)21:06
sanduz2hi, i noticed that ubuntu uses 95mb when i am logged in and most of that is bash. will this memory usage go away when i logout and leave the server to handle things on its own?21:06
ribois it? :P21:06
Patrickdkwhat? mine only uses 24megs on boot21:06
sanduz2hm, i used a fresh ubuntu-server install and it uses 95m and i check top and its all from bash21:07
ClaesBasOne short question: Does anybody knew if frminimal21:07
ivoksdc-version="1.0.9-unknown" ?21:07
Patrickdkwell, start killing stuff, that is what I did, kept only needed stuff, ended up with 24megs21:07
ClaesBasOne short question: Does anybody knew if fresh installation of minimal amd64 server ever tested/working?21:07
Patrickdkclaesbas, it does for me :)21:08
riboivoks: that's what was in there to begin with21:08
sanduz2is there a way to check how much the server uses without being logged in and invoking bash21:08
ClaesBasRelease version of 10.10?21:08
ivoksribo: ok, remove everything except ip21:08
Patrickdksanduz2, mine used 24megs including logging in and using bash21:08
ivoksribo: save and commit21:08
sorenClaesBas: Huh?21:08
ivoksribo: then add apache221:08
sanduz2thats weird =/ can you tell me how much MB just bash uses?21:08
ivoksribo: then group, etc...21:08
sanduz2on your system?21:09
ClaesBassoren: look at my syslog http://pastebin.ca/196035021:09
sanduz2thanks21:09
Patrickdkbash is using 2megs21:09
ivoksClaesBas: your disk is full21:10
ClaesBas73G!21:10
ivoksClaesBas: #21:10
ivoksOct 12 19:42:07 in-target: No apport report written because the error message indicates a disk full error21:10
ClaesBasIs it the wrong chmod of /tmp (not 1777)?21:10
sorenClaesBas: Oct 12 19:42:08 in-target:  unable to create `/usr/src/linux-headers-2.6.35-22-server/include/config/sbc8360/wdt.h.dpkg-new' (while processing `./usr/src/linux-headers-2.6.35-22-server/include/config/sbc8360/wdt.h'): No space left on device21:10
riboivoks: guh it throws the error even if I just put the two nodes in there21:10
ivokshaakonn: kernel team is aware of the problem21:11
ivoksribo: o.O21:12
riboivoks: exactly21:12
ribostracing it...21:12
riboyeah, idgi21:14
ClaesBassoren: I have partioned the two 73G disks with sw-raid1 and lvm with two partions (swap 8G and the rest for / ext4 bigfile4)!!21:14
RoAkSoAxivoks: p/win 2021:15
RoAkSoAxups21:15
riboivoks: yeah, if I change ANYTHING I get the error21:15
ivoksribo: what editor are you using?21:16
ribovim21:16
sorenClaesBas: I'm just telling you what's in your syslog (which is the only thing you've shared).21:16
ribochecking EDITOR to nano21:16
Aisoncrap, also ldap stopped working with 10.1021:16
ribosame thing21:17
ClaesBassoren: I've telling you that the package "lies", i've checked with df and there was of course space LEFT not full!21:18
riboivoks: hell. sudo su -l, then running it, works21:19
ribolol21:19
sorenClaesBas: df -i, too?21:19
riboDUMB ERROR21:19
ivoksribo: ?21:19
riboit doesn't work with sudo21:19
ivoksumm...21:19
ribobut if I get a root login shell, it works21:19
ClaesBasNo, but shouldn't something like 60G be enough for "minimal server"?21:19
ribohttp://www.mail-archive.com/pacemaker@oss.clusterlabs.org/msg04614.html21:19
sanduz2the biggest user of memory on my ubuntu-server 10.10 is bash and it only uses 6mb (RES column in top). how is it that 100MB total is currently being used by the system? does it matter that this is on a virtual machine?21:20
ivoksClaesBas: what kind of raid did you setup?21:20
ivoksClaesBas: linux raid or fakeraid?21:20
ClaesBassw-raid21:20
ivoksthat's in-bios raid?21:20
ClaesBasno!21:20
ivokslinux raid?21:21
ivoksraid in installer?21:21
ClaesBasyes!21:21
AisonI found the reason, why my pppd segfaults21:22
ivoksdf: Warning: cannot read table of mounted file systems21:22
ivokshm21:22
Aisonit's because ldap is not working and so nss21:22
ClaesBasCould this bigfiles4 for /ext4 be the "baddie"?21:22
sorenClaesBas: Can you "apt-get -f install" after the install is done?21:23
sanduz2anyone have any ideas why ubuntu-server is using 100mb despite my biggest process only using 6mb?21:23
Jordan_UClaesBas: If you chose to allocate to few inodes, by choosing that you'll mainly be using "big" files, then that could be a problem for your root FS, yes.21:23
ClaesBasI'm going to do a last try with another choice of inode-settings... (and check df -i)21:24
Jordan_Usanduz2: It's proably mostly cache.21:24
ClaesBassoren: I don't think I've have apt-get installed yes...21:24
ClaesBass/yes/yet21:24
sanduz2how can i check Jordan_U ?21:25
riboivoks: cool, everything works flawlessly now lol21:25
sanduz2would that be the buffer section in top?21:25
ClaesBasI going over to the server room....21:25
ivokssanduz2: free -m21:25
Jordan_Usanduz2: http://www.linuxatemyram.com/21:26
sanduz2total/used: 96mb, buffer/cache: 48mb21:26
sanduz2sounds normal?21:26
sanduz2this is a vanilla 10.10 ubuntu-server on a VM21:26
sanduz2thanks Jordan_U  ill check that out21:27
sorenWhy are you spending all this time worrying about memory consumption?21:31
sanduz2thats a very good read Jordan_U, thank you. so linux only uses about 40-50mb on its own, nice21:31
sanduz2i mean ubuntu-server not linux*21:32
sorenHaving (almost) no free memory is A Good Thing[tm].21:32
ivoksmemory is for use, not for looking21:32
ivoksusing21:32
frankstervilleI cant remember how much memory I use  9.921:32
sorenMemory not in use is memory wasted.21:33
frankstervilleSo is CPU21:34
Jordan_Usanduz2: You're welcome.21:35
Jordan_Ufranksterville: CPU's can use less power when not in use, so that's not quite as true.21:36
frankstervilleJordan_U:  I still feel bad when I see CPU 2%.  I feel like Its not worth the PS consumption...21:37
uvirtbotNew bug: #659499 in samba (main) "/etc/network/if-up.d/samba should check if samba is still installed" [Low,New] https://launchpad.net/bugs/65949921:42
ivoksgood night21:47
RoyKevening21:47
RoyKor night21:48
=== ivoks is now known as ivoks-afk
Error404NotFound[offtopic] does anybody here use aws? if i create a custom ubuntu-lamp-postgresql and save it, would it cost me anything?21:51
sanduz2whats everyones take on ppa's in a server environment? i like having things up to date for obvious reasons but what might be the possible negatives?21:53
sanduz2as opposed to using the packages in the default repositories21:54
Wavesonicsi just upgraded my server from 10.04 to 10.10 and now I'm getting this strange double info print when I login: http://pastebin.org/15748521:54
sanduz2Wavesonics, has it happened more than once?21:56
Wavesonicsyes, i'm SSHing in and its happened on 2 different sessions21:56
Wavesonicsya it happens every time21:57
* RoyK wants his 180 2TB drives to arrive soon21:57
NyxationJason,21:58
NyxationThe reason you cannot change the grouping properties on the items in Data Miner is due to the fact that this report uses an advanced, customized layout. If you go to Step 5 . Formatting Options, you.ll see a checkmark for Advanced Layout along with an Edit button that will take you to the report editor. You can disable Advanced Layout to scrap the current setup to unlock the grouping fields, but if you wish to then turn Advanced Layout back on to format21:58
NyxationTyler S. Merta21:58
NyxationConversion & Integration Specialist21:58
NyxationMMD Systems, Inc.21:58
NyxationLord, right click, you fail me.21:58
Nyxation1-800-631-5947 Option 121:58
Nyxationwww.mediadentusa.com21:58
guntbertNyxation: wrong channel?21:59
Wavesonicssanduz2, ya it happens eveyr time, any clue as to why it might be?21:59
Nyxationguntbert: Wrong click.22:00
guntbertNyxation: :)22:00
sanduz2Wavesonics, you can check to see if it happens on the server itself22:01
sanduz2if it doesnt happen then its probably on the client end22:02
sanduz2instead of the server22:02
Wavesonicshhmmm well it wasnt doing this b4 the upgrade just today22:02
ClaesBasI got it working now (with standard inodes instead of largefile4), that was that evening that.....22:02
Wavesonicsit's a headless server and im off site so cant check right now :/22:02
ClaesBasThank you all for the "support"!22:02
sanduz2good point, may be some bug when they work together, not sure. try to check it and if it doesnt happen on the server maybe you can try to update stuff on the client end22:03
Wavesonicshow can i force it to regenerate the motd?22:12
Aisonldap fucked up after upgrade to 10.10 ^^22:14
Wavesonicsis there a way i can force Ubuntu to regenerate the standard MOTD?22:25
Wavesonicsw\ usage stats and such22:25
yann2on what version?22:26
yann2I remember a command I typed from a file called miscboot somewhere, that was for 8.4 though and it changed since22:26
yann2happy to look for it if thats what you re running :)22:27
Wavesonics10.1022:31
Wavesonicsyann2, ur still running 8.02? :p22:32
Wavesonics8.04 I MEAN22:32
Wavesonicscaps22:32
uvirtbotNew bug: #659532 in vm-builder (universe) "vmbuilder XML is incomplete with libvirt 0.8.3 (No bootable devices)" [High,Triaged] https://launchpad.net/bugs/65953222:52
yann2sure, on many servers, still supported for another 2 1/2 years :)22:54
yann2is there a file where I can specify a static ARP resolution table?22:56
RoyKarp -s ?22:57
RoyKyann2: I don't there is a predefined one, but I'd guess using "up arp -s ....." in /etc/network/interfaces might do22:57
yann2am wondering about arp spoofing on KVM hosts using bridged networking22:58
yann2and of ways to prevent it22:59
RoyKthe quick fix is to set static MAC addresses on the switch ports23:00
_Techie_does anybody know how to allow mod_proxy to proxy to an SSL enabled backend?23:03
_Techie_client ---(SSL)--->  apache2 ---(SSL)---> backend23:04
willbergHi everyone. Running ubuntu 10.10 LTS server. Overnight my ssh server has stopped liking my main login, permission denied. I can still log in as another user, and then su to my user. So that means not a password issue. Not a firewall/port issue as ssh still works. Any reasons why, overnight, it stops liking a specific user? Any help greatly appreciated.23:06
_Techie_willberg, have you checked your sshd_config file?23:10
willberg_Techie_ Sorry, I found it... I put a comma after my username under AllowUsers - hence why latest user could still log in23:11
_Techie_willberg, glad you found the solution23:12
uvirtbotNew bug: #659554 in php5 (main) "pgsql module causes php to crash when calling pg_last_error" [Undecided,New] https://launchpad.net/bugs/65955423:26
sgroverbash help?  Creating a backup script for a PostgreSQL database.  Logging output to a log file.  The log file (and directories containing it) are owned by "myuser:www-data".23:47
sgroverThe script is running as a crontab entry for the "postgres" user.  Do I *need* to add "posgres" to the www-data group?  Or is there a better option?23:47
sgroverlog file is in ../data/logs.  www-data needs write access to everything under ../data23:48
ScottKivoks-afk: Are you coming to UDS?23:56
jeeves_why is this script not recursing the pages (and staying on the domain), and when I try to re-run the script, I get "<insert_url> already processed, skipping...."  http://pastebin.ca/196049023:59

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