/srv/irclogs.ubuntu.com/2014/01/15/#ubuntu-server.txt

keithzgThis is a bit of a shot in the dark, but does anyone know of a decent way to wait for, and be notified of, specific events on a serial port? Say for instance when you get a RING?00:14
holsteinscript an email?00:15
hitsujiTMOkeithzg: is anything using that serial port?00:16
sarnoldkeithzg: select() on the filedescriptor, and then read from the port when it's ready?00:16
sarnold(noting that I have no idea if select() works on serial devices... I suspect it does..)00:16
keithzghitsujiTMO: Yeah, things are using the serial port, my officemate is trying to catch specific events so he can try and debug what's being passed between two things.00:18
keithzgsarnold: Aha, yeah that sounds like it might work. Although I think my officemate is leery of having to actually write something to do this with, was hoping for something prefabbed, heh.00:20
hitsujiTMOkeithzg: i'm not an expert on this but afaik anything accessing a serial interface will lock the interface00:20
hitsujiTMOkeithzg: personally i'd look into some sort of man in the middle attack or a splitter cable00:24
paoGood Day Everyone, I have a problem with an old ibm eserver xseries 225 using ubuntu server 12.04 at first boot it will only show blank screen after grub and when I hard reset it it will show grub and boot ubuntu and fallback to busybox, when I exit busybox it will load the server and run normally.00:43
hitsujiTMOpao: edit the grub entry and remove "quiet splash" from the linux boot line. his should at least give you a move verbose output so you can see the problem00:46
paook thanks hitsujiTMO00:52
paoAnyone here using old ibm eserver xseries 225 with 12.04?02:34
=== claytonk is now known as ninjix
=== ninjix is now known as claytonk
paoI have a problem on ioc1 after Attached SCSI disk and it will fallback to BusyBox? Using IBM eServer xseries 225 but after exiting busy box the server will load normally?02:46
pao[   19.072506] scsi target2:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS HMCS (02:49
pao10:32 -!- Irssi: #ubuntu-server: Total of 357 nicks [0 ops, 0 halfops, 0        │6.25 ns, offset 63)02:49
pao          voices, 357 normal]                                                   │[   22.576563] sd 2:0:0:0: Attached scsi generic sg1 type 002:49
pao10:32 -!- Channel #ubuntu-server created Sun Nov 26 14:43:20 2006               │[   22.577275] sd 2:0:0:0: [sda] 286749488 512-byte logical blocks: (146 GB/13602:49
pao10:33 -!- renebarbosa [~rene@unaffiliated/renebarbosa] has joined #ubuntu-server│ GiB)02:49
pao10:34 -!- Irssi: Join to #ubuntu-server was synced in 77 secs                   │[   22.578455] sd 2:0:0:0: [sda] Write Protect is off02:49
pao10:34 -!- claytonk [~claytonk_@pool-108-6-229-70.nycmny.fios.verizon.net] has   │[   22.578511] sd 2:0:0:0: [sda] Mode Sense: ab 00 10 08 joined #ubuntu-server                                                 │[   22.580409] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, sup02:49
pao10:34 < pao> Anyone here using old ibm eserver xseries 225 with 12.04?          │ports DPO and FUA02:50
pao10:36 -!- Guest7381 [~peter@p54820A53.dip0.t-ipconnect.de] has quit [Ping       │[   22.597755]  sda: sda1 sda2 < sda5 > timeout: 252 seconds]                                                 │[   22.602140] sd 2:0:0:0: [sda] Attached SCSI disk02:50
pao10:39 -!- hitsujiTMO [~hitsujitm@unaffiliated/hitsujitmo] has quit [Quit:       │[   33.214960] mptbase: ioc1: ERROR - Wait IOC_READY state (0x20000000) timeout Leaving]                                                              │(15)!02:50
paoopps sorry about the flood putty mouse click paste02:50
pao│[   19.072506] scsi target2:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS HMCS ( │6.25 ns, offset 63)02:52
pao                                                                                │[   22.576563] sd 2:0:0:0: Attached scsi generic sg1 type 002:52
pao                                                                                │[   22.577275] sd 2:0:0:0: [sda] 286749488 512-byte logical blocks: (146 GB/13602:52
pao                                                                                │ GiB)02:52
holstein!paste | pao02:52
ubottupao: 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.02:52
pao                                                                                │[   22.578455] sd 2:0:0:0: [sda] Write Protect is off02:52
pao                                                                                │[   22.578511] sd 2:0:0:0: [sda] Mode Sense: ab 00 10 0802:52
sarnoldpao: please, pastebins..02:52
pao                                                                                │[   22.580409] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, sup02:52
pao                                                                                │ports DPO and FUA02:52
pao                                                                                │[   22.597755]  sda: sda1 sda2 < sda5 >02:52
pao                                                                                │[   22.602140] sd 2:0:0:0: [sda] Attached SCSI disk02:52
pao                                                                                │[   33.214960] mptbase: ioc1: ERROR - Wait IOC_READY state (0x20000000) timeout02:52
pao                                                                                │(15)!02:52
TheLordOfTime!pastebin | pao02:55
ubottupao: 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.02:55
TheLordOfTimecan someone help me translate iptables ICMP rules into ip6tables ICMP rules?02:55
* TheLordOfTime is trying to duplicate his ruleset that he has in iptables so it works in ip6tables as well02:56
TheLordOfTimethese are the icmp rules i have for v4: http://paste.ubuntu.com/6753999/02:56
TheLordOfTimeif there's any i should have but am missing (for a standard desktop system firewall) please let me know02:57
Patrickdkhmm, unlike ipv4, there are a LOT MORE icmp6 types03:05
paohere my some of my dsmeg output when it falls to busybox http://paste.ubuntu.com/6754041/03:09
TheLordOfTimePatrickdk: so basically, i should just allow all ICMPv6 types?03:11
Patrickdkyou could03:12
paomy dmesg all the fallback will occur at line 307 http://paste.ubuntu.com/6754046/ using IBM eServer xseries 225 maybe scsi drive problem? or something else?03:12
Patrickdkwant to see mine?03:13
TheLordOfTimePatrickdk: if you want to share :)03:13
PatrickdkI'll warn you it's short and floppy03:13
TheLordOfTimeat this point i just need the icmp ruleset03:13
TheLordOfTimethat's better than having none :P03:13
Patrickdkisn't there a *wide* pastebin somewhere?03:14
Patrickdkhttp://pastebin.ca/254065803:15
TheLordOfTimethat's a lot of rules o.O03:17
Patrickdknot really03:17
Patrickdkip6tables -L -nv | wc -l == 1228 lines03:18
TheLordOfTime:P03:18
Patrickdkand that is on a *simple* firewall03:18
ruben231hi guys ia hve install apache2 on my ubutnu server but i accidentalyl dleted the  default index.html adn index.php <-----------------how do i resolve this gusy somehow03:19
Patrickdkah, the more complex one doesn't make it much more, only 1445 lines03:19
Patrickdkit's just the basic 800 or so, that makes it a lot03:19
TheLordOfTimemhm03:19
TheLordOfTimethe ICMP is what i'm really kinda worried about, because this system has pretty much every other port already blocked with a REJECT rule at the end of the INPUT table03:20
Patrickdkit's so much easier if you make it it's own chain03:21
PatrickdkAllowedICMP6 :)03:21
TheLordOfTimePatrickdk: indeed03:46
pmatulis_ruben231: download those files again03:47
=== _monokrome is now known as monokrome
MarGulWhen I try to upload a file I get the Error code 6 (No temporary folder). So I went into php.ini and changed my upload_tmp_dir to a dir that exists and I also changed permissions to 777 on it. Restarted php and phpinfo() has seen my changes. Still when I try and upload a file I get Error message 6. Any other things I can try?04:26
CappyTHi everyone, I was looking for a good email ecosystem to install on ubuntu, like iRedMail (which use amavis)... anyone know one?10:29
hXmhi, does not exist an official package for use google drive?11:14
ikoniaask google11:16
cfhowletthXm, not for linux/ubuntu    ask #google11:16
hXmbut in google I saw there is a community version called grive but not in official repository11:17
cfhowletthXm, and what does that tell you?11:17
cfhowletthXm, nevermind; rhetorical.  short answer; google promised official client.  still waiting on that.11:17
hXmhow trustable that package is, but I think is not so popular, so I will ask @google11:17
cfhowletthXm, if it didn't come *from* google they likely won't support it.11:18
hXmthanks for your respond, cfhowlett  included the question11:18
hXmyes11:18
sander^workHow do I mount a crypted ubuntu root partition?13:15
yolandajamespage: https://code.launchpad.net/~yolanda.robla/charms/precise/glance/ceph_alternatives/+merge/20177113:15
hitsujiTMOsander^work: encrypted with what? luks?13:16
sander^workhitsujiTMO, It's the default ubuntu way of encrypting root partition.13:16
Patrickdkdefault ways change13:17
hitsujiTMOsander^work: http://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line13:17
hitsujiTMOsander^work: thats for luks, ubuntus default13:18
sander^workPatrickdk, it's in the latest ubuntu 13.1013:18
Patrickdkyes, but you didn't specify a version, so how would we know13:19
sander^workUnderstand.13:19
sander^workHow do I figure out the encryption string to use for decryption? I suppose it's stored somewhere encrypted with the root password?13:22
Patrickdkno, that is not possible13:22
Patrickdkwhen you encrypted it, you would have had to memorized it13:23
cfhowlettsander^work, if you could figure out the encryption string that would rather defeat the purpose, no?13:23
hitsujiTMOsander^work: you find it out by discovering the cure to amnesia13:24
=== huttan_ is now known as huttan
sander^workI think I didnt write down the encryption string when I installed the os. But it promted me that I also could use the root password some way. But maybe i've misunderstood.13:25
cfhowlettsander^work, you did indeed.13:26
sander^workcfhowlett, hitsujiTMO Patrickdk: How does the os then decrypts it?13:26
Patrickdkyou type in the decryption password13:26
cfhowlett!encryption13:26
ubottuFor information on setting up encrypted private directories (8.10+) see https://help.ubuntu.com/community/EncryptedPrivateDirectory13:26
Patrickdkwrong factoid13:27
sander^workI don't when I boot the os.13:27
Patrickdkthen you don't have an encrypted root13:27
hitsujiTMOsander^work: you either type in the password, or insert the usb containing the key depending on how its set up. by default its a password13:27
sander^workI crossed off for encrypted disk when I installed the os. I probably only have an encrypted home dir then?13:30
Patrickdksounds like it13:30
sander^workHow do I decrypt that then?13:30
sander^workSame way?13:30
Patrickdkubottu just posted the url13:31
ubottuPatrickdk: I am only a bot, please don't think I'm intelligent :)13:31
sander^workOk, thanks!13:31
hitsujiTMOsander^work: look at the recover section https://help.ubuntu.com/community/EncryptedPrivateDirectory13:31
zuljamespage:  https://code.launchpad.net/~zulcss/keystone/ftbfs-jan15/+merge/20177413:39
jamespagezul, +113:48
zuljamespage:  thanks13:48
zuljamespage:  so neutron is still failing?14:01
jamespagezul, yes14:20
=== TheLordOfTime is now known as teward
zuljamespage: i have a fix for nova for the issues from yesterday15:31
zuljamespage:  ill fix up neutron as well next15:33
hallynsarnold: hi, could I impose on you for a review of lp:~serge-hallyn/+junk/cgmanager?  (will be trying to get it into the archive - and not long after into main - soon)15:38
rharperrbasak: uvt-simplestreams-libvirt sync release=lucid arch=amd64  doesn't do anything; though  sstream-query http://cloud-images.ubuntu.com/releases/ release=lucid arch=amd64 returns lots of images.15:39
strixUKafternoon all.  i have a problem with / on an md (raid1) + lvm volume on a fresh install of server 13.10.  i've traced things as far as udev, but i have no idea how udev works or where to look next16:22
strixUKthe specific problem is that lvm says it can't map the root volume (possibly because the raid array isn't yet ready), so i get dumped to an initramfs shell.  the box boots okay after 'vgchange -ay' and ^D.16:23
strixUKcan anybody help diagnose udev, or recommend a channel that might be able to?16:24
claytonkInterested to know how others are managing vmware-tools on their server fleets16:48
claytonkThe vmware package repos don't keep up with the latest kernel releases16:48
claytonkcould write a script that updates from the ISO but this seems clunky16:49
hitsujiTMOclaytonk: you reffering to the kernel modules within vmware-tools?17:02
claytonkyes17:02
ikoniaclaytonk: they normally either a.) use a supported long term distro that doens't change kenrel version b.) have a central managment server thats pushes out the vmware install17:03
ikoniaclaytonk: what version of linux are you using ?17:03
claytonktrying out open-vm-tools17:03
claytonkwe're running 12.0.4.4 LTS17:04
hitsujiTMOI install vmware tools alright, but generally go without those specific modules. They don't provide anything I need. They should build with kernel 3.2 if you need them17:04
jrwrenthat is 12.04.417:04
claytonkyup17:04
ikoniaclaytonk: with the LTS standard kernel or the enablement stack ?17:04
zuljamespage:  https://code.launchpad.net/~zulcss/nova/ftbfs-jan14/+merge/20160017:05
claytonkenablement stack17:05
ikoniaso that's why it's causing you a problem then17:05
ikoniaas it's jumping to bleeding edge kernels, when vmware tools targets long term / stable distros17:06
claytonkikonia: reading up on the enablement stack now17:10
claytonkopen-vm-tools package seems to be meeting my needs17:13
claytonkother than possible VMware support issues, any known gotchas with open-vm-tools?17:13
plmHi all17:42
plmpeople, anyone can help me with to compile libsimplelog?17:42
plmI'm installing libsimplelog and I have this error "make: *** [clean] Error 2" The complete error is here http://dpaste.com/1553061/ any idea?17:42
hitsujiTMOplm are you missing the dh-autoreconf package?17:45
plmhitsujiTMO: I tried with autoreconf -i and works =D17:46
plmhitsujiTMO: thanks17:46
plmhitsujiTMO: strange, I configure, make and make install and after try show "tcp-intercept: error while loading shared libraries: libsimplelog.so.1: cannot open shared object file: No such file or directory" Do you know why?17:48
hitsujiTMOplm: which command exactly is giving that error?17:49
plmhitsujiTMO: tcp-intercept... ohh works, Was miss net-tools =D17:50
=== JanC_ is now known as JanC
zulroaksoax: can you do me a bzr review for me in a couple of minutes18:23
roaksoaxzul: yes sir!18:27
roaksoax:P18:27
zulroaksoax:  still buidling locally18:27
roaksoaxzul: I I captian :P18:31
zuljamespage:  still around?18:41
zuljamespage:  http://pastebin.ubuntu.com/6757676/18:41
zulroaksoax:  https://code.launchpad.net/~zulcss/neutron/ftbfs-jan15/+merge/20182618:48
jamespagezul, nvp->nsx I suspect19:25
zuljamespage: https://code.launchpad.net/~zulcss/neutron/ftbfs-jan15/+merge/20182619:28
jamespagezul, +119:29
zuljamespage:  thanks19:29
zuljamespage:  neutron needed the same sqlachemy fix19:31
jamespagezul, I guessed it might19:31
nwilson5if I wanted to run rsync regularly (i.e. every minute) over a directory with thousands of files or hundreds of thousands of files, many of which likely would not have changed, is that going to start taking too long/being too much work for the server. I could make a "smarter" backup strategy over the directory keeping track specifically of what's changed19:56
bekksDoing so will mess up the rsync sessions.19:58
bekksYou dont want to run rsync that often.19:58
sarnoldnwilson5: yeah you won't like the results of rsyncing every minute; you'd have to go to some effort to only run one rsync at a time, since it'll probably take far longer than a minute to stat all the files ..19:58
nwilson5ok assumed as much, was thinking of keeping track of all files appended to the directory and have a 'smarter' script that just backs those up.19:59
sarnoldnwilson5: you could use incron to monitor a directory and discover new files and modified files, that'd be less painful...20:00
sarnoldsee e.g. http://inotify.aiken.cz/?section=incron&page=doc&lang=en20:00
Free99hey everyone. I'm trying to write a script that will email on a RAID error, problem is the mail sender is too simple (ssmtp) to send to multiple people simultaneously (or is it?)20:28
Free99test emails to one user works fine, but the docs say /etc/aliases are not supported... really don't want a full MTA20:29
andolFree99: Why wouldn't you want to use a full MTA? Unless we are talking an embedded system I really don't see the memory footprint being of much significance.20:33
Free99it's not the memory so much as that it's a whole new system to learn... ssmtp is great for when I'm the only person who needs scripts to mail notifications, plus no suid voodoo20:35
andolFree99: The default apt-get postfix install provides a few set of fairly straightforward default. As long as you make sure it only ends up listening on localhost there isn't really that much extra which can go wrong.20:36
Free99(shrug) andol if it comes down to it, I guess I'll use it, but damn if I'd rather not.20:36
Free99andol, so would I need to setup an MX record, or could I just have it send using smtp through my company mail server?20:37
andolFree99: A MX record only matters if you want to recieve e-mail, which I would assume isn't the plan?20:38
Free99oh, right.20:38
Free99nope, just send status of cron jobs and such20:38
Free99still would rather through the company server though20:39
andolFree99: Then just have postfix use the company server as a relay. There is a debconf option for that during the apt-get install.20:40
Free99hmm... I'm writing documentation on how to do all this, soup-to-nuts. How would I set the debconf non-interactively?20:41
hXmi install dropbox on ubuntu server and install the daemon using dropbox start -i, it installs something and when I run dropbox it says the daemon is not installed, is an infinite loop20:43
hXmwhat could i do20:43
paco1bonjour à tous. J'aimerai limiter l'usage du proc par slapd, parce que ca monte à 200%. J'ai tester "* - cpu 90" dans /etc/security/limits.conf, mais visiblement cela ne marche pas.21:10
Pici!fr21:10
ubottuNous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.21:10
paco1ah oups, j'ai ouvert le canal -fr juste a coté...désolé!21:12
paco1hello! i need help to limit the usage of the cpu. I tryed this "* - cpu 90" in "/etc/security/limits.conf", but it doesn't work because my cpus follow to have 200%21:14
=== unreal_ is now known as unreal
genii!info cpulimit21:35
ubottucpulimit (source: cpulimit): tool for limiting the CPU usage of a process. In component universe, is optional. Version 1.9-2 (saucy), package size 14 kB, installed size 61 kB21:35
sarnoldneat, thanks genii :)21:36
paco1thanks genii22:43
paco1it works very fine!22:43
geniipaco1: Yer welcome :)23:07
paco1genii: yesterday i answer how can i avoid the (Too many Open Files) on my ldap servers. i tried "* - nofile 10000" in /etc/security/limits.conf but it doesn't work. Always, ulimit -n give me 1024.23:14
sarnoldpaco1: how does your ldap server get started? you might need to throw in a ulimit -n 10000 into an initscript or upstart configuration file23:17
=== robher_ is now known as robher
=== broder_ is now known as broder
sarnoldpaco1: the PAM limits are only applied if a PAM module is called before starting the daemon..23:17
paco1sarnold: arghhh23:25
paco1ok23:25
paco1i'll integrate it in the initscript23:26
paco1thanks!23:26
=== stgraber_ is now known as stgraber
sarnoldpaco1: oh yes; check to make sure your ldap server doesn't use select(). if it does use select() you'll be in a world of hurt if it goes beyond 1024 file descriptors.23:27
sarnoldpaco1: poll() and epoll() are fine though.23:27
paco1sarnold: where can i check it? in the initscript?23:28
=== semiosis_ is now known as semiosis
sarnoldpaco1: I think most likely to work is objdump -T `which ldapd` | grep select23:31
sarnoldpaco1: though reading the source would also work23:31
=== soahccc_ is now known as soahccc
paco1sarnold: but i need to activate the debug mode on the slapd process before to run this comand, right?23:38
sarnoldpaco1: no, just run it, it ought to work23:40
=== lfaraone_ is now known as lfaraone
paco1it search a.out file "objdump: 'a.out': No such file"23:41
sarnoldpaco1: ah sorry, I dont know the name of the ldapd -- replace `which ldapd` with the actual path the ldap daemon you're using23:42
paco1ah no, me, excuse me, i tried it but: "objdump: 'slapd': No such file"23:43
sarnoldpaco1: would that be in /usr/bin or /usr/sbin/ or .. ? be sure to use the right path23:43
paco1/ur/local/ldap/libexec/, and it is in /etc/ld.so.conf.d/ldap.conf23:45

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