[00:20] 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] normal 32-bit kernels are going to return i686 [00:21] because that's what they are [00:24] qman__: ACK. [00:27] there might be something used by apt/dpkg that still returns i386 though [01:33] is it possible to make rtgui actually work under Debian with lighttpd? [02:07] New bug: #804961 in amavisd-new (main) "package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/804961 === rewt`` is now known as rewt [04:17] how do I make htpasswd auth on single directory with lighttpd? i'm not using any vhosts [04:22] ksx4system: crossposting between #debian and #ubuntu-server is a bad idea. Pick one, the right one for the OS you are using. [04:27] jmarsden: sometimes it's not, at least when #debian remains completely silent and/or question is ignored [05:39] how do I get my NTPd server to service global NTP requests? [05:42] have it listen on your internet-facing interface, and open the port in your firewall [05:46] 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] try a remote nmap [05:47] tried that, port is closed [05:49] could it be a deny line in the config? [05:52] could be [05:54] ok, thanks [05:54] I'll have a look [06:03] rewt, does this mean it's working? [06:03] ntpq -np [06:03] remote refid st t when poll reach delay offset jitter [06:03] ============================================================================== [06:03] *192.168.1.201 158.43.128.33 2 u 2 64 1 0.148 -43.816 1.590 [06:05] not sure; that could just mean that your server synchronized itself to another [06:10] rewt when I try the ntpdate command, I get " no servers can be used, exiting" [06:42] jeeves_moss, ntpdate doesn't work correctly in ubuntu, use ntpdate-debian, but that's also different from ntpd [06:42] ntpd does its own thing [06:43] just give it some time to work and it'll sync with servers [06:43] that output means it's 43 seconds off a stratum 2 server [06:43] once it closes the gap you'll be right on [07:35] New bug: #805005 in drbd8 (main) "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/805005 [07:42] New bug: #805007 in drbd8 (main) "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/805007 [09:36] anyone using ISPconfig 3 on Ubuntu server 11 ? === akshat-cloud is now known as cloud-akshat [10:20] hi [11:24] !ops [11:24] Help! Channel emergency! soren, lamont, mathiaz or tom [11:24] FUCK FUCK FUCK FUCK FUCKKKKKKKKKKKKKKKKKKKKKKKKKKKK [11:24] oCean: i like black men [11:25] !obs [11:25] !ops [11:25] Help! Channel emergency! soren, lamont, mathiaz or tom [11:25] !ops [11:26] oCean: i like black men [13:39] [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] hello [16:06] 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] it would also appear that text that should be grey is green! [16:14] 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] echo6: that seems to me a desktop question :P [17:07] you know a server is old when some of the cron jobs haven't been updated since 1999 [17:09] probably a y2k fix, what else did we do in 1999? [17:27] partied like it's 1999 [17:42] what is the preferred FTPd for a production machine? something simple and secure. [17:45] b0nghitter: I've always liked proftpd, it will also do auth against mysql [17:48] ok, cool. i have used proftpd before, mainly because of resume support.. [18:48] IMO, not using FTP at all is the preferred method [18:53] 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] qman__: for some people, it's an acceptable risk or needed for thier application. [19:07] again IMO, if your application only works with FTP, you need a new application [19:07] there's plenty of other ways to transmit files, all of which are massive improvements over FTP [20:11] New bug: #805206 in php5 (main) "php 5.3.2 is affected by a bug in the DateTime object" [Undecided,New] https://launchpad.net/bugs/805206 [20:33] Question: Is there a program to log DNS requests that users SSH'd into my server request? [20:34] j3roth: if you use a local dns server, like bind, you can turn on query logging. [20:34] this is true. [20:34] matching that to a specific process or user can be a little tricky. [20:35] 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] why? [20:36] because they are my teenage sons and I do not trust what they are browsing lol [20:37] 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] j3roth: they're browsing via ssh? [20:37] Work around to university filter. ssh -D [20:37] then don't worry about matching it to a single user, just turn on logging and review what they are hitting. [20:37] that works [20:38] 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] exactly [20:39] gracias good sirs [20:39] or ma'ams [20:39] :) [21:01] im trying to setup my network card but i get nothing [21:01] im running an old ibm eserver [21:18] 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] Jeeves_: not while it is mounted [21:19] guntbert,damn it. LOL [21:19] sorry, mistabbed :) [21:19] have you ever setup a FreeCDDB server before. [21:19] jeeves_moss: no [21:20] 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] 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] 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] any ideas on a good FS for small files? [21:22] (I have another project that caches JPEG files, so I also need a soulition for that as well) [21:24] 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] jeeves_moss, I was considering nexenta for that reason [21:29] 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] and since the RAID controllers built into this box won't play nice with Ubuntu, I'm kinda annoyed [21:31] I wanted it for the filesystem-level hash checking, and the per-file redundancy settings [21:32] ahhh, does it play nice when disks die? [21:32] it'd save me a lot of space if I didn't have to keep double parity on temporary files [21:33] without buying yet more disks just for that [21:33] 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] yeah [21:34] Hello there [21:34] anyone ? [21:34] !anyone | ezrtyuiop [21:34] ezrtyuiop: 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. [21:34] ahhh.. does it do optimization, etc? or am I going on about something that's not that important? [21:35] it can do compression, but it's not exactly designed for maximum speed [21:35] once after installation cacti-cactid i got this error E: Sub-process /usr/bin/dpkg returned an error code (1) [21:35] ezrtyuiop, you have to scroll up and find the first error [21:36] that's just telling you there was one [21:36] 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] jeeves_moss, well, it's not really slow, but it's more aimed at robustness than pure speed [21:37] raid 0 or 10 will be faster [21:38] what have to do ? [21:38] 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] 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] yeah, those sorts of features require a level of dynamic adjustment that will sap your speed [21:39] zfs would make it easy to expand later, but you're not going to be as fast as raid 10 [21:39] 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] well, zfs is certainly going to be the most convenient in that case [21:40] and it's not going to be really slow, just slower than a dedicated raid 10 [21:41] qman__, but I think think it'll run on Ubuntu though, right? [21:41] not sure how far along ZFS is in linux yet [21:41] I know the fuse version is pretty decent [21:41] there is the linecing issues. (sorry, too drunk to spell right now) [21:42] but, that's why I was looking at nexenta [21:42] it's basically an opensolaris kernel with a debian userland [21:42] 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] giving us the robust solaris features without the headaches [21:43] wow what is raid10 or RAID50 never heard before ? [21:43] or are you talking about raid 1 and Raid 5 ? [21:43] 10 is 1 + 0, 50 is 5 + 0 [21:44] it's a combination of concepts for improved speed [21:44] my file server's a raid 6, which is really slow [21:44] miroring ? [21:45] even with a quad core 3GHz+ and good controllers, I'm not even topping out gigabit [21:45] 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] my goal is for the expandability and screw up recovery [21:45] 2.5"? [21:45] I can't imagine any other way to fit that many in a 2U [21:46] I've seen 4Us that big [21:46] yea, they're 2.5' [21:46] *" [21:46] would require some expensive controllers then, ones with lots of ports per card [21:47] yea. that's the problem. 8 ports a card (2 PCIx slots), and the rest on the mobo [21:47] I decided to just buy more disks for my aging server, for now [21:47] lol, we're running outta space here in the house. [21:47] but after I run out of space on that, I'm going 4U [21:47] and ZFS, whatever that requires me to run [21:47] or possibly btrfs if it gets up to snuff by then [21:48] 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] raid 6 is really slowing me down [21:48] lol, oh? [21:49] but my previous raid 5 lost three disks in one day [21:49] so I'm not doing that again [21:49] WTF? seriously? [21:49] yes [21:49] two within an hour [21:49] ouch! [21:49] were you home to find out? [21:49] yeah, it crapped out on me while I was using it, but I didn't notice until the second one died [21:50] and my files suddenly became read-only [21:50] lol [21:50] so, this one's raid 6 with a hot spare, but it's really slow [21:50] next time around I'm going with something better, like ZFS [21:50] 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] the old raid 5 would top out gigabit easy [21:51] the current one struggles to do 55MB/s read [21:51] with 11 disks in the raid [21:51] has anyone figured out what this damn jbd2/sda5-8 is? it keeps popping up on IOTOP [21:52] like, hdparm shows a lot more speed than that [21:52] but actual file transfers don't go near the 80MB/s the old one did [21:53] 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] ugh, brb, more beer required [21:58] does this mean it works? https://wiki.ubuntu.com/ZFS [22:16] Hello, I have a question regarding ubuntu server [22:17] !ask [22:17] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [22:17] Is it wrong to have both web and mail server on the same ubuntu server machine? [22:17] Jin: no [22:17] why would that be wrong? [22:17] of course depending on your USECASE it might be wrong [22:18] 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] thank you Alamar [22:18] there is no definitive answer to such a question [22:18] you could separate all services to different physical machines [22:18] then again you could make use of various virtualization techniques [22:18] Jin: have you got experience with mail servers? [22:18] I only have one machine [22:18] no [22:18] (with more or less the same effect) [22:19] This is my first time building a mail server [22:19] managewise if their is a link between the offered services it might be easiest to have them on one single system [22:19] Jin: then PLEASE don't run a publicly available mail server yet [22:19] (like same domains for mail as for webhosting) [22:19] 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] s/their/there/ [22:20] Jin: for you it might be the best to just use plesk or ispconfig [22:20] because YOU would probably screw up more [22:20] what do you mean Guntbert? [22:20] I don't know anything about plesk? [22:21] 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] 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] Jin: he means that people shouldn't run publicly accesable mail services if they are not fit to administer them [22:21] Jin: mail servers are (if not configured correctly) in danger of being open mail relays [22:22] 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] 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] Jin: Google Apps sounds perfect for you [22:23] no, I don't want google to host my mail server [22:23] Here is some help websites that I found, https://help.ubuntu.com/community/MailServer [22:23] why not? they'd do a far more superior job [22:23] indeed [22:23] http://flurdy.com/docs/postfix/#app_why [22:23] yes but in my project, it requires a private mail server [22:24] sending and receiving mails? [22:24] or just sending [22:24] yes [22:24] yes what [22:24] hrhr [22:24] sending and receiving [22:25] 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] Jin: "private" as in "hidden behind a router, used only in your private network"? [22:25] that would be the way to start [22:25] so long as you put in the right information, the default 'internet site' configuration is reasonably secure [22:25] private to the website itself and it's global over internet [22:26] I'm confused [22:26] 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] alamar: do you know of a good tutorial "how to use ispconfig" ? [22:30] no but it has a webinterface - that's normally all people need ;) but iirc there exists quite thorough documentation from the author [22:30] (called something like ispconfig book probably) [22:30] alamar: ok, gonna look :) [22:32] it seems it's not for free [22:32] http://www.ispconfig.org/ispconfig-3/ispconfig-3-manual/ [22:32] thx :) [22:39] 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] rizzuh_laptop: mysql? [22:45] yeah [22:45] create a sql file and import it with the mysql command? [22:45] mysql -p -h host dbname < queries.sql [22:46] I have about 50 files I want to import in order. [22:46] I tried with find and xargs, but couldn't get mysql or mysqlimport to import them. [22:47] The files are named like 2011-06-22-00-dbname_change.sql [22:48] I would loop the dir with a nodejs script and then exec mysql with that file [22:48] not much of a shell pro [22:48] must be a easier way, sorry I can't help [22:51] thanks anyway [22:52] I could write a C++ porg to do it mendel_, but that would take too long heh, to write and to compile. [22:52] you can definitely shell script it [22:52] but the question is, would it be faster to learn and write the script [22:53] Sure, but how? I'm a shell newbie. [22:53] or just do it one by one [22:53] There's a LOT of files, with long names the lieks on 2011-06-22-00_dbname_somename.sql [22:53] that's what tab completion is for [22:53] And this is just once now, but there will be more updates in the future. [22:53] Yeah, but it's a lot of typing still :< [22:53] well, if it's more than a one shot thing [22:53] then definitely go for the script [22:53] I'm not exactly a pro at it myself [22:54] but it shouldn't be too complicated [22:54] 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] this may help http://mywiki.wooledge.org/BashPitfalls [22:55] it basically lists all the mistakes I've made when trying to script something [22:57] qman__, thanks. [22:58] qman__, funny one of the mistakes there (for in in ...) is exactly what I need xD [22:58] banged my head against the wall on that problem many times before I saw that page [23:35] In order to enable crash dumps, I need to install kdump-tools... and? [23:38] hey guys 'last -10' tells you who has logged in to your system for the last [23:38] 10 times [23:38] right? [23:40] can I use that to give me the IP of users who logged into my vps? [23:40] via ssh