[00:01] GammalSokk: Well, in that case I'd say you'd also have to modify your new /etc/init.d/samba to call smbd and nmbd using the -s flag. That's probably just one of many defaults you now have to be explicit about. [00:02] ye, guess I'm gonna try getting it done tomorrow tho, getting late now, and I can't find any usefull about it when I search the forum or on google... [00:03] oh and nmbd doesn't restart properly when I issue '/etc/init.d/samba restart' it seems, heh, I blame me being tired [00:03] GammalSokk: That's a normal problem :) [00:03] ah, ok [00:04] GammalSokk: That is, things going wrong due to the system administrator being tired :) [00:08] I guess I can just blame my boss for demanding this to be done in a too small time frame :P Buuut then again he's paying my overtime so... [00:23] GammalSokk: Well, if nothing else the smb.conf man page is really good. [00:23] gives me something to do at work tomorrow I guess :) [00:23] ty for help so far, gotta try and sleep 4 hours before going back to work :P [00:24] yeah, sleep is probably something I should look into myself :) [00:27] How do I setup SSL? [00:27] (Error code: sec_error_untrusted_issuer) <--- I am getting this error when trying to access a https website on my server [00:28] don't have proper certs setup? [00:28] check the server guide [00:28] billybigrigger, good idea [00:28] =) [00:29] https://help.ubuntu.com/9.10/serverguide/C/certificates-and-security.html [00:30] okat, the issue seems to be that the cert is self signed [00:30] Okay* [00:30] So... wtf? I am not going to pay to have it authorized. [00:30] This is for a development server in my basement. [00:32] oh, i'm an idiot [00:32] never mind, I missed the "make an exception" part =) [00:33] :P [00:41] anyone here familiar with ssh tunneling? [00:41] i'm trying to setup a tunnel between my friends computer, and my server... [00:41] so that we can both use my usenet account at the same time [00:41] from the same IP address [00:42] i've created an account on my server, and i can ssh into my box, from his...with this command ssh -p 2222 68.146.139.247 -L 2222:news.astraweb.com:119 [00:42] that connects fine, and then after i launch pan on his pc, via vnc, i try to connect to localhost:2222 [00:43] this should redirect him to news.astraweb.com:119 correct? [00:43] or am i missing something here? [00:43] 2222 is the port i have sshd running on my server [00:43] or do i need to specify a different port to tunnel through? ie...... [00:44] ssh -p 2222 68.146.139.247 -L 3333:news.astraweb.com:119 [00:44] and have him connect through pan via localhost:3333 [00:45] ? [00:45] hmm [00:45] i guess we're both downloading now at the same time...everything seems to be ok i guess [00:49] this tunnel is pretty effin slow i might add haha, maybe this isn't the best way to go about this [00:49] i guess this tunnel would be capped at my upstream wouldn't it? [00:49] billybigrigger: Yes. [00:49] since i'm technically sending it to him [00:50] hmmm [00:50] Might be better to have him use X forwarding, so he sshes into your server and then runs pan on that server, with its display forwarded over ssh back to his local workstation> That assumes he has X on his local workstation... [00:51] either way that data he downloads with still be capped via my upstream [00:51] s/with/will [00:52] billybigrigger: No, using X forwarding the data between your server and him is just video and keystrokes/mouse movement. The news stays on your server machine. [00:52] my server is a VM :) [00:52] my upstream is 120kb/s max :P [00:52] maybe i should look into renting a host for this :) [00:52] Then why are you offering to share it with friends?? :) [00:53] yeah, having my upstream being the bottleneck totally slipped my mind [00:54] 120kb/sec is slow... you have a connection using 2 56k dialup modems bonded together?? [00:54] no thats my cable modem [00:55] 2.5MB/s down 120KB/s up :) [00:55] Ah, OK. [00:55] he has the same ISP [00:55] I'm spoiled here -- Verizon FIOS, so 10Mbps down / 2Mbps up :) [00:55] even using my server as a proxy would not help us out in this situation would it [00:56] ya canadian ISP's suck for upstream, they all suck [00:56] billybigrigger: Not that much -- I'm not sure whether remote X over 120kbps would be better or worse than the news feed going over that 120kbps link... [00:57] in either option, the ssh tunnel, or setting up the proxy server, he will still be capped at my upstream [00:57] so either tell him to buy his own usenet account or split the cost of a co-located server.... [00:57] $11/month for the usenet account seems to be the best option :) haha mind you i wouldn't mind having a server setup with a decent connection [00:58] $20/mo for a small slice on Linode might work -- $10each if you share it... ? [00:58] linode, never heard of it [00:59] http://www.linode.com -- well reputed place for getting Linux virtual servers [00:59] checking it out now [01:03] doesn't say what kind of link the servers are on though...unless im missing something [01:05] how can I get the output of dmesg with timestamps so I know when these things happened [01:05] Several Mbits/sec per VM, I'm sure -- they are at huge data centers buying bandwidth in bulk... you can ask them if you want a clear answer [01:06] zroysch1: The number in [] on the left of dmesg output is the number of seconds since server startup... doesn't that tell you when things happened? [01:07] jmarsden: yea i'm not trying to sit here and calculate for every event. [01:08] zroysch1: You could write a trivial script to accept a time (the server boot time) as a parameter and dmesg output as input and display the times any way you want... probably a two or 3 line Perl script would do it. [01:09] yea i wouldnt know where to start [01:10] You are a server admin and have no scripting skills? Time to learn, maybe ? [01:11] server admin, what is that? [01:12] uh yea i have a computer sitting next to me running ubuntu server [01:12] i guess that makes me a server admin === MianoSM1 is now known as MianoSM [01:15] If you prefer, get the dmesg output into a spreadsheet and set that up to do the time conversions, maybe? Use whatever tools you *do* know. [01:32] jmarsden: dmesg -h would be ideal. [01:33] jmarsden, can i still use ssl through an ssh tunnel? [01:33] zroysch1: There is no -h option to dmesg. You mean like du -h, where "h" means "human-reladable format"? Sure. [01:33] billybigrigger: Yes. [01:33] correct. [01:33] linode is by far the best VPS option i can find === crohakon is now known as crohakon|afk [01:42] zroysch1: Try this Perl oneliner: while () { /^\[([0-9]+)(.*)$/ ; print "[" . localtime($ARGV[0] + $1) . $2 . "\n"; } [01:43] jmarsden: thanks, but how would i implement that === jtisme is now known as jtholmes [01:44] and why is my /var/log/messages filled with only -- MARK -- [01:44] sorry i cannot google that [01:44] Stick it into a file that starts with #!/usr/bin/perl on one line and the perl I gave you on another line. Let's say the file is called display-time.pl Then do dmesg |perl display-time.pl 1234567890 [01:45] ok thanks will try [01:45] Where 1234567890 is the time offset when you booted your serer [01:45] /var/log/messages is filled with only -- MARK -- if you have a server that is doing nothing at all and has the syslog mark option enabled. [01:47] zroysch1: Actually you can do the date conversions on the command line if you prefer, just type [01:47] dmesg |perl -e 'while () { /^\[([0-9]+)(.*)$/ ; print "[" . localtime($ARGV[0] + $1) . $2 . "\n"; }' 1234567890 [01:48] And adjust the 1234567890 to the correct value for your machine :) [01:49] appreciate it [01:50] it seems that an ssh connection from the internet is finally stable. [02:01] jmarsden, do you have a linode account? [02:02] billybigrigger: No, I've just heard good things from several Ubuntu people who do. [02:02] ahh ok [02:02] just wondering what the setup time is [02:02] Minutes, they advertise. [02:03] fair enough [02:05] The signup page says "Accounts are activated instantly when possible. " :) === lamont` is now known as lamont [03:04] jmarsden, hmmm linode network link doesn't seem that great [03:04] i've tunneled both me and my buddy to my linode server and we're both getting only 200kb/sec [03:05] billybigrigger: If you create a user for me on your server I can ssh in from here and test bandwidth to/from both my home and from other servers which have plenty of bandwidth,,, [03:08] 1% [ ] 77,941,856 2.52M/s eta 27m 50s [03:09] thats from wget [03:09] just don't have a decent place to scp a file to test this upstream [03:09] 2.52M/s == 2.52 Megabytes per second, so that's 20 mbits/sec which seems reasonably quick to me... [03:10] not no 100mbit i thought i would have though :) [03:10] that's the same downlink as my home connection [03:10] just that my home connection has a crap uplink [03:10] and by the looks of it, so does linode [03:11] get me an ssh login and I'll test both ways from a server at a major datacenter to and from your server... [03:11] check pm [03:11] Got it... here we go... [03:15] jmarsden, i don't see you logged in [03:15] 1.7Mbytes/sec from me to you, 1.4Mbytes/sec from you to me, over ssh. Pretty decent for a small slice [03:15] I scped rather than sshing in for each connection, use last to see the two brief scp sessions [03:16] hmm some claim in the linode irc chan 50mbps [03:16] for uplink [03:17] Do they have a larger slice? it may be allocating bandwidth based on the size of your slice?? [03:17] i asked for my 360 account [03:17] 50mbps, upgradeable for free if you have legitimate/acceptable reason to be so. [03:18] Hmm. Well, at the moment you're not seeing that, at least not to where I tested. And I don't *think* the server I used would be the limiting factor... [03:18] did you test from a datacenter? [03:18] or just your home link [03:19] Yes, from a Verio datacenter where I admin a work server [03:20] what's 50mbps, like 6Mbytes/sec roughly? [03:21] Yes. But does it matter to you -- if you get anywhere close to 2Mbits/sec your cable will become the limiting factor anyway :) [03:22] of course [03:22] my connection SHOULD be the bottleneck [03:22] but it's not by the looks of things [03:23] not even seeing close to the 1.7/1.4 mbytes you saw though [03:23] 200k/sec here and 250k/sec for him [03:23] So if you do scp -pv -P 2222 bigfile user@ipaddress: what do you see? Then scp -pv -P 2222 usedr@ipaddress:bigfile bigfile2 to try it from the server to you. [03:24] ssh -p 2222 74.207.252.123 -L 2222:news.astraweb.com:119 [03:24] does that look like a correct ssh tunnel? [03:24] Yes, looks fine to me. [03:24] thought so [03:25] News may not be a good bandwidth test... lots of small articles... [03:25] whats a quick way to spit out a 10MB test file on this server? [03:26] use dd [03:26] dd if=/dev/random of=testfile bs=1024 count=10240 [03:26] 100%[======================================>] 10,485,760 23.6M/s in 0.4s [03:27] nevermind, found one on the net [03:27] that was quick [03:28] There is also one in ~jmarsden on your server (from my tests) :) [03:28] ahh :) [03:29] could it be the limitation of openssh or the tunnel? [03:29] You'd have to have a very slow CPU for the ssh crypto to slow down that far. [03:30] On a 486, sure, it might be a limitation :) [03:32] If you are really testing newsfeed speed, can you download news fast on the server itself using a shell-based newsreader? [03:35] well i'm just going to have to setup apache and host this 10mb.bin somewhere [03:35] this is odd [03:39] http://74.207.252.123/10mb.bin [03:40] What's odd? 1.14Mbytes/sec download to here ~= 10Mbit/sec which is my download speed... seems fine to me :) [03:42] 1.6Mbit/sec to "my" server in a datacenter, but I think the file is too small to really be a good test at those speeds, it was still speeding up when the download ended. [03:43] *1.6Mbyte/sec [03:44] a little slow to get going at first (mind you, i'm coming at it from approx. 3000 miles away), but 3.11MB/sec -> 24.88Mb/sec, trending faster. with a larger file, it'd fly [03:44] 22:39:55 (3.11 MB/s) - `/dev/null' saved [10485760/10485760] [03:44] 3.11MB/s is nowhere near my 231K/s :) [03:44] from my house, 2009-11-22 22:41:45 (1.68 MB/s) - `/dev/null' saved [10485760/10485760] [03:45] he's 3000 miles from my server, i'm only 1500 miles [03:45] i'd be happy to see 1MB/s [03:48] Is WUBI the same thing as goodbye-windows.com? === crohakon|afk is now known as crohakon [03:56] I somehow botched my postfix configuration, I set home_mailbox to Maildir/ but I still see mail going to /var/mail/user .. ideas? [03:57] did you restart postfix? [03:57] yes [03:58] billybigrigger: yes I was following Ubuntu server guide on postfix, so I also have dovecot up.. I'm not great setting up email daemons [03:59] my ultimate goal here is to setup procmail [03:59] use google apps [03:59] mail SUCKS [03:59] but you already know that. [03:59] but it seems like procmail needs the mail in the /home/user/Maildir format [03:59] twb: No, WUBI installs Linux within files inside the WIndows filesystem, or used to... goodbye-windows.com looks like a way to boot a Debian installer from Windows, but you need to repartition etc etc as normal. [04:02] kshah: No, procmail will work on normal mailbox files too, or it did a few years ago for me... [04:02] jmarsden: OK. I was confused on that point, since goodbye-windows also appears to run as a Windows .exe [04:02] jmarsden: awesome, and I'll go that route if I can't figure this out, but I do also want to know why my setting isn't taking effect [04:02] jmarsden, would a proxy server help out my speeds here at all? [04:03] cat /etc/postfix/main.cf | grep home_mailbox # => home_mailbox = Maildir/ [04:03] billybigrigger: Well, for browsing static web pages it might, but that's not what you are trying to speed up... [04:03] so pretty much, my connection to my server sucks, but it's great for everyone else :) [04:04] billybigrigger, a proxy server only increases speeds on files you have already downloaded before [04:04] billybigrigger: Looks like it :) Which is pretty odd... [04:04] so it helps in multi user environments [04:04] but that's about it [04:04] jmarsden, i should have looked into a canadian vps [04:04] billybigrigger: a proxy for what? HTTP? [04:05] billybigrigger: Well, you have 7 days to test it for free, if you find something better you can drop Linode within that time and get your money back. [04:05] At least, they used to offer that, I think they still do. [04:06] Probably takes a week to get a VPS fully configured anyway [04:06] billybigrigger, what type of internet connection are you using? [04:06] (Just like any other server.) [04:06] 1MB/s is more than a lot of home connections can do [04:06] 25mbps advertised [04:07] i can get around 2.0 - 2.5/MB/s downloads, with a 120K/s upload [04:07] ah [04:07] Incidentally, an HTTP proxy like polipo uses some tricks to reduce latency even for URLs that aren't cached, such as upgrading the connection to HTTP 1.1 and using multiplexing. [04:07] billybigrigger: that'll just be because you're a ways from the exchange, or have a lot of line noise [04:08] Obviously another way to make browsing faster is to disable flash, images, js, css, etc. [04:08] not trying to speed up browsing [04:08] twb: or use lynx :) [04:08] I use w3m, actually. [04:09] me and a buddy are sharing a usenet account, and we're both tunneling over ssh into this VPS i bought, so we can both use the news server at the same time [04:09] but we're only seeing like 200k/sec each [04:09] 200K/sec sorry [04:09] http://74.207.252.123/10mb.bin [04:09] billybigrigger: you could set up leafnode (an NNTP proxy) [04:09] what do you guys get for download speeds from this server? [04:09] twb, is it going to be any faster than this ssh tunnel? [04:10] billybigrigger: latency is not the same as speed [04:10] even when i ssh into this server it seems lagged to hell [04:10] billybigrigger: if leafnode has already downloaded news to your local machine overnight, then you don't need to wait for it to come down while you're reading it -- so latency is reduced even though you're probably downloading more overall [04:11] typing takes forever... [04:11] billybigrigger: you should also investigate QoS [04:11] billybigrigger: also, you should check the load on the remote host -- it might be that someone is running e.g. emacs or firefox there [04:11] 15:09 http://74.207.252.123/10mb.bin [04:11] 100 10.0M 100 10.0M 0 0 127k 0 0:01:20 0:01:20 --:--:-- 129k [04:11] That's 129kB/s, I think. [04:11] hmm [04:13] twb: He'd need a fair amount of disk space and bandwidth to maintain a leaf node, though -- how big is a full Usenet feed these days? [04:13] jmarsden: leafnode can proxy selective groups [04:13] billybigrigger: ssh to your VPS has no discernible lag from here in Southern California... [04:13] jmarsden: actually its default behaviour is only to pre-fetch groups you have tried to read in the last N days [04:14] twb: OK, that sounds workable. [04:14] So if you read all articles in a group, leafnode shouldn't be significantly more intensive than not using leafnode [04:16] hmmm....i use nzb's mostly, i don't even subscribe to any groups [04:16] nzb's? [04:16] Is that a newsreader? [04:17] no [04:17] pan i use for the newsreader [04:17] nzb is just for downloading binaries [04:18] Oh, you are an alt.sex.binaries weenie [04:18] bahaha [04:18] not quite [04:19] alt.sex.furries.binaries? [04:19] * jmarsden thinks alt.sex.* preferences are probably off topic in #ubuntu-server :) [04:20] So, has anybody tried ext3's transparent compression functionality? Is it reliable? [04:20] I'm wondering if I can/should turn it on for stuff like ~/Mail and ~/News, which are guaranteed to be lots of small text files. [04:28] I've never tried it, but have wondered about it... is it still "an unofficial patch" ? I'm not sure how much I trust an unofficially patched filesystem... [04:30] you doing anything important on that vps jmarsden? :) [04:30] Nope :) I just left myself logged in after testing for keyboard lagginess that you reported :) [04:31] do you see it? [04:31] No, it's lag-free for me. [04:31] billybigrigger: ssh to your VPS has no discernible lag from here in Southern California... [04:31] that vps is in cali, i'd sure hope not :) [04:34] Looks like I'm ten hops and about 25ms away from it. [04:37] o.o [04:39] billybigrigger: 1 100MByte test file makes the bandwidth of your VPS look better: 4.2Mbytes/sec scp transfer. [04:41] k i moved it to /var/www [04:42] 4% [> ] 4,233,872 178K/s eta 5m 37s [04:42] wget http://74.207.252.123/100MB.testing [04:42] i think i just need to get a VPS host here in canada or something [04:43] Could be. [04:43] everyone else seems to be able to pull over a MB/s from it, and i can barely break 300KB/sec [04:43] Are binaries from Usenet really worth all this effort? :) [04:44] no i actually have a host, thefrozencanuck.ca that i have www/mail and a bunch of junk on here on a VM on my home connection [04:44] i wouldn't mind having it hosted somewhere else [04:44] OK. [04:45] but on a host that has a better connection than my home connection :) [04:51] New bug: #486950 in php5 (main) "php5-cgi should be compiled with the --enable-pcntl option." [Undecided,New] https://launchpad.net/bugs/486950 [05:56] whats a good webmail server for ubuntu 9.10 that lets users create their own accounts? [05:57] generally users shouldnt be creating their own accounts [05:59] well, yes , i mean that lets them change their passwords from within the webmail page [06:00] check out roundcube [06:00] i tried squirrelmail it didnt have it [06:00] dunno if you can change user/pass though, as it just reads your systems users [06:00] ah [06:00] usually password management is not a function of the mail client [06:00] i think you can setup roundcube to read users from a db though [06:00] Sam-I-Am, yeah exactly [06:00] what i've done in the past is made a web page for password changes [06:01] billybigrigger, you drive semi trucks? [06:01] nope [06:01] work on oil rigs :) [06:01] alright, thanks [06:01] * smackdaddy installs roundcube [06:01] billybigrigger, damn... ever been to an asteroid? =) [06:01] ever been to an asteroid? [06:02] i don't understand your question [06:02] billybigrigger, do you often sing "Leavin on a jet plane"? [06:02] ahh...haha not in awhile [06:02] =) [06:02] billybigrigger: they have internet connections on those? [06:02] Sam-I-Am, of course they do. [06:02] yeah they do [06:03] Sam-I-Am, they have to send and receive data all the time. Most likely satellite? [06:03] yeah usually the operator's office usually wants to watch the rig data, and usually some bigshot's with all the $$$ in houston like to watch what your doing aswell :) [06:04] billybigrigger, one last off topic question... Are you in the gulf? [06:04] nope [06:04] i live/work in canada [06:04] eh [06:04] oh, nice [06:12] (Error code: ssl_error_rx_record_too_long) [06:12] pwnguin, ssl with zen-cart? =) [06:12] just followed the wiki [06:12] https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html [06:13] crohakon: any idea? [06:13] hi [06:13] pwnguin, was I right? Zen Cart? [06:13] no [06:13] pwnguin, oh... nope, I can't help. I am getting the same issue with zencart and ssl [06:14] i have no idea what zencart is [06:14] im guessing a php app for ecommerce [06:14] pwnguin, shopping cart e commerce stuff [06:15] crohakon: im pretty sure the problem is unrelated to your cart, except for the part where ecommerce requires SSL [06:16] crohakon: check your virtualdirectory apache config [06:16] pwnguin, figured as much as well... I just reinstalled it without ssl as I am just playing around with it. [06:16] seeing if I like it [06:17] *shrugs* [06:17] yea, i had [06:17] SSL dont like that [06:18] well you can run one ssl vhost... then the other ones wont work without other IPs heh [06:27] well, i just have the one domain [06:28] time for zzz here... [06:30] i have put my id_dsa.key in the .ssh/authorized_keys of a server, but still when i try to ssh to the server, it returns: Permission denied (publickey). why? [06:34] because you did it backwards [06:35] you need to put the .pub in the authorized keys file [06:35] that way the server doesn't have your private key [06:36] the id_dsa.key is stored wherever you wish to ssh FROM, and the id_dsa.pub is needed wherever you wish to ssh INTO [06:40] maxagaz: there's a program that will actually deploy keys for you [06:40] ssh-copy-id [06:42] how do i configure roundcube [06:44] judging by my server logs, poorly [06:45] seems like im always getting roundcube attack attempts =/ [06:47] it sucks? [06:47] i cant even get it installed [06:47] or working.. [06:47] its installed [06:53] pwnguin, i don't have password access to the server, so ssh-copy-id won't work [06:54] well, then you get to do it the hard way [07:02] pwnguin, what is the hard way ? I already put the content of my user's id_dsa.key at the end of the authorized_keys of the distant user on the remote server [07:02] pwnguin, is there something else to do ? [07:08] maxagaz: yes. delete that, becuase it's the wrong thing [07:08] maxagaz: do you know how public key encryption works? [07:08] pwnguin, partly [07:08] you want the user's public key on the server [07:09] however, you put the private key on the server [07:09] pwnguin, no, i did put the public key [07:09] pwnguin, id_dsa.pub [07:09] (pwnguin, sorry for saying id_dsa.key) [07:10] then you have a long night ahead of you [07:11] perhaps blow away the auth_keys file [07:11] and maybe make sure the keys are matched [07:16] pwnguin, actually i can access the server via another address and port, with password, so I've add the pub key from it using ssh-copy-id, now i can access the server from this way without password, but if i try to access the server from its other address and other port, it returns: Permission denied (publickey). Why? [07:21] not sure. im not quite the expert at configuring servers yet [07:30] so, when I try to connect to my ftp server from outside my lan I get Response: 227 Entering Passive Mode (192,168,1,2,209,60) and Status: Server sent passive reply with unroutable address. Using server address instead. [07:30] How do I fix this? [07:31] crohakon: Tell your FTP server what your external address is and that it needs to use it in port commands. [07:32] I use vsftpd... where do I start? [07:32] crohakon: the man page for vsftpd, I would think... :) Let me look... [07:33] jmarsden, nothing in the man page [07:34] Did you also read the man page it points to, man vsftpd.conf ? I think not. [07:35] =( [07:35] Hint: search for pasv_address [07:38] okay, what if I have a dynamic IP? [07:40] I think you are somewhat stuck; you can use pasv_addr_resolve to resolve your dyndns hostname at vsftpd startup time, but if it changes underneath the vsftpd instance it will break until you restart vsftpd. [07:41] Does your ISP really sanction file servers on dynamic IP addresses, by the way? [07:41] So I can used the pasv_addr_resolve=YES with pasv_address=whatever.dynhost.com [07:41] ? [07:41] Right. [07:41] And that should work? [07:41] Great. [07:41] Thanks man. [07:42] It will "work" until your dynamic address changes, I think. [07:44] Well, it now resolves, but still fails to connect. [07:44] i keep getting connection refused with vsftpd [07:44] FTP is a nightmare, suggest SFTP instead [07:44] whats the command to open ftp [07:45] crohakon: do you have the relevant range of ports open for incoming PASV FTP connections? [07:46] do they use something different then the normal port? I currently have the server listening on port 93 [07:46] and I have the router set to forward all connections on port 93 to the server [07:46] crohakon, you need both the FTP listening port and a range of high ports [07:47] How do I get that range? [07:47] assigned to the FTP server, all forwarded [07:47] crohakon: Yes. Very much so. To run an FTP server that supports PASV mode FTP you need a range of ports too. ... read the vsftpd.conf man page again... :) [07:47] this is why I hate FTP, and suggest SFTP instead [07:47] on top of only needing one port, the default is not filtered by your ISP [07:47] * crohakon sighs [07:48] and you won't have any dyndns issues [07:48] crohakon: pasv_min_port and pasv_max_port are your friends . As you are discovering, FTP was not designed to have FTP servers run behind home NAT/firewall boxes. [07:48] It can be made to work, as long as you understand it. [07:50] those are not in the man page, but I guess I get how they work. pasv_min_port=5000 pasv_max_port=5100 and it will then use 5000 through 5100? [07:50] yes [07:50] okay [07:50] and you need one port per connection [07:50] They are in my man page... but yes. [07:50] Is the page alphabetical? [07:50] and it will choose randomly, so make sure you forward the entire range [07:51] crohakon: No idea, I searched for the word "range" to find them quickly. [07:51] so if I only expect say, 4 connections at a time then I only have to have a 4 port range? [07:52] Yes. [07:52] technically yes, but you should have extras [07:52] and be aware that one person may make multiple connections [07:52] some clients transfer multiple files and browse at the same time [07:52] opening lots of connections [07:53] I've generally used 1000 ports for this on FTP servers behind NAT. Just so there are plenty available :) [07:53] 100 should be fine in practice. 4 .. could be limiting. [07:54] yeah [07:54] anyone know of a photo gallery webapp that's similar to the flickr API? [07:54] or otherwise popular enough to have linux apps supporting it? [07:54] Response: 425 Security: Bad IP connecting. <---- getting this now =( damn [07:55] as was mentioned before, FTP was designed before firewalls and NAT [07:55] as such it's very difficult to make it work [07:55] I am almost to the point that I want to connect the server directly to the modem and place the router and switches behind it... [07:55] I have a spare nic card lol [07:55] still not sure why you want FTP, SFTP is better in every way [07:56] Well, I already have vsftpd setup to work with my MySQL server for account names and such.... [07:56] So, I kind of want to push on and make it work. [07:57] ok [07:57] well, check the connection log and see what IP your client is giving to the server [07:59] okay, so the log tells me that I am connecting from 192.168.1.3 (which is correct, it is the IP I have set for my laptop) [08:00] ok, let me put this into perspective [08:00] since FTP isn't designed to work with NAT, in order to allow external connections, you have to tell the FTP server it's using the external IP [08:00] but when you do that, connections from LAN cease to work [08:00] crohakon: Wait... I thought you were configuring this for connections from the outside...! [08:00] You can run FTP over a NAT [08:00] so you can either go from the net, or you can go from local [08:00] You need to use some conntrack magic on the router [08:01] but not both at the same time unless you configure the router specially [08:01] jmarsden, I am configuring it to work from the out side... but I also want to connect from the lan as well. I have friends that need to connect from the out side. [08:01] and unless you have a router with dd-wrt or linux or something, you probably can't do that [08:02] crohakon: qman__ is correct -- you didn't specify you needed this to work from the LAN earlier. Unles you can make your router sing and dance, pick one or the other. [08:02] I honestly don't use the ftp access much as I mostly wget files to the server... [08:02] the FTP server can only accept connections to a certain IP, and it must either be your LAN IP or your internet IP, not both [08:02] crohakon: Then test it from the Internet, not from a machine on your lcoal LAN. [08:02] How do I test it from the internet? [08:03] call one of your friends ;) [08:03] crohakon: ssh out to some other box, ftp in from there... [08:03] ... *sigh* [08:04] open your ftp connection to your IP address should route outside the lan, and back in [08:04] ie 79.25.154.245 for example, not your LAN ip of 192.168.1.1 or whatever [08:05] it would, but only if the router can handle it [08:05] most routers can't by default [08:05] and I doubt this router can [08:05] So... [08:05] it requires some magic [08:05] So, if I connect the server directly to the modem, and then route my other computer through it, would that resolve the issue? [08:06] yeah, but it would bring up a whole bunch more [08:06] hehe not worth it [08:06] you'd be running ftp on your router [08:06] which is a bad idea [08:06] every day of the week [08:06] modem <-- server <--- wireless/4port router <--- switches [08:06] * crohakon sighs once more [08:07] when you do that, your server becomes the router [08:07] you have to configure NAT and masquerading [08:07] and be very careful how you set up your firewall [08:07] qman__, I figured that. [08:07] and running services on the router itself to the internet is a bad idea [08:07] whats wrong wtih sftp or scp? [08:08] okay, so, when it comes down to it I don't really care if I can ftp from inside my network. I mostly wget and edit files via ssh anyway. [08:08] My friend that is attempting to connect to it, however, is still unable to connect. [08:08] then the configuration you have now is likely correct [08:08] crohakon: What exact error does your friend see? [08:08] port forwarding is set correctly, conf looks correct as well [08:09] connection was closed by remote host [08:09] what does the server log say [08:10] CONNECT: Client "xxx.yyy.zzz.vvv" [08:10] no other information [08:12] I just made a connection attempt [08:12] it asked me for a user/pass and gave me incorrect login [08:12] so it's probably a problem with your friend's client [08:15] It seems he was using an SFTP client [08:15] fugu or something for max [08:15] mac [08:16] He is going to download a new client and try again. =) [08:16] thanks for everyones help thus far. [08:19] crohakon: Assuming his Mac runs OS X, can't he open a Terminal window and use the command line ftp client? [08:19] jmarsden, I don't know.. never used a mac... and he is not exactly a power users... [08:19] user* [08:19] OK. [08:20] i never touched a mac or osx but isn't it based on a linux kernel? [08:20] BSD actually [08:20] OS X runs a FreeBSD-derived userland and a Mach-derived microkernel [08:21] Then they bolted on some GNU stuff [08:21] It's basically the sort of messy clustercruft you'd expect from the Unix Wars of the 1980s [08:22] (Fortunately, Debian runs perfectly well on any post-"old world" mac.) [08:22] he is running MacOS 10.4.11 [08:23] I am trying to convert him to ubuntu, though not sure if it can install on his computer [08:25] crohakon: is it PowerPC or x86-64? [08:25] crohakon: Ubuntu will run on either, but I believe the former's support is unofficial [08:26] powerPC [08:26] yeah, not every release has a ppc version, and they're generally unsupported [08:27] but they do exist [08:27] btw, qman__ tested the ftp server and it works fine. Thanks for all the help. [08:27] Hello! How can I limit the bandwidth that my apache2 web-server is using? [08:27] Bo7: tx or rx? [08:27] upsteam mostly [08:27] Well, when I convince him to try ubuntu I will bother the people in #ubuntu =) [08:28] Bo7: first of all, look at your httpd logs and realize that most of it is web crawlers like the google bot. [08:28] Bo7: then, either write a robots.txt that simply tells them to bugger off, or instead actually fix your website so it is "cache friendly", e.g. using e-tag and expiry headers. [08:32] twb, well, I host some big files and I want to limit the total bandwidth for all downloaders, so the other apps don't suffer. I don't think robots is a big problem for me really [08:33] You could set up per-IP recency and rate limits in iptables. [08:33] Probably this can be done in apache, too. [08:34] aha, if I do that in iptables will it interfere with UFW which I use? [08:34] IIRC the hentai.plan9.de webmaster has set up something pretty solid, you could email him and ask for details. [08:36] but there's not like a simple config-setting in apache for limiting then? [08:36] I don't know. #httpd (apache's channel) would [08:36] I tend to stick to extremely simple httpds like thttpd and busybox httpd. [08:37] allright [08:58] Does the jeos edition of ubuntu 8.04 have lts? === simplexi1 is now known as simplexio [09:01] LTS is provider on a per-package basis, AFAIK [09:02] yeah, you're right [09:02] Whether any given package receives five years of support depends on something obscure [09:02] http://bazaar.launchpad.net/%7Enijaba/ubuntu-maintenance-check/trunk/ [09:02] I use that to find out whether a package will be supported. [09:02] but it doesn't matter anyway as there doesn't seem to be an amd64 version of jeos 8.04 [09:04] I have to say I take a rather jaundiced view of just slapping together some branding on top of some arbitrary subset of the main archive. [09:05] Or does JeOS actually do something useful, like repace coreutils with busybox? [09:05] martin-: wikipedia claims there is an x86-64 version [09:06] then where is it? :o [09:06] Oh sorry, it says "AMD x86" [09:06] I think they just mean "x86" and are writing for non-techs [09:07] ok [09:08] <_ruben> jeos isnt even all that much smaller than a clean server install .. so disk footprint wouldnt be an issue .. it does come with fair ammount of less packages, which mostly annoyed me, stuff like tab completion and the likes [09:08] _ruben: it says 380MB -- I'm pretty sure a stock d-i install without tasksel tasks checked is more like 200MB [09:10] disk footprint doesn't really matter [09:10] more interested in the optimized kernel and the vmware-optimizations [09:10] martin-: what are they? [09:11] martin-: the jeos documentation conspicuously doesn't say [09:11] no idea, it just sounds good :P [09:11] If Ubuntu wasn't partly FOSS, I'd be inclined to dismiss it as marketing vapourware [09:12] the VMs I'm setting up have a very specific purpose (one DB and one application server) [09:12] anything else doesn't matter [09:12] well, yeah [09:13] it's currently running some ancient red hat enteprise linux 4, which doesn't even have yum [09:13] I suspect all that jeos is is a preseed that disabled ubuntu-standard (but leaves ubuntu-minimal in), and forcibly installs openvm-tools, the FOSS fork of the crap that VMware wants guest OSs to taint their kernels with. [09:13] <_ruben> there's no vmware optimizations in jeos [09:14] <_ruben> its just a stripped down -server kernel (less modules) [09:14] And even that kernel tainting doesn't provide anything useful if you're using VMware Server, since hgfs isn't implemented there and you (presumably) aren't doing 3D graphics [09:14] _ruben: so they're using kernel packages that aren't in the main archive? [09:14] <_ruben> nor does it do open-vm-tools, as jeos isnt vmware specific [09:14] Heh. [09:15] so nothing special about -virtual kernels? [09:15] <_ruben> only that it provides the bare minimum of modules for a vm to work [09:15] _ruben: depends on the VM, too, I expect :-) [09:15] _ruben: for example, some VMs might want ipt_* [09:15] <_ruben> and perhaps a few tweaked clock settings, which usualy dont need recompile anyway [09:15] * \sh uses always the standard -server flavour with vmware modules ... which gives me a bit better memory sharing between the vms...but I'm not using vmware-server but vmware ESX [09:16] esx here too [09:16] <_ruben> esxi here [09:16] As for me, I am eagerly awaiting LXC productization === georg is now known as kwork [10:54] how to ssh with a given private key ? [10:55] <\sh> ssh -o IdentityFile=/ user@host [10:55] <\sh> or use ~/.ssh/config [10:58] good day, does anyone here run fail2ban on 8.04, proftpd? [10:59] In current openssh-client, you can even use %r, %h, etc. in your .ssh/config [11:00] Gorlist: nope. Have you considered migrating to SFTP (read-write access) + HTTP (read-only access)? [11:00] ive not, using plesk however [11:00] And/or a simple iptables -m recent rule to limit repeated connection attempts from specific IPs? [11:01] plesk doesn't really have anything to do with how you provide remote file access to your users... [11:01] ive considered that :) and may use it later on but trying to figure out this specific problem [11:01] still would like to have fail2ban working, just getting a fault with proftpd [11:02] Depending on your use case, if -m recent was working you could get rid of fail2ban [11:03] well at the moment im using ufw, though was going to sit down at somepoint, hopefully learn iptable setups as well as applying the rate limit [11:04] Hm, does fail2ban even use ipset when you're hooking it into iptables? Or does it simply add ridiculous numbers of individual iptables rules to INPUT? [11:05] ipset I believe, might be wrong however [11:05] Good, good. [11:09] hello [11:41] someone using ldap with replication? [11:50] acalvo: what's your real question? [11:53] I've been working with ldap and replication for a month or so, but the last days one of the servers does not respond to queries. However, I can retrieve all the objects of the tree, and I can browse it thru the apache directory studio [11:54] and I was wondering why this behaviour, and if it's realted to the some cn=config attribute === georg_ is now known as kwork [12:53] New bug: #236719 in ntp (main) "ntp doesn't support proxy" [Undecided,Invalid] https://launchpad.net/bugs/236719 === mrchrisadams_ is now known as mrchrisadams [13:05] morning [13:16] zul: morning [13:17] zul: made it back okay, no jetlag? [13:17] jbernard: yep no delays and no jetlag [13:18] jbernard: you? [13:19] zul: no delays for me, im in good shape [13:20] jbernard: coolio === MarwolTuk___ is now known as MarwolTuk [13:42] New bug: #228442 in virt-manager (universe) "KVM eats 100% CPU, Host Hardy64, Guest XP with more than 1 VCPU" [High,Triaged] https://launchpad.net/bugs/228442 [13:42] New bug: #239068 in tftp-hpa (main) "tftpd-hpa is not working on Edubuntu 8.04 upgraded system." [Low,Incomplete] https://launchpad.net/bugs/239068 [13:42] New bug: #399993 in tftp-hpa (main) "package tftpd-hpa 0.48-2.3ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 71" [Low,Invalid] https://launchpad.net/bugs/399993 [13:42] New bug: #415410 in squid-langpack (main) "MIR for squid-langpack" [Low,Incomplete] https://launchpad.net/bugs/415410 [13:46] New bug: #487098 in quota (main) "package quota (not installed) failed to install/upgrade: subprocess post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/487098 [13:47] New bug: #345712 in samba4 (universe) "package samba4-common 4.0.0~alpha4~20080727-1ubuntu1 failed to install/upgrade: subproces post-installation script gaf een foutwaarde 2 terug" [Undecided,Incomplete] https://launchpad.net/bugs/345712 [14:02] is there a contest for oldest machine running hardy? I have mine on a Pentium III 450... I'm sure I'm not the oldest. [14:05] i know someone running a PII [14:05] with 256mb [14:06] sounds fun [14:06] i would imagine we could find someone out there running a k6 [14:06] thats an old AMD processor, right? [14:06] yes [14:06] equivalent to Intel.... [14:06] Pentium [14:07] i think i might have a K6-233mhz [14:07] maybe i could find my P166 [14:07] mm 16mb [14:07] that was an awesome machine [14:07] would it run on a 486 or 386? [14:07] suck it and see [14:09] depends if it is compiled for 686 or 386 [14:09] i would imagine its 686 minimum these days [14:12] 686is equivalent to PII? [14:13] http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options [14:20] <_ruben> there's still a 386 kernel avail .. wouldnt surprise if me if that'd get dropped sometime [14:21] stgraber: Heheh.... That thing I though was preventing LXC to work from libvirt.. That was in Jaunty. I'm getting old. [14:21] stgraber: The only reason it doesn't work in Karmic is because of Apparmor. [14:22] stgraber: If you switch libvirtd to complain mode, it works just fine. [14:31] stgraber: you can also adjust the profile. See bug #480478 for details [14:31] Launchpad bug 480478 in libvirt "libvirt's apparmor profile doesn't allow execution of /usr/lib/libvirt/libvirt_lxc" [Medium,Triaged] https://launchpad.net/bugs/480478 [14:31] jdstrand: I'm not entirely convinced that's sufficient. [14:32] jdstrand: I will know in a minute. You're supposed to be on holiday, by the way :) [14:32] jdstrand: Ok, so if I add that to the profile, what do I need to to do reload it? [14:33] soren: apparmor_parser -r -W -T /etc/apparmor.d/usr.sbin.libvirtd [14:34] soren: that will make it work with apparmor. as to how well lxc works with libvirt atm, I can't say-- I've heard 0.7.0 doesn't work too well [14:34] jdstrand: Obviously [14:34] Well, it seems to work for me. [14:34] I wasn't entirely sure about some of the interactions there, but it seems to actually do what I want it to. [14:34] * jdstrand has no idea [14:35] jdstrand: Do you see any reason not to SRU this into Karmic? [14:35] It seems like very low hanging fruit. [14:36] soren: I plan to SRU it and another bug. but the SRU will use a different rule to enable it [14:36] jdstrand: Can I see it? [14:37] soren: bug #484562 [14:37] Launchpad bug 484562 in libvirt "apparmor prevents libvirt-vnc certificate from being read" [Undecided,New] https://launchpad.net/bugs/484562 [14:38] soren: I think for bug #480478 I would actually use: [14:38] Launchpad bug 480478 in libvirt "libvirt's apparmor profile doesn't allow execution of /usr/lib/libvirt/libvirt_lxc" [Medium,Triaged] https://launchpad.net/bugs/480478 [14:38] /usr/lib/libvirt/* PUx, [14:38] jdstrand: Sorry, not the other bug, but the different rule. [14:38] What's P for? [14:38] soren: the P says to transition to another profile [14:38] soren: the U says to go unconfined if the profile doesn't exist [14:39] soren: I would do this because in 0.7.2 virt-aa-helper is moving to /usr/lilb/libvirt [14:39] s/lilb/lib/ [14:39] I'm not sure I understand that. I mean.. This is being defined /in a profile/. How can the profile not exist? [14:39] and therefore it would be more consistent and slightly easier on upgrades for people who modify the profile === johe_ is now known as johe [14:40] soren: the rule is a globbing rule [14:40] soren: there are several helpers in /usr/lib/libvirt [14:40] soren: in the future, one will have a profile, and the other two won't [14:41] Ok. [14:41] soren: we can either be very specific and list the helpers individually, or stick with the globbing rule and use PUx [14:41] I like the globbing rule so that it will work if libvirt adds more helpers [14:42] Right, ok. [14:42] soren: actually, if you plan to be doing the SRU, perhaps use 'PUxr', I see 'r' is in the existing profile [14:43] soren: but I plan to do the SRU next week [14:43] jdstrand: I'm in no hurry :) [14:44] heh [14:44] np [14:44] Ok, so the P transitions to another profile. Which other profile? How is that defined? [14:44] Oh, I see it at the bottom. [14:45] Let me just take that for a quick spin. [14:45] soren: unless you name the profile explicitly using '->' in the rule, it will transition to a profile for the binary it matches [14:46] soren: in this case, it will go unconfined for anything in /usr/lib/libvirt, cause there are no profiles defined for binaries in that dir [14:46] soren: in 0.7.2, we will have /usr/lib/libvirt-virt-aa-helper [14:46] Oh, so the P is a no-op in this case? [14:47] soren: yes. just there for consistency with the upgrade to 0.7.2 (for reducing the diff if people modified the profile on their own) [14:52] New bug: #485361 in samba (main) "CIFS mounted drives do not allow write access to program other than nautilus, gedit or the command line" [Low,Incomplete] https://launchpad.net/bugs/485361 [14:54] jdstrand: I'm pretty sure I'm the one who opened that bug ;) [14:54] stgraber: oh, heh, so you are :) [14:55] someone else hit it last week too, so I was thinking he reported it :) [14:56] * jdstrand wanders off [14:59] how irritating sara.nl aren't giving the source to their dellomsa package [15:05] soren: started to play with lxc ? [15:19] stgraber: Yeah, just for giggles so far :) [15:32] New bug: #486178 in ntp (main) "package ntp (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 127" [Low,Incomplete] https://launchpad.net/bugs/486178 [15:49] WOO HOO! Samba PDC makes me wanna UUUUHNNNN === erichammond1 is now known as erichammond [16:13] New bug: #454302 in munin (universe) "Missing dependency - apache_process plugin" [Wishlist,Triaged] https://launchpad.net/bugs/454302 === mrchrisadams_ is now known as mrchrisadams [16:40] jeeeeez.. I'm really struggling here [16:40] I've been trying to setup postfix to use /home/%u/Maildir to store mail [16:40] and I've told dovecot to do the same [16:40] now i see mail still coming in and using mbox [16:41] except instead of /var/mail/user it's /home/user/mbox [16:41] there is some key config setting i'm clearly missing [16:43] Hey guys, I have a mail server set up, and I can email anyone, BUT emails hosted at secureserver.net reject (as in, they can't recieve them). I am not on a blacklist, and reverse DNS APPEARS to be correct [16:43] I even opted out of that in-by-default blacklist [16:44] (host mailstore1.secureserver.net[72.167.238.201] refused to talk to me: 554-p3pismtp01-003.prod.phx3.secureserver.net 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. [16:44] host is metro1ems.com and every website that tests domains says it's clean and good [16:45] essial: Reputation services are all propietary and everyone uses a different one, so you've have to ask the people that run the server that's rejecting you, [16:45] solved... mailbox_command... as my sys admin told me to do *sigh* listening [16:46] ok so basically I have to call godaddy then, right? [16:47] Yep [16:47] Good luck. [16:49] Yeah I had to do this once before [16:49] I really dislike godaddy [16:49] 1and1 ftw? [16:49] :D [16:50] I was thinking that maybe my reverse dns was not correct or something but I guess not [16:51] anyone here know a good vps host? preferably in canada? [16:53] just use slicehost like everyone else ;) [16:56] New bug: #288052 in dhcp3 (main) "/etc/resolv.conf inserts commas between Search Domains" [Medium,Confirmed] https://launchpad.net/bugs/288052 [17:22] that bot is making me wonder if their is a zero day policy for ubuntu [17:33] hi all [17:43] aj [17:56] hey ivoks [17:56] nijaba: done [17:56] hey guys [17:56] zul: that was QUICK :) [17:56] zul: thanks a lot [17:56] nijaba: well i just got it [17:57] zul: I know, I just wrote the request ! [17:57] ivoks: hello Ante. had a good trip back? got your luggage too? [17:58] yes, got my luggage, but i'm very tired [17:58] i've spent 20 hours on planes and airports [17:58] only? [17:58] tomorrow i'm back in packaging business :) [17:59] ivoks: I bet you are more in the ubpacking business at the moment ;) [17:59] hehe [17:59] usually, i just leave my bags packaged and don't touch them for couple of days :D === dendro-afk is now known as dendrobates === mrchrisadams_ is now known as mrchrisadams === luis__lopez is now known as luis_lopez [18:16] Daviey: heya. Safe trip back home? === mrchrisadams_ is now known as mrchrisadams === mrchrisadams_ is now known as mrchrisadams [19:12] Using ubuntu 9.10, I've set /var/www permissions to 0775 and group to root:publisher. My user incentifit is a member of incentifit:publisher. That user still cannot create new files and folders in /var/www. What have I over looked? (I've got notes from previous setup of 9.04 that work on 9.04 using same setup so I suspect something new or a bug) [19:20] incentifit: ls -dl /var/www [19:23] ivoks: I'm confused now. I skimmed the -dl flags in man... I sudo mkdir /var/www/hello then ran ls -dl /var/www and it returns nothing. I plain ls shows the new folder. [19:24] uhm [19:24] that is impossible [19:24] ls -dl shows only the folder you are asking it [19:24] so ls -dl /var/www will not return /var/www/hello [19:24] just /var/www [19:24] right [19:24] ls /var/www shows the new hello [19:24] that's right [19:25] can i run xen on ubuntu server? if yes, what is the process of installing xen ? [19:25] so, what's confusing? [19:25] orudie_: xen? [19:25] orudie_: return to 21. century :) [19:25] I guess I expected the same... I need to reread ls -dl in the man. So, what is it that you wanted me to return, which leads to an answer to my first question? [19:26] incentifit: -d doesn't do recursive [19:26] I don't see how ls -dl /var/www resolves the apparent permission issue [19:26] i do, that's why i asked [19:26] ivoks, what are you suggesting ? [19:26] you claim that /var/www has some permissions [19:26] i'd like to check them [19:26] ok... === nxvl_ is now known as nxvl [19:27] so, please, paste the output of 'ls -dl /var/www' [19:28] ivoks: sorry, just sec... [19:29] or don't [19:29] drwxrwsr -x 3 root publisher 4096 2009-11-23 12:55 /var/www [19:29] ok [19:29] patience! :P couldn't copy and paste [19:29] so, group publisher should be able to write there [19:29] yup [19:29] you do know you have setgid on that dir? [19:30] yes [19:30] and your user is member or publisher group? [19:30] yes [19:31] Hello, what would I need to install on a client machine already running Karmic to run the 9.10 Server? [19:31] touch /var/www/testing_123 doesn't work? [19:31] orudie_: kvm [19:31] no, permission denied [19:32] confirmed cat /etc/groups shows my user in that group [19:32] did you log out and log in after adding that user into group? [19:32] yes,rebooted to [19:33] imlad depends, what services are you wanting to offer? [19:34] bogeydo, I want to look at UEC on the same machine I am running my client on. [19:34] I've a very detailed setup of steps I created when building such a machine on 9.04. I built many using those steps. So, something is different about 9.10. I suspect stronger protection, just dunno. [19:34] this are basic permissions [19:34] right [19:34] ls -dl /tmp/TEST/ [19:34] drwxrwsr-x 2 root ivoks 4096 2009-11-23 20:33 /tmp/TEST/ [19:34] touch /tmp/TEST/test [19:34] works [19:34] 9.10 [19:35] chmod -R 0777 /var/www allows incentifit user to rw of course... [19:35] chmod -R 0775 /var/www and incentifit can no longer create files or directories [19:35] imlad i dont know much about the cloud, but here is something, http://www.ubuntu.com/cloud/private [19:35] cat /etc/groups shows user in group [19:36] thanks, bogeydo. [19:36] incentifit: hm, it works here [19:36] and of course ls -l shows the user and group [19:37] ok [19:37] just to be sure: [19:37] adduser incentifit publisher [19:37] I'm using postfix, and I have .forward file that I want to trigger a script, but I want to mail itself as well [19:37] I can't seem to do this.. i"ve been trying for far far far too long [19:38] The user 'incentifit' is already a member of 'publisher' [19:38] my .forward file looks like: | "echo 'awesome' >> /home/stream/foo.txt" [19:38] kshah: \user, "|script" [19:38] incentifit: ok, chmod 777 /var/www [19:38] lamont: is 'user' a variable there? [19:38] incentifit: then as user, touch /var/www/testing_123 [19:39] incentifit: ls -dl /var/www/testing_123 [19:39] kshah: yeah [19:39] the \ says "don't do forward file processing here, just use the user, dammit" [19:39] !permission [19:39] An explanation of what file permissions are and how they can be manipulated can be found at https://help.ubuntu.com/community/FilePermissions [19:39] lamont: and thank you, #postfix.. was having too much trying holding their knowledge above my head [19:39] friendlier crowd here [19:40] !help @ kshah [19:40] Sorry, I don't know anything about help @ kshah [19:40] !help | kshah [19:40] kshah: 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. :-) [19:41] kshah i meant !ohmy not help [19:41] did i just get !help'ed after complimenting the channel :) ? [19:41] heh all good [19:41] kshah: actually, could you file a bug against postfix that the "manpage for aliases(5) does not document leading backslash" [19:41] and I'll forward that upstream [19:41] !ohmy | kshah [19:41] kshah: Please remember that all Ubuntu IRC channels share the same attitude of providing friendly and polite interaction with all users of all ages and cultures. Basically, this means no foul language and no abuse towards others. [19:41] amen! [19:42] kshah: (postfix is my package in debian, you see...) [19:42] kshah: and I'd rather be forwarding a user's original report than one of my own crafting [19:43] lamont: and I thank you for it, I'll file that request. My only gripe was that the channel was less than kind to me [19:43] (theirs not this one) [19:44] fwiw, the procmail manpages document it, as does the sendmail aliases(5) manpage, as does...... [19:44] (I believe - haven't actually bothered to go verify any of that pile of festering assertion) [19:44] i typically need to see examples / usage to be able to learn anything [19:45] which I also fully recognize is unreasonable to expect all the time [19:45] ivoks: -rw-r--r-- 1 incentifit publisher 0 ............. /var/www/testing_123 [19:45] kshah: OTOH, the postfix aliases(5) manpage documents everything else about forward files --> iz bug [19:46] kshah: if it's any help, I got told to go to #ubuntu last night. meh. [19:46] irc *sigh* [19:46] mind you, I probably should have been there, I suppose. [19:46] hm [19:47] incentifit: same thing doesn't work if /var/www is 0775? [19:47] I got told to use procmail which and got into an argument since I said I knew it could be done without.. and then the merits of add a component or not, etc, etc >> /dev/null [19:47] incentifit: just change permissions and try touch again [19:48] ivoks: look at the permissions when doing 0777 see how publisher doesn't have write, is that right? [19:48] incentifit: /var/www isn't mounted share or something? [19:48] ivoks: no [19:48] incentifit: that's ok, umask controls that [19:49] ivoks: thanks for your help... I just got called into a meeting, be back later, thanks again [19:49] ok [20:16] jmarsden, ping [20:17] lamont this is server support channel and desktop support is frowned upon but not unheard of [20:18] bogeyd6: and? [20:19] the postfix question was definitely in-scope for this channel. my grumpiness last night was actually in the devel channel, not here. [20:21] where can i find what the default MTU is set at for a 9.04 server install [20:21] 1500 [20:22] hmm [20:22] ifconfig would give you that [20:22] well i just purchased a VPS host... [20:22] but it's not set in interfaces, just wondering where it gets the default value [20:22] anyway... [20:23] newark1.linode.com i get 100%[==============================================================================>] 95,545,644 3.04M/s in 47s [20:23] 1500 is default value [20:23] that's the one you should use for ethernet [20:23] pppoe should be smaller 1492 [20:24] while newark129.linode.com (my node) i only get anywhere from 400K/s to 800K/s [20:24] from the same server to my home connection [20:24] so, you know it's a mtu problem or you are guessing? [20:24] guessing [20:24] sounds like a guess [20:24] more likely oversold hosting [20:24] just wondering where i can start tweaking, if needed [20:25] yeah they claim 50Mbps PER NODE [20:25] my ass [20:25] it's vps [20:25] poor tuning? [20:25] could be many reasons [20:25] too many variables [20:25] MTU, window scaling, server load, node load, standard TCP sawtooth behavior, etc [20:25] also, urmom might be sitting on the tube limiting your bandwidth [20:25] yeah [20:25] !pastebin | billybigrigger [20:25] billybigrigger: pastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic [20:25] billybigrigger were you upping or downloading [20:26] Cuz on a single 1gbs connect with two raid 5 scsi servers, can only get like 34.* mbs transfer [20:26] downloading from their servers to my house [20:27] for instance i just transfered a virtual machine -_-_-_-> 3,794,279,374 59.7M/s in 97s [20:27] billybigrigger: problems with mtu would be 'i can see this site, but i can't see that site' [20:27] for example, you'd be able to see all web sites from your ISP, but not any other [20:28] well im not asking for the 50M/s they claim (6.25M/s) as my home connection maxes at 3M/s [20:28] but 400k-800K/s? come on [20:28] my guess is most likely is oversold VPS [20:28] mtu should be 1500 on ethernet [20:28] linode is famous for that [20:29] http://pastebin.ca/1684173 [20:30] so apparently they blame the config on my node, ie fresh as can be 9.04 install [20:31] they have no clue [20:32] billybigrigger: Short answer is that your node probably isn't tweaked the way your home connection wants [20:32] i'm getting 5MB/s peek and 3,78MB/s average [20:32] http://69.164.211.53/Tailing-Aaron.mov [20:32] billybigrigger im checking that download speed right now [20:32] base ubuntu install [20:32] yeah [20:32] wget ftw [20:33] installed nano and wget [20:33] 15:32:57 (2.38 MB/s) - `Tailing-Aaron.mov.1' saved [95545644/95545644] [20:33] oh apache, and created my user [20:33] so why the hell do i get 400k from it? [20:33] cable modem? [20:33] yeah [20:33] maybe your MTU at home isn't right :) [20:33] wireless? [20:33] but from the same server, i can max out my connection [20:33] 100%[==============================================================================>] 95,545,644 3.04M/s in 47s [20:33] 21:33:51 (3.77 MB/s) - `Tailing-Aaron.mov' saved [95545644/95545644] [20:33] ^^ newark1.linode.com [20:33] billybigrigger: Error: "^" is not a valid command. [20:34] 100%[==============================================================================>] 95,545,644 478K/s in 2m 58s [20:34] ^^ same file, same wget command from my linode newark129.linode.com [20:34] billybigrigger: Error: "^" is not a valid command. [20:34] both have same hops and same ping [20:34] it's not my home connection [20:34] try from another location [20:34] try from that second server [20:35] what second server? [20:35] newark129.linode.com or whatever the name is [20:35] thats my linode [20:35] the one your all downloading from [20:35] so, on newark1.linode.com wget from newark129.linode.com [20:36] i can't wget on newark1 [20:36] then wget somewhere else [20:36] as you've seen [20:36] both bogeyd6 and i have normal speeds [20:36] and others on IRC had normal speeds [20:37] ok, but what i don't understand... [20:37] is that from the same datacenter....newark1 and newark129 are on the same connection [20:37] everyone else can get normal speeds, but from my node i can only get 400-800k [20:37] and only you [20:37] at home [20:38] everybody else gets a lot more [20:38] from that same server [20:38] but... [20:38] yet, you still think it's a server issue [20:38] from linode1 i can max out my connection at 3.0M/s [20:38] true [20:38] but if everybody else gets normal speed from newark129 [20:38] i know it's not me [20:39] then problem isn't in that server [20:39] node configuration? [20:39] i give up [20:41] New bug: #487280 in eucalyptus "move the database away from hsql" [Wishlist,Confirmed] https://launchpad.net/bugs/487280 [20:52] hello. i am trying to make a largish (11TB) ext4 partition with mkfs, and it keeps showing up in df as 2 tb. any ideas? [20:52] when I sshfs to my server I get write-protected on every document I open on the client. Is there an option to the sshfs command to give my self direct write permissions? [20:55] anybody knows about sshfs? [20:59] embrik, when i've used sshfs as user x, i've always gotten user x's permissions [21:00] i thought that was a major advantage [21:08] you know anything about large ext4 partitions? [21:09] embrik: sshfs takes uid & guid options, which are meant to solve the permission problems [21:10] this is what i use in my scripts: sshfs TARGET MOUNTPIONT -o uid=`id -u` -o gid=`id -g` === orudie_ is now known as oru_work [21:16] linuxamoeba: You have an 11TB drive? [21:18] SyL, hardware raid5 [21:19] linuxamoeba: have you checked how big the partitions are? [21:19] Hey guys, I had to change the IP address of my PDC, now Samba is complaining that my domain already has a PDC at the old address. Restarted the server entirely, no change. Any ideas? [21:20] syl, can i do that with something other than fdisk? [21:23] Got it, wins.dat ftl [21:24] syl, on closer inspection, fdisk won't let me create a partition bigger than 2tb [21:26] linuxamoeba! This isn't a great solution, but you could bust it up into smaller chunks with LVM [21:27] I dunno, nevermind, my idea sucks, gg thinking things through [21:28] according to some internets (sic), i need GPT support in the kernel, which is probably not on by default [21:35] linuxamoeba: what do you intend to do with this 11TB? [21:37] back up another one:) [21:38] linuxamoeba, what on earth are you storing that is taking up 11TB? hehe [21:39] lots of physics data [21:39] crohakon! He's making a copy of the MIT cat brain. [21:39] i have a sunfire x4500 (20tb) that hosts data + my users homes [21:39] which makes backing things up sort of a pain! [21:42] i tried again in parted rather than fdisk [21:43] linuxamoeba: have you considered xfs? [21:44] i just setup my first UEC but when i try to start a instance with euca-run-instances as described in the documentation i get this error message: [21:45] FinishedVerify: Not enough resources: vm instances. [21:45] majuk, I want a copy of the MIT cat brain. I bet it does not bite and claw me like my real cat does.... [21:45] i hadn't though of xfs [21:45] i'll check it out [21:45] my nc has vt extensions since i get matches for svm in /proc/cpuinfo [21:45] (considered opensolaris + zfs!) [21:46] linuxamoeba: it's made for large filesystems and/or large files [21:47] xfs makes data recovery nearly impossible, but in a properly admin'ed system you have backups [21:47] i use XFS, but all my servers include a /boot in ext3 [21:48] !xfs | linuxamoeba [21:48] linuxamoeba: xfs is a high-performance journaling filesystem originally developped by Silicon Graphics for their IRIX OS. It is now fully supported by Linux so you can install Ubuntu on it if you wish. More info at http://en.wikipedia.org/wiki/XFS [21:48] linuxamoeba: what OS is your 20TB running? [21:48] solaris 10 [21:49] w/ zfs [21:49] ahe: when you do a "euca-describe-availibility verbose" do you get anything? [21:49] zfs+nfs serving to linux == hella slow! [21:50] SyL: is this command in euca2ools? [21:50] i get "command not found" [21:51] did you mean "euca-describe-availibility-zones" ? [21:52] with that i get the same list of preconfigured VM sizes that i can also see in the web interface [21:54] linuxamoeba: are you running a 32-bit system? [21:54] pmatulis, 64 [21:55] linuxamoeba: http://spiralbound.net/2008/01/11/how-to-make-gnarly-big-linux-filesystems [21:56] ahe: yes, it's a euca-tools command. I might not be spelling it correctly. [21:56] linuxamoeba: I love me some ZFS [21:56] syl, thanks -- i found parted and gave it a try, it mkfs *seems* to be making a big one [21:57] (fingers crossed) [21:57] i love my zfs but don't love administratifying solaris [21:58] SyL: euca-describe-availability-zones verbose returns the same list as shown on https://help.ubuntu.com/community/UEC/CDInstall [21:59] ahe: right, but do you see anything under "free" ? [22:00] SyL: got me [22:00] everything 0000 [22:01] i installed both machines from a ISO/usb key [22:01] and selected UEC in the installation menu [22:02] allllmooosssttt theeeeereee... [22:04] how can i find out which nodes are actually registered? [22:05] ahe: if you hit tab a few times when you type "euca" it should show you all the euca-tools commands. [22:05] I think euca-describe-regions is the command you are looking for [22:09] SyL: i get something back that looks like an json error message coming from a webservice: http://pastebin.com/m70a13b0c [22:10] ahe: that is a new error to me. have you looked on the server side logs to see if there is anything more useful? [22:10] not yet but i'm about to do that [22:12] yeah, check that next [22:13] is there a reason not to use the LAMP server collection of software? [22:13] (I normally shy away from automagic stuff, hence the Ubuntu Server install.) [22:15] lamp == <3 [22:19] dev/sdb1 9.4T 167M 9.0T 1% /mnt/tank1 [22:19] close enough! [22:20] linuxamoeba: there's usually a space reserved for root; you might want to shrink that a bit on 11TB [22:21] hmm [22:21] is there a way to check how much is reserved? [22:22] SyL: thanks for the help so far there is nothing interesting on the nc but on the cc there are some java exceptions but i will check that tomorrow [22:23] linuxamoeba: hdparm should be able to tell you [22:24] hdparm doesn't tell me anything, probs due to raid controller in between :( [22:24] linuxamoeba: you can remove the reserved with tunefs [22:24] *nods* [22:27] linuxamoeba: I think the standard is 10% of the total drive is saved for root [22:27] that makes sense [22:27] parted shows 10.5TB and i get 9.4 [22:28] i think 1% will do [22:28] if that [22:31] i did tune2fs -m 0.5 /dev/sdb1 and it claimed to work, but df still shows 9.4 TB.. do i have to do other things? [22:35] linuxamoeba: are you doing df -h or just df? [22:36] Make sure you are comparing the same kind of TB. Some are made of 1,000 Byte KB and some of 1,024 KB. [22:36] that was df -h, good point [22:36] but still, i wouldn't expect the difference to be a whole TB [22:36] also it didn't change when i changed to reserved % [22:36] you might need to remount it? [22:37] i did, will again [22:37] nope [22:38] hrm... interesting. [22:38] maybe some of it for journaling? =) [22:39] ahe: you should do "tail -f /var/log/eucalyptus/cc.log|grep cores" and you should see something like this [22:39] [Mon Nov 23 16:37:44 2009][020340][EUCAINFO ] node=192.168.1.103 mem=3804/1756 disk=247525/246461 cores=2/0 [22:42] that would be pretty sad for ext4 haha [22:45] i could start over and tell it not to reserve so much in the first place [22:45] SyL: oh thanks i'll try that [22:46] sigh... any other thoughts before i re-reformat 10.5tb? [22:51] If I want to host multiple mail domains on one server (with separate IP for every domain) should I select the Smarthost option when I do dpkg-reconfigure postfix or just Internet Site and enter all the domains I want ? [22:51] linuxamoeba: which File system is it? [22:51] ext4 [22:53] linuxamoeba: not off the top of my head. I would run fsck on it first though [22:54] and check e2fsprogs helps any [22:56] linuxamoeba: and also check esize2fs [22:56] err... resize2fs [22:59] resize2fs 1.41.9 (22-Aug-2009)The filesystem is already 2563476558 blocks long. Nothing to do! [23:00] fsck = happy [23:02] hrm... intersting [23:03] ok, my brain just turned off... [23:03] linuxamoeba: I would see how much the filesystem takes for journaling. I can't think anymore today. [23:03] ok [23:04] is there a non-hdparm way to do that? [23:04] I don't think so... I would look up some documents on ext4 by searching on google [23:05] will do [23:05] thanks for all the help === WALoeIII_ is now known as WALoeIII === robbiew is now known as robbiew_