/srv/irclogs.ubuntu.com/2010/07/16/#ubuntu-server.txt

=== twister004_ is now known as twister004
=== jjohansen is now known as jjohansen-afk
CppIsWeirdso i've got a kernel source and i want to compile and install it. can someone point me to documentation to take me from this point. everything i find so far is sort of confusing.00:59
=== sheenobu is now known as criminy|z
cs1hi guys02:16
cs1im having trouble setting up the LDAP server02:16
cs1how do i copy the example of the 'backend.example.com.ldif' using terminal??02:16
cs1guys02:26
cs1anyone there??02:26
cs1urgently need some help here02:26
cs1hi02:51
cs1anyone here?02:51
cs1im having troubles how to setup the LDAP server02:52
cs1hi03:09
cs1anyone here that can help me??03:09
cs1im having troubles setting up the LDAP server03:10
cs1i dont know how to copy the backend ldip file03:10
shabbuNeed help: Error in installing ubuntu 9.10 server in virtual machine manager (QEMU). I pasted my error here http://paste.ubuntu.com/464317/03:27
shabbuguys help me03:33
webPragmatisthelp me help you03:34
jmarsdenshabbu: Here is a guess: The message "qemu: could not open disk image /var/lib/libvirt/images/ubuntuserver.img: No such file or directory" means that file is not there, but you asked qemu to use it.  Tell qemu to use an image that exists, and it will probably work better.03:35
cs1guys03:35
webPragmatistGUYS03:36
cs1i need help in setting up LDAP server03:36
cs1how to create the ldif file??03:36
cs1using the terminal03:36
cs1coz according to the guide03:37
cs1they ask me to copy the backend files03:37
cs1but i have no idea how to do it03:37
jmarsdencat >>somefile.whatever03:38
jmarsdenpaste your text in here...03:38
jmarsdenctrl-D03:38
cs1u mean this text03:39
cs1# Load dynamic backend modules03:39
cs1dn: cn=module,cn=config03:39
cs1objectClass: olcModuleList03:39
cs1cn: module03:39
cs1olcModulepath: /usr/lib/ldap03:39
cs1olcModuleload: back_hdb03:39
cs1# Database settings03:39
cs1dn: olcDatabase=hdb,cn=config03:39
jmarsdenI mean whatever text you want in the file03:39
cs1objectClass: olcDatabaseConfig03:39
cs1objectClass: olcHdbConfig03:39
cs1olcDatabase: {1}hdb03:39
cs1olcSuffix: dc=example,dc=com03:39
cs1olcDbDirectory: /var/lib/ldap03:39
cs1olcRootDN: cn=admin,dc=example,dc=com03:39
cs1olcRootPW: secret03:39
cs1olcDbConfig: set_cachesize 0 2097152 003:39
cs1olcDbConfig: set_lk_max_objects 150003:39
jmarsdenNo need to paste 5000 lines in here... stop that!03:39
cs1olcDbConfig: set_lk_max_locks 150003:39
cs1olcDbConfig: set_lk_max_lockers 150003:39
cs1olcDbIndex: objectClass eq03:39
cs1olcLastMod: TRUE03:39
cs1olcDbCheckpoint: 512 3003:39
cs1olcAccess: to attrs=userPassword by dn="cn=admin,dc=example,dc=com" write by anonymous auth by self write by * none03:39
cs1olcAccess: to attrs=shadowLastChange by self write by * read03:40
cs1olcAccess: to dn.base="" by * read03:40
cs1olcAccess: to * by dn="cn=admin,dc=example,dc=com" write by * read03:40
cs1ok03:40
cs1sorry03:40
cs1im using terminal to create the file03:40
twbjmarsden: I just plonked him03:42
* twb thinks: why doesn't ubottu deal with flooders like the dpkg bot does?03:42
jmarsdenMaybe it's an attempt to help Ubuntu seem kinder and gentler to newbies??  I don't know.03:43
=== dendro-afk is now known as dendrobates
shabbujmarsden, This kernal requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.    this error occurring03:51
twbshabbu: so your CPU isn't x86-64 compatible03:53
jmarsdentwb: Or the virtual CPU he set up isn't...03:54
twbOh, a VM03:54
jmarsdenshabbu: If your real host PC is 64bit and running a 64bit host OS, then make sure that qemu is told to run a 64bit VM.03:54
shabbutwb, I am trying to install in  VM03:54
twbqemu-system-x86_64 rather than qemu03:55
AdamDV1Why am I getting this?03:58
AdamDV1configure: error: C compiler cannot create executables03:58
qman__pretty straightforward to me03:59
qman__is your build environment set up right? you need to install it04:00
qman__build-essential04:00
twbAdamDV1: usually it's because your CFLAGS has something like -m32, so you're trying to do a half-assed cross-compile04:01
twbOr, as qman says, simply because you forgot to install all of build-essential04:02
AdamDV1Yea, it was that.04:03
AdamDV1Thanks04:03
CppIsWeirdjust for a sanity check, i ran diff -rqd /dir1 /dir2, and it didnt report anything, this means that those directories are EXACTLY the same byte for byte?04:14
twbIs there a standard (or semi-standard) way to set the timezone via DHCP or NTP?05:50
twbI have diskless netbooting clients, and rather than hard-coding the timezone in the image, I'd prefer to set it only on the server and have the clients pick the timezone at boot time based on the server's responses.05:50
FrooFroo_twb, you can set the timezone as a kernel parameter I'm pretty sure06:22
enzoplexCan you change the kmemsize on a virtual environment from the virtualized environment?06:27
enzoplex*from within06:27
=== twister004_ is now known as twister004
kaushalhi08:00
kaushalcan someone please guide me about my post on https://lists.ubuntu.com/archives/ubuntu-users/2010-July/223352.html ?08:02
uvirtbotNew bug: #606163 in dhcp3 (main) "apparmor profile for dhcp3-client is too strict" [Undecided,New] https://launchpad.net/bugs/60616309:11
TakyojiWhen I try to setup a network bridge from eth0 to eth1 using bridge-utils, it typically ends up where I have no internet connectivity at all. And when I do a packet capture, the system is apparently asking for the MAC address of the router every second.09:31
Takyoji(whereas the packet capture is conducted after internet connectivity on the system fails to work, after trying to setup a network bridge)09:32
TakyojiAny suggestions?09:32
=== twister004_ is now known as twister004
=== twister004_ is now known as twister004
tydeasHello there I can not start mysql service10:08
tydeasAny ideas where can i find info for this?10:08
tydeasThe last 2 days my ubuntu-server fails10:09
tydeasa lot.10:09
tydeasXServer does not start10:09
tydeasmysql does not start10:09
tydeaswtf?!10:09
tydeasCan somebdoy help on this??? Tell what i suppose to take info about this failure?10:10
binBASHcheck mysql error log10:12
tydeaschecked nothing10:13
binBASHwhich file did you check?10:14
binBASHIt's in /var/log/mysql/error.log10:16
=== twister004_ is now known as twister004
tydeasyes10:21
remix_tjcheck disk space :-D10:28
binBASHyup ;)10:28
cs1guys10:30
cs1i keep getting error when im doing the OpenLDAP configuration10:31
cs1ldapadd : invalid format(line 1) entry = ""10:31
tydeasthis is the error.log http://pastebin.com/BmDgGy7210:43
tydeasI can not understand much though10:43
tydeasps waux returns a mysql entry like11:00
tydeasroot     14589  0.0  0.0   7620   920 pts/4    S+   13:00   0:00 grep --color=auto mysql11:00
tydeasthis is why it does not start11:01
tydeas???11:01
Jeeves_tydeas: No11:03
Jeeves_That's your grep behind ps aux11:04
tydeaswhat?11:05
tydeasI see11:05
Jeeves_tydeas: I think you ran 'ps uax | grep mysql' ?11:06
tydeasyes11:06
uvirtbotNew bug: #606203 in setserial (main) "Packages install use deprecated option" [Undecided,New] https://launchpad.net/bugs/60620311:06
Jeeves_tydeas: The reason that mysql doesn't start can probably be found in /var/log/daemon.log11:07
tydeasJeeves_: i is socket issues11:16
tydeasJeeves_: check please http://pastebin.com/K1faCMAK11:17
Jeeves_tydeas: No, you don't have a socket because mysql isn't running11:20
Jeeves_what happens if you type 'start mysql'11:20
tydeasroot@sindos2:~# start mysql11:21
tydeasstart: Job is already running: mysql11:21
tydeasomfg11:21
binBASH:)11:21
tydeaswhat is this?11:22
tydeasps -A grep mysql returns nothing11:22
tydeasmysql -u root -p does not connect11:23
tydeasand now this...11:23
tydeashttp://pastebin.com/ZBfAzQj611:24
tydeascheck this11:24
binBASHtry11:25
binBASHnetstat -neap|grep 330611:25
binBASHwith apt-get dist-upgrade you can install kept back packets11:26
tydeasshould i install?11:27
binBASHsorry, it updates, it does not install :)11:28
binBASHso if you want to keep your system uptodate you should run it11:28
Jeeves_tydeas: What does /var/log/daemon.log say?11:29
tydeashttp://pastebin.com/akmv7iJv11:30
Jeeves_tydeas: And after you type 'restart mysql11:31
Jeeves_'11:31
Jeeves_?11:31
ivoksnothing11:32
ivoksdaemon isn't started, so it can't print anything :)11:32
ivokscheck /var/run11:32
ivoksif there's mysql pid fiel11:32
ivoksfile11:32
Jeeves_ivoks: Usually the daemon start, prints some errors, and quits :)11:32
tydeasno there is not a .pid file there11:33
tydeasrestart does not work... it makes to much time...11:34
binBASHtydeas: what does netstat -neap|grep 3306 tell you?11:34
tydeasbinBASH: bothing11:34
Jeeves_binBASH: ps allready says mysqld isn't running, so the socket won't be in use as well :)11:34
binBASHJeeves_: if it's in use by another program surely does :)11:35
binBASHbecause he pasted something that the socket bind fails......11:35
Jeeves_binBASH: Yes, the client fails to connect to the socket of the server11:36
ivoksdoes /var/run/mysqld exist?11:36
binBASHJeeves_: http://pastebin.com/BmDgGy7211:37
binBASHThis was not a client issue :D11:37
Jeeves_Ah, haven't seen that paste before11:37
Jeeves_tydeas: What address do you have for bind-address in /etc/mysql/my.cnf ?11:38
binBASHmaybe the system has dhcp assigned ip address and bind in my.cnf is wrong11:38
tydeasnow i mysql -u root -p and get wrong passwd11:39
tydeasw811:39
binBASHok, so it's running now, mysqld just used long to shutdown properly :)11:40
binBASHmaybe heavy query was running.11:41
Jeeves_That shouldn't matter11:42
Jeeves_But if you're stopping mysqld, the script tries to ping mysqld, IIRC.11:42
Jeeves_And if mysqld isn't running, that takes a while11:42
tolaHi, when installing a UEC node controller, what are the default firewall settings? Are all ports open or closed by default?11:46
binBASHJeeves_: It would explain at least why the port was in use still :)11:47
qman__tola, I assume it's a default accept policy, like a normal ubuntu install, but you can verify by running `sudo iptables -L`11:52
tolaqman__: thanks11:53
Shredzphello anyone here12:06
tolathat's odd, why does the Ubuntu 10.04 desktop installer see my Ubuntu 10.03 UEC Node controller root partition as "uknown"?12:47
tolaI was hoping to resize it and dual boot12:47
sommermorning all13:24
eagles00513875hey guys where does apache2 specify website encoding?13:51
eagles00513875!apache2 | eagles0051387514:12
eagles00513875stupid bot14:12
RoyKeagles00513875: AddDefaultCharset UTF-814:15
RoyKor something14:15
eagles00513875RoyK: ok trying to isolate some encoding issues14:23
eagles00513875RoyK: you still there15:01
eagles00513875RoyK:15:01
eagles00513875do i need to specify in the default type text/plain or text/html\15:02
RoyKthat's set by mod_mime15:03
eagles00513875RoyK: where did you specify the charset then15:03
eagles00513875in the apache2.conf file and under what section there15:04
RoyKI just set it in the virtualhost15:04
eagles00513875RoyK: would you mind pastebining your virtual host setup for me15:05
_chris_is it normal to have like 10-15 processes of apache2 running ?15:06
RoyK_chris_: yes15:07
_chris_okay15:07
RoyK_chris_: that is, you can set min/max for mpm-prefork15:07
RoyKor whatever mpm you're using15:07
_chris_also that one's running as root ?15:08
RoyK_chris_: threre's only one running as root, for opening 80/tcp etc15:11
RoyKthe other processes are children of that15:11
eagles00513875ahhh this is frustrating15:13
eagles00513875my entire website uses the utf-8 for some reason apanta has screwed up the encoding or something15:13
RoyKeagles00513875: http://pastebin.com/cr45FbM515:13
eagles00513875RoyK: what file is that specified in15:14
RoyKhttp://pastebin.com/d86JH2dZ15:14
RoyKthat one's better15:14
RoyKthis was /etc/apache2/sites-available/my.domain.com.conf15:14
RoyKor similar15:14
eagles00513875humm i just have my site in /var/www15:14
RoyKbut - gotta go now - http://bukta.no/ opening soon :D15:15
eagles00513875RoyK: will u be on here this weekend15:15
RoyKon and off, but mostly off, this festival is a little more fun than chatting15:16
RoyKbut then, you disappeared too15:16
p1l0tIn apache2 for lucid, Can I set the server to serve a different document root for different IP addresses but with the same port?15:26
Jeeves_p1l0t: I guess you can with mod_rewrite?15:27
p1l0twhat about ports.conf?15:27
Jeeves_That defines on which ports you want apache to listen15:27
Jeeves_Wait, with ip addresses, do you mean clients or servers? :)15:27
p1l0tI want to server a different document root to the internal network than the outside world15:36
p1l0tBut I was hoping to use the same port just on different addys example 8.8.8.8:80 and 10.1.0.1:80 but would that be a problem since its the same port or does it not matter since the ip addresses are different15:38
Jeeves_p1l0t: So you have two different IP's on the server, right?15:38
Jeeves_Will you use two different hostnames for the sites?15:38
p1l0tOh wait, come to think of it no, lol. because I have a router before the server :P thats why I got confused15:39
Jeeves_p1l0t: Ok, so you just want to add a vhost15:39
Jeeves_p1l0t: http://www.debuntu.org/2006/02/22/7-virtual-hosting-using-apache-215:39
p1l0tYeah I will be forced to use two different ports I think15:40
Jeeves_https://help.ubuntu.com/8.04/serverguide/C/httpd.html15:40
p1l0tUnless I installed a second network card15:40
Jeeves_p1l0t: No, you don't15:40
Jeeves_http can serve different sites on the same port for ages15:41
p1l0tI want to learn these things15:41
Jeeves_p1l0t: Than read the links I just gave you :)15:41
p1l0twilco15:41
p1l0tJeeves_: thanks BTW15:42
Jeeves_yw15:43
p1l0tAlthough I changed the 8.04 to 10.04 and it still worked ;)15:43
p1l0tOH so I could do like admin.mysite.com to a different document root...15:47
Jeeves_yes15:47
p1l0texcellent15:48
Italian_Plumberare there any plans for a 8.04.5?15:52
ccheneyuec provisioning test install takes 15m39s on my laptop15:54
ttxSpamapS: ugent ping16:12
smoserwoohoo.  http://uec-images.ubuntu.com/maverick/current/ . maverick images 20100716 and newer are registered to grub loaders.16:19
ttxsmoser++16:20
zulsmoser: nifty....you get a cookie :)16:28
MTecknologytrigger_error?16:42
MTecknologysorry16:42
Hilikushey guys16:45
Hilikus i'm having problems with mysql. it won't start at boot or if i do sudo service mysql start16:45
Hilikusbut if i start it manually sudo -u mysql mysqld, it works fine16:45
Hilikusinit: mysql main process (946) terminated with status 116:48
SpamapSHilikus: did you read the log file? Maybe it is not configured right.16:48
Hilikusit is, i've been using this for a long time16:48
Hilikusthe one thing that seems to fix it is to bind to the localhost instead of the network ip, but even then. i've had times where it binds to the network address without problem16:49
Hilikuslike i said, if i start it manually it binds16:49
Hilikusso it's not binding that's the problem16:49
kirklandjdstrand: ping16:52
kirklandjdstrand: the openjdk packages you want me to test are from https://edge.launchpad.net/~ubuntu-mozilla-security/+archive/ppa ?16:52
SuperLagSpamapS: read any good books lately? :)16:53
jdstrandkirkland: yes16:54
SpamapSSuperLag: Drive is awesome. :)17:00
theacolyte8.04 LTS - Likewise open has stopped working at random - trying to login yields "Access denied" - I'm trying to find information and I'm coming up dry17:01
theacolyteHonestly not even sure how to troubleshoot (I am 100% confident on the AD end)17:02
SpamapStheacolyte: "likewise open" huh?17:07
theacolyteyes17:08
theacolyteActually at this point I'm more interested in removing it cleanly17:09
theacolyteI've had almost nothing but problems with it in both 8.04 and 10.0417:09
SpamapStheacolyte: what is Likewise ?17:15
SpamapStheacolyte: I can't tell if that is capitalized because it is a proper name for something, or just the first word of your sentence.17:15
theacolyteAre you being serious?17:16
SpamapStheacolyte: yes entirely. You joined and said "Likewise open has stopped owrking at random"17:18
theacolyteAnd what does a capital L have to do with the question?17:19
SpamapStheacolyte: is Likewise a project, or were you continuing a sentence from a previous conversation?17:19
theacolytehttp://likewiseopen.org/17:19
SpamapSthank you17:19
theacolyteIt's AD authentication for Ubuntu17:19
theacolyteSorry, I read that totally wrong17:19
SpamapSYeah sometimes its just hard to be clear in short text messages. :)17:20
theacolyteI figured out how to fix it at least temporarily which buys me some time to figure out what's happening17:20
SpamapSwow, $225/incident for support!17:21
theacolytehaha, really? I didn't even get that far17:21
theacolyteI'd stick to good ol' ubuntu auth17:21
SpamapSyeah I'm no help there, though in the past I've setup winbind+samba to integrate with AD17:22
theacolytehehe, in likewise's defense, it IS a lot easier than winbind +samba17:23
theacolytehehe17:23
SpamapSMetroid, the original, was easier than winbind + samba.17:24
theacolyteif I remember right, likewise setup was literally one line17:25
SpamapStheacolyte: until it didn't work anymore. ;-)17:25
SpamapStheacolyte: does the thing have any logs? maybe /var/log/syslog ?17:26
theacolyteoh, conviently it looks like doing an upgrade from 8.04 to 10.04 seems to disable it17:26
SpamapSdoh17:27
eagles0513875RoyK: hey17:30
zulhggdh: ping17:48
pmatulishow can i troubleshoot an upstart job, huh, not starting upon boot?  it runs ok manually17:48
zulhggdh: can you nominate 579584 and 603363 for lucid for me?17:49
hggdhzul: doing it now17:49
zulhggdh: thanks17:49
hggdhzul: done17:53
zulhggdh, thanks!17:53
hggdhzul: I thought you would have had the capability restored by now?17:53
zulhggdh: nope :(17:53
hggdhweird...17:53
eagles0513875jpds: ping17:56
uvirtbotNew bug: #606368 in excalibur-logkit (main) "Please merge excalibur-logkit 2.0-4 (main) from Debian unstable (main)" [Undecided,Confirmed] https://launchpad.net/bugs/60636818:07
smoserpmatulis, you can turn on debugging with upstart18:07
smosermy guess is you're waiting for some event that doesn't occur18:08
smoserwhat is your "start on" ?18:08
smosercan you post the job ?18:08
pmatulissmoser: and where do i find the debug messages?18:08
smoserpmatulis, they'll go to the console and to syslog18:08
smoserhold on, i'll get how to turn it on18:08
pmatulissmoser: i think i may be affected by an existing bug but my test system does not exhibit it18:09
pmatulishttps://bugs.launchpad.net/ubuntu/+source/autofs/+bug/57391918:09
uvirtbotLaunchpad bug 573919 in autofs "autofs doesn't work with lucid" [Medium,New]18:09
smoserpmatulis, http://paste.ubuntu.com/464624/18:09
pmatulissmoser: see last comment in that bug18:09
pmatulisor18:11
pmatulishttps://bugs.launchpad.net/ubuntu/+source/autofs/+bug/51124518:11
uvirtbotLaunchpad bug 511245 in autofs "portmap is not started during boot process before autofs and hence autofs does not work properly" [Low,Triaged]18:11
uvirtbotNew bug: #606375 in ipsec-tools (main) "Racoon daemon script is missing a newline" [Undecided,New] https://launchpad.net/bugs/60637518:12
XpistosI don't know where my config file for finch is located. I cann't remember how to find or search for it. Can someone help me jog my memory18:19
eagles0513875Xpistos: locate finch then it will list all finch related files18:19
eagles0513875Xpistos: configurations are ususally located /etc18:20
Xpistoseagles0513875: Thank you brother18:20
eagles0513875Xpistos: welcome18:21
smoserpmatulis, so heres my guess  as to what is happening.18:21
smoserwell, hold on.18:24
smoserwhat provides statd ?18:24
pmatulissmoser: nfs-common i think18:27
pmatulissmoser: so broken system is missing that maybe18:28
smoserok. pmatulis so, it seems to me that18:31
smoser- autofs recommends nfs-common so you should get that on install of autofs in lucid18:31
smoser- autofs is a sysvinit job18:31
=== dendrobates is now known as dendro-afk
smoser- statd is a upstart job18:32
smoserthat leads to a race condition where the sysvinit job used to run much later in boot, but now, because there are very few sysvinit jobs, it runs very early.18:32
smoserthe comment there will probably fix the issue, but the real fix is to get autofs to an upstart job so it can properly depend on 'started statd'18:33
pmatulisk, i thought autofs was an upstart job18:34
pmatulissmoser: what is the easiest way to check?18:34
pmatulissmoser: symlink to upstart-job (very non-intuitive)18:34
pmatulis?18:35
smoseri was just looking at the source. and azamat definitely suggests its an autofs job18:35
smoserbut the lucid source has no mention of upstart18:35
Hav0cStylesautofs is an upstart18:38
Hav0cStyleshttp://ubuntuupdates.org/packages/show/16739718:39
smoseryeah, i'm wrong on that.18:41
hggdhzul: there?18:41
zulhggdh: yep18:41
Hav0cStylesIs there a split right now? it's quiet18:41
hggdhzul: have you seen bug 598476?18:41
uvirtbotLaunchpad bug 598476 in mysql-5.1 "MySQL server fails to load on boot" [Low,Triaged] https://launchpad.net/bugs/59847618:41
zulhggdh: yeah ill have another look at it18:42
Italian_Plumberare there any plans for a version 8.04.5 ?18:42
hggdhzul: thank you. I was going to propose a change, but I am still unsure on how to deal with bzr and LP18:42
pmatulisItalian_Plumber: no18:42
Italian_Plumberthanks pmatulis18:44
pmatulisItalian_Plumber: https://wiki.ubuntu.com/HardyReleaseSchedule18:44
Italian_Plumberthanks agian18:46
webPragmatisthey guys19:14
webPragmatistI am getting the ureadahead error status 4 … how can i get to my fstab to fix this or something? I tried recovery mode and it doesn't work19:15
webPragmatisthttp://ubuntuguide.net/howto-fix-ureadahead-problem-after-upgrading-to-ubuntu-10-0419:15
webPragmatistor even how can i disable ureadahead19:15
=== dendro-afk is now known as dendrobates
pmatuliswebPragmatist: remove package?19:20
webPragmatistpmatulis: how i can't even boot heh19:20
pmatuliswebPragmatist: oh, well boot with a rescue cd19:21
webPragmatistwhats ureadahead even for19:21
pmatulis!info ureadahead19:21
ubottuureadahead (source: ureadahead): Read required files in advance. In component main, is important. Version 0.100.0-4.1 (lucid), package size 23 kB, installed size 148 kB19:21
pmatuliswebPragmatist: make booting faster19:22
webPragmatisthrm19:22
webPragmatistseems ridiculous that this would halt boot19:22
smoserwebPragmatist, fwiw, i dont think that is what is stopping your boot19:26
webPragmatistit's an inproperly configured fstab that is stopping my boot but that shouldn't stop my boot19:26
webPragmatistif that makes sense19:27
smoserah. ok.19:27
webPragmatistit should just not mount the dumb drives19:27
webPragmatistand boot19:27
smoserwell, the way to fix it is to boot rescue cd or usb drive19:27
smoserthen, for filesystems you dont need to boot, do:19:27
smosernobootwait19:27
smoseryou want to add that to the 'options'19:28
webPragmatisthrm19:28
smoser(see man fstab)19:28
webPragmatistright19:28
webPragmatistso if I add nobootwait ureadahead won't crap out?19:28
webPragmatistor rather it fstab won't19:29
smoseri think they're unrelated19:29
webPragmatistthe other issue is I think the disk is drbd so it's not even mountable yet19:29
webPragmatistconsidering they aren't synced19:29
webPragmatistsmoser: where is nomountwait19:52
webPragmatister nobootwait19:53
webPragmatisti looked at man mount and nothing19:53
smoserman fstab19:53
=== dendrobates is now known as dendro-afk
webPragmatistsmoser: it's not in there20:06
pmatulissmoser: that snippet of upstart goodness for debugging purposes, where do thos lines go?20:06
smoserah. sorry, pmatulis20:06
smoserjust put that in a "/etc/init.d/debug-me.conf"20:06
smoseror any upstart job really.20:06
smoserwait20:06
smoserin /etc/init/debug-me.conf20:06
smoseralso, you can pass on the kernel command line '--verbose' or '--debug'20:07
smoserand upstart responds20:07
smoserwebPragmatist, what is not there ?20:07
webPragmatistany reference to v20:07
webPragmatistnobootwait20:07
pmatulissommer: do you have any idea what section "Add Persistent Log Entries to Job Definition Files" is talking about on http://upstart.ubuntu.com/wiki/Debugging ?20:08
smoserhm..20:09
smoser$ dpkg -S /usr/share/man/man5/fstab.5.gz20:09
smosermount: /usr/share/man/man5/fstab.5.gz20:09
smoser$ dpkg-query --show mount20:09
smosermount2.17.2-0ubuntu120:09
sommerpmatulis: seems like it's talking about how to use upstart to save log files20:09
smoser$ man fstab | grep noboot20:09
smoser       hold up the boot for these; ``nobootwait'' which can be applied to non-20:09
sommerpmatulis: do you have a more specific question20:09
pmatulissommer: it's saying by simply creating a file in tmp this is going to help, i don't see how20:10
smoserwell, you can't really review files in /tmp20:10
smoseras next boot they're going to be cleaned20:10
sommerright... maybe /var/log would be better20:11
smoseryou shouldn't put stuff in /tmp that you want to see later.20:11
smoserright. or /root or something.20:11
sommermaybe /tmp is just an example?20:11
smoserwell its a bad one :)20:11
sommerya, don't disagree with that :-)20:11
pmatuliswow, those nicks are similar20:12
smoserwebPragmatist, so, if you missed the above my 'man fstab' on lucid definitely does have 'nobootwait'20:12
webPragmatisti see… i don't ahve access to proper ubuntu mans i guess20:13
webPragmatistis there ubuntu mans online20:13
pmatulissommer: i don't get the basic idea, how does one connect upstart to that log file?20:13
sommeroh, did I get drug into another conversation? :-)20:13
pmatulisi think i messed up20:13
pmatulishe he20:13
smoserkirkland, what gives, why is this wrong: http://manpages.ubuntu.com/manpages/lucid/man5/fstab.5.html20:14
sommerpmatulis: from what I understand you'd just add a redirect to your upstart job:  echo "Debug Message" >> /tmp/upstart20:14
kirklandsmoser: what's wrong about it?20:14
sommerpmatulis: in other word I don't think upstart itself is connected to the file, but the paticular upstart scirpt is20:15
smoserwell, 'man 5 fstab' for me gives me something from mount, not from loop-aes-utils20:15
smoserbummer:20:16
smoser$ apt-get install loop-aes-utils20:16
smoser..20:16
smoserAdding `diversion of /usr/share/man/man5/fstab.5.gz to /usr/share/man/man5/fstab-orig.5.gz by loop-aes-utils20:16
smoserwebPragmatist, you may be successful trying 'man fstab-orig'20:17
smoserkirkland, how does that determine what package should give a man page ?20:17
smoserin the case of a diversion  or conflict20:17
kirklandsmoser: that manpage was extracted from that deb20:17
kirklandsmoser: the script crawls through all debs in the archive, and extracts manpages from them20:18
smoseryes.20:18
smoserand what does it do when 2 debs conflict on a man page, or one dpkg-diverts another20:18
smoser'mount' and 'loop-aes-utils' both provide that man page.  loop-aes-utils diverts 'mount' version20:19
kirklandsmoser: last write wins20:19
kirklandsmoser: it just untars the debs, does not install them20:19
kirklandsmoser: loop-aes-utils was probably updated more recently than mount20:19
smosery. bummer.20:20
kirklandsmoser: do you have a better suggestion?20:21
smoserwebPragmatist, http://paste.ubuntu.com/464670/ if you 're still interested20:21
smoseri have no better suggestion.20:21
kirklandsmoser: https://bugs.edge.launchpad.net/ubuntu-manpage-repository/+bugs20:22
kirklandsmoser: please file a bug, if none of those describe the issue20:22
kirklandsmoser: it's similar to Bug #54433220:22
uvirtbotLaunchpad bug 544332 in ubuntu-manpage-repository "man pages not showing up for commands affected by update-alternatives" [Wishlist,Confirmed] https://launchpad.net/bugs/54433220:22
smoseryeah20:22
smoseri saw that .20:22
smoserits similar.20:22
kirklandsmoser: and Bug #33632820:23
uvirtbotLaunchpad bug 336328 in ubuntu-manpage-repository "sh links point to bash instead of dash" [Low,Confirmed] https://launchpad.net/bugs/33632820:23
smoserfixing either of those would likely fix this20:25
smoseri'll just comment in 33632820:25
ccheneytoday's cd image doesn't boot, is that what daviey mentioned earlier about syslinux being broken?20:40
ccheneyit claims "Unknown keyboard in configuration file"20:40
bobboauI'm haveing an issue trying to install on a server, it won't install grub2, it asks me to insert the disk labeled blahblahblahlucidlinxblahblahblah into drive cdrom, I'm installing from a USB cd rom because the server does not have a cd rom in it, and I don't have a spare available20:41
=== dendro-afk is now known as dendrobates
larsemili successfully log on to my iscsi target from the initiator, but still nothing show up in my fdisk -l on the client. why?21:24
=== erichammond1 is now known as erichammond
p1l0tI figured it out :) it's dhclient that keeps changing my ip address on its own21:34
p1l0tnow if I only knew what was triggering it...21:35
p1l0tnothing in the crontab21:35
p1l0tWHY I just want my server to stay up all the time21:37
jiboumanssmoser: ping21:42
smoserhere21:42
jiboumanshey, is it possible to pass commandline options to puppetd using cloud-init?21:42
smoserpuppetd runs via upstart ?21:43
jiboumanssmoser: doesn't look like it21:43
jiboumansstart-stop-daemon21:43
jiboumansi'm particularly looking to set debug, verbose & trace21:44
p1l0tsudo apt-get remove dhcp3-client hopefully has solved my problem for good21:44
smoserlooking21:44
smoserjiboumans, i'm just reading from the packages for puppet21:46
smoserbut it looks to me that /etc/init.d/puppetd reads /etc/default/puppet and respsects DAEMON_OPTS21:46
smoseryou can write that file in a couple different ways.21:46
jiboumanssmoser: yup.. how do i make cloud-init DTRT in that case? it has it's own puppet: section21:46
smoserthe easiest is in maverick21:47
jiboumanssmoser: this is tracking down a bug in lucid unfortunately21:47
smoseri dont know that you can configure that with cloud-config (i doubt it)21:47
smoserbut with cloud-init multi part syuntax you can eiterh write an upstart job that writes that file (and runs before puppetd)21:48
smoseror you could write a handler and then trigger the handler21:48
smoserthe upstart job propbbaly simpler21:48
smoserhold on21:48
jiboumanssmoser: i was also looking for the code that implemented the puppet: directive in cloud-init21:50
jiboumansbut couldn't find it21:50
bobboauoh cool activity, I'm haveing a problem getting a server installed, when it was trying to install grub it gave me an error like it could't find the cd rom during install and not supprizeingly it wouldn't boot  after that, I've managed to get to a grub prompt when the machine boots up, but I have no idea how to go from here21:51
smoserin lucid it is in cloudinit/CloudConfig.py21:52
smoserto write that defaults file, you can put content in user-data like:21:52
smoserhttp://paste.ubuntu.com/464702/21:52
bobboauoh, impotant detail, I'm using a usb cd rom21:52
chewbrancahi, I'm running the 10.04 AWS AMI using an EBS volume for the entire root partition, I'm wondering what the best way would be to mount different parts of the filesystem to separate EBS volumes, any ideas?21:52
jiboumanssmoser: how does that fit with the rest of the userdata? can i just append your snippet to the end of it?21:53
smoseri figured that question was coming21:53
smoseryou need mime multipart21:54
* jiboumans cringe21:54
smoserhttps://help.ubuntu.com/community/CloudInit21:54
jiboumansthanks, i'll go take a look21:54
smoserthere is a tool linked there 'write-mime-mulitipart' and an example of how to use it21:54
smoserjiboumans, i've got to run. i hope that should be enough for you.21:59
jiboumanssmoser: yeah, i should be able to figure it out21:59
jiboumansthanks for the pointers smoser!21:59
smoseri tihnk that will get the file written for you21:59
smoseryou'll want to start your upstart job as early as possible21:59
smoserbecause you have to run before puppet22:00
smoser'filesystem' will probably get you there.22:00
smoser'start on stopped cloud-init' would get you started earlier though.22:00
=== luis__lopez is now known as luis_lopez
=== dendrobates is now known as dendro-afk
* ccheney will be pushing his new uec provisioning rewrite to lp later today22:42
ccheney:)22:42
uvirtbotNew bug: #605252 in qemu-kvm "qemu-kvm fails to build from source on armel" [Low,Fix released] https://launchpad.net/bugs/60525222:42
* ccheney thinks its done22:42
ccheneyprobably some bugs still there to be fixed but its much better than before :)22:43
ccheneyhas support for mirror selection, partitioning (limited), user account creation in the script now22:44
therianworkwhat do you guys prefer sshfs or nfs?23:17
Hypnozwhy would doing a sed replace change my symlinks into regular files? http://dpaste.de/OJi5/23:20
SpamapSanybody with admin access to the ubuntu-server team on launchpad around?23:22
SpamapSHypnoz: because sed -i creates a new file, then renames it to the old one23:23
Hypnozahhh23:25
Hypnozinteresting23:25
Hypnozso now i have to make a script to check if a file is real or sym, and only apply the sed if it's real?23:27
SpamapSHypnoz: find may be able to solve it23:27
Hypnozso putting an option in find to ignore symlinks, and then doing like a -exec sed...23:28
SpamapSyeah somethign like that23:29
Hypnozthats shitty. Those are the little things that surprise me sometimes, that sed has been around for sooooooooooo long, and still no one has but a switch in it to ignore symlinks23:30
Hypnozsince it has such a bad affect on symlinks, you'd think someone would have noticed that23:30
SpamapSit does one thing well. :)23:31
Hypnozdestroy symlinks?23:32
SpamapSYou start adding crazy features like that and the program becomes a maintenance problem. :)23:32
ccheneykirkland, https://code.launchpad.net/~ccheney/uec-provisioning/branch23:32
Hypnozcrazy features? and how about we just throw out tac, and turn it into a -r switch on cat?23:33
Hypnozis that craaaaaazy too?23:34
SpamapSHypnoz: the only crazy part is that -i doesn't state clearly that it creates new files and renames over top of them.23:36
* ccheney bbl, headed to hospital23:39
therianworknever a good sign23:42

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