/srv/irclogs.ubuntu.com/2011/03/07/#ubuntu-server.txt

=== lep2 is now known as leprechau
=== RyanP is now known as tara14
uvirtbot`New bug: #730375 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/73037502:01
=== Pici` is now known as Pici
ziesemerWhy, after doing "apt-get source linux-image-2.6.35-27-server", does the Makefile in the source directory have "EXTRAVERSION = .11" instead of .27?02:34
thesheff17ziesemer03:01
thesheff17ziesemer: mine says the same thing..even in 2.6.35-24 says .8 for EXTRAVERSION.03:12
=== chrislabeard_ is now known as chrislabeard
resnoi am having the worest of luck trying to find the config file for fetchmail. ive done searches (on google and using find/grep) and nothing is turning up, any help?03:51
thesheff17resno: /etc/default/fetchmail03:55
thesheff17resno: though I see fetchmail is no long supported by ubuntu since 7.10  http://www.scalix.com/wiki/index.php?title=Configuring_Fetchmail_Ubuntu_Gutsy03:56
resnothesheff17: ah.... whats the supported method now?03:56
resnothesheff17: i was curious why all the guides online spoke of 7.1003:57
thesheff17resno: I'm sure you can still use it....though if there is a problem it won't be patched.03:58
resnowell, the conf files arent showing up. /etc/default/fetchmail, is only for setting up dameon mode..03:59
thesheff17resno: I see some saying getmail is a good alternative but personally I don't have any experience with either.04:02
resnoi dont want to use getmail...04:02
resnoive tried it, works well. but not really the method im looking for04:02
dthackerhello,  I'd like to rerun the portion of the install lets the user choose metapackages like DNS server and LAMP server.   Is that possible?04:03
thesheff17dthacker: tasksel --section server04:04
dthackerthesheff17: thanks04:04
thesheff17resno: well I would spin up a ubuntu 7.04 and get the config files off there or try to find them on the web.....like I said I don't have experience with either.04:06
thesheff17resno: though the mirrors are gone for for 7.04...not sure :(04:06
resnothanks thesheff1704:06
thesheff17resno: try dapper 6.0604:07
chrislabeardIf I'm using this webcam_`date +%Y-%m-%d`.jpeg04:45
chrislabeardhow can I also add the hour04:45
twb"webcam_$(date --rfc-3339=seconds).jpeg"04:47
twbIf you insist, echo "webcam_$(date -Ihours).jpeg" instead04:47
chrislabeardtwb this is the full line --- streamer -f jpeg -o /var/www/vhosts/chris_ellis/wwmcd.org/backup_`date +%Y-%m-%d`.jpeg04:52
chrislabeardbackup is supposd to be webcam04:52
twbLike I care04:56
=== Jonny51 is now known as Jonny5
=== Kiall_ is now known as Kiall
=== maknz_ is now known as maknz
pmillerkirkland`: lifeless suggests I talk to you re kvm woes07:15
chrislabeardSo if I'm doing a cron job do I just input the command I want it to run ?07:49
nigelbchrislabeard: generally, you write a bash script or something so you can get feedback on wwether it happened etc07:52
nigelbchrislabeard: but yeah, you can input the command too07:53
chrislabeardnigelb: yeah I'm not too tech I just want cron to take a picture from my webcam07:53
nigelbchrislabeard: heh, yes, you can just do that :)07:53
chrislabeardnigelb: I have the command so I just did that and told it to do it every hour07:53
nigelbchrislabeard: will work :)07:54
chrislabeardsaweet07:54
chrislabeardnigelb: I set up my webcam but accidentally faced it towards the wall so all I'm getting is the wall lol07:54
nigelbchrislabeard: haha, no script can help you there :p07:55
chrislabeardnigelb: haha yeah07:55
chrislabeardI'm bored what should I do with my server07:59
=== soren_ is now known as soren
=== SpamapS_ is now known as SpamapS
twbWhy does the MOTD use the definite article for servers?09:56
SpamapShm?09:56
twbOn my router, I get "Welcome to Ubuntu!", on my servers I get "Welcome to the Ubuntu Server!"09:56
twbThe router runs -generic because it can't boot -server kernel variant09:57
twbIt crashes because of lack of PAE in the hardware or something09:57
SpamapSBecause there are many Ubuntu derivatives, but only one Ubuntu Server! ;)09:57
twbSpamapS: I was thinking it was because of the silly assumption that <organization> only has one Ubuntu server09:57
SpamapStwb: whoa.. PAE is like.. old09:57
twbSpamapS: it's an embedded x86 board, what am I gonna do09:58
twbit's not like the board itself can take more than 512MB RAM09:58
twb(Soekris net5501)09:58
SpamapStwb: the definite article is actually probably just because a non-native speaker wrote it.09:58
twbSpamapS: what, in English?09:59
SpamapSI'm going to guess a French Canadian.. the translation tends to encourage such additions of The.09:59
twbHaha09:59
twbYou're not one of those .ca canonical support people, are you?09:59
SpamapSnot me.. but I am working with the canonical support, all the day.09:59
twbHaha09:59
twbI have this image of you listening to their on-hold music on speakerphone while you're ircing for REAL support10:00
SpamapStwb: Seeing as I'm at the 3rd level of escalation beyond said support.. I take that personally ;)10:02
twbSpamapS: what issue are you actually trying to get fixed?10:18
SpamapStwb: none, when did I ever say I was trying to get an issue fixed?10:25
twbSpamapS: what, you're just talking them for the fun of it?10:26
SpamapSIts part of the job of being on the server team that we help them.10:26
SpamapStwb: if you hadn't noticed, I'm a member of the canonical server team.10:27
twbI hadn't10:27
twbOh, I see, you mean "I *am* the third-level support"10:27
twbI thought you meant "I'm talking to them"10:28
SpamapSIndeed.10:28
twbHere, third-level support is the sales team10:28
SpamapSAnother Misunderstanding(tm) brought to you by the letters, I, R, and C.10:28
twbBecause after we struggle to fix a problem, they come past and translate from user-speak into meaningful terms10:29
twbLike today, <customer> said the server didn't have video codecs on it, but the actual problem was that they were trying to play a DVD which didn't have the movie as the first track, and their player didn't support DVD menus10:29
SpamapSAt Canonical, level 1 is guys who can help you find docs, bugs reports, etc. Level 2 is guys who can create workarounds, and level 3 is ubuntu developers. ;)10:30
SpamapStwb: its tough when customers decide they know what the issue is and won't let go of their idea.10:31
=== kirkland` is now known as kirkland
greppyit's even tougher when the vendor doesn't beleive the customer :)10:31
twbIt didn't help that their words appeared to make sense, because we actually implement this weird thing where DVDs get ripped onto the server10:31
kirklandSpamapS: made it home okay?10:32
twbgreppy: yeh.  I didn't believe you could get a TGT when using pam_winbind (not pam_krb5), but apparently you can o_O10:33
SpamapSkirkland: yes! Just woke up from the jetlag coma.10:33
twbI didn't believe that until I saw it10:33
SpamapSkirkland: you mid-return or still in CPT ?10:33
kirklandSpamapS: i'm in London now10:37
SpamapSkirkland: Thanks for sending over that pic.. that was a really awesome day.10:38
kirklandSpamapS: ack!10:39
pmillerkirkland: lifeless suggested I talk to you about some kvm virtualisation problems I'm having10:39
lynxmankirkland: how long are you in London for?10:46
quinodeHi everybody , Im' looking for a way to launch the pgAgent service under the postgres user . I tried the --chuid option of start-stop-daemon but it won't use the .pgpass file of this user (which hiolds the password needed)10:51
twbWhoops, just rebooted the VM server by accident11:06
twbFortunately LXC (and upstart) boot *really* quickly; from ctrl+alt+del to <everything is running> was like three minutes11:20
RoyKI've seen Windows admins hit ctrl+alt+del to login to linux machines...11:21
RoyKdisabling ctrl+alt+del can be a good idea :P11:21
greppyA friend of mine changed it to play a .wav file.11:21
Kiallgreppy, genius :)11:22
twbThe problem was we have a PS/2 DB-15 KVM, but this fucking bios won't accept a PS/2 keyboard for some reason11:27
twbSo I am typing into a USB keyboard and *thinking* I'm looking at the screen, but I was on the wrong KVM port11:27
RoyKgreppy: lol :)11:28
jamespagejhunt: around?11:41
jhuntjamespage: hi11:42
jamespagehello!11:42
jamespageI have an upstart question which I can't seem to find a good answer to11:42
jamespageI need to start a java based process as a particular user - whats the upstart way of doing this?11:43
jamespage(currently considering su - $USER or start-stop-daemon)11:43
jhuntjamespage: that is currently the best way11:45
jamespagewhich one? su - $USER11:46
jhuntjamespage: su that is11:46
jamespagethanks  - start-stop-daemon seemed a bit complicated for what I needed.11:46
SpamapSjhunt: hallo!11:46
jhuntjamespage: I'll add this question to the docs11:47
jhuntSpamapS: Hi11:47
SpamapSjamespage: the - shouldn't be necessary btw.. it will suck up the login environment of the user.11:47
SpamapSjhunt: I'm back from the moon. ;)11:47
jhuntSpamapS: good moontan?11:47
jamespageSpamapS: yep - just figured that one out!11:47
SpamapSjhunt: yes, just narrowly avoided moonburn.11:48
SpamapSjamespage: howzit?11:48
jamespageSpamapS: good ta - you must either still be abroad or suffering from jetlag?11:49
jhuntSpamapS: I've started to rst my upstart notes btw.11:49
SpamapSjhunt: fantastic. I think this or next week we should try to have a bit more high-bandwidth session and get all of the things we've produced/found/edditted down into 1 or 2 documents.11:50
SpamapSjamespage: suffering mightily11:50
SpamapSmy stomach thinks its mid-day :)11:50
SpamapSmy head hit the pillow 'round 8:00pm last night.. I hardly remember anything after that.. woke up at 1:00am as if it were the middle of the day.11:51
jhuntSpamapS: agreed.11:51
ClaudiuThello13:03
ClaudiuTthe output for lshw -C disk for disk1 is "UNCLAIMED" (disk1 being a SCSI disk). Any hints on how can I mount that disk?13:04
uvirtbot`New bug: #730620 in openssh (main) "After disabling ipv6 port forwarding does not work anymore" [Undecided,New] https://launchpad.net/bugs/73062013:46
=== ry_ is now known as ry
=== IdleOne is now known as OneiricOne
=== OneiricOne is now known as IdleOne
=== zul_ is now known as zul
=== pickscrape_ is now known as pickscrape
raubvogelEasy drbd question: I just created a common {} entry in my /etc/drbd.d/r0.res but when I try to drbdadm create-md all, I am told that common is already defined in /etc/drbd.d/global_common.conf. Can't I just overrule it?14:16
=== uvirtbot` is now known as uvirtbot
=== cjwatson_ is now known as cjwatson
ClaudiuThello14:33
ClaudiuTIm trying to use VMBuilder, but I got errors from line 2: ./setup.py: line 2: import: command not found14:34
sorenClaudiuT: How exactly are you running it?14:45
ClaudiuT./setup.py ?14:46
sorenClaudiuT: You're asking me? :)14:46
ClaudiuTno, I'm telling :)14:47
ClaudiuTis it wrong how I run it? :)14:47
sorenInteresting use of punctuation, then :)14:47
ClaudiuTsorry :)14:47
sorenClaudiuT: No, it's not your fault.14:47
sorenCraHan: Try this instead:14:47
sorenWhoops14:47
sorenClaudiuT: This this instead:14:47
sorenClaudiuT: python setup.py14:48
ClaudiuTthank you14:49
=== pl_ is now known as Guest67438
ClaudiuTI need an advice: I need to install a WIndows 2003 Server on a virtual environment on Ubuntu Server. Do you recommned using VMBuilder or VirtualBox?14:50
ClaudiuTobvously, I'm almost a newbie14:50
jpicheClaudiuT, do you have a GUI?14:51
ClaudiuTI am now trying to setup xauth and for ssh -X14:52
TBhttps://help.ubuntu.com/10.04/serverguide/C/virtualization.html14:52
jpicheI've used xen successfully in that scenario. For non-critical applications I normally use VirtualBox though.14:53
ClaudiuTI'd go with VirtualBox too, seems the easy enough14:53
ClaudiuTcan it be done via ssh -X without xorg and other graphical stuff installed don the server?14:54
jpicheClaudiuT, if it's on a server and you have to have guarantee that it will start back up after a reboot, VirtualBox is probably not the right solution--it really is built for desktop users14:58
Davieyjamespage, Do you think bug #669739 qualifies for SRU?15:04
uvirtbotLaunchpad bug 669739 in tomcat6 "unable to setup ip-based virtual hosting due to "Bugzilla 48612"" [Medium,Fix released] https://launchpad.net/bugs/66973915:04
Daviey(to Lucid)15:04
ClaudiuTok, thanks jpiche15:05
Davieyzul, did you get my email about bug #728328?15:07
uvirtbotLaunchpad bug 728328 in nagios-plugins "nagios plugins depend on samba" [Low,Incomplete] https://launchpad.net/bugs/72832815:07
jamespageDaviey: lemme take a look15:07
Davieyjamespage, rockin'15:07
zulDaviey: yep havent acted on it yet15:07
Davieyzul, groovy.15:07
RoAkSoAxDaviey: howdy! is the ubuntu-server packaged create now or not yet?15:12
DavieyRoAkSoAx, uh?15:14
DavieyRoAkSoAx, package set?15:14
RoAkSoAxDaviey: yeah package set >P15:14
RoAkSoAxhaha15:14
DavieyRoAkSoAx, yes, it's created.... Are you familiar with the process of how to apply?15:15
RoAkSoAxDaviey: simply create a wikipage and apply to the DMB15:15
RoAkSoAxDaviey: i'll finish recolecting all the packages I've worked on first and then ask for a "review" from you all to see if it is enough15:16
DavieyRoAkSoAx, Yeah, makes sense to get your +1's in order before applying.15:17
DavieyRoAkSoAx, Also note, it's essential to send your application to devel-announce a week before the DMB meeting.15:17
Daviey(at least a week)15:17
RoAkSoAxyeah i'm aware of that15:19
RoAkSoAxi have to take care of visa stuff for UDS first though15:19
uvirtbotNew bug: #730674 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/73067415:21
DavieyRoAkSoAx, oh yeah!15:37
jamespageDaviey: re bug 66973915:45
uvirtbotLaunchpad bug 669739 in tomcat6 "unable to setup ip-based virtual hosting due to "Bugzilla 48612"" [Medium,Fix released] https://launchpad.net/bugs/66973915:46
Davieyjamespage, oh aye15:47
jamespageDaviey: I still can't reproduce based on the information in the bug report; I'm gonna dig a bit further into the source as well15:48
jamespageno test case == no SRU at the moment15:48
Davieyjamespage, yeah, i wouldn't waste too much time on it... The reason i asked is that it was marked Medium, and Fixed upstream - wondered if it was serious enough to SRU15:50
=== genii-around_ is now known as genii-around
uvirtbotNew bug: #730696 in vsftpd (main) "package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: podproces nainštalovaný skript post-installation vrátil chybový kód 1" [Undecided,New] https://launchpad.net/bugs/73069616:01
jamespageDaviey: well if I could re-produce the issue yes - however I'm not convinced the upstream bug is actually related to this bug16:02
uvirtbotNew bug: #730697 in dovecot (main) "package dovecot-common 1:1.2.9-1ubuntu6.3 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/73069716:06
raubvogelWhere is the mysql upstart script? Is that /etc/init.d/mysql?16:07
hggdhsmoser`, question for you, if you do not mind: why would an ec2 instance for karmic reboot to a kernel different than the last installed?16:08
smoser`not possible16:08
hggdh:-)16:08
smoser`oh16:08
smoser`wait16:08
smoser`only possible16:08
smoser`karmic can't upgrade or change its kernel16:08
smoser`(no pv-grub)16:08
smoser`it will *always* reboot into the original kernel16:08
hggdhhell16:08
hggdhcan you gen a new ec2 image for karmic from -proposed?16:09
hggdhI thought all kernels after hardy were using pv-grub already16:09
smoser`no.16:09
=== smoser` is now known as smoser
smoserand hardy does not by default. you have to launch the instance with --kernel16:10
=== ivoks_ is now known as ivoks
smoserhggdh, heres what i'll do16:11
smoseri'll add the stubbed /boot/grub/menu.lst file to karmic images16:12
smoserthen, you can launch them with appropriate --kernel and then install from -proposed and reboot16:12
smoseri am comfortable saying that represents valid test of -proposed kernel for karmic on ec216:13
hggdhack16:13
hggdhplease tell me when ready to test16:13
smoseri'll kick off a karmic build right now16:14
smoserits probably 7 hours later that it makes it all the way out16:14
jongbergshi, i setup an ubuntu server however during installation i forgot to install LAMP package. this computer doesn't have network connection either. can i install LAMP from the CD?16:17
jongbergswhat command to accomplish this task?16:17
pmatulisjongbergs: man tasksel is one way to find out16:18
RoAkSoAxkirkland: /win 616:20
RoAkSoAxarrrgh16:20
uvirtbotNew bug: #730703 in tomcat6 (main) "tomcat6-common missing core libraries" [Undecided,New] https://launchpad.net/bugs/73070316:21
RoAkSoAxkirkland: ping?16:21
Davieyjamespage, I shouldn't have mentioned tomcat..... new bugs appearing :)16:22
jamespageDaviey: ho-hum - better take a look....16:23
Davieyjamespage, just run, run and don't look back.16:26
spydmobileHi Folks, I now have a new Raid device in my server, I need a little guidance bringing it to life. here is info : http://pastebin.com/baU0v4Zd16:30
spydmobileI am very shy about this sicerver since it is live production16:31
spydmobilesicserver =  server16:31
Davieyjamespage, [NOT URGENT] - Whilst you've got tomcat on the brain , what do you think of the fix attached to https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/707405 ?16:31
uvirtbotLaunchpad bug 707405 in tomcat6 "tomcat6-instance-create should allow -c -1" [Low,In progress]16:31
jamespageDaviey: I'll take a quick look now16:37
Davieyjamespage, expect beer.16:42
jamespageDaviey: well I like the second part of the fix - that looks OK16:52
smoserhggdh, 20110307.1 should pop out tonight on uec-images, and then you can launch with a pv-grub kernel16:52
jamespagedon't like the way a 'valid' port number if detected in the first part though16:52
hggdhsmoser, thank you16:53
* jamespage tries to think of a better way todo it16:56
Davieyjamespage, seems like you have similar reservations to what i thought..16:57
Davieyit /looks/ ok16:58
Davieybut then i started scratching my head.16:58
jamespagethat said; do we want to refactor this significantly because that it what it really needs;17:02
Davieyjamespage, I have NFI :)17:05
Davieyttx, Do you have thoughts on this?17:05
jamespageTBH it works; and its something that should be supported IMHO17:06
SpamapSwhat are we talking about btw?17:07
jamespagefix for bug 70740517:10
uvirtbotLaunchpad bug 707405 in tomcat6 "tomcat6-instance-create should allow -c -1" [Low,In progress] https://launchpad.net/bugs/70740517:10
jamespageSpamapS: it was really whether there was a nicer way to detect a number in sh17:11
* SpamapS reads17:12
SpamapSdash has some nice abilities for basic pattern matching...17:13
jamespageThe checkport function really needs a bit of a refactor (not major IMHO) to accomodate the use of -1 for the control port.17:13
Davieyzul, backuppc FTBFS17:14
SpamapSif you're going to call it a valid TCP port number you probably also need to check that it is between 0 and 65535 too17:14
zulDaviey: yes i know17:14
SpamapSjamespage: -1 means what?17:14
jamespagedisabled17:14
SpamapSah I see thats already checked for17:15
SpamapSjamespage: IMO this reads simpler and feels less hacky:   if ! echo $port | grep -q "^[0-9]+$" ; then17:17
SpamapShmm thats not quite right17:20
oneseventeenI'm going to set up a dedicated mysql server.  Would it be better to use 64-bit?17:20
SpamapSoneseventeen: probably yes, since the only real reasons to not use 64-bits when you have them, is to save on RAM with systems under 2GB available17:22
SpamapSs/reasons/reason/17:23
oneseventeenSpamapS: thanks.  I'll probably only be throwing 2 or 3GB of RAM at first to this system.17:24
SpamapSoneseventeen: right, but if you can expand the RAM, definitely do 64-bit17:28
SpamapSoneseventeen: otherwise mysqld itself wont' be able to grow beyond 2GB17:28
oneseventeenthat doesn't change teh volume of data I can store though, just the resources the daemon can use?17:29
SpamapSjamespage: FYI I commented on the MP for bug #70740517:30
uvirtbotLaunchpad bug 707405 in tomcat6 "tomcat6-instance-create should allow -c -1" [Low,In progress] https://launchpad.net/bugs/70740517:30
oneseventeenI plan on creating a partition dedicated to mysql databases... is it hard to configure MySQL to use it?17:30
jamespageSpamapS: thanks17:30
SpamapSoneseventeen: not at all.. you may want to just mount that partition at /var/lib/mysql17:34
SpamapSoneseventeen: but if you don't want to do that.. just set datadir=/your/mount/point in /etc/mysql/my.cnf17:35
oneseventeenSpamapS: thanks.  it has been a while since I've done any *real* linux work, so I forget how simple it can be to just mount the drive in the right place.17:35
oneseventeenjust creating the volume now on the SAN, then I'll just mount it to /var/lib/mysql during setup.17:36
SpamapSoneseventeen: just make sure /etc/fstab is setup right :)17:36
oneseventeenI'm hoping/assuming that if I do this during setup that it will configure fstab properly for me... :)17:36
=== zeknox_ is now known as zeknox
* oneseventeen is naieve at times17:36
SpamapSoneseventeen: no it definitely will17:37
oneseventeenooh, one more critical question... if I increase the size of the drive can I tell ubuntu to rescan the drive then use the newly allocated space?17:39
SpamapSoneseventeen: make sure you setup with "LVM" and you can do that.17:42
SpamapSoneseventeen: oh on a SAN you may be able to do it w/o LVM17:42
oneseventeenSpamapS: well, teh point is the SAN can expand the volume, but the OS needs to then take up the rest of that volume.17:43
oneseventeenbasically just resizing/expanding the partition.17:44
SpamapSoneseventeen: yeah so you will just have to run fdisk and grow the partition.. then resize2fs (or whatever your chosen FS uses for resizing)17:44
SpamapSoneseventeen: but yes, the only thing Linux has a hard time with is resizing / .. which.. I've never understood why someone hasn't solved.17:45
hggdhsmoser, any change of genninga the Lucid proposed kernel for ec2?18:01
smosergenninga ?18:03
smoserhggdh, ^18:04
hggdhgenerating18:04
hggdhgenninga was a weirdly unexpected decision from my keyboard18:04
smoserfor lucid i would just say use the -proposed from the archives18:04
smoserand then when we push to -updates it will get there appropriately18:04
* oneseventeen is just going to go with a 64GB mysql partition and hope it lasts long enough for him to figure out how to grow it in the future. :)18:04
hggdhsmoser, perfect. I am, unfortunately, still utterly lost on which kernels need an ec2 image. I am guessing it is only hardy & karmic, correct?18:05
smoserwell, yes, both hardy and karmic will need akis published18:06
smoserfor lucid, we will continue to do that18:06
smoser(publish the akis, but they're ont used by default)18:06
smoserin maverick+ there is only aki18:07
smosererr... only pv-grub18:07
Roasted_So I ran this command in terminal on my Ubuntu machine, gvfs-mount smb://etc/etc/etc and it changed my prompt to $. Users were trying to help me suggesting it changed something in bashrc, but I logged on another Ubuntu machine on our Windows domain and sure enough, I have the $ there too, so it's clearly not machine-dependent but something happened on the domain itself. Any ideas??18:07
SpamapSShould be interesting spending six months working on "oneiric" .. :)18:08
smoserfor hardy (and after this, for karmic) you should test the kernels by booting with a pv-grub kernel and installing kernels and rebooting.18:08
hggdhsmoser, so, for testing from now on all I need is boot, add in -proposed, install, reboot. Correct?18:09
hggdherbngeek_, hardy/karmic need the --kernel18:10
hggdhsmoser, ^18:10
hggdherbngeek_, sorry for the ping (now twice)18:10
zulhmm.....samba 3.5.8 is out18:11
smoserhggdh, yes. but if you want to boot into the older kernel (after install) you'll have to modify /boot/grub/menu.lst18:11
hggdhsmoser, thank you18:12
ikoniaRoasted_: please don't cross post, you posted this in #ubuntu18:13
Roasted_you're right, I did. But I'm curious if the folk here could assist me since it very well may be a server related issue.18:14
ikoniaare you running an ubuntu server ?18:14
Roasted_no, but I'm curious if the users here would have happened to have ran into it prior.18:14
ikoniaok, so you're not running an ubuntu server, then this channel isn't appropriate18:14
Roasted_where do you suggest I ask this question, ikon18:14
Roasted_ikonia,18:14
ikonia#ubuntu is the best place18:15
Roasted_okay, I shall continue to ask my question in there until an answer is had.18:15
Roasted_thank you18:15
ikoniawelcome18:15
Roasted_:)(18:15
Roasted_:)18:15
uvirtbotNew bug: #730786 in php5 (main) "package php5-cgi 5.2.4-2ubuntu5.14 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/73078618:26
panfistis it possible to add locations to index with locate/updatedb?18:31
ikoniapanfist: it's a config file, then you run updatedb18:32
ikoniapanfist: /etc/updatedb.conf ?18:33
panfisti see, thanks18:34
panfisti have an instance of ubuntu server running on a physical machine on my home network, the purpose of it is primarily to serve a raid array over samba18:35
panfisti used to have the raid array mounted in /media because that seems to be the default location for random stuff to mount, but what would be a better place to mount it more permanently?18:36
panfisti was thinking /srv/samba/foo or something like that18:36
panfistshould i actually mount it there or mount it somewhere else and symlink it18:37
oneseventeenhave any of you mounted iSCSI targets in Ubuntu-server? is it possible?18:37
* oneseventeen has never used iSCSI in Ubuntu18:37
pmatulisoneseventeen: yes, ubuntu can act as an iscsi client or server18:38
patdk-wkoneseventeen, I do it all the time18:44
patdk-wkI just never attempted root iscsi till recently :)18:44
uvirtbotNew bug: #730817 in krb5 (main) "Please sync krb5-1.8.3+dfsg-5 from Debian Unstable." [Undecided,New] https://launchpad.net/bugs/73081718:46
oneseventeenpatdk-wk: are there any guides I can read on how to mount them?18:48
patdk-wkhttp://www.cyberciti.biz/faq/howto-setup-debian-ubuntu-linux-iscsi-initiator/18:49
oneseventeenbeautiful, thanks!18:49
oneseventeenone final (I hope) question before I get started: does anyone use Ubuntu in a VMware VM?18:50
oneseventeenI'm trying to decide between the default E1000 NIC or VMXNET 3 NIC18:50
patdk-wkalways use vmxnet318:50
patdk-wkand pvscsi :)18:50
patdk-wkatleast if your on esx 4.1, don't use pvscsi on 4.018:50
oneseventeenthat's what I do on Windows, but I normally need to isntall drivers... do I need to install Drivers on ubuntu for this NIC?18:51
patdk-wknope18:52
patdk-wkI load up 10.04 with vmxnet3 and pvscsi without modifications18:52
oneseventeenwhat is pvscsi?18:52
patdk-wksame for windows, but have to load the pvscsi floppy disk :(18:52
patdk-wkfaster disk access18:52
patdk-wkit's the equiv of vmxnet3 for disks18:52
oneseventeenso is that in my SCSI controller settings?18:53
patdk-wkya, scsi adaptor, change type18:53
oneseventeenis it the VMware paravirtual?18:53
patdk-wkyep18:53
patdk-wkparavirtual scsi18:53
oneseventeensweet, got it all set up.18:54
uvirtbotNew bug: #730469 in samba (main) "samba not working for printer sharing with VirtualBox" [Undecided,New] https://launchpad.net/bugs/73046918:58
oneseventeenpatdk-wk: any other tips before I create this VM?19:02
oneseventeen(system drive will be on a VMDK, but a MySQL data volume will be iSCSI mount)19:03
patdk-wknope19:03
patdk-wkI wonder what would perform better though19:03
patdk-wkvm->iscsi, or vm->disk (vmdk->iscsi)19:04
patdk-wkguess it depends on how well you tune esx for iscsi luns19:04
oneseventeenI'm just mounting my iSCSI volume directly in the VM so I can grow it easier in the future.19:06
blade2112hello19:07
blade2112anyone here?19:08
oneseventeena few people are popping in and out.19:08
laenNope, we're all gone.19:08
oneseventeenbut you are welcome to ask a question in case we come back.19:10
blade2112Just asking19:10
blade2112If anyone here available to help me19:11
oneseventeenfeel free to ask a question and perhaps someone will respond if they know it.19:12
blade2112This is ubuntu support, right? Can I ask anything related to hosting websites... etc?19:12
oneseventeen(I'm picking up Ubuntu-Server for the first time in several months, so I'm not a great source)19:12
oneseventeenThis is the ubuntu-server chat room filled with ubuntu-server users who like to help each other out.19:13
blade2112ok19:14
oneseventeenbut I'm sure several of us here have hosted websites using ubuntu-server.19:14
oneseventeenwhat's your question?19:14
blade2112ok19:14
blade2112I have an ubuntu server, but without a control panel.19:15
blade2112So only apache on it.19:15
blade2112I want to add my site on it, but I don't know how.19:15
oneseventeenI don't have a vanilla install handy, but I think the default website is located at /var/www/19:17
oneseventeenso if you put files in there, you should be able to see them when you type the server's IP in a web browser.19:17
blade2112yes19:17
blade2112when i got to my ip19:18
patdk-wkna, he wants something to config the server for him19:18
patdk-wklike ebox I think it's called19:18
patdk-wk!ebox19:18
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox19:18
blade2112i can add files, html page to my ip...that means my apache server is working...but what I want is to add my domain to it19:18
oneseventeenso you want people from the outside world to type in your domain and see the site hosted on your Ubuntu box?19:19
blade2112yes oneseventeen19:19
oneseventeenAre you hosting this at your home or at a business?19:20
oneseventeen(I ask because at home you usually don't have a static IP that is usable from the outside world... it changes every few weeks depending on your ISP)19:20
blade2112Now I installed the apache on my server and when I go to my ip i see the webpage and it is working as it should...But I want to add my domain to it so anyone can see the content19:20
blade2112Not hosted on home19:20
blade2112It's hosted on some web hosting company19:21
oneseventeendo you already have the domain?19:22
blade2112yes19:22
oneseventeennormally you can go into a management site for your domain (from whoever you purchased it from) to have them point it to your IP19:23
blade2112Okay19:23
* oneseventeen hasn't messed with DNS/domain registration outside of shared hosting... hope he gave ok advice19:24
* patdk-wk runs his own dns servers19:25
oneseventeenapparently apt-get intsall doesn't work...19:25
jpdsoneseventeen: "doesn't work" is rather vague.19:27
patdk-wkjpds, looks good to me :)19:28
patdk-wkmispelled install19:28
oneseventeenyeah, I was just joking about my bad typing skills.19:28
oneseventeentook a good 2 min to figure out my error19:28
patdk-wkI always blame my fingers19:29
oneseventeenso do I just mess with /etc/network/interfaces to set static IPs on my NICs?19:32
oneseventeenbeautiful, just got a listing of all iSCSI targets on the ubuntu box... thanks for the tips patdk-wk19:45
oneseventeengotta run to get some non-enterprise (aka Apple) hardware looked at.19:46
ttxDaviey: looking19:46
Davieyttx, appreciated - Clint added a comment on the merge proposal19:48
ttxjamespage, Daviey, SpamapS: I'd rather have another option to say "disable control port"19:48
ttxAlso note that since it's in sync with Debian, it's good to push it there to keep the sync19:49
Davieyttx, oh aye19:49
ttxand it's a bit featureful for post-FF19:49
Davieyttx, do you have a suggestion for a cleaner fix?19:50
Davieyttx, aye, i'd like to get it moving whilst still fresh.. ready for sync from o-series at least19:50
ttxah, -1 is actually something tomcat allows, I see19:50
ttxDaviey: SpamapS's snippet sounds good to me19:53
pmatulisdoes dnsmasq have an equivalent to the (missing bind9) option 'topology'?19:54
Davieyttx, What risks do you see with that?19:55
ttxDaviey: none, and could definitely be considered a bug :)19:58
Davieyttx, awesome19:58
Davieyttx, fancy commiting it to debian branch? :)19:59
ttxah!19:59
ttxI guess I can.19:59
ttxOnce the branch is updated with Clint's suggestion20:00
hallynwhere do we go to look over (/proofread) the natty release docs?  help.ubuntu.com seems to only have 10.10.20:04
zulgood question20:05
zulhallyn: i dunno20:07
genii-aroundhallyn: Maybe https://blueprints.launchpad.net/ubuntu/natty/+specs has some useful info for you20:09
Davieyttx, you rock...20:21
Davieyhallyn, what do you mean release doc's?20:21
Davieyhallyn, This might be what you want?  https://wiki.ubuntu.com/NattyNarwhal/TechnicalOverview20:22
hallynDaviey: i don't think so, though maybe.  at server team mtg it was mentioned (two weeks ago) that we should be looking over the docs for accuracy20:29
uvirtbotNew bug: #460356 in sysstat (main) "sadc assert failure: *** glibc detected *** /usr/lib/sysstat/sadc: double free or corruption (!prev): 0x08b0f9e8 ***" [Medium,Incomplete] https://launchpad.net/bugs/46035620:32
Davieyhallyn, ahhhhhh20:34
Davieyhallyn, Well caught.... The docs are stored in bzr... but essentially review https://help.ubuntu.com/10.10/serverguide/C/index.html and look for inaccuracies..20:36
Davieyhallyn, The plan /was/ to submit it to sommer... but things might have to be different this cycle20:36
hallynDaviey: thanks!20:39
Davieyhallyn, If you generate a list of changes if you find some, we'll get it sorted this week20:41
uvirtbotNew bug: #726445 in samba "net.samba3 crashed with SIGSEGV in NetFileEnum_r()" [Medium,Triaged] https://launchpad.net/bugs/72644520:51
uvirtbotNew bug: #498383 in pptpd (main) "pptpctrl crashed with SIGSEGV in strncpy()" [Medium,Incomplete] https://launchpad.net/bugs/49838320:57
=== froschi is now known as XoD
uvirtbotNew bug: #730940 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1" [Undecided,New] https://launchpad.net/bugs/73094021:41
sorenhallyn: Where are we on SPICE support in Ubuntu?21:57
mrayanyone familiar with reimaging servers via PXE and preseeds? My servers are booting from the network, but not downloading the preseed config file22:06
mraybooting to the installer that is22:06
highvoltageyou're in luck, there are countless howtos for that22:07
mrayI know, I'm following the Installation Guide and it's not working22:07
laenWrong guide!22:08
highvoltagemray: how are you specifying the preseed file?22:08
mrayI https://help.ubuntu.com/10.10/installation-guide/amd64/preseed-intro.html is wrong?22:08
fluvvellmray: is that like ltsp, and using tftpd ?22:08
mray /var/lib/tftpboot/pxelinux.cfg/default is my syslinux.cfg22:09
mray# D-I config version 2.022:09
mrayinclude ubuntu-installer/amd64/boot-screens/menu.cfg22:09
mraydefault ubuntu-installer/amd64/boot-screens/vesamenu.c3222:09
mrayprompt 022:09
mraytimeout 122:09
mraypreseed/url=http://192.168.11.7/default.seed22:09
mraypreseed/url/checksum=d785f425373c0f11a4d8c056866db76a22:09
mraythe timeout is being picked up, but nothing happens22:10
mrayhitting that URL from a browser works22:10
mrayapache's logs don't show any requests22:10
mray(except from my browser)22:10
mrayfluvvell: PXE booting the installer22:11
RoAkSoAxmray: you have to add the "auto url=etcetc"22:11
RoAkSoAxoh no that's manually enterin it22:11
mrayheck, if that works I'll try22:12
mrayI'm reinstalling about every other day, so 1 manual step isn't terrible22:12
fluvvellmray: I'm following now.22:12
RoAkSoAxmray: yeah I installed couple weeks ago adding the auto url thingy as I pointed you out the other day with no issues22:14
mrayI'm just trying to avoid anything manual22:15
mraysince I've got 6 machines I'm working with22:15
mrayand as I scale, it gets less enjoyable22:15
RoAkSoAxmray: http://testcases.qa.ubuntu.com/Install/ServerWhole#Preseeded%20Installation22:15
RoAkSoAxmray: indeed! I see your point. I myself looking for everything automated but I guess I'll rely on cobbler eventually22:16
mrayRoAkSoAx: check for press releases from Cloud Connect tomorrow ;)22:16
RoAkSoAxmray: will do ;)22:16
RoAkSoAxSpamapS: ping22:22
oneseventeenfor some reason after a reboot I can't get online with my ubuntu server.22:23
oneseventeeninterfaces file looks good.22:24
hallynsoren: spice support is in ppa:serge-hallyn/spice.  I'd like to package it but need some testers22:25
hallynkim0: is looking at it22:25
holmserI am having a heck of a time setting up an openswan ipsec VPN on my server22:25
sorenhallyn: What do you mean "package it"?22:26
sorenhallyn: It's already in a PPA, so it must be packaged.22:26
hallynsoren: right i meant push it into natty22:27
hallynkim0 is working on MIR22:27
sorenhallyn: An MIR sounds premature if it's not even in the archive yet. Why not just put it in the archive?22:27
sorenhallyn: Best way to get testers.22:28
holmserI am able to connect to it just fine, but it seems that my NAT is screwed up somehow because I am unable to connect to anything through it22:28
SpamapSRoAkSoAx: pong, sup?22:30
hallynsoren: how do we go about that?22:32
oneseventeensolution was to remove the gateway from eth1 so only eth0 has a gateway.22:33
RoAkSoAxSpamapS: bug #72991122:34
uvirtbotLaunchpad bug 729911 in squid "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/72991122:34
RoAkSoAxyour SRU doesn't seem to have fixed the issue22:35
SpamapSRoAkSoAx: yeah... I'm thinking that this has more to do w/ running squid in the foreground than an old copy of squid untracked by upstart22:35
SpamapSRoAkSoAx: my guess is that when squid is run in the foreground and receives SIGTERM, it somehow doesn't free resources, so the start back up fails.22:36
SpamapSLike maybe if there are active requests.22:36
RoAkSoAxSpamapS: yeah it is indeed complicated issue. I just hope we don't get as many bug reports :S22:36
SpamapSRoAkSoAx: I think unfortunately, we will22:37
SpamapSRoAkSoAx: the maintainer scripts also call restart when they shoudn't.22:37
SpamapSSo thats probably the blanket fix that will stop the bug reports.. but I'm skeptical that this will be enough to stop all problems.22:37
RoAkSoAxSpamapS: wouldn't it just be easier to stop before upgrading?22:37
SpamapSRoAkSoAx: yes22:38
SpamapSRoAkSoAx: what would be easiest, would be to use dh_installinit, which implements the appropriate logic in a uniform manner.22:38
RoAkSoAxSpamapS: indeed22:38
RoAkSoAxanyway, this reminds me22:38
RoAkSoAxSpamapS: in PowreNap the daemon starts threads22:39
RoAkSoAxand powernap tracks those threads and whatever22:39
RoAkSoAxSpamapS: however, wen I issue sudo restart powernap22:39
RoAkSoAxthe config is not reloaded22:39
RoAkSoAxso I have to stop powernap, and start it again22:39
RoAkSoAxwhat might be wrong?22:39
SpamapSrestart sends SIGTERM, waits for the pid to die, then starts the job again22:39
SpamapSin many ways, restart is like a forced respawn22:40
SpamapSso the threads from the managed daemon should die22:40
sorenhallyn: Well, if it builds and installs ok and debian/copyright is in good shape, all you need is an FFe and we can upload it.22:40
RoAkSoAxSpamapS: right but this doesn't happen. So when I restart everything keeps running as I didn't issue the restart command even though it tells me it has22:40
RoAkSoAxSpamapS: that's why I have to stop, and then start again22:41
oneseventeendoes anyone know how to list all drives/volumes (even unformatted ones) on ubuntu-server?22:41
SpamapSRoAkSoAx: are you sure powernap is being tracked properly?22:41
=== Jonny51 is now known as Jonny5
oneseventeendoh, google knew the answer. sudo fdisk -l22:43
RoAkSoAxSpamapS: the job:http://pastebin.ubuntu.com/577218/22:43
SpamapSRoAkSoAx: so powernapd does not daemonize?22:45
holmseranyone here have any experience with ipsec?22:45
RoAkSoAxSpamapS: it does22:45
holmserI ran ipsec verify and ip forwarding keeps failing22:46
RoAkSoAxSpamapS: it is a deamon (you cannot run it in the foreground)22:46
SpamapSRoAkSoAx: then you'd need 'expect fork' or 'expect daemon' somewhere in there22:47
RoAkSoAxSpamapS: it is there too :)22:47
SpamapSRoAkSoAx: not in the paste you gave me22:47
SpamapSRoAkSoAx: chopped at pre-start (actually re-start.. ;)22:47
RoAkSoAxSpamapS: http://pastebin.ubuntu.com/577220/22:48
RoAkSoAxchopped all above that  xD22:49
SpamapSRoAkSoAx: so, when you look at the process in 'ps auxfw' .. is it  init->powernapd  only, or are there actual pids under powernapd?22:50
holmserwhen I run "sysctl -A | grep ip_forward"  I get net.ipv4.ip_forward = 022:51
holmserhow do I change that setting?22:51
sorenholmser: sysctl -w net.ipv4.ip_forward=122:51
holmserthank you soren22:52
SpamapSholmser: note that you will need to make that persistent somehow.. the best way is to put it in /etc/sysctl.d/60-something.conf22:53
RoAkSoAx SpamapS only powernap root      7418  0.1  0.0  54044  5204 ?        Sl   17:52   0:00 /usr/bin/python /usr/sbin/powernapd22:53
holmserhmm... even with that changed, VPN is still not working22:55
RoAkSoAxSpamapS: so I was thinking it may be becuase powernapd starts threads and stuff that are in other files. so powernapd only instances a set of X classes, that can have threading or not22:56
sorenRoAkSoAx: "initctl list powernap" shows the correct pid?22:59
SpamapSRoAkSoAx: It really shouldn't matter. Threads will die with the process. fork'ed children will either die, or become children of pid 1.23:00
RoAkSoAxsoren: yes it does23:02
RoAkSoAxSpamapS: right but either way i don't relaly see it restarting23:02
sorenRoAkSoAx: After "restart powernap", you still have the same pid?23:03
SpamapSRoAkSoAx: whats your evidence? The pid changes right?23:03
SpamapSRoAkSoAx: oh wait.. pre-stop .. thats a known bug23:03
oneseventeenI'm formating a partition to store mysql databases on, is there a preferred filesystem for ubuntu-server?23:03
oneseventeenext3?23:03
SpamapSRoAkSoAx: add yourself to bug #703800 .. I'll mark it Confirmed23:04
uvirtbotLaunchpad bug 703800 in upstart "restart command fails to restart main process when pre-stop stanza exists" [Undecided,New] https://launchpad.net/bugs/70380023:04
RoAkSoAxsoren: yes it does23:04
RoAkSoAxSpamapS: the pid doesn't change23:04
SpamapSyeah, restart is b0rked when there is a pre-stop23:06
SpamapSRoAkSoAx: this is part of the reason /sbin/upstart-job doesn't use restart... its just a weird command23:07
SpamapSerr23:07
RoAkSoAxSpamapS: yeah indeed it is upstart23:07
SpamapSerr, /lib/init/upstart-job23:07
RoAkSoAxSpamapS: will post-stop work23:07
RoAkSoAx??23:07
RoAkSoAxor does that even exists?23:08
RoAkSoAx:)23:08
oneseventeendoes anyone know where mysql saves database files? I forget23:08
SpamapSRoAkSoAx: yes and yes23:08
thesheff17oneseventeen: I have used ext4...but if you want to be able to freeze the file system you have to use a different type.23:08
RoAkSoAxSpamapS: i guess I'll to change things then, thanks :)23:08
oneseventeenha, /var/lib/mysql23:09
SpamapSRoAkSoAx: does it make sense to powerwake-now *after* powernapd is stopped tho?23:09
oneseventeenthesheff17: thanks23:09
oneseventeeneek, didn't realize the time, later everyone and thanks for all the help earlier!23:10
RoAkSoAxSpamapS: not really but i'll change the logic23:10
RoAkSoAxi mean, what powerwake-now does in that case is only good when in PowerSave nmode wich will run other scripts to ensure that the system is restored as original23:11
SpamapSRoAkSoAx: I'd rather see the logic right, and not use restart, than use complicated logic to enable a command that I never recommend people use.23:11
RoAkSoAxso post-stop I'm just planning to grepping the config and if it is configured to poewrsave then run the command necessary to restore everything bug to original23:11
RoAkSoAxs/bug/back23:12
SpamapSRoAkSoAx: but if somebody stops powernapd .. there won't be a state to query will there?23:18
RoAkSoAxSpamapS: for exmaple, in the config ACTION_METHOD=0, will run pm-powersave true|false when entering into a powersave start or leaving it respectively23:19
RoAkSoAxSpamapS: the pre-stop part in upstart only ensures that pm-powersave false is run to rollback the changes, if any, to original23:20
RoAkSoAxSpamapS: these changes are , for example, turn off the 3 CPU cores of the 4 that pm-powersave true turned off23:20
uvirtbotNew bug: #730995 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/73099523:56

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