keithzg | This 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 |
---|---|---|
holstein | script an email? | 00:15 |
hitsujiTMO | keithzg: is anything using that serial port? | 00:16 |
sarnold | keithzg: 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 |
keithzg | hitsujiTMO: 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 |
keithzg | sarnold: 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 |
hitsujiTMO | keithzg: i'm not an expert on this but afaik anything accessing a serial interface will lock the interface | 00:20 |
hitsujiTMO | keithzg: personally i'd look into some sort of man in the middle attack or a splitter cable | 00:24 |
pao | Good 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 |
hitsujiTMO | pao: 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 problem | 00:46 |
pao | ok thanks hitsujiTMO | 00:52 |
pao | Anyone here using old ibm eserver xseries 225 with 12.04? | 02:34 |
=== claytonk is now known as ninjix | ||
=== ninjix is now known as claytonk | ||
pao | I 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 |
pao | 10: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 0 | 02:49 |
pao | 10: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/136 | 02:49 |
pao | 10:33 -!- renebarbosa [~rene@unaffiliated/renebarbosa] has joined #ubuntu-server│ GiB) | 02:49 |
pao | 10:34 -!- Irssi: Join to #ubuntu-server was synced in 77 secs │[ 22.578455] sd 2:0:0:0: [sda] Write Protect is off | 02:49 |
pao | 10: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, sup | 02:49 |
pao | 10:34 < pao> Anyone here using old ibm eserver xseries 225 with 12.04? │ports DPO and FUA | 02:50 |
pao | 10: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 disk | 02:50 |
pao | 10:39 -!- hitsujiTMO [~hitsujitm@unaffiliated/hitsujitmo] has quit [Quit: │[ 33.214960] mptbase: ioc1: ERROR - Wait IOC_READY state (0x20000000) timeout Leaving] │(15)! | 02:50 |
pao | opps sorry about the flood putty mouse click paste | 02: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 0 | 02:52 |
pao | │[ 22.577275] sd 2:0:0:0: [sda] 286749488 512-byte logical blocks: (146 GB/136 | 02:52 |
pao | │ GiB) | 02:52 |
holstein | !paste | pao | 02:52 |
ubottu | pao: 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 off | 02:52 |
pao | │[ 22.578511] sd 2:0:0:0: [sda] Mode Sense: ab 00 10 08 | 02:52 |
sarnold | pao: please, pastebins.. | 02:52 |
pao | │[ 22.580409] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, sup | 02:52 |
pao | │ports DPO and FUA | 02:52 |
pao | │[ 22.597755] sda: sda1 sda2 < sda5 > | 02:52 |
pao | │[ 22.602140] sd 2:0:0:0: [sda] Attached SCSI disk | 02:52 |
pao | │[ 33.214960] mptbase: ioc1: ERROR - Wait IOC_READY state (0x20000000) timeout | 02:52 |
pao | │(15)! | 02:52 |
TheLordOfTime | !pastebin | pao | 02:55 |
ubottu | pao: 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 |
TheLordOfTime | can 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 well | 02:56 | |
TheLordOfTime | these are the icmp rules i have for v4: http://paste.ubuntu.com/6753999/ | 02:56 |
TheLordOfTime | if there's any i should have but am missing (for a standard desktop system firewall) please let me know | 02:57 |
Patrickdk | hmm, unlike ipv4, there are a LOT MORE icmp6 types | 03:05 |
pao | here my some of my dsmeg output when it falls to busybox http://paste.ubuntu.com/6754041/ | 03:09 |
TheLordOfTime | Patrickdk: so basically, i should just allow all ICMPv6 types? | 03:11 |
Patrickdk | you could | 03:12 |
pao | my 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 |
Patrickdk | want to see mine? | 03:13 |
TheLordOfTime | Patrickdk: if you want to share :) | 03:13 |
Patrickdk | I'll warn you it's short and floppy | 03:13 |
TheLordOfTime | at this point i just need the icmp ruleset | 03:13 |
TheLordOfTime | that's better than having none :P | 03:13 |
Patrickdk | isn't there a *wide* pastebin somewhere? | 03:14 |
Patrickdk | http://pastebin.ca/2540658 | 03:15 |
TheLordOfTime | that's a lot of rules o.O | 03:17 |
Patrickdk | not really | 03:17 |
Patrickdk | ip6tables -L -nv | wc -l == 1228 lines | 03:18 |
TheLordOfTime | :P | 03:18 |
Patrickdk | and that is on a *simple* firewall | 03:18 |
ruben231 | hi 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 somehow | 03:19 |
Patrickdk | ah, the more complex one doesn't make it much more, only 1445 lines | 03:19 |
Patrickdk | it's just the basic 800 or so, that makes it a lot | 03:19 |
TheLordOfTime | mhm | 03:19 |
TheLordOfTime | the 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 table | 03:20 |
Patrickdk | it's so much easier if you make it it's own chain | 03:21 |
Patrickdk | AllowedICMP6 :) | 03:21 |
TheLordOfTime | Patrickdk: indeed | 03:46 |
pmatulis_ | ruben231: download those files again | 03:47 |
=== _monokrome is now known as monokrome | ||
MarGul | When 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 |
CappyT | Hi everyone, I was looking for a good email ecosystem to install on ubuntu, like iRedMail (which use amavis)... anyone know one? | 10:29 |
hXm | hi, does not exist an official package for use google drive? | 11:14 |
ikonia | ask google | 11:16 |
cfhowlett | hXm, not for linux/ubuntu ask #google | 11:16 |
hXm | but in google I saw there is a community version called grive but not in official repository | 11:17 |
cfhowlett | hXm, and what does that tell you? | 11:17 |
cfhowlett | hXm, nevermind; rhetorical. short answer; google promised official client. still waiting on that. | 11:17 |
hXm | how trustable that package is, but I think is not so popular, so I will ask @google | 11:17 |
cfhowlett | hXm, if it didn't come *from* google they likely won't support it. | 11:18 |
hXm | thanks for your respond, cfhowlett included the question | 11:18 |
hXm | yes | 11:18 |
sander^work | How do I mount a crypted ubuntu root partition? | 13:15 |
yolanda | jamespage: https://code.launchpad.net/~yolanda.robla/charms/precise/glance/ceph_alternatives/+merge/201771 | 13:15 |
hitsujiTMO | sander^work: encrypted with what? luks? | 13:16 |
sander^work | hitsujiTMO, It's the default ubuntu way of encrypting root partition. | 13:16 |
Patrickdk | default ways change | 13:17 |
hitsujiTMO | sander^work: http://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line | 13:17 |
hitsujiTMO | sander^work: thats for luks, ubuntus default | 13:18 |
sander^work | Patrickdk, it's in the latest ubuntu 13.10 | 13:18 |
Patrickdk | yes, but you didn't specify a version, so how would we know | 13:19 |
sander^work | Understand. | 13:19 |
sander^work | How do I figure out the encryption string to use for decryption? I suppose it's stored somewhere encrypted with the root password? | 13:22 |
Patrickdk | no, that is not possible | 13:22 |
Patrickdk | when you encrypted it, you would have had to memorized it | 13:23 |
cfhowlett | sander^work, if you could figure out the encryption string that would rather defeat the purpose, no? | 13:23 |
hitsujiTMO | sander^work: you find it out by discovering the cure to amnesia | 13:24 |
=== huttan_ is now known as huttan | ||
sander^work | I 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 |
cfhowlett | sander^work, you did indeed. | 13:26 |
sander^work | cfhowlett, hitsujiTMO Patrickdk: How does the os then decrypts it? | 13:26 |
Patrickdk | you type in the decryption password | 13:26 |
cfhowlett | !encryption | 13:26 |
ubottu | For information on setting up encrypted private directories (8.10+) see https://help.ubuntu.com/community/EncryptedPrivateDirectory | 13:26 |
Patrickdk | wrong factoid | 13:27 |
sander^work | I don't when I boot the os. | 13:27 |
Patrickdk | then you don't have an encrypted root | 13:27 |
hitsujiTMO | sander^work: you either type in the password, or insert the usb containing the key depending on how its set up. by default its a password | 13:27 |
sander^work | I crossed off for encrypted disk when I installed the os. I probably only have an encrypted home dir then? | 13:30 |
Patrickdk | sounds like it | 13:30 |
sander^work | How do I decrypt that then? | 13:30 |
sander^work | Same way? | 13:30 |
Patrickdk | ubottu just posted the url | 13:31 |
ubottu | Patrickdk: I am only a bot, please don't think I'm intelligent :) | 13:31 |
sander^work | Ok, thanks! | 13:31 |
hitsujiTMO | sander^work: look at the recover section https://help.ubuntu.com/community/EncryptedPrivateDirectory | 13:31 |
zul | jamespage: https://code.launchpad.net/~zulcss/keystone/ftbfs-jan15/+merge/201774 | 13:39 |
jamespage | zul, +1 | 13:48 |
zul | jamespage: thanks | 13:48 |
zul | jamespage: so neutron is still failing? | 14:01 |
jamespage | zul, yes | 14:20 |
=== TheLordOfTime is now known as teward | ||
zul | jamespage: i have a fix for nova for the issues from yesterday | 15:31 |
zul | jamespage: ill fix up neutron as well next | 15:33 |
hallyn | sarnold: 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 |
rharper | rbasak: 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 |
strixUK | afternoon 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 next | 16:22 |
strixUK | the 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 |
strixUK | can anybody help diagnose udev, or recommend a channel that might be able to? | 16:24 |
claytonk | Interested to know how others are managing vmware-tools on their server fleets | 16:48 |
claytonk | The vmware package repos don't keep up with the latest kernel releases | 16:48 |
claytonk | could write a script that updates from the ISO but this seems clunky | 16:49 |
hitsujiTMO | claytonk: you reffering to the kernel modules within vmware-tools? | 17:02 |
claytonk | yes | 17:02 |
ikonia | claytonk: 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 install | 17:03 |
ikonia | claytonk: what version of linux are you using ? | 17:03 |
claytonk | trying out open-vm-tools | 17:03 |
claytonk | we're running 12.0.4.4 LTS | 17:04 |
hitsujiTMO | I 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 them | 17:04 |
jrwren | that is 12.04.4 | 17:04 |
claytonk | yup | 17:04 |
ikonia | claytonk: with the LTS standard kernel or the enablement stack ? | 17:04 |
zul | jamespage: https://code.launchpad.net/~zulcss/nova/ftbfs-jan14/+merge/201600 | 17:05 |
claytonk | enablement stack | 17:05 |
ikonia | so that's why it's causing you a problem then | 17:05 |
ikonia | as it's jumping to bleeding edge kernels, when vmware tools targets long term / stable distros | 17:06 |
claytonk | ikonia: reading up on the enablement stack now | 17:10 |
claytonk | open-vm-tools package seems to be meeting my needs | 17:13 |
claytonk | other than possible VMware support issues, any known gotchas with open-vm-tools? | 17:13 |
plm | Hi all | 17:42 |
plm | people, anyone can help me with to compile libsimplelog? | 17:42 |
plm | I'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 |
hitsujiTMO | plm are you missing the dh-autoreconf package? | 17:45 |
plm | hitsujiTMO: I tried with autoreconf -i and works =D | 17:46 |
plm | hitsujiTMO: thanks | 17:46 |
plm | hitsujiTMO: 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 |
hitsujiTMO | plm: which command exactly is giving that error? | 17:49 |
plm | hitsujiTMO: tcp-intercept... ohh works, Was miss net-tools =D | 17:50 |
=== JanC_ is now known as JanC | ||
zul | roaksoax: can you do me a bzr review for me in a couple of minutes | 18:23 |
roaksoax | zul: yes sir! | 18:27 |
roaksoax | :P | 18:27 |
zul | roaksoax: still buidling locally | 18:27 |
roaksoax | zul: I I captian :P | 18:31 |
zul | jamespage: still around? | 18:41 |
zul | jamespage: http://pastebin.ubuntu.com/6757676/ | 18:41 |
zul | roaksoax: https://code.launchpad.net/~zulcss/neutron/ftbfs-jan15/+merge/201826 | 18:48 |
jamespage | zul, nvp->nsx I suspect | 19:25 |
zul | jamespage: https://code.launchpad.net/~zulcss/neutron/ftbfs-jan15/+merge/201826 | 19:28 |
jamespage | zul, +1 | 19:29 |
zul | jamespage: thanks | 19:29 |
zul | jamespage: neutron needed the same sqlachemy fix | 19:31 |
jamespage | zul, I guessed it might | 19:31 |
nwilson5 | if 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 changed | 19:56 |
bekks | Doing so will mess up the rsync sessions. | 19:58 |
bekks | You dont want to run rsync that often. | 19:58 |
sarnold | nwilson5: 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 |
nwilson5 | ok 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 |
sarnold | nwilson5: you could use incron to monitor a directory and discover new files and modified files, that'd be less painful... | 20:00 |
sarnold | see e.g. http://inotify.aiken.cz/?section=incron&page=doc&lang=en | 20:00 |
Free99 | hey 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 |
Free99 | test emails to one user works fine, but the docs say /etc/aliases are not supported... really don't want a full MTA | 20:29 |
andol | Free99: 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 |
Free99 | it'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 voodoo | 20:35 |
andol | Free99: 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 |
Free99 | andol, 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 |
andol | Free99: A MX record only matters if you want to recieve e-mail, which I would assume isn't the plan? | 20:38 |
Free99 | oh, right. | 20:38 |
Free99 | nope, just send status of cron jobs and such | 20:38 |
Free99 | still would rather through the company server though | 20:39 |
andol | Free99: 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 |
Free99 | hmm... I'm writing documentation on how to do all this, soup-to-nuts. How would I set the debconf non-interactively? | 20:41 |
hXm | i 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 loop | 20:43 |
hXm | what could i do | 20:43 |
paco1 | bonjour à 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 | !fr | 21:10 |
ubottu | Nous 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 |
paco1 | ah oups, j'ai ouvert le canal -fr juste a coté...désolé! | 21:12 |
paco1 | hello! 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 cpulimit | 21:35 |
ubottu | cpulimit (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 kB | 21:35 |
sarnold | neat, thanks genii :) | 21:36 |
paco1 | thanks genii | 22:43 |
paco1 | it works very fine! | 22:43 |
genii | paco1: Yer welcome :) | 23:07 |
paco1 | genii: 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 |
sarnold | paco1: how does your ldap server get started? you might need to throw in a ulimit -n 10000 into an initscript or upstart configuration file | 23:17 |
=== robher_ is now known as robher | ||
=== broder_ is now known as broder | ||
sarnold | paco1: the PAM limits are only applied if a PAM module is called before starting the daemon.. | 23:17 |
paco1 | sarnold: arghhh | 23:25 |
paco1 | ok | 23:25 |
paco1 | i'll integrate it in the initscript | 23:26 |
paco1 | thanks! | 23:26 |
=== stgraber_ is now known as stgraber | ||
sarnold | paco1: 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 |
sarnold | paco1: poll() and epoll() are fine though. | 23:27 |
paco1 | sarnold: where can i check it? in the initscript? | 23:28 |
=== semiosis_ is now known as semiosis | ||
sarnold | paco1: I think most likely to work is objdump -T `which ldapd` | grep select | 23:31 |
sarnold | paco1: though reading the source would also work | 23:31 |
=== soahccc_ is now known as soahccc | ||
paco1 | sarnold: but i need to activate the debug mode on the slapd process before to run this comand, right? | 23:38 |
sarnold | paco1: no, just run it, it ought to work | 23:40 |
=== lfaraone_ is now known as lfaraone | ||
paco1 | it search a.out file "objdump: 'a.out': No such file" | 23:41 |
sarnold | paco1: ah sorry, I dont know the name of the ldapd -- replace `which ldapd` with the actual path the ldap daemon you're using | 23:42 |
paco1 | ah no, me, excuse me, i tried it but: "objdump: 'slapd': No such file" | 23:43 |
sarnold | paco1: would that be in /usr/bin or /usr/sbin/ or .. ? be sure to use the right path | 23:43 |
paco1 | /ur/local/ldap/libexec/, and it is in /etc/ld.so.conf.d/ldap.conf | 23:45 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!