[00:07] Hmm...upon finishing the install and rebooting, I get the following: [00:07] GRUB loading. [00:07] error: biosdisk read error [00:07] And nothing more. [00:08] I don't know if that VirtualBox not booting successfully off of its virtual SATA controller, or something to do with how I made a RAID1 /boot partition. [00:09] *that's [00:10] Maybe I didn't mark things as bootable with fdisk when I should have? [00:10] Wait...after waiting a bit further, it appears to continue booting fine. [00:33] hey guys, does anyone know how I can run a program on my linux nat box and see what bandwidth usage is per connection for all hosts on our network? something to help me isolate the source (and do a temp iptables block) when one user is slowing the network [00:34] hey how can I transfer a file from my desktop via ssh to my server in the command line? [00:34] 5:33 PM [00:34] oops [00:34] thenetduck: scp file.txt server.domain: [00:34] also look into sshfs and afuse [00:34] cool thanks jetole [00:35] anything after the : is a path and name, your home directory on the server is the default [00:35] for example scp file.txt server.domain:/home/jetole/Documents/October [00:35] if that directory exists on the remote server it copies it there [00:36] if the dir October doesn't exist then it copies file.txt to Documents with the new name October [00:37] that works both ways, scp server.domain:myfile.txt file2.txt copies myfile.txt in your home dir on the server to your current server renaming it to file2.txt on your current server [00:37] works a lot like the cp command [00:50] jetole: for your bandwidth monitoring needs, ntop could be worth a look. [01:01] well he left but no, ntop isn't. ntop is a neat past tense statistics tool but not designed for real time monitoring [01:01] I found jnettop which seems to work real well [01:02] I used another app in the past and was hoping I can find it again but so far no [01:07] ah, found it, it was pktstat but I think I am gonna switch to jnettop [01:26] hi [01:26] sudo echo foo > bar doesn't work, what else should i use ? [01:35] ec2-init and metadata .. is there some url reference to this subject ? [01:38] what are some suggestions for remote server management? I've looked at Nagios, Zenoss, and Webmin. Any preference of the three? Zenoss looked the best. Anyone have experience with it on ubuntu? [01:44] join #bash [02:07] yo is it possible to use a wireless usb to get the connection for a server? [02:07] sorry [02:08] in order to connect the server to the internet/lan, can i stilck a usb pen in and get it to connect? [04:04] is ther anyway to get wireless working in ubuntu server? [04:13] is ther anyway to get wireless working in ubuntu server? [04:13] hello all [04:14] got a question about this [04:15] really? [04:16] was going to use freenas to share my media across a network but it doesn't give me what i need which is supporting multiple drives of different sizes with media cobtebt on them already [04:17] is the server addition good for this to share media exclusively and through a webgiu [04:18] want to set it up with no monitor and forgert about it A [04:19] im sorry to say theres no one her [04:19] e [04:19] also need to know if ubunto will support my promis tx 133 ide card?? [04:20] ah wel nothing new [04:21] theres never anyone in the freenas channel either and i just get the feeling they don't give a shit about anyone in there forums [04:21] ya [04:24] hi, I created a key and we issued an ssl cert from godaddy. the problem is I forgot the password to the key I created. I was wondering if there is something I can do now? [04:24] There are people here. If I knew whether Ubuntu supported a Promise TX133 I'd offer an opinion... but I don't :) [04:24] or do I have to regenerate my key? [04:25] also, if I regenerated my key, will I have to be re-issued an ssl cert? [04:25] thenetduck: You should probably ask Godaddy. [04:25] thenetduck: I think you need to ask GoDaddy; they may do another cert for you for free, or they may want to charge you all over again... [04:25] thenetduck, in all likelihood, yes, and yes [04:25] though godaddy may be able to help you [04:26] siwon: There is a link in the topic on asking good questions. My first advice is read it, follow it's advice, and then, if you need to, come back and ask again. [04:27] siwon, I don't know if it will support your exact card, but I use Promise TX4s with Ubuntu without issue [04:27] the best way to find out is to try it [04:37] Yeah i'm just going to give it a shot cause I haven't tried the server edition and it did'nt work for me with the home version of jaunty [04:37] TY [04:39] basicly I just want to pool my drives together but for some reason i can't find any good software that will do that without having some kind of raid configuration that will eliminate space on larger drives, i looked into drobo but i'm not paying money for something that slow [04:40] siwon, that's because there really isn't a way to do that [04:40] drobo just dynamically reconfigures RAID setups [04:40] that's why it's slow [04:41] a complex RAID setup is the only way to utilize multiple differently-sized disks with redundancy, without reducing your size to the smallest drive [04:42] Ah maybe i'll go buy a have dozen 500 gig drives on sale and do a raid 5 array then [04:45] and slowly migrate my files to them, but then i'm back to buying another MB and ram again [04:46] K TY [04:46] night [05:01] a dozen 500g drives? [05:01] 1TB+ are just getting cheaper [05:02] Using 1TB drives for a RAID 5 is ridiculously stupid. [05:04] When one of the drives fails and has to be replaced, the array will have to be rebuilt. During the rebuild, the chances are enormous that you'll encounter an unrecoverable read error on one of the other drives, making the entire rebuild fail and losing all the data [05:30] what means UG flag in "route -n" ? [05:46] hi, I just installed an SSL certificate on my server and now my site doesn't load. This is my first ssl cert and I was wondering if anyone could help me trouble shoot it? [05:46] I don't know where to start [05:47] log files ore something? [05:55] thenetduck: what exactly happens when you restart apache2 ? What message(s) do you see ? [05:58] maxagaz: man route will tell you what the flags mean. U = up, G = gateway. [06:03] thenetduck: Any luck restarting apache2 and telling me what happens when you do? :) [06:03] jmarsden: ;) haha ya just did it, here is the pastie [06:03] http://pastie.org/718893 [06:05] OK... not much there... does apache2ctl -t say much of interest? [06:09] jmarsden: sorry I got a million people typing at me haha, im going to focus on our convo how [06:09] I was thinking maybe you had a 300bps dialup modem connection to the Internet or something :) [06:09] jmarsden: no i'm just very rude to nice people that are willing to help me, I appoligize [06:10] Ok, so... what does apachectl -t say ? [06:10] do I run apache2ctl - in the init.d ? [06:10] Just at the shell prompt. [06:10] says the command not found [06:11] here is a list of that directory [06:11] Hmmm. It works here... let me check. [06:11] http://pastie.org/718900 [06:12] No, that's not relevant... Ah, try /usr/sbin/apache2ctl -t [06:13] * jmarsden has a custom $PATH so i can get at things in /sbin and /usr/sbin automagically :) [06:13] It should do a syntax check on your apache2 config file(s) [06:14] err.. that didn't work either [06:14] doh [06:14] nm [06:14] i did bin not sbin [06:14] one sec [06:15] thenetduck: You should be able to cut and paste from this IRC session into the ssh session you have open to your server... right? [06:15] correct [06:15] OK... so how did cut and paste leave out the "s" from the command I suggested?? [06:16] I didn't cut and paste it [06:16] Ill start doing that [06:16] sorry [06:16] Good idea. I usually put extra white space around commands I suggest to make it extra easy to cut and paste them :) [06:17] It just saves time. [06:17] ooh cool thanks [06:17] OK... so... what does /usr/sbin/apache2ctl -t really output? :) [06:18] apache2: Could not reliably determine the server's fully qualified domain name, using 174.143.158.207 for ServerName [06:18] Syntax OK [06:20] OK, so that's not the problem. Time to read the logs. Please pastebin the output of sudo tail -20 /var/log/apache2/error.log [06:21] By the way, you should fix your networking to avoid the "Could not reliably determine..." warning, but it's not critical for now. [06:21] http://pastie.org/private/fyyuseoo2qmhqo8zyzksja that was a neat trick [06:21] ok in my vhost or something? [06:22] I don't believe the gem errors are effecting it because it was working before the ssl cert setup [06:23] Probably you need to check the line in /etc/hosts that starts with 174.143.158.207 [06:23] The real (SSL) issue looks like you put files in the wrong places, or the files you supplied do not contain what you think they contain, so apache is all confused trying to read them. [06:23] doh! [06:24] ok, so I have 4 files currently.... [06:25] gd_bundle.crt jobcept.com.crt www.jobcept.com.csr www.jobcept.com.key [06:25] err.. I most likely should have sent that in a private message [06:26] No, that's fine. Just don't put the contents of the .key file somewhere public. [06:26] How can I fix that? [06:27] I'm just creating myself a set of similar files... wait a sec. [06:28] wow thanks so much jmarsden when i'm smart i'm going to help you someday lol [06:30] OK... pastebin me the output of file *jobcept* (when you are in the directory where those files are) [06:30] file tries to tell me/us what kind of file each one is. [06:31] http://pastie.org/private/a664ny877l3xbxudefs0bw [06:31] BTW, did you create these files yourself or did you pay some SSL cert vendor to create them for you? [06:32] i created them myself [06:32] no wait [06:32] what are u talkin about [06:32] I payed godaddy to create two of them [06:33] I created two myself then I supplyed godaddy with one and they gave me two more back haah [06:33] OK. Hmm, that's "interesting"... I get example.key: PEM RSA private key example.crt: PEM certificate example.csr: PEM certificate request [06:34] I was following this tutorial http://serverfault.com/questions/60363/how-do-you-set-up-ssl-on-ubuntu-with-apache2-and-ruby-on-rails [06:34] Can you pastebin jobcept.com.crt for me please? [06:35] sure one sec [06:35] The tutorial looks reasonably sane to me at first glance. [06:36] jmarsden: how do we do a private chat? [06:36] If you do /msg jmarsden that should work reasonably well [06:37] Do you see my msg to you now? [06:40] OK, that looks fine to me. You can see all the info it contains by doing openssl x509 -text So, what lines did you add to your apache config to use the SSL cert ? [06:42] ok [06:42] um [06:42] I might have missed that part of the tutorial [06:42] one sec [06:42] You must have done something so apache knows to use it... :) [06:43] my vHost setting take care of that correct? [06:43] Probably. A bunch of lines all starting with SSL is what I'm expecting... [06:44] one sec ill past you my /etc/apache2/sites-avalible/jobcept [06:45] http://pastie.org/private/zjhd3xxxg6eglbvope3a [06:46] is that what your looking for? [06:46] Yes... except that they look correct :) [06:47] hum.... [06:48] Can you pastebin me the output of ls -l /etc/apache2/ssl/ please? [06:49] http://pastie.org/718923 [06:50] ah. Unless your apache2 is running as root (which would be very bad), there is no way for it to read the files... [06:51] why did you set their permissions and ownership the way they are now? [06:51] jmarsden: the tutorial tells me to set the permissions to 400 [06:52] http://serverfault.com/questions/60363/how-do-you-set-up-ssl-on-ubuntu-with-apache2-and-ruby-on-rails [06:52] Which is probably fine... but owners of root and git? [06:52] it says to do this sudo chmod 400 /etc/apache2/ssl/* [06:53] oh... I have to user accounts, I might have done one with one user and the other with the other [06:53] actually I don't really know how that ended up like that [06:55] I think they should be owned by www-data but I'm not sure... checking... [06:58] Hmmm. Let's try that. So do sudo chmod www-data /etc/apache2/ssl/* [06:58] and then restart apache2 with sudo service apache2 start [06:59] it says: chmod: invalid mode: `www-data' [06:59] Try `chmod --help' for more information. [06:59] i currently just have two users, darkwing and it [06:59] My mistake... make that sudo chown www-data /etc/apache2/ssl/* [07:00] You have a bunch of other "system" users, actually, and one of them is www-data [07:00] oooh [07:01] To see them all, try cut -d: -f1 Just don't ask me what they are all for :) [07:01] haha, ok ill look that up [07:02] OK, so... did the chown and then restart of apache help? [07:03] err.. no, but I know Passenager needs me to do a touch on a file in my rails app so i'm doing a "cap deploy" to make sure it does that really quick [07:03] see if that makes it kick in [07:03] no that didnt work [07:04] OK, let's look at the error log again: sudo tail -20 /var/log/apache2/error.log [07:05] jmarsden: oh I did have to use this command becaues the one you used to restart didn't work: sudo /etc/init.d/apache2 restart [07:05] OK, that's fine. [07:05] http://pastie.org/718938 [07:06] Ah, my custom $PATH strikes again... sudo /usr/sbin/service apache2 start would work for you... [07:07] Still Init: Private key not found in there... let me think... [07:07] jmarsden, ok thanks and sorry [07:08] what does that error message mean? that it can't read it? or that the server just can't find it? [07:08] would it say that if it was the wrong key ? [07:09] I think it means the key is bad/corrupted/not in the right format for a key... [07:09] hum, well I wonder if it had something to do with the removing of the password step in the tutorial [07:09] if by doing that it some how messed the key up [07:09] Can you pastebin me the .key file (I'm not going to use it to pretend to be your web server) and put the URL in your private msg window? [08:04] hey, I would like my server to default to the https vs http but right now when you type in mysite.com it goes to the http. Is there a way to default my server to https? [08:05] thenetduck: You can make your index.html on the http:// side auto redirect to the https:// side. [08:06] oh that's a great idea. btw I was able to get my sites ssl cert re-issued and it works great now [08:06] Good :) [08:11] thenetduck:: A better way to do it would be to use Apache's RedirectPermanant directive [08:12] FireCrotch: can I do that in my vhost file? [08:12] thenetduck: yes, you can. RedirectPermanant / https://yoursite.com [08:12] FireCrotch: thanks! [08:14] thenetduck: You're welcome :) BTW you have to spell Permanent correctly, which I failed to do. My apologies [08:14] haha it's ok, I can spell either. [08:14] can't* [08:16] what's wrong in my syntax ? => route add 10.203.1.0 netmask 255.255.255.0 gw 192.168.101.2 [08:19] route add -net 10.203.1.0... etc [08:19] maxagaz [08:24] ok thanks [08:24] I got it [08:26] FireCrotch: thanks, that worked great, I have a question, did most of the guys here go to school to learn about this? [08:26] not that you would know haha [08:28] thenetduck: Well, I'm sure some of them did. I learned Linux on my own before going to school to get my degree in computer networking, and I had a couple of basic Linux classes [08:28] thenetduck: I got a Computing and Information Systems degree... back in 1983. Linux didn't exist then... :) [08:28] holy cow jmarsden I wasn't even born then haha [08:29] thats cool though [08:30] jmarsden: I'm sure you learned all about Unix though, and a lot of that knowledge transfered over, I'm sure [08:30] jmarsden: was it all unix based? [08:31] how to delete this route with this mask 192.168.101.0 192.168.101.2 255.255.255.252 ? I have the same with another mask [08:31] actually, we didn't officially have access to Unix machines where I was at school. I did get to play on one PDP-11 some in some other department of the school, but that was "extra-curricular" [08:32] thenetduck: All my Unix/Linux knowledge is self taught. Having the degree as a theoretical background helps though. [08:32] So does working with Linux since 1994 :) [08:32] or just set it down [08:33] ya I would say. That's way cool though, your way good [08:34] :) [08:35] maxagaz: route del and the exact same stuff you used to create it should work to delete it. [08:37] maxagaz: route del -net 192.168.101.0 mask 255.255.255.252 gw 192.168.101.2 # I hope :) [08:43] jmarsden, i got it thanks [08:43] You're welcome. === crohakon is now known as crohakon|afk === node is now known as thenetduck === johe__ is now known as johe === node is now known as thenetduck [14:14] hello === mike is now known as Guest60099 [14:14] some help please about server kernel [14:15] i had a ubuntu 9.04 server and upgrade to 9.10 but i having 2.6.31-14-generic-pae as kernel [14:15] is this right? [14:16] hello,anyone? [14:21] Guest60099: how much ram do you have? [14:21] 512... does it matter for server kernel? [14:23] Recommended Minimum Requirements for server is 128MB... [14:24] 1)is anybody here? 2)can anyone help me? thank you [14:25] Guest60099: the pae kernel is fine for you [14:27] on 8.10, 9.04 the kernels always had the "server" indication eg 2.6.31-14-server... so generic pae is normal for a server? [14:29] Guest60099: yes [14:30] ok...thank you [14:30] goodbye [15:23] anyone know how to install a package such as ddclient without having apt-get start the daemon automatically after install? [15:28] no one around, or just no one has any idea how to do this? [15:33] ryker: i googled 'apt-get install prevent daemon starting' and found some hack [15:33] ryker: i suppose you could also alter the source and build the package yourself [15:34] pmatulis: i didn't see that. i googled the same search terms -prevent [15:35] too lazy to build the package myself ;) [15:35] yeah, adding 'prevent' helps a lot [15:35] * ryker fails at google === dgr is now known as dgr_Away === dgr_Away is now known as dgr === stgraber_ is now known as stgraber [20:00] Hello [20:00] does ubuntu suppport hardware raid? [20:01] still here guys [20:01] matrix: Yes. [20:01] That is, it supports some hardware RAID controllers... [20:01] I have some questions about Ubuntu if someone is willing to discuss with me over AIM. [20:02] i need some informations [20:02] do you have link ? [20:03] jmarsden ? [20:04] Ubuntu should support all the hardware raid controllers Debian does.. so look at http://wiki.debian.org/LinuxRaidForAdmins [20:06] Some discussion of controllers is at http://www.clintoneast.com/articles/linux-sata-raid.php [20:06] FakeRAID (and why it is bad) is discussed at https://help.ubuntu.com/community/FakeRaidHowto [20:07] matrix: What are you really asking here? [20:07] RayzoR: Ask your questions about Ubuntu server here. Ask about Ubuntu Desktop in #ubuntu. [20:09] Well I just want the difference really. [20:09] I'm still pretty new to Linux and I want to learn about the differences and which one is more user friendly. [20:09] Like if anyone has AIM it'll be better because I'm doin a research project and I'd like some expert opinions [20:12] RayzoR: for such discussions #ubuntu-offtopic would be better suited [20:13] Alright. Thank you. [20:14] RayzoR: In general the way to find out how friendly a Linxu distro is (for you) is to run it. Most can be run off a LiveCD without installing anything to your local hard disk, so this is simple and a good way to do this kind if "research". === dazman is now known as Guest62154 === erichammond1 is now known as erichammond [20:48] guys [20:48] what kind of mail server should i use for ubuntu ? [20:49] matrix: postfix is very common with ubuntu [20:49] do you know a documention [20:49] for postfix ubuntu ? [20:49] matrix: have you checked the ubuntu server guide? [20:49] The server admin guide, probably, has info on it [20:50] https://help.ubuntu.com/9.10/serverguide/C/index.html === erichammond1 is now known as erichammond [20:52] matrix: Also check out the community documentation - https://help.ubuntu.com/community/Postfix [20:52] matrix: other than the fact that we run postfix chrooted by default, the postfix docs are 99.99% spot-on [20:52] as in upstream postfix docs [20:53] Much of the Postfix related stuff in the community documentation is pretty outdated. [20:53] and then there are all the other docs people are pointing you at, which are much more how-to than the gory details-laden upstream docs [20:53] matrix: and ScottK knows more about the state of ubuntu postfix docs than I do, by far [20:53] Perfect opporunity to login and update it ;-) [20:57] are there any opensource solution like landscape ? === erichammond1 is now known as erichammond [21:13] no [21:14] New bug: #400599 in vm-builder (universe) "Crash when building xen image" [Undecided,Invalid] https://launchpad.net/bugs/400599 [21:22] pmatulis: really ? [21:23] MatBoy: If you're just going to doubt the answers you get, why ask? [21:23] ScottK: because I can't believe no-one ever made such thing yet === crohakon|afk is now known as crohakon [23:42] New bug: #370950 in lm-sensors (main) "[Upgrade Request] lm-sensors 3.0.2 (jaunty) -> lm-sensors 3.1.1 (dup-of: 336418)" [Wishlist,Triaged] https://launchpad.net/bugs/370950