[00:09] <filo1234> oh is gone :( pm-powersave maybe was his goal
[00:32] <Squidy> hello.. I'm trying to install ubuntu server 10.04 using preseed methods.. however, when the installer is installing the base system.. it stops with an error message about kernel override 'linux-server' not present...  Do you know how to fix that?
[04:47] <scubes13> I inherited an ubuntu fiesty server…. I am trying to download the linux-headers for 2.6.22-16-server but us.archive.ubuntu.com fiesty seems to be no more… is there somewhere else I may get those updates?
[04:49] <dork> scubes13: that's some old shit
[04:49]  * scubes13 nods :(
[04:54] <qman__> very, very old
[04:54] <qman__> you're honestly better off installing a new one and migrating the services
[04:54] <qman__> that's like, three distribution upgrades from lucid, and six from oneric
[04:55] <qman__> and no, you won't find feisty or gutsy repos online
[04:55] <scubes13> they're running a much older civicrm install on the same box with custom db.. guess I will just have to dupe the server and see if I can migrate
[04:56] <qman__> only way to upgrade it at this point is to find the alternate CDs and upgrade from them
[04:56] <scubes13> ok, thanks dork  ad qman__
[04:57] <qman__> those versions are nearly 3 years past EOL at this point
[04:58] <qman__> which is why you should always use LTS for this sort of thing
[04:58] <qman__> hardy's still in support for a little while, and the upgrade path should be available for a while longer
[04:59] <scubes13> yah, will be attempting to move the civicrm install and db to a 10.04 box
[04:59] <scubes13> and will then have to deal with upgrading those apps
[04:59]  * scubes13 sigh
[09:28] <Kartagis> hi
[09:28] <Kartagis> I am trying to start dovecot, no ssl is mentioned in the conf file, and yet the startup error says I do. what to do?
[09:45] <Kartagis> I am trying to start dovecot, no ssl is mentioned in the conf file, and yet the startup error says I do. what to do?
[10:02] <Randolph> hi all
[12:05] <linocisco> hi  we have TP-link wifi CPE and we are offering internet through WiFi . Some paid users are illegally sharing wifi link with home routers. We can't see that sharing from wifi console if they are sharing again with WiFi router in the each home.
[12:06] <RoyK> linocisco: no, you can't
[12:06] <RoyK> linocisco: because it's NATed
[12:07] <RoyK> some ISPs here (in Norway) used to have that sort of rubbish policy 'only one user per internet connection', but they have eventually given up
[12:08] <RoyK> now they're trying to move people over to 'wireless broadband' as in 3G or 4G where they charge per download amount
[12:09]  * RoyK has a 60Gbps fiber link at home and shares it with some neighbors without anyone complaining
[12:10] <RoyK> :)
[12:25] <air_> RoyK: yay
[12:35]  * RoyK corrects that to a 60Mbps link :P
[13:31] <mah454> How can understand what user's is online in LDAP ?
[13:57] <^^robertj> howdy all, is there a way to see what options were compiled into the packaged kernel I'm running?
[13:59] <RoyK> ^^robertj: /boot/config-`uname -r`
[14:01] <^^robertj> RoyK, bah, I forgot I'm _not_ running a packaged kernel :( this is a xen vm instance on linode
[14:01] <RoyK> ^^robertj: check if there's a /proc/config.gz
[14:01]  * RoyK slaps uvirtbot 
[14:02] <^^robertj> RoyK, that works great ,thx
[14:02] <robertj> there
[14:02] <RoyK> not your fault - it's just that stupid bot thinks ^ is a command key, which it shouldn't be so long as nicks can start with that character
[14:02] <nouitfvf> ^^help
[14:03] <RoyK> ^guide
[14:03] <RoyK> !guide
[14:03] <nouitfvf> ^help
[15:52] <jehoshua02> I'm using a variable in a grep statement that contains asterisks. These asterisks expand to the names of files in the current directory, hindering the grep statement from working like I want. Any ideas?
[15:52] <RoyK> \*
[15:52] <RoyK> or '*'
[15:53] <RoyK> jehoshua02: it's the shell doing the expansion, not grep
[15:53] <jehoshua02> RoyK: I know.
[15:53] <RoyK> so escape the *
[15:54] <RoyK> either \* or perhaps double - \\* if single doesn't work
[15:54] <RoyK> or triple - \\\\*
[15:54] <RoyK> :P
[15:54] <jehoshua02> RoyK: That would be fine, but the content I'm grepping is automatically generated. I'm not editing it by hand.
[15:55] <RoyK> jehoshua02: then use sed or awk or something :)
[15:55] <RoyK> jehoshua02: it'd be easier to help you if you could pastebin the code you're having problems with
[15:55] <RoyK> !pastebin
[16:02] <jehoshua02> RoyK: here ya go: https://gist.github.com/1360729
[16:03] <jehoshua02> To make things more complicated, I put a variable in the SEARCH... let me update it for that too.
[16:07] <jehoshua02> Any ideas? https://gist.github.com/1360729
[16:25] <RoyK> jehoshua02: erm - I don't quite get it
[16:25] <Randolph> is there a command line to see only a zombie process ?
[16:26] <RoyK> Randolph: ps axf|grep Z is a nice start :)
[16:27] <RoyK> and some awk magick to search only column $3 should do it
[16:27] <lenios> ps -el | grep 'Z'
[16:28] <Randolph> RoyK, thank it is OK, I am stupid, it was so simple ...
[16:31] <RoyK> jehoshua02: as for that script, I think I would have chosen to write it in something else - shell scripting is very basic...
[16:31] <Randolph> so the process was zmlogger on my ubuntu server 10.04
[16:32] <RoyK> Randolph: imho zimbra should always run on a dedicated server or vm
[16:32] <Randolph> RoyK, that's the case
[16:32] <RoyK> that's the official zimbra recommendation as well...
[16:32] <RoyK> ah - ok
[16:32] <Randolph> I know it
[16:33] <RoyK> which zimbra version?
[16:33] <jehoshua02> RoyK: hmm... the eventual goal is to pipe the filtered output to another cli utility.
[16:33] <Randolph> RoyK, 7.0.1.3
[16:33] <Randolph> RoyK, sorry 7.0.3
[16:33]  * RoyK is still on zimbra 6 on hardy...
[16:33] <RoyK> jehoshua02: use perl :)
[16:33] <Randolph> RoyK, sorry
[16:34] <RoyK> or python or php or - whatever :)
[16:34] <Randolph> RoyK, i made à mistake with my keyboard, it is 7.1.3
[16:34] <RoyK> np
[16:34] <jehoshua02> RoyK: python and php are installed. I know PHP well enough I should be able to come up with something, although I've never used it for anything other than web development.
[16:35] <jehoshua02> I give it a whirl.
[16:35] <Randolph> RoyK, I have made some updates and I have done a reboot my server (my own server not a production server, I am not crazy ;)  )
[16:36] <Randolph> RoyK, after reboot the zmlogger was in a zombie state
[16:38] <RoyK> jehoshua02: oh
[16:38] <RoyK> Randolph: sure it wasn't initialising something?
[16:39] <Randolph> RoyK, I do not think so because it was late after restarting
[16:39] <jehoshua02> RoyK: I was also trying to avoid strange workarounds in this bash script that I'm putting together for use on various machines.
[16:43] <RoyK> jehoshua02: do you have test file for me - lines.txt?
[16:43] <Randolph> RoyK, look at this , just before zmloggerctl restart : 1986 ?        Z      0:00  \_ [zmlogger] <defunct>
[16:43] <jehoshua02> well, strange as in requiring too many utilities outside of bash.
[16:43] <RoyK> Randolph: dunno - ask on #zimbra - it may even be ok
[16:43] <jehoshua02> Yeah, both files should be there: https://gist.github.com/1360729
[16:44] <RoyK> ah
[16:44] <Randolph> RoyK, OK sorry, but it was not really a question
[16:45] <RoyK> jehoshua02: cat $FILE | grep -i -v "$SEARCH" - or grep -iv "$SEARCH" $FILE
[16:45] <RoyK> remember those double quotes
[16:46] <jehoshua02> RoyK: I've been playing around with the quotes...
[16:46] <RoyK> jehoshua02: also, if you want a direct grep without wildchars, try fgrep
[16:46] <RoyK> fastgrep - doesn't allow wildchars
[16:47] <RoyK> well, doesn't use them anyway
[16:47] <jehoshua02> good to know.
[16:47] <RoyK> grep won't expand *, it'll treat it as part of a grep regexp
[16:47] <RoyK> fgrep won't
[16:50] <jehoshua02> just reallized my test file should have said line to match the SEARCH.
[16:50] <jehoshua02> I fixed it.
[16:50] <jehoshua02> Trying it again.
[16:55] <jehoshua02> Nice. fgrep seemed to do the trick.
[17:06] <RoyK> hm... I'm on a rather BAD link now, and so far I've only used virt-manager to manage my VMs - how can manage these from the console?
[17:16] <JanC> RoyK: there is virsh
[17:17] <RoyK> JanC: thanks
[17:17] <JanC> it's sort of a shell for libvirt management
[17:17] <RoyK> yeah, can see that :)
[17:18] <JanC> there are also some virt-* tools for image management etc.
[17:19] <JanC> RoyK: libvirt also has Python bindings, so you can script things yourself if needed
[17:20] <RoyK> seems python is about to take over whatever world perl used to dominate only a few years ago...
[17:24] <JanC> well, Python has been around for quite some time really  ;)
[17:25] <JanC> and there are also ocaml & rub bindings
[17:25] <JanC> ruby
[17:25] <RoyK> JanC: sure, but it hasn't really gained dominance before, say, the last 5 years or so?
[17:25] <RoyK> scipy+numpy is really neat, though
[17:26] <JanC> depends on your fields of interest, I guess
[17:26] <JanC> Python has always been huge in the graphics community
[17:27] <JanC> e.g. I think all the font editors (both commercial and open source) have supported Python scripting for years
[17:28] <RoyK> "Python 2.0 was released on 16 October 2000" <-- there wasn't much before that, was there?
[17:28] <JanC> (partially because Python's inventor's brother is a typographer and typography software developer :P )
[17:30] <RoyK> ah
[17:31] <JanC> RoyK: Just van Rossum is Guido van Rossum's brother... https://en.wikipedia.org/wiki/Just_van_Rossum
[17:32] <RoyK> k
[17:35] <JanC> and they wrote some of the most popular add-ons for font design using python, and extensible with python (he probably used it because his brother designed it, but his use probably also influenced Guido for some language design decisions)
[17:35] <JanC> Python is also quite common in the 3D world
[17:36] <RoyK> some scientists at work have started to replace IDL and MATLAB with scipy - a bit more open and a wee bit cheaper :P
[17:36] <JanC> hehe
[17:36] <JanC> yeah, they have being around in that area for quite some time too
[17:36] <JanC> s/being/been/
[17:37] <JanC> although I think Perl was used in that area as well?
[17:37] <RoyK> yeah, but according to the people I've talked to at work, the progress is still high, in such that they can't use the lucid packages
[17:37] <RoyK> maybe - but perl deserves the name "pathologically eclectic rubbish lister" (although I have to confess I like it a bit)
[17:38] <JanC> there is actually a company building IDEs & libraries for scientists based on SciPy
[17:38] <JanC> and most of that is open source and in ubuntu
[17:38] <RoyK> erm - what's the name of that IDE again?
[17:38] <JanC> but as you say, they might be lacking the latest versiosn in the oficial repositories
[17:39] <JanC> the company is named Enthought
[17:40] <JanC> http://www.enthought.com/
[17:40] <RoyK> spyder is the one I'm thinking of
[17:41] <RoyK> JanC: strange - couldn't find it in the list here http://wiki.python.org/moin/PythonEditors
[17:42] <JanC> well, I'm not sure it's really a different editor
[17:43] <JanC> but they bundle up a lot of stuff + provide some of their own libraries
[18:05] <e-DIO-t> tira leva
[18:05] <e-DIO-t> wrong ch
[18:16] <jehoshua02> RoyK: http://stackoverflow.com/questions/878600/how-to-create-cronjob-using-bash/8106460#8106460
[22:03] <swharper> trying to configure a raid a fresh server install
[22:03] <swharper> http://dl.dropbox.com/u/3136063/ubuntuinstall.jpg   <---current partition table
[22:03] <swharper> this hangs at boot though
[22:03] <swharper> i have 9 drives
[22:04] <swharper> 8 are for the raid, one for the OS
[22:05] <swharper> scsi23 is the usb disk with the server installer
[22:10] <twb> I bought a UPS and hooked it up to nut 2.4 (lucid); on Friday after I went home, it's status changed from OL to OL CAL.  What does the CAL mean?  Google is unhelpful.
[22:11] <twb> Secondly, it sat at 86±2% charge for a week, and when CAL came up, it dropped to 58%-ish -- if its on mains why isn't it charging to 100% ?
[22:12] <patdk-lap> bad batteries?
[22:12] <patdk-lap> cal probably means it's in calibration mode
[22:12] <twb> It's a new ups :-/
[22:12] <patdk-lap> but I could never find crap that nut supported so gave up on using nut
[22:13] <twb> Ah *calibration*
[22:13] <twb> patdk-lap: what do you use instead, wishful thinking? :P
[22:23] <swharper> anyhow know anything about raid configuration
[22:23] <swharper> ?
[22:24] <twb> swharper: mdadm?
[22:24] <matrix3000> yea
[22:24] <twb> !anyone
[22:24] <matrix3000> swharper, what are you trying to do with raid?
[22:24] <swharper> well im trying to set it up during the install
[22:25] <swharper> here is the current config (all drives below scsi9 are configured identically
[22:25] <swharper> http://dl.dropbox.com/u/3136063/ubuntuinstall.jpg
[22:25] <swharper> im trying to partition these drives and still install the OS
[22:25] <swharper> but when I do, it hangs during boot
[22:26] <matrix3000> where does it hang at boot?
[22:27] <swharper> shit…VDI check i believe
[22:27] <swharper> if tahts the correct acronym
[22:28] <swharper> i want the OS installed on SCSI2
[22:28] <swharper> or 4, doesnt really matter
[22:29] <matrix3000> take that flash drive out
[22:29] <matrix3000> unplug it for the time being
[22:29] <matrix3000> what kind of raid are you trying to do?
[22:29] <matrix3000> RAID 1 with a RAID 5?
[22:31] <swharper> raid 6
[22:31] <swharper> its just a media share
[22:32] <swharper> the flash is the install .img
[22:32] <matrix3000> well SCSI2 and SCI4 are difference sizes than the others so im assuming that isn't raid
[22:33] <matrix3000> you want to use SCSI2 for your grub right
[22:33] <swharper> scsi 2 & 4 arent raid
[22:33] <matrix3000> you need to mark that as ext4 /
[22:33] <swharper> they're ext4
[22:33] <matrix3000> ok sweet
[22:33] <matrix3000> so SCSI2 needs ext 4 with a mount point /
[22:33] <swharper> scsi9,10…etc are raid
[22:33] <swharper> ok, yeah…it had a mount point before but when i installed it its now gone
[22:33] <swharper> ill try redoing it
[22:33] <matrix3000> and then mount point your RAID6 for /home or something
[22:34] <matrix3000> if you want the os on the SCSI2 your /boot needs to be on it i believe
[22:34] <matrix3000> that or /
[22:35] <swharper> i have it paritioned automatically now
[22:35] <swharper> which sets the mount point at /
[22:36] <swharper> what should the raid be set at
[22:36] <swharper> do not use?
[22:36] <swharper> swap?
[22:45] <patdk-lap> twb, normally I use two things, if apc, I just use the apc software
[22:45] <patdk-lap> if tripplite, I'll just use some scripts I wrote
[22:49] <matrix3000> swharper: i put swap on all the drives
[22:49] <swharper> k
[22:49] <swharper> its goin....
[22:50] <swharper> actually i bet it freezes at "starting up the partitioner"
[22:50] <swharper> right now sitting at 50%
[22:53] <erichammond> Opinions on the simplest/cleanest way to send an email message from the command line on a fresh Ubuntu server?  Installing postfix and feeding the message to /usr/sbin/sendmail seems heavy, though it does take only a couple lines which is important for this demo.
[22:54] <swharper> yeah i think its freezing at the partitioning
[22:54] <swharper> i dont get this
[23:01] <pmatulis> !ssmtp | erichammond
[23:01] <pmatulis> !find ssmtp
[23:01] <pmatulis> whatever, erichammond ⤴
[23:08] <patdk-lap> heh, any nullmailer would work
[23:08] <patdk-lap> they all have different features depending on if you need sasl auth, spooling, ...
[23:19] <erichammond> pmatulis: Thanks.  At first glance it looks like ssmtp requires a hardcoded upstream SMTP server.
[23:20] <erichammond> I'm hoping to be able to provide a generic example where somebody could run a script on a fresh Ubuntu instance on EC2 to send an email to themselves with the only parameter being their email address.
[23:23] <patdk-lap> erichammond, ya, they all will require a smtp relay host, unless you run a full blown email server
[23:26] <swharper> wait….actually it may be building the array
[23:26] <swharper> the lights are flickering
[23:26] <swharper> how long, roughly, would it take to create this partition?
[23:26] <swharper> 6tb raid 6
[23:26] <swharper> arry
[23:26] <swharper> array
[23:28] <erichammond> patdk-lap: Thanks.
[23:32] <patdk-lap> swharper, how large are the drives? how many drives?
[23:32] <patdk-lap> and what speed cpu?
[23:35] <swharper> 7 drives 1.5tb eacvh
[23:36] <swharper> er 6 drives rather
[23:40] <powell> ukq@aol.phrack
[23:41] <powell> Amet etiam feugiat quis primis litora
[23:41] <powell> phreak
[23:41]  * powell ! unknown port
[23:41] <patdk-lap> powell, probably a good 12hours or more
[23:42] <powell> on linux ?
[23:42] <patdk-lap> on anything
[23:42] <powell> gnome
[23:42] <patdk-lap> you have to read and write out all 7*1.5tb of data
[23:43] <powell> yea
[23:48] <swharper> k
[23:48] <swharper> cool