[00:20] <qman__> jMCg, the only 32-bit system I have which returns i386 at all, anywhere in uname, is the one running the linux-386 kernel
[00:20] <qman__> normal 32-bit kernels are going to return i686
[00:21] <qman__> because that's what they are
[00:24] <jMCg> qman__: ACK.
[00:27] <JanC> there might be something used by apt/dpkg that still returns i386 though
[01:33] <ksx4system> is it possible to make rtgui actually work under Debian with lighttpd?
[04:17] <ksx4system> how do I make htpasswd auth on single directory with lighttpd? i'm not using any vhosts
[04:22] <jmarsden> ksx4system: crossposting between #debian and #ubuntu-server is a bad idea.  Pick one, the right one for the OS you are using.
[04:27] <ksx4system> jmarsden: sometimes it's not, at least when #debian remains completely silent and/or question is ignored
[05:39] <jeeves_moss> how do I get my NTPd server to service global NTP requests?
[05:42] <rewt> have it listen on your internet-facing interface, and open the port in your firewall
[05:46] <jeeves_moss> rewt, I tried that.  I have port 123UDP open on the firewall, and even when I do a local nmap, the port isn't open
[05:46] <rewt> try a remote nmap
[05:47] <jeeves_moss> tried that, port is closed
[05:49] <jeeves_moss> could it be a deny line in the config?
[05:52] <rewt> could be
[05:54] <jeeves_moss> ok, thanks
[05:54] <jeeves_moss> I'll have a look
[06:03] <jeeves_moss> rewt, does this mean it's working?
[06:03] <jeeves_moss>  ntpq -np
[06:03] <jeeves_moss>      remote           refid      st t when poll reach   delay   offset  jitter
[06:03] <jeeves_moss> [06:03] <jeeves_moss> *192.168.1.201   158.43.128.33    2 u    2   64    1    0.148  -43.816   1.590
[06:05] <rewt> not sure; that could just mean that your server synchronized itself to another
[06:10] <jeeves_moss> rewt when I try the ntpdate command, I get " no servers can be used, exiting"
[06:42] <qman__> jeeves_moss, ntpdate doesn't work correctly in ubuntu, use ntpdate-debian, but that's also different from ntpd
[06:42] <qman__> ntpd does its own thing
[06:43] <qman__> just give it some time to work and it'll sync with servers
[06:43] <qman__> that output means it's 43 seconds off a stratum 2 server
[06:43] <qman__> once it closes the gap you'll be right on
[09:36] <JoeBloggs> anyone using ISPconfig 3 on Ubuntu server 11 ?
[10:20] <c0d3r> hi
[11:24] <masterofpuppetss> !ops
[11:24] <masterofpuppetss> FUCK FUCK FUCK FUCK FUCKKKKKKKKKKKKKKKKKKKKKKKKKKKK
[11:24] <masterofpuppetss> oCean: i like black men
[11:25] <masterofpuppetss> !obs
[11:25] <masterofpuppetss> !ops
[11:25] <masterofpuppetss> !ops
[11:26] <masterofpuppetss> oCean: i like black men
[13:39] <RoyK>  
[13:49]  * RoyK wonders what just happened a week back or so - cpu load on our spam filter went from a low 27% cpu load to an average of 58%
[14:46]  * RoyK is slightly impressed - four machines crammed into 2U, each machine with two 12-core opterons and 64GB RAM, the systems are running at 100% on all cores, with quite a bit of memory load, and the cpu temperature is between 48 and 52˚C
[16:05] <echo6> hello
[16:06] <echo6> Need help changing green terminal text to white, tried setterm -clear all -store, but this is not persistent, I get green text back after reboot
[16:06] <echo6> it would also appear that text that should be grey is green!
[16:14] <rizzuh> How can I restore several database dumps (.sql) into a single existing database? Do you have a bash script that would do that?
[16:42] <RoyK> echo6: that seems to me a desktop question :P
[17:07] <RoyK> you know a server is old when some of the cron jobs haven't been updated since 1999
[17:09] <oCean> probably a y2k fix, what else did we do in 1999?
[17:27] <rewt> partied like it's 1999
[17:42] <b0nghitter> what is the preferred FTPd for a production machine? something simple and secure.
[17:45] <greppy> b0nghitter: I've always liked proftpd, it will also do auth against mysql
[17:48] <b0nghitter> ok, cool. i have used proftpd before, mainly because of resume support..
[18:48] <qman__> IMO, not using FTP at all is the preferred method
[18:53] <qman__> unless you _like_ using a protocol that punches thousands of holes in your firewall, transmits credentials in cleartext, doesn't work over NAT, and mangles text files
[19:04] <greppy> qman__: for some people, it's an acceptable risk or needed for thier application.
[19:07] <qman__> again IMO, if your application only works with FTP, you need a new application
[19:07] <qman__> there's plenty of other ways to transmit files, all of which are massive improvements over FTP
[20:33] <j3roth> Question: Is there a program to log DNS requests that users SSH'd into my server request?
[20:34] <greppy> j3roth: if you use a local dns server, like bind, you can turn on query logging.
[20:34] <j3roth> this is true.
[20:34] <greppy> matching that to a specific process or user can be a little tricky.
[20:35] <j3roth> yeah, that is what I am trying to figure out. I have multiple users connecting via ssh to the box. I want to be able to monitor their requests....
[20:36] <greppy> why?
[20:36] <j3roth> because they are my teenage sons and I do not trust what they are browsing lol
[20:37] <j3roth> I am not the type to put a filter on internet access. More just to make sure they aren't doing any unhealthy.
[20:37] <StevenR> j3roth: they're browsing via ssh?
[20:37] <j3roth> Work around to university filter. ssh -D
[20:37] <greppy> then don't worry about matching it to a single user, just turn on logging and review what they are hitting.
[20:37] <j3roth> that works
[20:38] <greppy> if they go somewhere naughty, call them both in and have them fess up to it and/or explain what happened, until then, they don't have access anymore :)
[20:38] <j3roth> exactly
[20:39] <j3roth> gracias good sirs
[20:39] <j3roth> or ma'ams
[20:39] <j3roth> :)
[21:01] <goddard> im trying to setup my network card but i get nothing
[21:01] <goddard> im running an old ibm eserver
[21:18] <jeeves_moss> is there a way to shrink a live partition?  I would like to shrink the root partition on my server so I can install reiser4 on a small (<4gb partition)
[21:18] <guntbert> Jeeves_: not while it is mounted
[21:19] <jeeves_moss> guntbert,damn it.  LOL
[21:19] <guntbert> sorry, mistabbed :)
[21:19] <jeeves_moss> have you ever setup a FreeCDDB server before.
[21:19] <guntbert> jeeves_moss: no
[21:20] <jeeves_moss> the "howto" I'm reading reccomends using that type of file system for it since it comtains tons of small files.  Any sudgestions?  I'm currently running on EXT3
[21:21] <jeeves_moss> right now, in this server, space is kind of at a preimum.  I have all of my 76Gb 10K Ultra320 drives tied up in another server
[21:21] <guntbert> jeeves_moss: as far as I know reiserfs is not in active development any more, so I'd be reluctant to go that way
[21:22] <jeeves_moss> any ideas on a good FS for small files?
[21:22] <jeeves_moss> (I have another project that caches JPEG files, so I also need a soulition for that as well)
[21:24] <jeeves_moss> has ZFS become stable enough for production?  I don't really want to run SUNOS, but I need the abilty to add drives of differen't sizes on the flyand auto expand
[21:27] <qman__> jeeves_moss, I was considering nexenta for that reason
[21:29] <jeeves_moss> ahhh.  well, the secondary box that I need to go into roduction is a 6 drive IBM box that I would like to have the features of ZFS on.  the auto arrange of the cluster size, and the ability to mount new drives (reguardless of size) and auto add/expand them into the set us a HUGE thing for me.  The site will be caching JPEGs and offering up streaming videos, so we need SPEED!
[21:30] <jeeves_moss> and since the RAID controllers built into this box won't play nice with Ubuntu, I'm kinda annoyed
[21:31] <qman__> I wanted it for the filesystem-level hash checking, and the per-file redundancy settings
[21:32] <jeeves_moss> ahhh, does it play nice when disks die?
[21:32] <qman__> it'd save me a lot of space if I didn't have to keep double parity on temporary files
[21:33] <qman__> without buying yet more disks just for that
[21:33] <jeeves_moss> ahhh, well, this 6 disk box will have a JBOD tossed on it as soon as I can afford it.  Then, as we expand, I'll slowly swap out the 76Gb disks for 146Gb ones.  But, as I said, I need to make sure it's production safe and tested
[21:34] <qman__> yeah
[21:34] <ezrtyuiop> Hello there
[21:34] <ezrtyuiop> anyone ?
[21:34] <qman__> !anyone | ezrtyuiop
[21:34] <jeeves_moss> ahhh..  does it do optimization, etc?  or am I going on about something that's not that important?
[21:35] <qman__> it can do compression, but it's not exactly designed for maximum speed
[21:35] <ezrtyuiop> once after installation cacti-cactid i got this error E: Sub-process /usr/bin/dpkg returned an error code (1)
[21:35] <qman__> ezrtyuiop, you have to scroll up and find the first error
[21:36] <qman__> that's just telling you there was one
[21:36] <jeeves_moss> qman__, ahhh, well, I'm not sure anymore what I should do with this box then.  I figured dual quad core 3.0Ghz Xenons, 8Gb of RAM, and a few TB should be good enough for a small streaming server
[21:37] <qman__> jeeves_moss, well, it's not really slow, but it's more aimed at robustness than pure speed
[21:37] <qman__> raid 0 or 10 will be faster
[21:38] <ezrtyuiop> what have to do ?
[21:38] <jeeves_moss> qman__, the cards in the box will do 10, but it's sensitive to the drive size, etc, and won't auto scale
[21:38] <jeeves_moss> ezrtyuiop, I'm looking to start a streaming server for education, etc.  it's mostly flash baised (yes, I got bent over when I talked to the Adobe rep)
[21:38] <qman__> yeah, those sorts of features require a level of dynamic adjustment that will sap your speed
[21:39] <qman__> zfs would make it easy to expand later, but you're not going to be as fast as raid 10
[21:39] <jeeves_moss> qman__, that's what I was looking at.  And I have a range of weird sized Ultra320 drives here that I was just going to slap into the box to start with,then as I can afford it, pull out the smaller ones, and replace them
[21:40] <qman__> well, zfs is certainly going to be the most convenient in that case
[21:40] <qman__> and it's not going to be really slow, just slower than a dedicated raid 10
[21:41] <jeeves_moss> qman__, but I think think it'll run on Ubuntu though, right?
[21:41] <qman__> not sure how far along ZFS is in linux yet
[21:41] <qman__> I know the fuse version is pretty decent
[21:41] <jeeves_moss> there is the linecing issues.  (sorry, too drunk to spell right now)
[21:42] <qman__> but, that's why I was looking at nexenta
[21:42] <qman__> it's basically an opensolaris kernel with a debian userland
[21:42] <jeeves_moss> and granted, RAID 10 or RAID 50 is nice, but I can see a LOT of problems with it growing out of the dust when this gets going
[21:42] <qman__> giving us the robust solaris features without the headaches
[21:43] <ezrtyuiop> wow what is raid10 or RAID50 never heard before ?
[21:43] <ezrtyuiop> or are you talking about raid 1 and Raid 5 ?
[21:43] <qman__> 10 is 1 + 0, 50 is 5 + 0
[21:44] <qman__> it's a combination of concepts for improved speed
[21:44] <qman__> my file server's a raid 6, which is really slow
[21:44] <ezrtyuiop> miroring ?
[21:45] <qman__> even with a quad core 3GHz+ and good controllers, I'm not even topping out gigabit
[21:45] <jeeves_moss> qman__, yes, I know.  I guess I'm limited by the layout and $$$.  I was thinking of buying a 2U box with 24 SAS bays.  But I can't figure out how to cram enough controllers in it and still have room for everything else.
[21:45] <jeeves_moss> my goal is for the expandability and screw up recovery
[21:45] <qman__> 2.5"?
[21:45] <qman__> I can't imagine any other way to fit that many in a 2U
[21:46] <qman__> I've seen 4Us that big
[21:46] <jeeves_moss> yea, they're 2.5'
[21:46] <jeeves_moss> *"
[21:46] <qman__> would require some expensive controllers then, ones with lots of ports per card
[21:47] <jeeves_moss> yea.  that's the problem.  8 ports a card (2 PCIx slots), and the rest on the mobo
[21:47] <qman__> I decided to just buy more disks for my aging server, for now
[21:47] <jeeves_moss> lol, we're running outta space here in the house.
[21:47] <qman__> but after I run out of space on that, I'm going 4U
[21:47] <qman__> and ZFS, whatever that requires me to run
[21:47] <qman__> or possibly btrfs if it gets up to snuff by then
[21:48] <jeeves_moss> I might just run this IBM 2U box for a while (untill I outgrow it), then move to that 24 bay one and load it with laptop HDDs
[21:48] <qman__> raid 6 is really slowing me down
[21:48] <jeeves_moss> lol, oh?
[21:49] <qman__> but my previous raid 5 lost three disks in one day
[21:49] <qman__> so I'm not doing that again
[21:49] <jeeves_moss> WTF?  seriously?
[21:49] <qman__> yes
[21:49] <qman__> two within an hour
[21:49] <jeeves_moss> ouch!
[21:49] <jeeves_moss> were you home to find out?
[21:49] <qman__> yeah, it crapped out on me while I was using it, but I didn't notice until the second one died
[21:50] <qman__> and my files suddenly became read-only
[21:50] <jeeves_moss> lol
[21:50] <qman__> so, this one's raid 6 with a hot spare, but it's really slow
[21:50] <qman__> next time around I'm going with something better, like ZFS
[21:50] <jeeves_moss> something about Ultra320 drives in a mirror just do it for me for I/O.  I don't like this laptop I use as a work station.  :-(
[21:51] <qman__> the old raid 5 would top out gigabit easy
[21:51] <qman__> the current one struggles to do 55MB/s read
[21:51] <qman__> with 11 disks in the raid
[21:51] <jeeves_moss> has anyone figured out what this damn jbd2/sda5-8 is? it keeps popping up on IOTOP
[21:52] <qman__> like, hdparm shows a lot more speed than that
[21:52] <qman__> but actual file transfers don't go near the 80MB/s the old one did
[21:53] <jeeves_moss> I can't complain.  this little box is slated to live a life serving RAIDUS requests.  Not bad for a little 1U IBMbox (dual 1Ghz, 2.5Gb RAM, dual 36.6Gb 10K Ultra320s)
[21:55] <jeeves_moss> ugh, brb, more beer required
[21:58] <jeeves_moss> does this mean it works?  https://wiki.ubuntu.com/ZFS
[22:16] <Jin> Hello, I have a question regarding ubuntu server
[22:17] <guntbert> !ask
[22:17] <Jin> Is it wrong to have both web and mail server on the same ubuntu server machine?
[22:17] <alamar> Jin: no
[22:17] <alamar> why would that be wrong?
[22:17] <alamar> of course depending on your USECASE it might be wrong
[22:18] <Jin> cuz I'm planning to build a mail server on my webserver ubuntu and make it work as both at the same time
[22:18] <Jin> thank you Alamar
[22:18] <alamar> there is no definitive answer to such a question
[22:18] <alamar> you could separate all services to different physical machines
[22:18] <alamar> then again you could make use of various virtualization techniques
[22:18] <guntbert> Jin: have you got experience with mail servers?
[22:18] <Jin> I only have one machine
[22:18] <Jin> no
[22:18] <alamar> (with more or less the same effect)
[22:19] <Jin> This is my first time building a mail server
[22:19] <alamar> managewise if their is a link between the offered services it might be easiest to have them on one single system
[22:19] <guntbert> Jin: then PLEASE don't run a publicly available mail server yet
[22:19] <alamar> (like same domains for mail as for webhosting)
[22:19] <Jin> I have a domain let's say jin.com, I want to make my website can allow people create their own email that would be something@jin.com
[22:19] <alamar> s/their/there/
[22:20] <alamar> Jin: for you it might be the best to just use plesk or ispconfig
[22:20] <alamar> because YOU would probably screw up more
[22:20] <Jin> what do you mean Guntbert?
[22:20] <Jin> I don't know anything about plesk?
[22:21] <alamar> Jin: the good thing about that is plesk is more or less designed to work even for people who have no idea about plesk or server administration
[22:21] <qman__> Jin, postfix is not microsoft exchange, it doesn't require a quad processor server with 24 gigs of RAM just to house a few mailboxes
[22:21] <alamar> Jin: he means that people shouldn't run publicly accesable mail services if they are not fit to administer them
[22:21] <guntbert> Jin: mail servers are (if not configured correctly) in danger of being open mail relays
[22:22] <Jin> I want to secure, nobody can own an email just like that, I'm gonna code the website myself and build inside the mail system integrated with the mail server, I have 0 experience about it but I need to go through it
[22:22] <alamar> as I said. just use plesk(for hosting only one domain it's even free) or ispconfig(if you don't want to pay anything and have more than one domain)
[22:22] <mendel_> Jin: Google Apps sounds perfect for you
[22:23] <Jin> no, I don't want google to host my mail server
[22:23] <Jin> Here is some help websites that I found, https://help.ubuntu.com/community/MailServer
[22:23] <alamar> why not? they'd do a far more superior job
[22:23] <mendel_> indeed
[22:23] <Jin> http://flurdy.com/docs/postfix/#app_why
[22:23] <Jin> yes but in my project, it requires a private mail server
[22:24] <mendel_> sending and receiving mails?
[22:24] <mendel_> or just sending
[22:24] <Jin> yes
[22:24] <mendel_> yes what
[22:24] <alamar> hrhr
[22:24] <Jin> sending and receiving
[22:25] <Jin> mendel_ and alamar, do you please know any good website that helps building own mail servers in a better way and secure that I should follow?
[22:25] <guntbert> Jin: "private" as in "hidden behind a router, used only in your private network"?
[22:25] <guntbert> that would be the way to start
[22:25] <qman__> so long as you put in the right information, the default 'internet site' configuration is reasonably secure
[22:25] <Jin> private to the website itself and it's global over internet
[22:26] <Jin> I'm confused
[22:26] <alamar> Jin: I think you should use plesk or ispconfig. building a mailserver manually that is configured appropriately is fucking work IMHO. there are probably a lot of "build a very sexy allround mailserver" howtos on howtoforge
[22:28] <guntbert> alamar: do you know of a good tutorial "how to use ispconfig" ?
[22:30] <alamar> no but it has a webinterface - that's normally all people need ;) but iirc there exists quite thorough documentation from the author
[22:30] <alamar> (called something like ispconfig book probably)
[22:30] <guntbert> alamar: ok, gonna look :)
[22:32] <alamar> it seems it's not for free
[22:32] <alamar> http://www.ispconfig.org/ispconfig-3/ispconfig-3-manual/
[22:32] <guntbert> thx :)
[22:39] <rizzuh_laptop> How do I restore a bunch of sql dumps into an existing database? They're all prefixed by date and number, in the order to be applied. A bash script or something similar would be great.
[22:45] <mendel_> rizzuh_laptop: mysql?
[22:45] <rizzuh_laptop> yeah
[22:45] <mendel_> create a sql file and import it with the mysql command?
[22:45] <mendel_> mysql -p -h host dbname < queries.sql
[22:46] <rizzuh_laptop> I have about 50 files I want to import in order.
[22:46] <rizzuh_laptop> I tried with find and xargs, but couldn't get mysql or mysqlimport to import them.
[22:47] <rizzuh_laptop> The files are named like 2011-06-22-00-dbname_change.sql
[22:48] <mendel_> I would loop the dir with a nodejs script and then exec mysql with that file
[22:48] <mendel_> not much of a shell pro
[22:48] <mendel_> must be a easier way, sorry I can't help
[22:51] <rizzuh_laptop> thanks anyway
[22:52] <rizzuh_laptop> I could write a C++ porg to do it mendel_, but that would take too long heh, to write and to compile.
[22:52] <qman__> you can definitely shell script it
[22:52] <qman__> but the question is, would it be faster to learn and write the script
[22:53] <rizzuh_laptop> Sure, but how? I'm a shell newbie.
[22:53] <qman__> or just do it one by one
[22:53] <rizzuh_laptop> There's a LOT of files, with long names the lieks on 2011-06-22-00_dbname_somename.sql
[22:53] <qman__> that's what tab completion is for
[22:53] <rizzuh_laptop> And this is just once now, but there will be more updates in the future.
[22:53] <rizzuh_laptop> Yeah, but it's a lot of typing still :<
[22:53] <qman__> well, if it's more than a one shot thing
[22:53] <qman__> then definitely go for the script
[22:53] <qman__> I'm not exactly a pro at it myself
[22:54] <qman__> but it shouldn't be too complicated
[22:54] <rizzuh_laptop> The thing is I failed at scripting this, which should be basically get list of files in directory, feed them one by one to mysql/mysqlimport.
[22:55] <qman__> this may help  http://mywiki.wooledge.org/BashPitfalls
[22:55] <qman__> it basically lists all the mistakes I've made when trying to script something
[22:57] <rizzuh_laptop> qman__, thanks.
[22:58] <rizzuh_laptop> qman__, funny one of the mistakes there (for in in ...) is exactly what I need xD
[22:58] <qman__> banged my head against the wall on that problem many times before I saw that page
[23:35] <jMCg> In order to enable crash dumps, I need to install kdump-tools... and?
[23:38] <sw0rdfish> hey guys 'last -10' tells you who has logged in to your system for the last
[23:38] <sw0rdfish> 10 times
[23:38] <sw0rdfish> right?
[23:40] <sw0rdfish> can I use that to give me the IP of users who logged into my vps?
[23:40] <sw0rdfish> via ssh