[00:09] oh is gone :( pm-powersave maybe was his goal [00:32] 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? === dork is now known as keyboardkey === keyboardkey is now known as dork === jason is now known as jasef [04:47] 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] scubes13: that's some old shit [04:49] * scubes13 nods :( [04:54] very, very old [04:54] you're honestly better off installing a new one and migrating the services [04:54] that's like, three distribution upgrades from lucid, and six from oneric [04:55] and no, you won't find feisty or gutsy repos online [04:55] 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] only way to upgrade it at this point is to find the alternate CDs and upgrade from them [04:56] ok, thanks dork ad qman__ [04:57] those versions are nearly 3 years past EOL at this point [04:58] which is why you should always use LTS for this sort of thing [04:58] hardy's still in support for a little while, and the upgrade path should be available for a while longer [04:59] yah, will be attempting to move the civicrm install and db to a 10.04 box [04:59] and will then have to deal with upgrading those apps [04:59] * scubes13 sigh === SJrX is now known as SJr === Laughing_God is now known as lolx [09:28] hi [09:28] 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? === RudyValencia- is now known as RudyValencia [09:45] 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] hi all [12:05] 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] linocisco: no, you can't [12:06] linocisco: because it's NATed [12:07] 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] 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] :) [12:25] RoyK: yay [12:35] * RoyK corrects that to a 60Mbps link :P [12:51] New bug: #889464 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: subprocess new post-removal script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/889464 [13:17] New bug: #889149 in openvpn (main) "Ubuntu refuses to restart or shutdown if OpenVPN is running." [Undecided,New] https://launchpad.net/bugs/889149 [13:31] 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] ^^robertj: /boot/config-`uname -r` [13:59] RoyK: Error: "^robertj:" is not a valid command. [14:01] <^^robertj> RoyK, bah, I forgot I'm _not_ running a packaged kernel :( this is a xen vm instance on linode [14:01] ^^robertj: check if there's a /proc/config.gz [14:01] RoyK: Error: "^robertj:" is not a valid command. [14:01] * RoyK slaps uvirtbot [14:02] <^^robertj> RoyK, that works great ,thx === ^^robertj is now known as robertj [14:02] there [14:02] 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] ^^help [14:02] nouitfvf: Error: "^help" is not a valid command. [14:03] ^guide [14:03] RoyK: Error: "guide" is not a valid command. [14:03] !guide [14:03] The Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/ [14:03] ^help [14:03] nouitfvf: (help [] []) -- This command gives a useful description of what does. is only necessary if the command is in more than one plugin. [15:52] 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] \* [15:52] or '*' [15:53] jehoshua02: it's the shell doing the expansion, not grep [15:53] RoyK: I know. [15:53] so escape the * [15:54] either \* or perhaps double - \\* if single doesn't work [15:54] or triple - \\\\* [15:54] :P [15:54] RoyK: That would be fine, but the content I'm grepping is automatically generated. I'm not editing it by hand. [15:55] jehoshua02: then use sed or awk or something :) [15:55] jehoshua02: it'd be easier to help you if you could pastebin the code you're having problems with [15:55] !pastebin [15:55] 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. [16:02] RoyK: here ya go: https://gist.github.com/1360729 [16:03] To make things more complicated, I put a variable in the SEARCH... let me update it for that too. [16:07] Any ideas? https://gist.github.com/1360729 [16:25] jehoshua02: erm - I don't quite get it [16:25] is there a command line to see only a zombie process ? [16:26] Randolph: ps axf|grep Z is a nice start :) [16:27] and some awk magick to search only column $3 should do it [16:27] ps -el | grep 'Z' [16:28] RoyK, thank it is OK, I am stupid, it was so simple ... [16:31] jehoshua02: as for that script, I think I would have chosen to write it in something else - shell scripting is very basic... [16:31] so the process was zmlogger on my ubuntu server 10.04 [16:32] Randolph: imho zimbra should always run on a dedicated server or vm [16:32] RoyK, that's the case [16:32] that's the official zimbra recommendation as well... [16:32] ah - ok [16:32] I know it [16:33] which zimbra version? [16:33] RoyK: hmm... the eventual goal is to pipe the filtered output to another cli utility. [16:33] RoyK, 7.0.1.3 [16:33] RoyK, sorry 7.0.3 [16:33] * RoyK is still on zimbra 6 on hardy... [16:33] jehoshua02: use perl :) [16:33] RoyK, sorry [16:34] or python or php or - whatever :) [16:34] RoyK, i made à mistake with my keyboard, it is 7.1.3 [16:34] np [16:34] 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] I give it a whirl. [16:35] 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] RoyK, after reboot the zmlogger was in a zombie state [16:38] jehoshua02: oh [16:38] Randolph: sure it wasn't initialising something? [16:39] RoyK, I do not think so because it was late after restarting [16:39] 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] jehoshua02: do you have test file for me - lines.txt? [16:43] RoyK, look at this , just before zmloggerctl restart : 1986 ? Z 0:00 \_ [zmlogger] [16:43] well, strange as in requiring too many utilities outside of bash. [16:43] Randolph: dunno - ask on #zimbra - it may even be ok [16:43] Yeah, both files should be there: https://gist.github.com/1360729 [16:44] ah [16:44] RoyK, OK sorry, but it was not really a question [16:45] jehoshua02: cat $FILE | grep -i -v "$SEARCH" - or grep -iv "$SEARCH" $FILE [16:45] remember those double quotes [16:46] RoyK: I've been playing around with the quotes... [16:46] jehoshua02: also, if you want a direct grep without wildchars, try fgrep [16:46] fastgrep - doesn't allow wildchars [16:47] well, doesn't use them anyway [16:47] good to know. [16:47] grep won't expand *, it'll treat it as part of a grep regexp [16:47] fgrep won't [16:50] just reallized my test file should have said line to match the SEARCH. [16:50] I fixed it. [16:50] Trying it again. [16:55] Nice. fgrep seemed to do the trick. [17:06] 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] RoyK: there is virsh [17:17] JanC: thanks [17:17] it's sort of a shell for libvirt management [17:17] yeah, can see that :) [17:18] there are also some virt-* tools for image management etc. [17:19] RoyK: libvirt also has Python bindings, so you can script things yourself if needed [17:20] seems python is about to take over whatever world perl used to dominate only a few years ago... [17:24] well, Python has been around for quite some time really ;) [17:25] and there are also ocaml & rub bindings [17:25] ruby [17:25] JanC: sure, but it hasn't really gained dominance before, say, the last 5 years or so? [17:25] scipy+numpy is really neat, though [17:26] depends on your fields of interest, I guess [17:26] Python has always been huge in the graphics community [17:27] e.g. I think all the font editors (both commercial and open source) have supported Python scripting for years [17:28] "Python 2.0 was released on 16 October 2000" <-- there wasn't much before that, was there? [17:28] (partially because Python's inventor's brother is a typographer and typography software developer :P ) [17:30] ah [17:31] RoyK: Just van Rossum is Guido van Rossum's brother... https://en.wikipedia.org/wiki/Just_van_Rossum [17:32] k [17:35] 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] Python is also quite common in the 3D world [17:36] 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] hehe [17:36] yeah, they have being around in that area for quite some time too [17:36] s/being/been/ [17:37] although I think Perl was used in that area as well? [17:37] 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] maybe - but perl deserves the name "pathologically eclectic rubbish lister" (although I have to confess I like it a bit) [17:38] there is actually a company building IDEs & libraries for scientists based on SciPy [17:38] and most of that is open source and in ubuntu [17:38] erm - what's the name of that IDE again? [17:38] but as you say, they might be lacking the latest versiosn in the oficial repositories [17:39] the company is named Enthought [17:40] http://www.enthought.com/ [17:40] spyder is the one I'm thinking of [17:41] JanC: strange - couldn't find it in the list here http://wiki.python.org/moin/PythonEditors [17:42] well, I'm not sure it's really a different editor [17:43] but they bundle up a lot of stuff + provide some of their own libraries [18:05] tira leva [18:05] wrong ch [18:16] RoyK: http://stackoverflow.com/questions/878600/how-to-create-cronjob-using-bash/8106460#8106460 [21:41] New bug: #889620 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/889620 [22:03] trying to configure a raid a fresh server install [22:03] http://dl.dropbox.com/u/3136063/ubuntuinstall.jpg <---current partition table [22:03] this hangs at boot though [22:03] i have 9 drives [22:04] 8 are for the raid, one for the OS [22:05] scsi23 is the usb disk with the server installer [22:10] 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] 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] bad batteries? [22:12] cal probably means it's in calibration mode [22:12] It's a new ups :-/ [22:12] but I could never find crap that nut supported so gave up on using nut [22:13] Ah *calibration* [22:13] patdk-lap: what do you use instead, wishful thinking? :P [22:23] anyhow know anything about raid configuration [22:23] ? [22:24] swharper: mdadm? [22:24] yea [22:24] !anyone [22:24] A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll. [22:24] swharper, what are you trying to do with raid? [22:24] well im trying to set it up during the install [22:25] here is the current config (all drives below scsi9 are configured identically [22:25] http://dl.dropbox.com/u/3136063/ubuntuinstall.jpg [22:25] im trying to partition these drives and still install the OS [22:25] but when I do, it hangs during boot [22:26] where does it hang at boot? [22:27] shit…VDI check i believe [22:27] if tahts the correct acronym [22:28] i want the OS installed on SCSI2 [22:28] or 4, doesnt really matter [22:29] take that flash drive out [22:29] unplug it for the time being [22:29] what kind of raid are you trying to do? [22:29] RAID 1 with a RAID 5? [22:31] raid 6 [22:31] its just a media share [22:32] the flash is the install .img [22:32] well SCSI2 and SCI4 are difference sizes than the others so im assuming that isn't raid [22:33] you want to use SCSI2 for your grub right [22:33] scsi 2 & 4 arent raid [22:33] you need to mark that as ext4 / [22:33] they're ext4 [22:33] ok sweet [22:33] so SCSI2 needs ext 4 with a mount point / [22:33] scsi9,10…etc are raid [22:33] ok, yeah…it had a mount point before but when i installed it its now gone [22:33] ill try redoing it [22:33] and then mount point your RAID6 for /home or something [22:34] if you want the os on the SCSI2 your /boot needs to be on it i believe [22:34] that or / [22:35] i have it paritioned automatically now [22:35] which sets the mount point at / [22:36] what should the raid be set at [22:36] do not use? [22:36] swap? [22:45] twb, normally I use two things, if apc, I just use the apc software [22:45] if tripplite, I'll just use some scripts I wrote [22:49] swharper: i put swap on all the drives [22:49] k [22:49] its goin.... [22:50] actually i bet it freezes at "starting up the partitioner" [22:50] right now sitting at 50% [22:53] 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] yeah i think its freezing at the partitioning [22:54] i dont get this [23:01] New bug: #889641 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/889641 [23:01] !ssmtp | erichammond [23:01] !find ssmtp [23:01] Found: ssmtp [23:01] whatever, erichammond ⤴ [23:08] heh, any nullmailer would work [23:08] they all have different features depending on if you need sasl auth, spooling, ... [23:19] pmatulis: Thanks. At first glance it looks like ssmtp requires a hardcoded upstream SMTP server. [23:20] 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] erichammond, ya, they all will require a smtp relay host, unless you run a full blown email server [23:26] wait….actually it may be building the array [23:26] the lights are flickering [23:26] how long, roughly, would it take to create this partition? [23:26] 6tb raid 6 [23:26] arry [23:26] array [23:28] patdk-lap: Thanks. [23:32] swharper, how large are the drives? how many drives? [23:32] and what speed cpu? [23:35] 7 drives 1.5tb eacvh [23:36] er 6 drives rather [23:40] ukq@aol.phrack [23:41] Amet etiam feugiat quis primis litora [23:41] phreak [23:41] * powell ! unknown port [23:41] powell, probably a good 12hours or more [23:42] on linux ? [23:42] on anything [23:42] gnome [23:42] you have to read and write out all 7*1.5tb of data [23:43] yea [23:48] k [23:48] cool