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

twbIt appears to print each setting that is unchanged from the default00:00
aetaricbooting a thin-client ubuntu 10.04, it starts eth0 up, and then my cisco router(dhcp server) spews errors about malformed option 61. any ideas about how to solve?00:01
twbWhat's option 61?00:01
aetaricit's the client ident00:02
econnellclient-identifier00:02
twbAs in send host-name ?00:02
econnell   It is expected that this field will typically contain a hardware type00:03
econnell   and hardware address, but this is not required.  Current legal values00:03
econnell   for hardware types are defined in [22].00:03
twbSo cisco appears to be more prissy  than the RFC00:03
aetaricpretty much00:03
aetaricthis only happens when i boot a thin client.00:04
twbFWIW, netbooting Works For Me, with 10.04 desktops and 8.04/dnsmasq as the server, and intel PXE ROMs.00:04
twbaetaric: this is happening before pxelinux loads, right?00:04
aetaricno00:04
aetaricthis is post pxelinux00:04
twbOK, so pxelinux.0 loads -- does it get as far as displaying a menu and loading the kernel and ramdisk?00:05
aetaricyes00:05
twbOK, so the bad DHCP request is somewhere within Ubuntu itself?00:05
aetaricright00:05
twbHow did you generate the netboot image -- live-build?00:06
aetarici followed the guide00:07
aetaricltsp-build-client00:08
aetaricfrom https://help.ubuntu.com/community/ThinClientHowto00:08
aetaricstill works all the way up to 10.0400:08
aetaricit worked when my tftp and nfs server was also a dhcp server00:09
twbAh, LTSP00:09
twbAll I can suggest is that you 1) packet sniff and examine the bogus flow; and 2) try building a smaller image00:10
aetaricis there a newer/better way to go about this?00:10
twbYou might be able to replace ISC dhclient with some other dhclient.00:10
twbaetaric: well, AFAICT the problem is that your client is sending something that Cisco have decided not to accept, so ultimately you have to either fix the Cisco or workaround it in the client00:11
aetarickk.00:11
aetarichave another dhclient you recommend?00:11
twbNot really00:12
twbaptitude search ?tag(client)?tag(dhcp) or so00:12
twbhttp://paste.debian.net/102350/00:13
Frenk_whats the irc command to read the chanell topic eg /topic00:28
Frenk_read /topic00:29
Frenk_anyone suggestions?00:29
Frenk_[ if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic) ] but how do i do that?00:31
hallyn_Frenk_: just typing '/topic' doesn't work for you?00:33
hallyn_Frenk_: which irc client are you using?00:34
Frenk_Insufficient arguments for command.00:34
Frenk_webchat.freenode.net00:34
Frenk_qwebirc00:35
Frenk_#topic00:35
Frenk_nope00:35
shaunoit's often displayed at the top of the channel window, or when you first enter.  /topic is meant to return it tho  (obviously not your fault if it doesn't ..)00:36
The_Tickit's your fault for using a bad client00:37
hallyn_Frenk_: maybe /topic #channelname?00:37
Frenk_ 00:48
Frenk_ !topic00:48
ubottuPlease read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic00:48
twbJust have him ask the vendor about it00:49
aetarictwb: does it when i remove isc, install a replacement, and rebuild the ramdisk00:51
aetaricso, it might be a kernel issue00:51
twbaetaric: 11:10 <twb> All I can suggest is that you 1) packet sniff and examine the bogus flow; and 2) try building a smaller image00:51
aetaricyeah00:52
aetaricdefine smaller image...00:52
twbless things00:52
aetaricit loads it via nfs :p00:52
twbSo it gets as far as NFS?00:53
aetaricnope00:53
aetarickernel can't get an address to connect to nfs00:53
aetarici have it load the kernel and initrd.img via tftp00:53
twbSo the problem is in the ramdisk00:54
aetaricok, how do i change how the ramdisk gets a dhcp lease?00:57
twbYou can't without a lot of fucking about00:59
twbIt'll be easier to replace the cisco IMO00:59
twbOr at least call Cisco and ask them how to tell it to ignore option 61 or so01:00
ptingis there a command to preseed user/group ids? i want to sync up all the system user/group ids01:07
twbpting: that's called "centralized authentication"01:07
twbOh, sorry, *system* accounts01:07
twbI don't know any way to get those synced, other than 1) put them in your central auth (e.g. LDAP); or 2) ensure that you install packages in the same order on every host.01:08
twbNeither of which are very nice01:08
ptingtwb, i see... i was thinking of using puppet to pre-create all the groups and users before installing the packages01:08
twbI suppose that could work01:09
ptingheh, not sure if that's the brightest of ideas though01:09
twbNote that purging packages will often try to delete the system account01:09
ptingi would hate to install a package i forgot to create users for beforehand01:09
twbSo if someone purges one package and installs another, the new one might get the UID that you wanted for your system account01:10
twbBut that's probably an unlikely occurrence01:10
ptingtwb, thanks, i'll just have to pick one.. i'm most interested in ensuring services like mysql and www-data are the same to read from nfs shares and such01:19
twbpting: many of them are standardized in base-files01:21
twbSorry, base-passwd01:22
twbwww-data is, at least01:23
ptingo.O, so i could add puppet code to append to /usr/share/base-passwd/passwd.master and grouip.master before installing packages?01:23
twb#define DEFAULT_PASSWD_MASTER"/usr/share/base-passwd/passwd.master"01:23
twb#define DEFAULT_GROUP_MASTER"/usr/share/base-passwd/group.master"01:23
twbDunno, try it in your test lab :P01:24
ptingo.O i definitely will, thanks01:24
ptingtwb, so what's the recommended ubuntian way of assigning manual user/group ids? start from the max id for the segment and go descending from there?01:33
ptinglike start from system user id 999 and go down?01:34
twbpting: update-passwd seems to apply to global IDs (0-99)01:36
ptingtwb, hah, no!!! that solution seems like the right way to go though01:37
Noobsteris there any way to use apt-cache to tell you the version #?02:01
ptingtwb, looks like it still works for system user ids.. i added mysql as 999, both as uid/gid... ran update-passwd and it was added02:01
PiciNoobster: version of what? A package?02:01
Noobsteryes02:01
PiciNoobster: apt-cache show packagename  has a Version line.02:02
Noobsterthanx!02:02
Piciapt-cache policy will show you what versions exist in the repositories  you have in your sources.list02:03
twbpting: eeeexcelent02:05
ptingtwb, so it looks like update-passwd doesn't change uid/gids if they already exist02:08
twbThat would be about right02:08
twbIt's intended to set up defaults, not clobber users' changes to those defaults02:09
ptingya, that's probably for the best =)... i'll just write some checks to notify me if these user ids are out of sync on my servers02:09
=== jjohansen is now known as jj-afk
dbowlbyhello all!03:28
dbowlbyI have a ubuntu server running KVM03:28
dbowlbyI'm using bridging03:28
dbowlbyfor some reason, after setting it up, I can't communicate to the internet (through the default gateway)03:28
dbowlbyhttp://pastebin.com/siC29Sgj03:28
dbowlby^my netstat -r and cat of /etc/network/interfaces03:29
uvirtbotdbowlby: Error: "my" is not a valid command.03:29
dbowlbymy netstat -r and cat of /etc/network/interfaces is in the pastebin03:29
twbdbowlby: pastebin "ip r" format, please.03:29
twbFor bonus points, all of "ip l; ip a; ip r'03:29
dbowlbyhttp://pastebin.com/XMv3pU2003:29
dbowlbybonus points: http://pastebin.com/BM1gpnqP03:30
twbWell, the first problem is that you've configured BOTH br0 and eth0 as 192.168.1/2403:30
twbMeaning that on a per-packet basis, it'll pick either br0 or eth0 at random03:31
dbowlbyok, I can see that03:32
dbowlbyso br0 should be a different network?03:32
dbowlbyI want my VMs to be on the 192.168.1.0 network03:32
twbifdown eth0; then remove "auto eth0" from interfaces03:32
twbIf you're bridging across eth0, you shouldn't be referring to eth0 directly03:32
dbowlbyif I bring eth0 down, I loose connectivity to the box03:34
twbThen remove "auto eth0" from interfaces and simply reboot03:34
dbowlbyok, let me try that03:34
twbCurrently you're trying to run the same network both over raw eth0 and over the bridge br003:35
twbYou need to only have one of those -- probably the latter03:35
dbowlbylol probably?03:35
twbNote that (obviously) you'll need to connect to .10 instead of .23003:35
dbowlbyas feared, now I can't access the box03:36
dbowlbytwb, thanks, I finally got my console hooked up and found that the damn reboot failed03:44
twbSorry03:44
dbowlbytwb, now I can access my box and it appears to be working properly03:45
dbowlbytwb, no I'm sorry hehe03:45
dbowlbythis would definitely explain my connectivity issues to the VMs :)03:46
twbWhat I described is pretty much what *I* use03:48
twbMaybe your router (on .27) doesn't know how to get to .10?03:48
twbOr maybe there's another host on .10 and they're fighting03:49
dbowlbytwb, nah it's working now03:49
dbowlbytwb, I commented out the auto03:50
dbowlbyon eth003:50
dbowlbytwb, the whole reason I was looking at this was because I was having insane ping times to my VMs03:51
dbowlbytwb, then I noticed I couldn't get out through my gateway03:51
twbdbowlby: I bloody told you to comment out "auth eth0"03:52
dbowlbytwb, after I took out that auto eth0 I could ping outside my gateway03:52
dbowlbytwb, I know, and I did, but I rebooted and the box didn't come back up03:52
dbowlbytwb, I didn't have a console, so didn't know why03:52
dbowlbytwb, after I hooked up the console, I found the system at a crash screen03:52
twbIs this a server, or is NetworkManager installed?03:52
dbowlbytwb, after rebooting it, it worked great :)03:52
dbowlbytwb, it's ubuntu server with the virtualization stuff installed03:53
twbPlease confirm that "dpkg -l network-manager" has "un" in the lefthand column03:53
dbowlbyno packages found03:55
twbGood enough03:55
twbI don't know what's wrong03:55
twbI assume bridge-utils is installed?03:55
dbowlbyit says ii03:56
twbWhat does "brctl show" have to say?03:56
dbowlbybridge name     bridge id               STP enabled     interfaces03:56
dbowlbybr0             8000.406186e288dc       no              eth003:56
dbowlby                                                        vnet003:56
dbowlbyvirbr0          8000.000000000000       yes03:56
dbowlbymy pings are still all over the place to this darn windows vm03:57
dbowlbyeven from the host itself03:57
dbowlbygoes from 1ms all the way up to 400ms03:57
twbThat might simply be because the VM is sleeping while idle03:59
dbowlbytwb, a continuous ping?03:59
dbowlbyseems to be better04:01
dbowlbyaight, well, hehe, thanks a lot twb!04:01
* twb shrugs04:02
dbowlbytwb, I think you're on to something with the idle, don't really see the delay with my rhel vms04:04
axisyshow do I install ubuntu server non-interactively ?04:32
twbgrep sambashare /etc/group04:34
twbsambashare:x:111:cyber04:34
twbgrep sambashare /var/lib/dpkg/info/*04:34
twb...no hits.  What created this group?04:34
axisyshttps://help.ubuntu.com/10.04/installation-guide/amd64/appendix-preseed.html is it the recom way to auto install ubuntu ? or there is something easier ? may be some project in sf.net or freshmeat?04:34
twbaxisys: that's the best way, yes04:35
twbaxisys: FAI can hold your hand, but I don't like it much04:35
axisystwb: FAI ?04:35
twbapt-cache search ^fai-04:36
axisystwb: it is in maverick.. but not in lucid (LTS)04:37
twbAnswer: the samba postinst04:38
=== timo_ is now known as Guest36941
=== Datz_ is now known as datz
=== Psi-Jack is now known as Guest18597
=== MTecknology is now known as Guest61557
=== Psi-Jack_ is now known as Psi-Jack
=== Guest61557 is now known as MTeck
=== MTeck is now known as MTecknology
uvirtbotNew bug: #690042 in libvirt (main) "libvirtd tries to disable ipv6's accept_ra even when ipv6 is disabled outright in the kernel" [Undecided,New] https://launchpad.net/bugs/69004206:07
=== jj-afk is now known as jjohansen
=== Nigel_ is now known as G
=== RoAkSoAx_ is now known as RoAkSoAx
=== alvin_ is now known as alvin
NoobsterI have started my tutorial on installing Samba3 as a PDC for Win7 on Ubuntu 10.04 x64 LTS. It is still in beta but if it helps anyone..  http://tinyurl.com/SMB4PDCWin708:11
Noobsteroops Samba408:12
uvirtbotNew bug: #690073 in backuppc (main) "Please merge backuppc 3.2.0-1.1 (main) from Debian unstable (main)" [Undecided,Confirmed] https://launchpad.net/bugs/69007308:21
twbWhat is the difference between x, * and ! in the passwd and shadow databases?08:25
twbAFAICT x means "ask shadow", and ! and * in shadow are identical08:26
\shtwb: * <- disabled account x <- encrypted password in /etc/shadow (and eventually is ! another indicator with the same meaning of x)08:38
\shs/disabled/deactivated/08:38
twbI'm a bit confused as to why some accounts are ! and some are *08:39
twbI *suspect* it's just a matter of some being there when "shadowconfig on" first runs, and some being created after -- but I don't want to assume that when my dodgy thing sets them all to *08:39
\shtwb: man 5 shadow ;) "If the password field contains some string that is not valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to pam(7)."08:41
twbI don't trust it08:41
twbFor example passwd(8) locks using a ! explicitly08:41
twbSo so passwd --unlock presumably works by removing the !08:42
twbThese are all system accounts so it PROBABLY doesn't matter08:42
twbYep08:44
twbadduser --disabled-password uses a *, but --disabled-login uses a !08:44
twbSo obviously su and/or sshd treat them differently08:44
bericHello. How can I get rid of that fancy grub menu when booting the installation CD? I'm using SOL and it clutters the console.08:53
twbberic: remaster it08:53
twbberic: and it's not a grub menu, it's isolinux08:53
bericthanks..08:54
=== diehaai is now known as thefish
bericwell that's quite a lot of work :( , keep it simple people.08:58
twbYou could just netboot08:59
twboptical media are so passé08:59
=== a1 is now known as al
=== cjwatson_ is now known as cjwatson
=== soren_ is now known as soren
=== jjohansen is now known as jj-afk
=== doko_ is now known as doko
uvirtbotNew bug: #690131 in mysql-5.1 (main) "mysqlimport fails on table names which are keywords if unescaped" [Undecided,New] https://launchpad.net/bugs/69013112:16
uvirtbotNew bug: #690138 in tomcat6 (main) "tomcat6 installation failure on Ubuntu 10.10" [Undecided,New] https://launchpad.net/bugs/69013812:41
pmatulishard to accept12:43
pmatuliscouldn't confirm.  install went well12:56
tgywaWhen I do: apt-get install php5-xdebug I got: php5-xdebug: Depends: phpapi-20090626.. how do I fix it?13:29
=== zul_ is now known as zul
=== smoser` is now known as smoser
raubvogelDoesn't ubuntu come with a default (mail) aliases file?14:04
pmatuliswith the latest and greatest (10.10) do i really need to do 'sudo /etc/init.d/networking restart'?  seems nothing else works?14:20
uvirtbotNew bug: #689351 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.4 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/68935114:32
=== TuxIce is now known as AdamDV|iPad
raubvogelpmatulis, i think they are switching to the redhat-like "service some-application start/stop/restart"14:41
sorenpmatulis: To achieve what?14:44
pmatulissoren: trick question?14:45
sorenpmatulis: 14:20 < pmatulis> with the latest and greatest (10.10) do i really need to do 'sudo /etc/init.d/networking restart'?  seems nothing else works?14:45
sorenpmatulis: No, no tricks involved :)14:45
pmatulissoren: yes, i want to restart networking14:45
sorenpmatulis: If you want to restart networking, "really needing to do 'sudo /etc/init.d/networking restart'" seems perfectly reasonable, doesn't it?14:46
pmatulissoren: i just figured we might be using 'service' thingy by now but it's broken14:47
sorenpmatulis: Oh, you prefer to do "service networking restart" instead?14:47
sorenIs that what you're saying?14:47
pmatulissoren: right14:47
* pmatulis is here b/c he is configuring a bridge (which is broken on bootup btw)14:48
sorenpmatulis: Oh.14:48
sorenpmatulis: Right, I see why it doesn't work.14:48
sorenpmatulis: Yeah, that's probably what you're roing to have to do for now.14:49
pmatulissoren: ok14:49
pmatulissoren: any idea why bridge will not come up on boot?14:49
sorenpmatulis: In a standard 10.10? Not sure.14:50
sorenpmatulis: Can I see your /etc/network/interfaces?14:50
pmatulissoren: one moment14:51
sorensure14:51
pmatulissoren: http://pastebin.ca/201936414:54
patdk-wkheh, networking hasn't been moved to upstart yet?14:54
patdk-wkseems not, but network-interface and network-interface-security have14:54
sorenpatdk-wk: Depends on what you mean by "networking".15:00
patdk-wkthe /etc/init.d/networking script :)15:00
sorenpatdk-wk: That would not work. It's a shell script.15:01
sorenpmatulis: What does "ifquery --list --allow auto" output?15:02
soren(with sudo)15:02
pmatulissoren: i presume i should run that when br0 is not working?15:04
pmatulissoren: b/c i just ran the networking script after boot (which does bring it up)15:04
sorenpmatulis: I don't think it matters.15:04
sorenWith --list it just lists stuff.15:05
pmatulissoren: then 'lo, eth0, br0'15:05
sorenok15:05
pmatulissoren: btw, this is also broken in karmic (and probably lucid)15:07
sorenIt works for me, though.15:07
pmatulissoren: really?  on which release?15:07
sorenLucid and maverick, at least.15:08
sorenLet me double check to be sure.15:08
pmatulissoren: interesting.  i wonder if the fact that my machine is a kvm guest15:08
sorenIs this a server? Is network-manager installed?15:08
pmatulissoren: is to blame15:08
pmatulissoren: cli only, yeah15:08
sorenkvm guest> Shouldn't matter.15:08
pmatulissoren: i have to resort to rc.local and then start all network-dependent services.  it's horrible  :(15:10
soren:(15:10
sorenpmatulis: slangasek spent quite a bit of time getting this working.15:10
sorenpmatulis: Succesfully, I believe.15:11
sorenHmm...15:11
sorenI just tried a configuration similar to yours.15:11
sorenFailed.15:11
sorenWeird.15:11
sorenLet me look at it for a couple of minutes.15:11
pmatulissoren: nice.  thanks15:11
sorenHehh... misspelled "static" :)15:12
* soren reboots it aga in.15:12
sorenpmatulis: Worked brilliantly.15:13
sorenpmatulis: How did you install this kvm guest?15:13
pmatulissoren: i suck15:13
pmatulissoren: the karmic one was with the server iso.  this 10.10 one was with something called vmbuilder15:14
sorenNever heard of it :)15:14
* soren hides15:14
pmatulissoren: ha ha ha15:14
sorenWell, it doesn't do anything that should affect this.15:14
soren...that I can think of, anyways.15:14
sorenIt's kind of hard to debug from afar.15:15
sorenI'd file a bug against bridge-utils.15:15
pmatulissoren: alright15:19
=== sommer__ is now known as sommer
cap_00anyone know how to check user access logs for a samba file server? i'm trying to track down which of my users might have deleted a folder15:50
Psi-JackAlright. So here's a question. For some reason, everytime I ifup/ifdown lo:X, which are VIPs for several clustered servers in 10.04.1, open-iscsi restarts. I need this reaction to stop. open-iscsi seems to be effected by anything in upstart resulting in the 'networking' event.15:51
Psi-JackLooking at /etc/init.d/open-iscsi, Required-Stop has networking in it, but does upstart even care about lsb-init that way at all?15:52
RoAkSoAxit doesnt15:52
Psi-JackOkay, so why is it open-iscsi is being effected by ifup/ifdown for loopback network devices? Everytime it does this knee-jerk reaction, it completely breaks my gfs2 /home mount that's on iscsi because it completely stops and restarts open-iscsi causing a stale and broken lock. Only fix for that is a total cluster restart.15:54
Psi-JackAha!15:57
Psi-JackIt's in /etc/network/if-down.d/open-iscsi15:57
Psi-JackIt ONLY checks if the interface is lo, and not lo:*15:58
=== jj-afk is now known as jjohansen
=== pgraner is now known as pgraner-afk
cap_00good job16:02
cap_00ok, i found the logs, is there someway to search through multiple logs for a term?16:02
_rubengrep term log1 log2 log316:03
cap_00ugggh.... can i search an entire dir?16:03
Picigrep 'term' /path/*16:04
thomas_scap_00: add the -R option to grep if there are subdirs you need to search (and then, use the following command: "man grep" )16:05
cap_00sweet16:05
cap_00can i search for a term with a space?16:05
Picicap_00: enclose your search term in quotes.16:06
cap_00hmmm guess it doesn't log who delete's something :(16:07
cap_00ok, so new question, how do i turn on better loggin for smb? i had a backup, but i'd like to know who deleted a folder on the fileserver16:11
i0nicwhat would be the best way to put 2 files into a archive to send to another server, tar?16:12
i0nicits just that tar makes 405byte files into a 10k archive16:13
DavieyJamesPage / hggdh: Is that hudson instance still supposed to be server iso only?16:14
hggdhDaviey: not really, it has already been overloaded ;-)16:14
JamesPageDaviey: no its gained a few friends...16:14
JamesPage I'll do some work on the views to make it a bit more accessible.16:15
DavieyThat is fine... might be a good idea to change the title :)16:15
DavieyJamesPage: Rocking ;016:15
JamesPageDaviey: ack16:15
DavieyJamesPage: Grab me at some point this week, regarding me setting up a node.16:15
JamesPageOK; its pretty smooth now16:15
=== _CaTeYe is now known as CaTeYe
wng-So I had to add a few rules to UFW to allow an external client to connect to my server for a while, now im trying to remove the rules17:05
wng-is there a way to delete any rule that originates from a certain ip with ufw?17:05
jdstrandwng-: just put 'delete' in front of the rule you added. alternatively, you can use 'sudo ufw status numbered ; sudo ufw delete <number of rule to delete>17:10
wng-jdstrand: I know that, what I'm trying to do is delete all the rules at once, theres like 50 of them17:11
jdstrandwng-: no. either by the full rule or by the number17:11
wng-so I can't pass a range of numbers?17:11
wng-eh, i guess i can17:11
njinhello, can someone look at bug 579572 ? thanks17:15
uvirtbotLaunchpad bug 579572 in ubuntu "Lucid: Gave up waiting for root device (mptsas) resolved by rootdelay" [Undecided,Incomplete] https://launchpad.net/bugs/57957217:15
njinAt wich package can I assign this bug '17:16
njin?17:16
ScottKnjin: linux17:22
ScottK(kernel issue)17:22
njinScottK: thanks17:23
ScottKYou're welcome.17:23
ne7workhello all please someone tell me from where can I start to learing how to make programs and witch languages I need or only c++?17:34
=== jjohansen is now known as jj-afk
datzne7work: c++ wouldn't hurt17:47
smoserne7work, if you're just learning, you might find some languages more easy to get started in than c++.17:58
datzmaybe start with some scripting languages17:59
smoserubuntu heavily favors python for many things.  http://wiki.python.org/moin/BeginnersGuide/NonProgrammers has lots of pointers.17:59
=== jj-afk is now known as jjohansen
SpamapSwoot new version of upstart!18:24
pmatulisSpamapS: anything for server peoples to be excited about?  :)18:31
zulkirkland: how did you get it to work?18:33
zulkirkland: the iso importing18:33
kirklandzul: Fedora "just worked", as soon as I gave it a full DVD ISO18:34
kirklandzul: i was trying to import the Fedora netinstall yesterday18:34
kirklandzul: which did not work18:34
zulkirkland: thats no fun18:34
kirklandzul: over night, i downloaded the DVD18:34
kirklandzul: yeah, I know :-)18:34
kirklandzul: I just fixed wake-on-lan18:34
zulkirkland: through the cli?18:34
kirklandzul: that was *slightly* more fun18:34
kirklandzul: what about the cli?18:35
zulkirkland: you used the cli to import the cd?18:35
kirklandzul: no, the web interface18:36
zulkirkland: what if you do it through the cli18:36
kirklandzul: dunno;  you tell me :-P18:36
zulhmmm...ok18:36
kirklandzul: i'll try it here, if you give me the CLI invocation18:37
kirklandzul: ?18:43
zulkirkland: looking around18:43
kirklandzul: k18:43
zulill let you know18:43
smoserSpamapS, when did you think your patch pilot session started?18:47
pmatuliscan i have a cron job PATH modified by PAM environment settings (/etc/security/pam_env.conf)?  the crontab manpage says cron supports pam_env but it doesn't have any effect18:53
pmatulishttp://manpages.ubuntu.com/manpages/maverick/man5/crontab.5.html18:53
pmatulis(confusing)18:53
SpamapSsmoser: noon PST18:54
SpamapSsmoser: which is in 1 hour ;)18:54
SpamapSpmatulis: debug stanza is pretty cool :)18:54
SpamapSpmatulis: other than that, I'm not sure18:55
smoserSpamapS, believe it or not, i wasn't actually being a jerk.18:55
pmatulisSpamapS: halleluiah (spelling?)18:55
smosergiven different time zones, who knows what a half day is.  ie, mine started 8:30 is US/Eastern, it is really past.18:55
SpamapSsmoser: we've discussed this before.. its much easier for you to tell us when you're not being a jerk ;)18:55
smoseryeah i know.18:55
smoserwell i guess you should jsut assume jerk unless you hear other wise.18:56
axisysis the journaling added in ext4 or is it also available on ext3 ?18:57
patdk-wkjournaling exists in ext319:01
patdk-wkbut extents only exist in ext4 and make it incompatable with ext2/319:01
patdk-wkif you use them19:01
LewisCawteHow do I configure my server install to connect to my Wireless network?19:45
MrPicardHello, how would i be able to install LAMP and PHPmyadmin in one command?19:45
patdk-wkLewisCawte, edit /etc/network/interfaces19:47
LewisCawtepatdk-lap: whats the config for it?19:49
patdk-wkno idea, I would never touch wireless on a server19:50
LewisCawteI'm more than likely going to keep it as what I'm using it for now, but I'm testing stuff in my room, so I don't want to move it closer to the router for now19:51
zulkirkland: ping can you do a small text file on how to on what you have done so far? i need to know how to confgiure the web interface19:57
kirklandzul: sudo apt-get install cobbler19:58
kirklandzul: sudo vi /etc/cobbler/modules.conf19:58
kirklandmodule = authn_testing19:58
kirklandzul: sudo stop cobbler19:59
kirklandzul: sudo killall cobblerd19:59
kirkland(there's a bug in the upstartization, all cobblerd aren't killed)19:59
kirkland(rather, 2 are started, not sure how/why)19:59
LewisCawteanybody have any idea of the config for wireless (USB adapter) on a Ubuntu Server install?19:59
kirklandzul: sudo start cobbler19:59
zulthanks19:59
kirklandzul: sudo service apache2 restart19:59
kirklandzul: then point browser to http://hostname/cobbler_web19:59
kirklandzul: login with testing/testing20:00
kirklandzul: daz it20:00
kirklandzul: but yeah, we should wiki up this schtuff20:00
fluvvellin server 10.04, what would all the ksoftirqd/n watchdog/n migration/n ksoftirqd/n  processes be for?   I have n=0-7 of each of these20:06
SpamapSkirkland: want me to fix the upstart job?20:09
kirklandSpamapS: please!  do you know what's wrong?20:09
SpamapSkirkland: yeah, expect fork is hard to get right... just start with -F and remove expect fork20:10
kirklandSpamapS: ah, sure, go for it20:10
SpamapSoh there's no expect fork20:10
SpamapSwell thats actually the problem then ;)20:11
SpamapSbut...20:11
SpamapSrunning with -F is better anyway20:11
SpamapSlet me read the daemon.. if it listens then forks, expect fork can actually be better20:11
SpamapSyeah, listens way after forking so expect fork is not helpful20:14
* SpamapS pushes20:14
SpamapSkirkland: I think I'm going to propose a lintian check for upstart jobs.. not having a 'stop on' is very dangerous.20:22
kirklandSpamapS: okay20:22
SpamapSkirkland: even 'stop on runlevel [016]' still has a race condition tho. :(20:22
RoAkSoAxkirkland: btw.. is testdrive working now? (haven't had time to test it with the moving and all)20:32
kirklandRoAkSoAx: yup, thanks!20:32
RoAkSoAxkirkland: np ;)20:32
kirklandRoAkSoAx: when do you think powernap will be ready for natty?20:33
stanmanhi, i've got an openvz box running hardy and simias/ifolder. I can't login to its webadmin and receive a: System.ObjectDisposedException in my ifolder.log. Anyone had this or knows a solution?20:41
cap_00this might be a weird question, are partitions the only thing that can be mounted?20:44
cap_00if i wanted to add a HD to my system and mount it to two different places in the system the only way i'd do that would be creating two seperate partitions?20:45
RoAkSoAxkirkland: I'm rescheduling everything right now (because of moving, graduation, etc etc). But I'm gonna start working in full with PowerNap this week, to hopefully finish modifying the algorithm for the integration of the Monitors.20:46
RoAkSoAxkirkland: before Xmas, which should also involve the monitors functional20:47
cap_00i just don't want to have to determine ahead of time how big each partition is on the drive, i'd rather have both mount points using the full space and let them fill up the drive at the same time20:47
SpamapScap_00: no you can mount file system images20:48
cap_00hmmm and those can grow?20:48
SpamapScap_00: you can also resize partitions20:49
cap_00yes, but i'd like to make it as easy to manage as possible20:49
SpamapScap_00: once we have BTRFS, that will be easy. Until then.. partitioning everything onto one big / is probably still the simplest answer.20:50
SpamapScap_00: you can use LVM to manage the physical disks if you do that20:50
SpamapScap_00: with LVM you just ad the physical space to the pool, and then extend the FS onto it as needed.20:50
cap_00hmmm20:50
SpamapScap_00: but, shrinking the FS is hard20:50
SpamapScap_00: look into LVM.. I think it will do what you want.. but just know that shrinking one logical volume, and the filesystem that rides on top of it, is not simple.20:52
SpamapScap_00: though it can be done20:52
uvirtbotNew bug: #690352 in net-snmp (main) "package snmpd 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/69035220:56
SpamapScap_00: you're saying you want to build a single RAID1 and then mount two different filesystems on top of that, right?20:57
cap_00ya20:57
SpamapScap_00: lvm does that very easily20:57
SpamapScap_00: you partition the whole disk to lvm.. then do  pvcreate /dev/sdXX ; vgextend name-of-volume-group /dev/sdXX ; lvcreate -n foo -L 500G name-of-volume-group ; mkfs.ext4 /dev/name-of-volume-group/foo20:58
SpamapScap_00: and then to make another LV..   lvcreate -n bar -L 300G  ... get it?20:58
SpamapScap_00:  you can even use it for migrating data between physical disks w/o downtime.20:59
=== oubiwann is now known as oubiwann-holiday
blistovWaiting for br0 to get ready (MAXWAIT is 32 seconds).  What does this mean and why did am I getting it?21:07
blistovIf I bring up the bridge manually, it is instantaneous.  If I let init.d/networking handle it, it takes about 20 seconds so most of my dependent service fail to start.21:07
kirklandRoAkSoAx: okay, i just bought a second watt meter, so i can help with testing21:35
blistovOk, I'm going crazy now.  br0 is brought up by init.d/networking but hangs on "Waiting for br0 to get ready".  Then when I do a networking restart, br0 can't be added because it already exists.21:45
blistovSo br0 isn't coming up properly, not going down properly.21:45
blistovstandard bridge setup.21:45
RoAkSoAxkirkland: cool ;)21:46
=== patdk-wk_ is now known as patdk-wk
hallyn_blistov: can you pastebin your /etc/networking/interfaces ?21:51
blistovhallyn_, http://pastebin.ca/201975821:53
timholum1does anyone know if it is possible to install ubuntu cloud on a single server ( combine the front end with a node ) ?21:53
blistovhallyn_, this was all working yesterday, and I can not for the life of me figure out what's wrong now.  Built a new server just to test, and same issue.21:53
RoAkSoAxkirkland: did you get one of those fancy ones that can pass the data to a machine?21:56
kirklandRoAkSoAx: nah, just the cheapy $20 one21:57
blistovhallyn_, and when i restart networking i get this:  http://pastebin.ca/201976621:57
guntbertblistov: I never used that kind of setup, but I'm surprised that you should be able to bridge to eth0 while it is down...21:57
blistovguntbert, this is the setup according to https://help.ubuntu.com/community/OpenVPN21:57
blistovAnd I'm sure I had this working yesterday based on this config.21:57
blistovYes, I'm sure something must have changed, but I can't for the life of me figure out what.21:58
blistovI'm getting the nerd rage fog.21:58
RoAkSoAxkirkland: oh, I was thinking if at the end we can gather the data and produce charts to kinda "sell" PowerNap by providing power saving charts21:58
guntbertblistov: did you look at https://help.ubuntu.com/10.04/serverguide/C/openvpn.html ?21:59
hallyn_blistov: how about if you just 'ifdown br0; ifup br0' ?21:59
kirklandRoAkSoAx: yeah, would be cool21:59
blistovhallyn_, like I said, if i do it manually, it all works.22:00
blistovbut something is screwy.22:00
hallyn_blistov: oh, yeah i think i've had that happen about 6 months ago22:00
hallyn_hm22:00
blistovThe fact that it takes 20 seconds to come up when using init.d/networking but goes immediately if i do it manually, is suspicious22:00
blistovGah.22:02
blistovSo many cheap monitors I could throw right now.22:02
blistovDamn these social conventions!22:02
m4xxntpdate keeps failing, i've verified that port 123 is unblocked and i am able to ping the ntp servers, yet it keeps returning no server suitable for synchronization found22:08
m4xxany ideas?22:08
kirklandRoAkSoAx: hmm, i just launched a test drive vm and it's only defaulting to 384M of memory22:11
kirklandRoAkSoAx: i have 8G in my laptop22:11
kirklandRoAkSoAx: i used to have smarter logic in there that chose the amount of memory to give the guest a little more dynamically22:12
hallyn_blistov: could you open a bug about that?  i think it needs to be investigated.22:16
hallyn_(sorry, had another 'outage' due to window manager rioting and striking)22:16
patdk-wkm4xx, try, ntpdate -qu pool.ntp.org22:17
m4xx"no server suitable for synchronization found"22:18
patdk-wkyou defently have something blocking ntp or udp22:18
patdk-wknslookup pool.ntp.org :)22:19
m4xxhah! udp was it ;]22:20
m4xxty22:20
m4xxi was smart enough to not unblock 123 udp =x22:20
danyhello everyone!. Can someone tell me if there is an active directory server alternative that runs on linux?22:20
danyis LDAP a good replacement ?22:21
patdk-wkdany, windows 2008 in kvm? :)22:21
patdk-wksamba 4 is suppost to do AD I hear22:21
patdk-wkand AD is much much more than just ldap22:21
m4xxperhaps i can hit you with this one too? i've installed ubuntu server 10.04 then installed gnome-core. how can i add "extract here" to the right click menu? I thought it would be included with archive manager or file-roller but neither did the trick22:21
patdk-wkm4xx ask #ubuntu, no gui here :)22:22
danyok ok22:22
m4xxany idea how i can do this?22:22
danybut i just want a sort of directory of users so that the mailboxes and shares and all that willl be automatically loaded22:23
RoAkSoAxkirkland: do you have any config files on which you are hardcoding the default MEM?22:23
danyis there a way to get that done?22:23
RoAkSoAxkirkland: cause the logic is still there22:24
kirklandRoAkSoAx: yes, /etc/testdriverc is hardcoding it22:24
kirklandRoAkSoAx: maybe we just need to comment that out22:24
=== link1 is now known as papertigers
kirklandRoAkSoAx: let me test22:24
RoAkSoAxkirkland: ok :)22:24
danyi just want to throw the bulky server 2003 in the bin22:25
kirklandRoAkSoAx: nope22:25
kirklandqemu: invalid ram size: -smp22:25
kirklandRoAkSoAx: okay, that needs a bug :-)22:25
RoAkSoAxkirkland: indeed ;)22:25
uvirtbotNew bug: #690387 in multipath-tools (main) "udev block naming breaks failover and sd kref release cycle" [High,Confirmed] https://launchpad.net/bugs/69038722:26
qman__dany, there isn't a drop-in AD replacement as of now22:26
qman__I don't know how far along samba4 is, but that's the closest thing22:27
danyok thank you qman22:28
danyso Fedora Directory Server, OpenDS, or  Apache Directory Server  will not do ?22:29
fluvvell what causes a SMB PACKET: SMBreadX (REQUEST), a client with a new 10.04 server and their old smb.conf file  has a bunch of these appearing on a tcpdump22:30
fluvvellFollowed closely by SMB PACKET: SMBreadX (REPLY), then the whole thing repeats22:30
i0nicanyone seen this before, "agent admitted failure to sign using the key"22:38
blistovWhy does openvpn and dhcp3-server try to come up before networking has started?22:40
blistovIs there any way to force them to wait for the interface to come up?22:40
RoAkSoAxkirkland: this is the code right? :http://pastebin.ubuntu.com/543829/22:43
kirklandRoAkSoAx: yeah22:43
kirklandRoAkSoAx: so MEM must be getting set to 384 somewhere else in the code22:44
kirklandRoAkSoAx: before the len(MEM)22:44
RoAkSoAxkirkland: apparently i removed the code... which seems extrange cause I remember a related issue when determing memory automatically... I guess I must have removed it... I;ll get it back22:44
fluvvelli0nic, ssh-agent ?22:46
ptingis there a way to check a directory's permission to ensure it's 000 without first unmounting it?22:47
RoAkSoAxkirkland: did you report a bug yet?22:50
RoAkSoAxkirkland: neverming just got it22:50
kirklandRoAkSoAx: yup22:50
RoAkSoAxkirkland: fixed in the trunk ;) thansk for reporting bugs sir!! I think you are the biggest bug reporter :P22:52
kirklandRoAkSoAx: hehe22:52
qman__dany, those will do fine for linux clients, but windows, not so much22:53
kirklandRoAkSoAx: also, while you're in there, add a stanza in that if-block to set MEM=1024 if total memory > 200000022:53
qman__the only system going for full windows compatibility is samba422:53
leniospting, what do you mean without first unmounting it?22:58
leniosls -l should show it22:59
RoAkSoAxkirkland: done! pushed to trunk already22:59
kirklandRoAkSoAx: sweet;   you gonna upload to natty?22:59
RoAkSoAxkirkland: I could do it now if you like?23:01
kirklandRoAkSoAx: sure, i like bitesize uploads ;-)23:01
kirklandRoAkSoAx: makes it easier to spot regressions23:01
claydcan someone point me in the direction to som documentation explaining server set up for multi host, multi client web servers?  Like laughing squic, or one of the other big hosting groups would use.23:02
RoAkSoAxkirkland: indeed! Ok then, will do so now! otherwise it will prolly be sitting there till I finish with the improvements and GRUB thingy23:03
ptinglenios, i want to ensure a directory is empty and the permissions on it is set to 000 before mounting; however, if it's already mounted, i want to check to make sure the permissions on it is 000 without having to unmount it first... if that makes sense23:05
leniosls -l should do it23:06
ptingthe intent is to make sure the directory isn't writable unless it's mounted23:07
RoAkSoAxkirkland: done23:11
leniosunless it's mounted?23:14
patdk-wknormally easy23:14
patdk-wkumount, chown/chmod the path23:14
patdk-wkmount it23:14
patdk-wkIve done that on a few systems23:14
lenioswhat do you chmod if it's unmounted?23:14
patdk-wkthe path you would mount it to23:14
patdk-wkwhole paths and crap can exist under a mount23:15
patdk-wknormally not accesable23:15
leniosi see23:15
leniosit's the same if it's mounted23:15
patdk-wklike, for an encrypted homedir can work like that on my laptop23:15
patdk-wkI have my .ssh path for login keys on it, but if I mount my home dir, it overlays it23:16
patdk-wkand I get my ssh private keys and everything else23:16
patdk-wkmaybe it won't work on the mount directory itself23:16
patdk-wkbut only subdirs of the mount dir23:17
=== SquishyNotHere is now known as squishy
=== squishy is now known as SquishyNotHere
=== SquishyNotHere is now known as squishy
SpamapSsmoser: still around?23:50
=== squishy is now known as SquishyNotHere

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