/srv/irclogs.ubuntu.com/2013/02/07/#ubuntu-server.txt

=== slank is now known as slank_away
chrish1in a preseed file, how do I force an unbuntu server install to configure multiple interfaces?00:15
chrish1i am pxe-booting from eth0 and need eth1 configured by our corp dhcp server ro allow access to the package repos00:16
SpinningWheelsescott, mdstat and details says everythings fine and reports no events. but something had to happen for it to go to md0 to md127 read-only.01:01
escottSpinningWheels, could be that the arrray is functional but the filesystem itself is corrupted. you should fsck it01:17
=== justizin_ is now known as justizin
=== justizin_ is now known as justizin
adam_gzul: wrt that quantum test fixes patch, i spent along time trying to figure out why the db plugin / subnet tests are failing. i think it points to an issue in the dependency chain.03:06
adam_gzul: ...where data gets returned in a dict that isn't ordered correctly, or how the test expects. using a fresh venv from the pip-requires, its comes back fine03:08
adam_gzul: i'd like to get that passing b/c it points to something subtle that may lead to other problems if we continue to just skip it. gonna look at it again tomorrow. cya03:09
hallynroaksoax: I just meant, it's currently New/undecided for both raring and precise, ISTM it should be fix released for raring03:10
zuladam_g: ack03:11
macoive got an ubuntu 12.04 amazon ec2 instance that doesn't seem to have ssh running (connection refused on 22). i mounted the root disk on another instance, turned on bootlogging, put it back, and booted it then shut it down again and once again mounted it to see what the logs would say. i dont see anything about sshd in /var/log/boot.log. mostly i just see stuff about cloud-init. syslog also doesn't show sshd starting, but openssh-server is still03:16
macoinstalled and /etc/init/ssh.conf looks reasonable. any idea how i can further debug what's going on?03:16
jcastromake sure you have ssh/22 enabled in the AWS rules04:39
jcastroit's in your console thing04:39
jcastrohttp://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html04:41
jcastromaco: ^04:41
macohey jorge! i did check that04:41
macoi don't see anything in syslog about sshd attempting to start on the last couple boots. last thing i see is when we did a "sudo service ssh restart" after modifying sshd_config04:42
macobut then, i think it's pam logging that, not sshd itself, so i'm not convinced it would show up on boot04:42
ruben231hi guys how do i block all income traffice from a particular port and allow specific pubci ip address only..any idea..?04:47
sarnoldruben231: you can use ufw for that: https://help.ubuntu.com/12.10/serverguide/firewall.html05:19
=== hatake is now known as daenglinuxx
dns53is there anyone around who has worked with uefi?07:09
=== smb` is now known as smb
tcopehaving issues installing grub2 on a 12.10 system with linux raid on /dev/md0p1  /boot .. when running update-grub it returns grub-probe error cant find physical vol (NULL) .. did not have this issue with prev distros has any one else experienced this and is and found a solution ?08:29
koolhead17hi all08:36
cfhowlettkoolhead17, greetings08:38
koolhead17hello cfhowlett08:40
=== yofel_ is now known as yofel
BlinkizHello. I can see that kernel 3.5.x exist in 12.04 LTS now days. How can I make sure my server always get's the latest kernel when it is released? Am still at 3.2.x after apt-get dist-upgrade10:01
marcreicheltHi! I have tomcat7 installed on my Ubuntu 12.04 64bit machine. It runs correcty if I start it manually (sudo /etc/init.d/tomcat7 start), and it is in the correct runlevels 2 to 5, but it doesn't get started on boot. I need some help here...10:03
=== daenglinuxx is now known as terlalu
=== terlalu is now known as blackjack
acidflash_join #c11:25
=== acidflash_ is now known as acidflash
yolandahi, is that the right source for mongo charm? http://jujucharms.com/charms/precise/mongodb11:38
marcreicheltHow can I find out why a certain init.d script is not called on boot, although it is linked from the correct runlevels?12:08
kzarHave SSH running on a server that's hooked up directly to the internet with an ip address and no local network. Guy there is able to ssh from local term to server's external ip OK. When we try and ssh from our machines we get login prompt but credentials are rejected. We have denyhosts installed and otherwise default ubuntu sshd settings. Any ideas?12:09
patdk-lapkzar check the log file?12:26
kzarpatdk-lap: Yes I want to, server is unfortuntely off no and in korea :(12:26
kzarnow*12:26
joners1Hi, can anyone provide some assistance to a linux noob. Trying to send email from ubuntu server to a WS2K8R2 SMTP relay12:39
ikoniajoners1: what's the issue ?12:47
joners1Well I can send mail to the windows relay using ssmtp12:50
joners1but cant using postfix, afraid i know so little about it that im afraid im either running around in circles or missing something obvious!12:50
ikoniaok, so just set relayhost12:53
ikoniain the postfix configutation12:53
ikoniahttp://www.postfix.org/postconf.5.html#relayhost12:53
ikoniafor example12:53
joners1Hi, tried that one didnt seem to work12:56
joners1sorry, should give you some more information12:57
joners1i also need to set the 'sender' address as well, the windows box will only accept email from one mail address12:57
joners1tried the relayhost option but didnt get any mail through12:57
jacobwjoners1: postfix only sends mail originating from a relayhost13:07
joners1ok, any idea how i can send email through the relay at all? :)13:09
jacobwjoners1: the MUA sets the 'From' field, postfix relays the message and other MTAs (postfix, exim, exchange) carry the message usually only it came from the host the PTR record for the domain in 'From' specifies13:09
qman__joners1, http://www.dnsexit.com/support/mailrelay/postfix.html13:09
qman__also, exchange may not allow you to send mail "From" anyone except the user you're logging in as13:10
joners1thats right, thats what is happening in this case13:11
qman__if you have control of the exchange server, the better solution is to allow relay from your postfix server13:11
joners1we are just moving to office 365 and have a secure connection from the Windows Box to a 365 account (using TLS)13:11
joners1i wanted to create a white list of ips that can relay email through, for things like printers and scanners etc13:12
qman__is this postfix intended to work after the move?13:12
qman__if so you may not be able to do that13:12
qman__I don't think office 365 allows mail relaying13:12
joners1it does but only through a specific account13:12
qman__then what you need to do is configure your devices to send mail from that account13:12
qman__there may be a way to accept the messages in postfix and mangle them so they fit, but that's beyond my knowledge of postfix13:13
ikoniaI wouldn't say that's a good solution13:13
joners1lol maybe not13:14
joners1any other suggestions at all? I can get it working with ssmtp with no issues13:14
qman__that13:14
joners1points to the windows relay and the mail goes out to 365 and delivered with no problems13:14
qman__that's because ssmtp isn't a 'real' mail server, and doesn't relay13:14
qman__it can easily log in with your credentials and send from the right account13:14
joners1its not logging in though, just pushing email to that relay to send on13:15
joners1the windows relay is authenticated in to office 365 so anything else that points to the relay is unauthenicted, basically an open relay internally13:15
joners1sorry, hope that im not confusing the issue here13:16
qman__you're changing your story13:16
qman__also, if exchange was configured for open relay, postfix would work13:16
joners1ok, shall i start again and try and clarify?13:16
qman__what version of exchange?13:17
qman__because there's big differences between them13:17
joners1no exchange at all13:17
joners1Office 365 is a hosted email platform13:17
qman__yes, but what runs on your windows server?13:17
joners1just the SMTP relay feature, part of IIS13:18
qman__and it's configured to authenticate to office 365?13:19
=== slank_away is now known as slank
joners1thats correct13:19
qman__to relay mail13:19
joners1yes13:19
qman__ok13:19
qman__what's your ssmtp config?13:19
joners1what i need to figure out, is how to send email to that relay13:19
joners1two seconds13:19
joners1ill get it now13:19
joners1ssmtp.conf simply looks like.....13:21
joners1root=emailaddress@domain.com13:21
qman__ok13:21
qman__is that a valid email in your office 365 domain?13:22
joners1mailhub=ipaddress_of_windows_relay:2513:22
joners1yes13:22
qman__and is there any auth configured there or just anonymous?13:22
joners1rewriteDomain=ourdomainname.com13:22
qman__ah, there you go13:22
joners1hostname=ubuntuserver name13:22
qman__that's the feature it has13:22
joners1the rewrite domain name?13:22
qman__postfix doesn't have that as far as I know13:23
qman__yes13:23
qman__at least not as a builtin13:23
joners1gotcha!13:23
joners1how about sendmail or something else?13:23
qman__your ssmtp is faking that all mail is comfing from your actual domain13:23
joners1ok, so faking the email details to the windows relay13:23
qman__sendmail is a disaster, I couldn't begin to tell you how13:23
qman__right, ssmtp is mangling outgoing email messages13:23
joners1thats what i noticed looking at the web13:23
qman__to change the "from" headers to your domain name13:24
joners1ok13:24
joners1do you know of any way to send attachments from ssmtp?13:24
qman__it should be possible with postfix but I don't know how, it's not a normal config13:24
joners1ok13:24
joners1well thank you for your help :)13:24
joners1ill see if i can do some more research, that narrows things down for me though13:24
qman__it's very extensible but how difficult, I have no idea13:25
joners1i shall have a read up on it and see what i can find13:25
qman__one possible workaround is to change the system mailname, but that'll get confusing in logs13:26
qman__your server will pretend to be yourdomain.com13:26
qman__and that might break other stuff13:26
joners1interesting....13:26
joners1might be worth a go, ive got a couple of test boxes that i setup to play around with different configurations13:26
joners1the mail name is located in /etc/mailname right?13:28
feisarwhat would cause resolv.conf to have the header bit in twice along with my old DNS settings?13:40
feisar(12.04 server)13:41
feisar(with a static IP config)13:41
feisarhmm... for some strange reason /etc/resolvconf/resolv.conf.d/original and tail have my old settings in them13:44
res22ubuntu server seems to completely not listening to my file permission, in sudo or otherwise13:52
feisarres22: explain13:52
res22it's hard13:52
feisarwhat command are you running?13:52
res22I have a group of users who I want to be able to write to a specific directory. The directory is chowned to that group, and the permission are recursively g+rw13:53
patdk-wkI hope you included x also, for directories13:54
res22they can't. Also sudoers simply doesn't work when I specify a group, but it does when I specify a user13:54
res22yes13:54
patdk-wkand they have x permission all the way to root?13:54
res22they can access the directory, they can't write to the files13:55
feisarcan they create a dir or 'touch' a new file?13:55
res22permission denied13:56
res22brb13:56
jamespageDaviey: any idea when the iso started being oversized?13:57
jamespagemay 20/01?13:57
Davieyjamespage: NFI, sorry13:59
jamespageDaviey: well I think I have the answer14:03
jamespageDaviey: quantal: apt-get install kvm -> Need to get 11.3 MB of archives.14:03
jamespageDaviey: raring: apt-get install qemu-kvm -> Need to get 50.4 MB of archives.14:04
Davieyugh14:04
jamespageDaviey: maybe hallyn can comment on the increase :-)14:05
Davieyjamespage: Possibly recommends which could be suggests14:05
Davieyhallyn: Can we look at this ASAP please?14:05
Daviey(it's pushing our cd images over limit)14:05
jamespageDaviey: guh - also noticed that qemu drops the BD on librbd-dev - so no ceph RBD support14:09
* jamespage crys a bit14:09
jamespageDaviey: I'll raise bugs14:09
Davieyjamespage: super.  I know hallyn is aware of some mismatches... He tried to align with the debian package closer.14:10
Davieybut having bugs to track this stuff is optimal :)14:11
jamespagehallyn: bug 1118406 for rbd support14:13
uvirtbotLaunchpad bug 1118406 in qemu "qemu lacks support for Ceph RBD in raring" [Undecided,New] https://launchpad.net/bugs/111840614:13
jamespageDaviey: this highlights the gap we have in openstack testing on current dev series...14:13
Davieyugh, yeah14:14
jamespagehallyn: bug 1118407 for the bloat-out14:17
uvirtbotLaunchpad bug 1118407 in qemu "qemu-kvm/system has a large number of dependencies" [High,Triaged] https://launchpad.net/bugs/111840714:17
hallynjamespage: all right, i'm going to finish the merge of lastest debian qemu stuff this afternoon.  will fix rbd then.  for the size increase, i'll take a close look.  I'm not sure it's dependencies - it may be due to pulling in of all arches14:23
hallynif it's due to all arches, then next upload should help (as it splits qemu-system-common-x86 into separate package)14:23
hallynbut i'll take a look,thanks!14:23
jamespagehallyn: in a general finger pointy kinda way - "libgl1-mesa-glx | libgl1" looks like it might pull in quite a bit14:24
hallynwill look14:25
jamespagehallyn: ta14:28
xpistosHi all. How can I tell if my computer will run ubuntu server 12.04? Right now it is running 10.04 and I would like to upgrade it.14:35
genii-aroundxpistos: You could check first if it's on the list here: http://www.ubuntu.com/certification/server/14:42
xpistosgenii-around:  Thanks. I will check that out nw.14:46
xpistosgenii-around: This isn't a "server" persay. It is Dell Dimension 4400 (circa 2001). Is there a doc with the hw reqs somewhere?14:49
Pici!requirements14:50
ubottuHardware requirements to install, boot and comfortably use Ubuntu are listed at https://help.ubuntu.com/community/Installation/SystemRequirements - For a !flavor with lower requirements, see !Xubuntu or !Lubuntu14:50
Picihrm14:50
_rubenheh, nice .. no clue what key combo i just accidentally hit (area of arrow keys / enter / ins/del / etc) .. but it backgrounded my irssi .. though i was no way near ctrl-z14:51
genii-aroundPici: The requirements there look pretty old...14:52
xpistosPici: Thanks. I checked and I am good. I have 1.3 Ghz proc and 2 GB of Ram15:02
Picixpistos: I'm running it here on a VPS with 512mb of ram, so you should be just fine.15:02
xpistosand I use it headless so, looks like I have a project on Saturday15:02
=== security is now known as megha
stgrabersmoser, hallyn: hey, got that while testing the fix for bug 1045955 on precise:15:14
uvirtbotLaunchpad bug 1045955 in lxc "lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)" [Medium,Fix released] https://launchpad.net/bugs/104595515:14
stgraber++ ubuntu-cloudimg-query quantal released i386 --format '%{url}\n'15:14
stgraberconfused by argument: quantal15:14
stgraberit looks like the cloudimg query tool doesn't even know what quantal is, so even with the fix in lxc, it's not likely to work15:15
smoserstgraber, apt-get install distro-info15:15
smoserstgraber, for places that i've had to know a name like that, i've hard coded one, but if distro-info is available, i'll use it15:17
smoserand at least currently, cloud-utils is Recommend'ing distro-info15:17
stgrabersmoser: any chance you can SRU that Recommends?15:19
stgraberwin 2615:20
stgraberoops15:20
smoseri'm not opposed to that. but it would/might change package content in a cloud-image (not sure if distro-info is there on precise)15:20
smoserie, cloud-utils is seeded15:20
rbasakCould somebody comment on bug 1081489 please? I'm not sure about the status of sssd, or what to suggest to the reporter. Is an MIR even on the table, and what would that involve?15:21
uvirtbotLaunchpad bug 1081489 in autofs "autofs package is missing the lookup_sss.so module(!); negating autofs-enabled sssd functionality (automount fails)" [Medium,New] https://launchpad.net/bugs/108148915:21
smoserstgraber, i think you could have just done 'q' to that and it would maybe work.15:22
smoserie, single letter arguments 'hklmnopqrstuvwxyz' are then checked to see if they might be a release.15:23
zulyolanda:  https://code.launchpad.net/~zulcss/nova/nova-config/+merge/14714715:28
yolandaok15:28
yolandazul, done15:36
zulyolanda: thanks15:36
=== slank is now known as wedgwood
paco1hello masters!17:35
paco1i would like to compile openldap source with openssl ubuntu package. But when i compile openldap, it doesn't see openssl....how can i do that?17:36
paco1thanks in advance!17:36
sarnoldpaco1: is there a ./configure switch that you need to add to add ssl support?17:37
paco1yes, i do that.17:38
sarnoldpaco1: is it still set during the build? :)17:39
=== railsraider_ is now known as railsraider
paco1i found the right package > libssl-dev17:45
sarnoldpaco1: did you forget it as a build-dep in the package? (sorry for not thinking itsooner..)17:46
=== megha is now known as baba
paco1yes, and i found also "libsasl2-dev" to give --with-cyrus-sasl17:57
=== baba is now known as gia
=== gia is now known as baba
paco1it's perfect. thanks!18:01
sarnold:D18:02
stgraberhallyn: lxc sru uploaded to precise-proposed. Will now poke at quantal18:09
feisar_ok, so if I have mysql-common installed why isn't the mysql client installed (anymore) it should be in /usr/bin right?18:12
sarnoldfeisar_: did you install mysql-client?18:13
feisar_ah, that'll be why then... although I'm sure I used the client before...18:14
feisar_sarnold: thanks, that's installing now18:14
sarnoldwoo :)18:14
feisar_something really odd happened today my webserver can no longer talk to my MySQL server (wordpress just says error connecting to db) and I do not understand why (yet)... i did some updates18:16
sarnoldfeisar_: anything interesting in the logs?18:18
feisar_I am just trying to find where mysql (mariadb) logs it's connections18:19
patdk-wkis mysql even running?18:19
feisar_hmmm... a manual login from the webserver to the db server tells me I'm not allowed to log in but my IP has not changed18:20
zuladam_g: https://code.launchpad.net/~zulcss/cinder/cinder-ftbfs-version/+merge/14720518:41
longdaysI have created a custom upstart job. When starting the job with the service command everything works well19:01
longdaysthe minor problem is that the command does not autocomplete in bash. For example, service networking start, autocompletes the word networking, but with my custom upstart script, "myname" myname does not autocomplete19:02
longdaysanyone know how to fix this annoyance?19:02
=== matsubara is now known as matsubara-afk
paco1integrate the path of your command in the system19:13
sarnoldlongdays: perhaps start reading /usr/share/bash-completion/bash_completion -- there's a lot in there for services handling..19:14
sarnoldlongdays: oh. forget that. look in /etc/bash_completion.d/upstart19:15
longdaysthanks, will look there19:17
JeevesGrrr19:25
JeevesPackage: python-pyclamd19:25
JeevesDepends: python, python-support (>= 0.90.0), clamav-daemon19:25
JeevesWHY!?19:25
JeevesWhy should a python-lib depend on the daemon :(19:25
RoyKperhaps someone slipped19:27
RoyKuse easy-install19:27
Jeeveshttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=64587219:28
uvirtbotDebian bug 645872 in python-pyclamd "python-pyclamd package installs  dependencies no necessaries" [Normal,Open]19:28
JeevesOpen since october 2011 :(19:28
stgraberhallyn: and quantal equivalent taken care of19:31
hallynstgraber: woohoo :)  thanks19:36
hallyni'm hunkering down for a massive qemu update19:36
hallyni'll peek my head out in a few hours :)19:36
stgraberhallyn: unless we messed up bug triaging, those two uploads should close all outstanding sru bugs19:37
ShogootHi fine people. I got a fresh isntall of ubuntu server 12.10. I wan to make it a fileserver as the server has a usb hdd. i read in a guide that the usb hdd woould mount automaticaly in /media, but i cannot find it there... my fdisk -l here: http://pastebin.com/SDDAMXtn20:17
RoyKShogoot: first, I wouldn't use neither non-lts nor a single usb drive for a file server20:18
RoyKsecondly, a server install won't automount anything20:18
Shogootim aware of the non lts and siingle usb hdd. i take the risk, all data is backuped20:19
RoyKoh, and using ntfs for a fileserver won't perform very well20:20
RoyKsince it'll be handled in userspace20:20
RoyKbut of course, you can always add that to /etc/fstab and automount it and share it with samba20:21
Shogootargh. isee its ntfs.20:22
Shogootis it possible to see if the hdd has some data on it from linux even beeing ntfs?20:22
Shogootits suposed to be empty, now im in doubt20:23
RoyKjust mount it20:23
RoyKapt-get install ntfs-3g20:24
RoyK(if that's not installed already)20:24
Shogoot sudo mount /dev/sdb1 /media/newhd20:25
Shogoot like that , right?20:25
RoyKyeah20:25
RoyKif there's no data on it, make another filesystem like ext4 or xfs or something on it20:26
lfreewayhello, does anyone know how to fix byobu disable f-keys under 12.0420:28
kirklandlfreeway: what's the problem?20:28
Shogootsmn@neoguaton:/media/newhd/newhd$ ls -a20:29
Shogoot.  ..20:29
Shogootsmn@neoguaton:/media/newhd/newhd$20:29
lfreewaykirkland: using 12.04 with tmux as backend and Shift + F12 is not working... I googled quite a lot and counld find a resolution. I'm using it without anything else.. Only thing it works is if i Ctrl+a and manually write :source /usr/share/byobu/keybindings/f-keys.tmux.disable20:29
Shogootseems its empty20:29
RoyKShogoot: better unmount it, then and create a good filesystem on that dev20:30
kirklandlfreeway: I can't reproduce on latest upstream ... can you try the latest upstream PPA, "sudo apt-add-repository ppa:byobu/ppa && sudo apt-get update && sudo apt-get install byobu"20:31
Shogootsudo umount sdb1?20:34
feisar_hi, where does mysql log failed login attempts?20:35
maxbnowhere20:35
res22Hi all. I was asking for help earlier with ubuntu server ignoring /etc/group permissions, or seemingly atleast. I have set up groups with users assigned in the file, but sudoer entries that specify the groups permissions are ignored, and users with group read/write permissions to files aren't given these permissions. This has been very annoying to diagnose, any help?20:35
RoyKShogoot: umount it and mkfs -t ext4 ...20:37
RoyKres22: probably a configuration issue - post your configs20:37
res22which ones?20:39
ShogootRoyK, partitioning is done20:40
RoyKres22: ls -la on those files/dirs, "groups" of the user etc20:40
escott_res22, if memory serves sudo follows the first match that it finds. is it possible that there are multiple matches20:40
RoyKShogoot: partitioning or making the filesystem? ;)20:40
ShogootRoyK,  hehe i guess its the making the filesystem20:40
feisar_ah! mysql uses reverse lookups...20:40
RoyKShogoot: then use blkid to get the uuid and dd that to to the fstab20:41
RoyKShogoot: with usb the device name may change, so better use the uuod20:41
RoyKwell, with anything the device name may change, really20:41
Shogootwhat in all heavens is that :)20:42
lfreewaykirkland: brb20:43
RoyKShogoot: what what?20:43
Shogooti have no idea how to use uuid20:43
Shogootoh wait sudo vol_id --uuid /dev/sdb2 ?20:43
RoyKjust run blkid20:44
RoyKor sudo blkid if you're not root20:44
RoyKthen add something like this to your fstab20:44
RoyKUUID=03987de0-d66a-4dc8-922e-83745dffd9d1/bootext2noatime0220:44
RoyKoops20:44
RoyKUUID=03987de0-d66a-4dc8-922e-83745dffd9d1 /boot ext2 noatime 0 220:45
RoyKjust change that to ext420:45
Shogoothttp://pastebin.com/efEhxKFg20:45
RoyKUUID="03987de0-d66a-4dc8-922e-83745dffd9d1" /whereever ext4 noatime,errors=remount-ro 0 220:46
RoyKsomething like that20:46
RoyKperhaps add ,nofail to the options column in case you haven't plugged in the usb drive20:47
RoyKotherwise it'll fail booting20:47
Shogootits plugged in20:47
RoyKwell, if you rebooted the server without it, would you like the box to come up cleanly?20:47
Shogootits been rebooted with the usb hdd pluggged in.20:48
Shogootim a bit unsure on the line i shall add to fstab20:48
RoyKjust saying it might help20:48
RoyKpastebin it20:48
RoyKerm20:49
Shogoothttp://pastebin.com/hqB8KCcZ20:49
RoyKdon't use my UUID20:49
RoyKno20:49
sarnoldwhat if he wants to boot your disk...? :)20:50
Shogootagain... this is my blkid output:  http://pastebin.com/efEhxKFg20:50
RoyKShogoot: more like UUID=81bd9741-f527-4454-a008-68b4d168619d /mountpoint ext4 noatime,errors=remount-ro 0 220:50
lfreewaykirkland: updated to lastest upstream (5.31) via the ppa and still with tmux as backend shift + F12 is not working... I'm doing something wrong?20:51
RoyKsarnold: heh20:51
kirklandlfreeway: what terminal are you using?20:51
lfreewaykirkland: ctrl+a ! gives me "Can't break with single pane"20:52
Shogootok . line added. shal i reboot ?20:52
kirklandlfreeway: this is almost certainly a problem with your terminal20:52
RoyKShogoot: given you have console access, yes20:53
Shogootyes20:53
lfreewaykirkland: the default one20:53
kirklandlfreeway: you're on an Ubuntu desktop, running gnome-terminal?20:53
lfreewaykirkland: no, I'm server20:53
RoyKlfreeway: screen?20:54
lfreewaykirkland: on the desktop with gnome-terminal it's working fine20:54
kirklandlfreeway: okay, so you're on a tty then where its broken?20:55
ShogootRoyK, where im suposed to find the hdd?20:57
RoyKShogoot: where you mounted it?20:58
lfreewaykirkland: don't know, that's the weirdo - both with tmux and screen as backend it's not disabling the f-keys... I also did a apt-get purge before installing the from the PPA20:58
RoyKShogoot: pastebin your fstab again20:58
lfreewayalso I don't have a thing in .buobu20:58
=== kkszysiu_ is now known as kkszysiu
Shogootah.. i see it /mountpoint20:59
kirklandlfreeway: okay, I did reproduce it on a tty20:59
kirklandlfreeway: it seems Ubuntu's tty doesn't handle shift-F* correctly20:59
kirklandlfreeway: and it looks like tmux eats ctrl-a ! to break the current pane21:00
lfreewaykirkland: exactly21:00
kirkland(which is a pickle, I admit)21:00
kirklandlfreeway: can you please file a bug?21:00
kirklandlfreeway: thanks!21:00
lfreewaykirkland: sure21:00
lfreewaykirkland: may I use the occassion to thank you for your work, it really makes working in terminal enviroment much much easier21:01
ShogootRoyK, its mounted where i want and this part is OK! now..... i got to find out how i make that hdd shared on my network21:01
RoyK!samba | Shogoot21:01
ubottuShogoot: Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/12.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.21:01
ShogootRoyK, thanks btw, great help21:01
Shogooti got samba already, i gotto find out of config21:02
RoyKShogoot: btw, don't bother using swat - it's better to do the config manually21:02
RoyKit's not hard21:02
Shogootheeeeelp ;)21:02
RoyKno, just edit smb.conf21:02
RoyKthere's a lot of help in there21:02
RoyKor man smb.conf21:02
* RoyK slaps Shogoot with a small herring21:03
Shogoothttp://fish.dnr.cornell.edu/nyfish/Clupeidae/blueback_herring.jpg21:04
RoyKperhaps a small perch or a roach21:07
RoyKor a northen pike, if I feel evil :D21:08
Shogootha-ha21:09
RoyKShogoot: well, never mind the fish, server running?21:10
Shogootbest fish for slappnig is : http://en.wikipedia.org/wiki/Salmo_trutta_trutta tasty too21:11
Shogootrunning, yes. security= user smb.conf working21:11
RoyKwell, a bit heavy, better stick with something smaller and more spiky like a perca fluviatilis21:12
* mandoguit thinks that something fishy is going on here and those links are red herrings21:13
RoyKmandoguit: heh - esox lucius is a bit fishier ;)21:17
RoyKor perhaps nastier21:18
RoyKdoesn't taste very well either21:18
RoyKbut I guess that's {{oftopic}} somehow21:18
RoyKs/oft/off/21:18
RoyKbah21:19
Shogootsoooo ok...  ive configed and i can actually see the stuff on the hdd... goodie.21:22
Shogootbut where do i find the permitions to add directories from my win7 machine?21:23
Shogootcant see it21:23
escott_Shogoot, win7? win7 is not posix it doesn't have permissions as we understand them21:24
escott_ok this is samba21:25
ShogootRoyK,21:25
Shogootyes escott_ samba is installed21:25
RoyKShogoot,21:25
Shogooti was under the impression samba would fix the win vs linux filesharing thing21:25
RoyKwell, obviously you need to allow the users to write to this place21:26
RoyKif you're using authenticated users, you need a common group or a very wide umask21:26
RoyKotherwise, if the system is closed, you can turn off authentication21:26
RoyKsecurity = user21:27
RoyKaka none21:27
Shogooti got security = user21:27
RoyKthen just chown the whole tree to the samba user21:27
Shogooterrrrrr21:27
Shogootand samba has only one user wich is myself21:28
RoyKsec21:28
Shogootrgr21:28
RoyKsorry21:29
RoyKsecurity = share21:29
RoyKthat'll disable auth21:29
RoyKaka "win 95 security"21:29
RoyKperhaps add "guest only = yes"21:30
RoyKbut don't let anyone near this system unless you want to restrict data21:30
RoyKs/unless/if/21:30
Shogootnot working and i am restarting smbd and nmbd21:31
Shogooti still cant make a directory from my win7 box on the shared hdd21:32
RoyKtried settiing security = share?21:32
RoyKif you don't want free access, use smbpasswd 'username' to set a password21:32
RoyKthe unix password hashes aren't compatible with those windows uses21:33
RoyKif you use security = user, don't use guest only = yes21:34
mandoguitmaking my way through the ubuntu server guide here > remote administration > puppet       any particular good reason to install/implement this software over just using ssh connection and cli commands?   tnks21:34
RoyKpuppet is a large system for mass-administering systems. if you don't understand linux, don't even try21:36
ShogootRoyK, http://pastebin.com/MQPBxFNT21:36
RoyKShogoot: that's just comments21:37
Shogootbah sorry it didnt cut out all the teks21:37
RoyK!pastebinit | Shogoot21:37
ubottuShogoot: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com21:37
mandoguitRoyK:  just a home system setup right now....sounds like it would be overboard for my general purposes then.   thnks21:38
RoyKmandoguit: no reason for puppet for a home system unless you're trying to learn it21:38
mandoguitRoyk:   maybe later on then... again tnks. :)21:39
lfreewayexit21:40
RoyKmandoguit: learn the system, use the commandline, edit the files and you'll learn how to work things out21:40
Shogootpatebininit coolest thing i must say. http://paste.ubuntu.com/1622288/21:42
Shogootlooka t line 28021:42
Shogootmost of the juicy stuff is tehre21:42
RoyKso, can you connect to the box?21:43
* RoyK needs to sleep soon21:45
Shogootyes21:45
Shogooti can se it on  explorer.exe too21:46
RoyKwell, then auth isn't a problem21:46
Shogootjust cant make a directory or file on it21:46
RoyKtry to chmod 777 that dir21:46
Shogootwhat is taht with makein smb user chmod21:46
RoyKthen create a dir21:47
RoyKthen see what user created it21:47
Shogootfixt21:47
Shogoothow do isee who made it?21:47
RoyKyou can't if you don't use autentication21:48
RoyKsecurity = share == no auth21:48
Shogootim going to change that to  = user21:48
RoyKthen you'll have to use smbpasswd to set passwords, or reconfigure samba to use pam auth21:49
RoyKand better get some cheap drives for a small raid while you're at it21:49
RoyKa single drive will fill up with all sorts of crap and won't be backed up until it dies21:50
Shogootall data has backup21:50
Shogoothow do i see who made the directory?21:50
RoyKat which time people scream in a solitary havoc21:50
Shogooti changed security to user again21:50
RoyKrestart samba21:50
RoyKnot reload21:50
RoyKand log in21:51
RoyKand your username will be on the files21:51
Shogootrgr21:51
RoyKgrrbprpprpbb21:51
Shogootwho is the local boot here in channel=?21:51
Shogoot!samba21:51
ubottuSamba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/12.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.21:51
Shogoot!ubottu sleep21:52
Shogootcant remember these commands21:52
Shogooti guess ill need voice anyways21:52
RoyKwell, my time to /sleep ;)21:52
RoyKShogoot: just rtfm21:52
RoyKit's not that hard21:52
ShogootRoyK, thank again.21:53
Shogootim gonna set my hdd to the test now ;)21:53
RoyKsmartctl -t long is a good start21:53
RoyKor perhaps forget about that and just get a few cheap drives to setup in a raid21:54
RoyKShogoot: I've been working with storage for 10+ years, and what I've learned is that all drives fail21:55
Shogoot:)21:56
RoyKperhaps tomorrow, perhaps in five years, but you never know21:56
RoyKmost drives fail the first 3 months, if they survive that, they can live a long time21:56
RoyKthat is, not "most drive fails the first three months", but "most drives that fail are either < 3 months or > 3 years"21:57
Shogootive got this hdd for more then 521:57
Shogoot:S21:57
RoyKwhat does smartctl say about it?21:57
Shogootbut im not worried its gonna be a clone of an newer hdd21:57
Shogoothavent run it21:58
Shogootsec21:58
RoyKstart with smartctl -H21:58
RoyKthen smartctl -t short21:58
RoyKusb drives don't always support checking, though21:59
Shogooterrr22:01
Shogoothttp://pastebin.com/FGgAinGS22:01
RoyKyes22:02
RoyKyou have to give it the device name22:02
RoyKobviously ;)22:02
RoyK /dev/sdb or something22:02
RoyK!man | Shogoot22:02
ubottuShogoot: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the  command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/22:02
Shogootsmn@neoguaton:/dev$ smartctl -H /dev/sdb122:03
Shogootsmartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0-17-generic] (local build)22:03
ShogootCopyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net22:03
ShogootSmartctl open device: /dev/sdb1 failed: Permission denied22:03
Shogootsmn@neoguaton:/dev$22:03
Shogootwoops22:03
RoyK!pastebin | Shogoot22:04
ubottuShogoot: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.22:04
Shogooti know i know :P22:04
Shogoothttp://pastebin.com/Dw5A4yDf22:04
RoyKyou need to be root to run that - put sudo in front22:04
ShogootSMART Health Status: OK22:05
=== ErtanERBEK is now known as Guest57736
RoyKwell, good22:06
RoyKstill, it'll eventually die22:06
Shogoothttp://paste.ubuntu.com/1622345/22:06
RoyKso beware of hardware failure22:06
RoyKtypical usb thing22:07
Shogootrgr22:07
RoyKbetter get a cheap sata card22:07
RoyKinstall internally22:07
RoyKadd a mirror22:07
RoyKdo it right22:07
RoyKthat usb drive will eventually die22:07
RoyKget two smallish drives, create a raid-5 on them22:07
RoyKcopy the data over22:08
RoyKadd another if you get out of space22:08
RoyKgrow it to raid-6 if you get a lot of drives22:08
RoyKremove the smaller drives during time, when all drives are at the same size, the raid will grow22:09
RoyKor you can grow it to all what's left22:09
RoyKso, Shogoot, learn linux, learn md raid, preferably - start off with a vm where you can play around a bit with it22:09
RoyKthat way you can avoid the errors most newbies do22:10
RoyKyour single drive server will probably work for a while, but that lone drive will eventually die22:10
RoyKso better get a raid running22:10
RoyKjust my 2c22:11
Shogooti will :)22:11
RoyKnite22:11
Shogootgood night22:11
Shogootif off too. bye bye people and boots22:13
=== e-diablo_ is now known as Ertan
sweetteaI asked before, what is the equivalent of chkconfig --list on unbutu-server?22:27
chrisd___Hello. I have a nice PXE setup for automatically deploying servers. Everything is over gigabit LAN with local mirrors. However, even a minimal installation seems to be slow -- mayb 30-60 minutes. Anyone have thoughts on how to speed this up or better rapid delpoy solutions?22:28
Picisweettea: service --status-all   ?22:29
chrisd___http://www.ubuntu.com/business/server mentions that there are great new rapid deployment tools, but fails to mention what they are.22:29
Picichrisd___: I believe that is referring to juju, which is the cloud/maas deployment thing.22:31
sweetteaPici: I want to get a list of all the services running that I might want to turn off22:32
sweettealike networkmanager22:32
chrisd___Pici: It mentioned that there are a bunch of things for deployment, and then mentioned JuJu as a secondary thing for cloud deployment.22:36
sarnoldchrisd___: perhaps maas is what you're after?22:37
Picihttp://www.ubuntu.com/cloud/orchestration/deployment22:37
Picihttp://maas.ubuntu.com/ too22:37
sarnoldjuju is only going to make sense on a pile of machines if yo'uve got maas on them, or install openstack on them manually22:37
sarnoldjuju won't get you to installed machines more quickly22:38
chrisd___Yeah, those things just seem like the new Ubuntu-y way of doing Cobbler or Puppet or such. Which isn't a bad thing, but not going to help speed up the Ubuntu Installer itelf.  I'm seriously an hour deep on this automated preseed install for a minimal KVM server. I can do the same in RHEL in 10 minutes.22:39
chrisd___Just trying to figure out if I'm doing something wrong/there's a faster way to do this, or if the installer and preseed are just inherently slow?22:40
sarnoldchrisd___: I've never done installs over the network, but on a local vm, it only takes a few minutes :/22:41
sweetteaPici: sysv-rc-conf --list22:41
sweetteathat sound about right?22:41
sarnoldsweettea: ps auxw  would be more useful22:41
sweetteadoes anyone know how to stress test a ton of memory thats not using memtest22:41
sweetteasarnold: thats what I have been using :)22:41
chrisd___sarnold: Are you using preseed files to automate the local vm install, or is that with doing things manually it's still faster?22:42
chrisd___I'm trying to figure out the bottleneck here, but it just seems like the Ubuntu Installer itself. The slow parts are installing all the packages and what not.22:43
sarnoldsweettea: compiling qt4-x11 is pretty stressful..22:43
sarnoldsweettea: start as mnay of those as it takes to push you into swap.. :)22:43
sarnoldchrisd___: preseed to automate the local vm install22:45
sarnoldchrisd___: (I don't actually know how the tool does it, but preseeding the isos is one of the steps :)22:45
chrisd___sarnold: Cool, I'll have to try that and check the speed difference.22:46
sarnoldchrisd___: there's also the FAI tool, in universe, that might do the job. At least they claim "minutes" too..22:47
sarnoldchrisd___: but .. I've got to wonder if it is something more basic, like wrong NIC speeds, or not writing to the disk correctly, or .. meh. it really shouldn't take long.22:48
chrisd___sarnold: I've seen it with multiple systems in different network segments.22:56
sarnoldchrisd___: hrm. :/ if you don't come up with a good reason soon, perhaps filing a bug report or askubuntu.com question would be the way to go :/23:00
=== kentb is now known as kentb-out
sweetteasarnold: damn I think I have bad memory23:18
sweetteaany experience setting up mcelog? I need to find out whih dimm is bad :(23:18
sarnoldsweettea: sudo apt-get install mcelog23:19
sarnoldsweettea: then watch file /var/log/mcelog23:20
sarnoldsweettea: compiling qt4-x11 is how I discovered I had a bad motherboard or cpu :(23:20
sarnold(and, like you, memtest86 never showed any problems)23:20
RoyKdoes it log to mcelog by default? I thought syslog was still default23:21
sarnoldRoyK: /var/log/mcelog worked for me on 12.04 lts..23:22
sweetteasarnold: do I have to do anything aftr I install mcelog?23:22
sarnoldnewer or older might be different :) but it had its own files and put very little effort into setting it up.23:22
RoyKok, last I had issues was with 10.0423:22
sweettealike run it?23:22
sweetteai ran memtestr and the machine froze23:22
sweetteamemtester23:22
sarnoldsweettea: iirc, it should start automatically...23:23
RoyKsweettea: memtest86 or the one you have in the boot menu should work23:23
sarnoldsweettea: if not, probably "service mcelog start" would be sufficient23:23
sarnoldRoyK: that doesn't spot everything though :(23:23
RoyKneither does mcelog23:23
sweetteai heard memtest sucks23:24
sweetteayea23:24
sarnoldRoyK: I had a clean bill of health from memtest86, but mcelog routinely would log cache coherency problems, and once in a while, the machine would lock up -- when an irrecoverable fault would happen.23:24
RoyKsarnold: but if he had a hang during memtest, well23:24
sarnoldRoyK: true enough, true enough...23:24
sarnoldRoyK: heh, that weas memtestr, I assumed that was a linux program...23:24
sarnoldRoyK: it won't be able to help find the dimm to replac,e if any23:24
sarnoldsweettea: oh, I asked a buddy, apprently the "banks" reported via mcelog have nothing to do with the physical banks of memory.23:25
RoyKsweettea: desktop system or server?23:25
sweetteaserver23:25
sweetteaecc memory23:25
sweetteaamd AD23:25
RoyKthen call support23:25
sweetteahuh23:25
sweetteai built it myself23:25
sweetteabudget23:25
RoyKoh23:25
RoyKok23:25
sarnoldsweettea: ah, /etc/init.d/mcelog start   :)23:25
RoyKenable mcelog by default, as sarnold suggests23:26
sweetteamcelog is running.23:26
sarnoldyay23:26
sarnoldgood luck :)23:26
sweetteaits running23:26
sweetteamcelog file is empty23:26
sweetteadmesg has stack errors23:27
RoyKsweettea: was it running last time things crashed?23:27
RoyKmemory errors can block i/o23:27
RoyKso better use a network console or a serial one if you're an old timer23:27
sarnold.. I don't think it'll tell you anything about the past. it has to be running to log anything.23:27
sweetteaohhh23:27
sweetteaso it cant write to disk?23:27
sweetteaerrors?23:27
sweetteablarg23:27
sarnoldoften not23:27
sarnoldand when I tried netconsole, I got nearly nothing :( it wasn't worth the hassle. :(23:28
RoyKserial console always work23:28
RoyKnetconsole should too23:28
sweetteaI dont have that hooked up, I already racked the crap23:28
sarnoldI'd have more faith in serial console..23:28
sweetteaI might as well just buy memory and replace23:28
sarnoldsweettea: iff it is memory23:29
sweetteaim pretty sure its not hd23:29
sweetteaI was writing dd overnight23:29
RoyKsarnold: tried to do a good old memtest86?23:29
sarnoldit could be chip :/23:29
sweetteato the hd23:29
sarnoldRoyK: yes, it never found anything. I assumed it was because the faults weren't on the boot cpu.23:29
sweetteaIve never had a bad chip in my entire life23:29
sarnold(well, by 'never', I mean "not in 30-something hours..)23:29
sweetteaif it is23:29
sweetteaill be sad23:30
RoyKsarnold: memtest86 tests everyhing23:30
sweetteamemtest wont tell me which dimm is bad23:30
sarnoldsweettea: if it is just a bad dimm, it ought to ..23:30
RoyKit'll tell you the address23:30
sweetteabut I guess it would tell me if its indeed mem vs cpu23:30
sarnoldsweettea: or, at least, I've had success with taking bad addresses from memtest86 and blocking them out with mem=....23:30
RoyKsweettea: the address is absolute in a small system23:31
sweetteaits 64G of ram23:31
RoyKnot big23:31
sweetteawill take at least 1 day right23:31
RoyKsomething like that, yes23:31
RoyKfor a full run23:31
RoyKthe memory errors usually show up before stage 3-4, though23:32
RoyKearly random writes etc23:32
sweetteaokay going to the DC :(23:32
sarnoldgood luck sweettea :)23:32
sweetteathanks for your time guys23:32
dingoi want to use the command line only to listen to radio and songza.com problem is these are flash and java based. i know i can use mplayer with an ip to steam, but i am having problems finding the ips i want. if songza.com streams to a gui browser doesnt there have to be an ip somewhere to get?23:45

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