/srv/irclogs.ubuntu.com/2013/02/17/#ubuntu-server.txt

dingomaxb: thanks for clearing that up.00:40
mattwj2002hey guys02:17
mattwj2002:D02:17
dandkburtdoes the support also includ eapache here02:17
mattwj2002!ask dandkburt02:18
mattwj2002!ask02:18
ubottuPlease 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. :-) See also !patience02:18
mattwj2002it doesn't hurt to try in my opinion02:18
dandkburthow do I set up vhost for apache202:18
mattwj2002what version of ubuntu?02:20
dandkburtwhats the command to find out02:21
dandkburtlol02:21
dandkburti don't remember02:21
mattwj2002:P02:21
mattwj2002http://httpd.apache.org/docs/2.2/vhosts/02:21
mattwj2002uname -a02:21
mattwj2002that may work02:22
dandkburtalready tried that02:22
mattwj2002lol02:22
mattwj2002cat /etc/apt/source.list02:22
mattwj2002or is that sources02:22
mattwj2002:-/02:22
mattwj2002that'll show you the name in the apt-get stuff02:22
dandkburtlol02:23
dandkburt5 lines02:23
mattwj2002yeah02:23
mattwj2002what is the name though02:23
mattwj2002for example Precise02:23
dandkburtfor the ubuntu02:23
dandkburtits the newest one on Chicogovps02:24
dandkburtI think it is 11.0502:24
dandkburtor somthing02:24
mattwj200211.04?02:24
dandkburtmight be02:24
mattwj2002well anyways....try that link02:24
maxb'lsb_release -a' is the command you're looking for02:24
mattwj2002thanks maxb02:24
mattwj2002maxb are you good at Apache?02:25
dandkburtyes thanks max02:25
dandkburt11.0402:25
dandkburtand that link only helps me a little02:25
dandkburti did all it told me02:25
dandkburtand still nothing02:26
mattwj2002I am not an Apache expert02:27
maxb11.04 is end-of-lifed already, you really should consider updating, probably to 12.04 which is a long term support release if you don't like upgrading every six months02:27
dandkburtmaxb02:27
dandkburtI don't know if that is permitted with my vps host02:28
maxbThe problem with a question like "how do I set up vhost for apache2" is that it's too broad. It's difficult to answer with anything more specific than a pointer to a section of documentation. If you need further help, the key to effective use of IRC tech help channels is making your questions as specific and detailed as possible.02:29
dandkburtk02:30
maxbAnd if your VPS host doesn't provide a way for you to run an OS that has current security support...... they really really suck :-)02:30
dandkburti am looking for someone to assist me on it02:30
mattwj2002how long is lts for?02:31
dandkburtperminant02:31
maxbNew LTS releases happen every two years, each one is supported for 3 years generally, and 5 years in a limited server-oriented subset02:32
mattwj2002thanks maxb02:32
maxbhttps://wiki.ubuntu.com/LTS02:32
mattwj20022017!02:33
maxbOh, apparently the 3y/5y split is old info, according to that wiki page.02:33
mattwj2002w00t :)02:33
mattwj2002yeah I see that starting with 12.0402:34
mattwj20025 years is a long time O.o02:34
mattwj2002that is like 500 years in IT :P02:34
maxbIt really is, but on the other hand, legacy systems refuse to die.02:35
mattwj2002true02:35
mattwj200214.04 will be the next lts?02:35
* maxb has inherited partial responsibility for a production MySQL 4.0 system :-/02:36
mattwj2002oh my!02:36
mattwj2002so you can say it really is a mysql02:37
mattwj2002:P02:37
mattwj2002you own it in other words02:37
mattwj2002:)02:37
maxbWhilst I don't think it's actually documented anywhere as ongoing fact, the "every fourth release is an LTS" convention has held true since Ubuntu LTSes were created02:38
mattwj2002okay cool02:39
mattwj2002that is what I thought02:39
mattwj2002long live ubuntu!02:39
maxbBy 17.10 we'll have run out of letters :-)02:40
mattwj2002haha02:40
mattwj2002they will have to go back to a!02:40
tonyyarussomaxb: We have a system at work that's running Solaris I think 9, on even older hardware.02:44
mattwj2002O.o02:44
maxbYeouch, I think that beats even my Slackware 10 machines02:44
mattwj2002is solaris even still around?02:44
tonyyarussoWe're working on killing it...slowly.02:45
tonyyarussomattwj2002: eh, not really.  Last release was 2011, but it's not nearly the player it once was.02:45
mattwj2002what do unix when you can do linux!02:46
mattwj2002:)02:46
mattwj2002*why do02:46
mattwj2002even companies like Google, Cisco and Juniper are adapting either freebsd or linux02:46
mattwj2002Apple too02:46
thomas573Hello, I'm following this tutorial (http://blog.sudobits.com/2013/01/07/how-to-deploy-rails-application-to-vps/) but when I try 'mv id_rsa.pub .ssh/authorized_keys' in my remote ubuntu server I get 'mv: cannot stat `id_rsa.pub': No such file or directory' Any ideas?03:31
holsteinthomas573: there is no file there03:34
holsteinthomas573: you are dealing with setting up ssh key access03:34
holsteinhttps://help.ubuntu.com/community/SSH/OpenSSH/Keys03:34
holsteinseperate the ruby from that.. this has nothing to do with ruby03:34
thomas573IIs it because I typed 'mkdir .ssh' instead of 'mkdir ~/.ssh'?03:35
thomas573holstein: Is it because I typed 'mkdir .ssh' instead of 'mkdir ~/.ssh'?03:35
holsteinthomas573: do you have a .ssh directory in your /home?03:36
holsteinyou can look in / and see if its there03:36
thomas573holstein: on my remote server?03:37
holsteinthomas573: i would just stop doing what you are doing, and read the ssh documentation03:38
holsteinthomas573: you are only setting up ssh key access.. you can do that and *then* get back to the tutorial03:38
thomas573holstein: but I already have ssh on my local computer with bitbucket, i just want to upload it to my remote server03:39
holsteinthomas573: sure.. so you set it up on that server03:39
thomas573holstein: What are the keywords I have to type?03:40
holsteinthomas573: i usually just follow that guide i dropped03:40
thomas573holstein: Seems kind of information overdoing it, no?03:41
holsteinhttp://askubuntu.com/questions/61557/how-do-i-set-up-ssh-authentication-keys03:41
holsteinthomas573: not reall03:41
holsteinthomas573: you are setting up something that if done incorrectly, could be a security risk03:41
thomas573holstein: Ok dokey, so just ssh-copy-id user@hostname03:44
holsteinthomas573: i would say, read up on what each of those commands do, and see what best suits your needs03:45
=== alamar is now known as julian
jack43Hello, I am following this tutorial, but when I try to log in as deployer I get "ssh: connect to host 555.55.555.55 port 22: Connection refused" (http://matthewcopeland.me/blog/2012/09/29/grow-out-your-neckbeard-its-time-to-deploy-how-to-setup-and-deploy-to-a-linode-server/) but while I log in as10:50
jack43Any ideas?10:51
cfhowlettjack43, read what you posted.  I think you cut some of it off10:51
jack43cfhowlett: Yea, just ignore the 'but while I log in as'....I was rearranging the sentence10:52
jack43cfhowlett: I followed those exact steps in the tutorial and I get that error once I try to login as deployer10:52
jack43cfhowlett: Any ideas?10:54
cfhowlettjack43, I have to bunt on this one.  Servers are far from my area of expertise ...10:54
cfhowlettjack43, stay in channel, ask again.10:54
jack43sjefen6: Any ideas?10:55
jack43Any help is appreciated.10:55
jack43#vps10:59
jack43#digitalocean10:59
jack43#ubuntu10:59
cfhowlettjack43, you mabye mean to type /j ubuntu or /join #ubuntu   ?11:01
=== railsraider_ is now known as railsraider
jack43I'm trying to install rbenv and ruby in my Ubuntu remote server, but I keep getting this: deployer@HostName:~$ rbenv bootstrap-ubuntu-12-04 -bash: rbenv: command not found11:57
jack43Any ideas?11:57
=== glebihan__ is now known as glebihan
ruben231hi guyd any suggestion load balance two apache web server..? so share load..any idea guys12:27
melmothruben231, haproxy ?12:36
ruben231melmoth:any how to.>? i ahve two apache web server only12:38
melmothi dont know the details, but i think it s mainly about setting one config file where you give haproxy the ip of the apache server12:39
=== railsraider_ is now known as railsraider
melmothand it take charge of balancing the requests. You ll have to read some doc to get the details12:39
=== metasansana is now known as pelaubot
=== Err404NotFound is now known as Error404NotFound
=== pelaubot is now known as metasansana
sliddjurSo I generated a secret-key-ABC123.asc file with gpg . What are they for?14:25
andolsliddjur: How did you generate that file? --export-secret-keys?14:26
sliddjurin windows. because my server failed to do gpg --gen-key14:27
sliddjurI just know I need to use these with duplicity. Im trying to figure out how it works :)14:28
sliddjurAre they like ssh keys where u have a public and a private key?14:28
melmothyep14:29
andolsliddjur: Yepp, the regular use of gpg is with public/private keys, even if you can do symmetrical encryption as well, which duplicyt also happens to support by the way14:29
andolsliddjur: On the server you will be able to import exportered keyfiles using gpg --import. Nevertheless, it really wouldn't hurt to figure out why gpg --gen-key fails for you.14:30
sliddjur"Not enough random bytes available.  Please do some other work to give the OS a chance to collect more entropy! (Need 283 more bytes)"14:31
sliddjurandol: and it just stands there14:32
andolsliddjur: I usually solve that by copying files around in a parallell shell.14:32
andol(copying files around, and hence generating disk activity.)14:33
sliddjurcp -R /var/ /asdf/ now14:34
sliddjurwell. doesnt seem like that was enough?14:37
andolsliddjur: Then you do it again, and again? :) Preferably saving yourself some effort by putting in a loop14:39
sliddjurHow much data is 283 bytes?14:41
sliddjur:S14:41
sliddjurI mean how long time could it take14:41
andolsliddjur: Not amount of data, amount of "true" entropy.14:41
sliddjurI dont even know what entropy means14:42
andolsliddjur: In this context, randonmess, even if I guess lack of order is a more general meaning.14:43
sliddjurandol: so i should just keep the gpg app open wile doing all this randomness?14:50
andolsliddjur: yepp14:51
sliddjurandol: not rerun gpg?14:53
andolsliddjur: As long as it still says it is waiting it is better to keep it running, or it will need to start needing entropy from scratch.14:55
jack34when I run cap deploy:cold, I get this error message: PG::Error: ERROR:  permission denied to create extension "unaccent"  HINT:  Must be superuser to create this extension. Does anyone know how I can give my normal user superuser privileges?14:55
sliddjuryepp it actually updated now. it needs 92 more bytes14:55
sliddjurwhat the hell. now it needs more again. need 11514:57
andolsliddjur: Because your key actually consists of two keys, so I'm fairly certain the jump is due to it generating the second (sub)key.14:58
sliddjurandol: i am probably inside a virtual machine aswell. would that matter on my entropy levels?15:15
andolsliddjur: Yes, in the context that it is less obvious how to trigger entropy-generation in a virtual machine, and that a virtual machine might have to share the physical machines entropy pool with other virtual machines.15:17
jack34I matched all of my database.yml production information and still get this error after sudo cap deploy:cold - PG::Error: ERROR:  permission denied to create extension "unaccent" HINT:  Must be superuser to create this extension. Any ideas?15:21
jack34#postgres15:21
sliddjurandol: http://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny this worked . now i generated a key in two seconds15:27
andolsliddjur: Yepp, generating "fake" randomness is a lot faster :) Often, but not always, it is also good enough. Depending on how paranoid/security concious you want to be I guess you'll have to decide whatever to keep rng-tools running or not.15:30
sliddjurso where are my files ?15:31
sliddjurandol: I uninstalled rng tools15:31
andolsliddjur: ~/.gnupg/pubring.gpg and ~/.gnupg/secring.gpg. Usually you will only interact with those files indirectly, by calling gpg or so.15:31
sliddjurits in my personal homedir. should i move it to /root since root runs dupliciity?15:33
andolsliddjur: I would do that. While root can still read those files in your personal homedir it is unncesary for your regular user to have access to them in case they are only used by root.15:34
andolsliddjur: Also, by having them in root's homedir they will be covered by being in the default path.15:35
=== frojnd_ is now known as frojnd
duncan-nzI've been trying to setup a samba server. I tried to generate an SSH key with Puttygen on windows. Now that machine still has access (and still says it doesn't recognise the fingerprint - I never worked out how to copy it over) but other machines on this network can't get access. Obviously I've done something wrong. Any ideas?15:56
duncan-nzthe serve is on ubuntu, but i'm trying to get access from my windows laptop.15:56
sliddjurandol: after I moved the folder: http://pastebin.com/gX296SV416:04
sliddjurduncan-nz: you can copy files over winscp application16:05
sliddjurwith16:05
=== yofel_ is now known as yofel
agu10^What domain registrar would you recommend?16:55
jack34I finally  finished this deployment tutorial (http://matthewcopeland.me/blog/2012/09/29/grow-out-your-neckbeard-its-time-to-deploy-how-to-setup-and-deploy-to-a-linode-server/), but when I type in the IP address in Safari, I get safari can't connect to the server. Any ideas?17:00
ikoniajack34: probably because it's using host headers, which an IP won't contain17:04
ikoniajack34: I assume you are using your own IP, rather than the example one in the document17:05
jack34ikonia: Yes, I am using the IP from DigitalOcean VPS17:05
jack34ikonia: What should I replace?17:06
ikoniajack34: that's someone elses IP17:07
ikoniajack34: (you are using the IP address in the document yes ?)17:07
jack34ikonia: No, I'm using the one DigitalOcean VPS emailed to me.17:07
agu10^What domain registrar would you recommend?17:07
ikoniajack34: ok, so it's "your" ip address17:08
ikoniajack34: first thing is check the web server is running17:08
ikoniaagu10^: anyone you want17:08
agu10^why?17:08
ikoniaagu10^: why what ?17:08
agu10^i don't want to use godaddy17:08
agu10^they're the devil17:08
ikoniaagu10^: then don't use them, use what ones you like17:08
ikoniajack34: I'm assuming you're trying to connect to the web service17:09
agu10^i don't know any others. that's what i'm asking for17:09
ikoniaagu10^: google17:09
ikoniaagu10^: there are many17:09
jack34ikonia: i finished everything in that tutorial and everything looked good until I tried opening my IP address in the browser....it says "Page not available"17:10
ikoniajack34: first verify you can connect to the socket17:10
jack34ikonia: I basically am trying to redeploy my heroku app to digital ocean17:10
jack34ikonia: How do I do that?17:11
ikoniajack34: what port are you trying to connect to ?17:11
jack34ikonia: 303017:11
ikoniajack34: ok, so do a test where you telnet to the ip/port you are trying to connect to17:11
jack34ikonia: how can I check the remote ubuntu server logs?17:12
ikoniajack34: please do the test I asked17:12
jack34ikonia: How do I do that telnet thing you're talking about?17:12
ikoniajack34: .....really ?17:12
ikoniajack34: telnet hostname(or ip) port17:13
jack34ikonia: I'm a noob :(17:13
jack34ikonia: It seems to have connected17:15
jack34ikonia: SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu117:16
ikoniajack34: what command did you use exactly17:16
jack34telnet <IP ADDRESS> 303017:16
ikoniajack34: then why is ssh listening on 303017:16
ikoniajack34: ssh should not be listning on 303017:17
ikoniajack34: that appears to be why your webbrowser can't do anything with it - it's not running a webserver on 303017:17
jack34ikonia: How do I fix this?17:17
jack34ikonia: I followed exactly what that tutorial told me17:18
ikoniajack34: stop the ssh server running on 3030, bind your application/web server to 3030, so when a web browser hits it, there is something there17:18
ikoniajack34: contact the people who wrote the guide17:18
ikoniajack34: quickly scanning that guide, you should not be connecting on 303017:19
ikoniayou should be connecting on 8017:19
jack34ikonia: Which keywords to I type to stop the ssh server and bind the app/web server to 3030?17:19
ikoniajack34: please check what I just said17:19
jack34ikonia: In the tutorial it says: # Change your port access. Our Example uses 3030 Port 303017:20
ikoniajack34: yes, re-read what I've just said17:20
jack34I think I know the problem now..17:21
jack34one sec17:21
jack34ikonia: Okay, so do I have to change /etc/ssh/sshd_config on my ubuntu server back to port 80?17:24
ikoniajack34: no17:24
ikoniassh does no run on port 8017:24
ikoniaplease re-read what I said17:24
ikoniayou should not be connecting directly on port 303017:24
jack34ikonia: I'm readin, I'm readin17:24
jack34ikonia: Specifically, which directories and keywords to I need to input to make these necessary changes?17:25
ikoniajack34: there are no changes17:25
jack34ikonia: I'm new to VPS, coming from Heroku17:25
jack34ikonia: I just need more specifics :(17:26
ikoniayou need to read what I've said17:26
jack34Ok, lets break it down in steps17:26
ikoniano, you need to read what I've said17:26
jack34Step 1) stop the ssh server running on 303017:27
ikoniano17:27
duncan-nzI am correct to be surprised that one of my machines can't get ssh access to my new server ... even though I haven't set up public keys? It should just connect and give me a login window right?17:27
jack34ikonia: What then?17:27
ikoniaduncan-nz: sorry what ? can you try to explain that17:27
ikoniajack34: I'm not saying it again.17:27
jack34ikonia: Why are you so angry?17:28
ikoniajack34: I'm not angry at all17:28
jack34ikonia: You're talking in generalities as if I'm a VPS genius17:28
ikoniajack34: no I'm not17:28
ikoniajack34: this has onthing to do with "vps"17:28
ikoniajack34: I suggest contacting the people who wrote that guide17:28
ikoniajack34: if you are unable to follow the basic instructions I've given you17:29
jack34I'm new to SSH too, I just need more specifics17:29
ikoniajack34: they can support their own documentation17:29
duncan-nzI've just set up a server (12.04) and for some reason this machine win machine with putty) can get an ssh connection and log in, but my ubuntu machine on the name network can't get in.17:29
ikoniajack34: it has nothing to do with ssh17:29
ikoniaduncan-nz: sounds odd17:29
ikoniaduncan-nz: how are you conncting, by dns/host or IP17:29
jack34ikonia: Which line of yours do you want me to reread>17:29
ikoniajack34: none, I'm not going to tell you again17:30
duncan-nzjust typing the machines name on the network.17:30
ikoniaduncan-nz: try it on IP17:30
ikoniaduncan-nz: I suspect dns maybe failing you17:30
duncan-nzso if i run ifconfig on the server am I looking for the ipv4 address?17:31
ikoniaduncan-nz: yes17:31
jack34ikonia: I'm sorry I upset you. I really am new to this.17:32
ikoniayou've not upset me at all17:32
jack34Usually I get specific helpful answers in this irc17:33
ikoniajack34: you got specific help17:33
jack34I'm sorry I've irritated you17:33
ikoniayou've not irritated me17:33
jack34ikonia: Yes, they would tell me exactly what directory or keywords I would need to input and what it means17:34
Psi-Jackjack34: However you're about to start. :)17:34
ikoniajack34: I've given you specific informaiton from scanning through the doucment you are using17:34
ikoniajack34: I've stated maybe 3 times you sould not be connecting to port 3030 with your browser17:35
jack34jack34: Then how do I fix it?17:35
ikoniafix what ?17:36
ikoniayou're connecting to the wrong port17:36
ikoniayou're connecting to the ssh port you use to deploy the app with your web browser17:36
ikoniassh is not a web browser application17:36
jack34ikonia: So how do I stop connecting to the wrong port and connect to the right one?17:37
ikoniajack34: you understand how web applications work ?17:37
jack34ikonia: yes17:37
ikoniajack34: right, so what port does a web browser normally connect to ?17:37
* ikonia waits why jack34 googles17:37
jack34ikonia: port 80?17:38
ikoniajack34: right,17:38
ikoniajack34: so why are you tryin gto connect to port 3030 with your web browser ?17:38
duncan-nzokay, so it was bcast (there was no entry called ipv4) so now it works. Why can one machine get in with the server name and the other only by using the IP address?17:38
jack34I use Bing :)17:38
ikoniajack34: the example shown in the document doesn't show a connection using 303017:38
ikoniaduncan-nz: sorry what ?17:38
ikoniaduncan-nz: it was bcast ?17:38
duncan-nzyup17:38
ikoniawhat is bcast ?17:39
ikoniabroadcast ?17:39
ikoniaduncan-nz: there has to be an IPv4 entry17:39
ikoniathat's how it's on the network17:39
duncan-nzsorry, i wrote wrong. there's line that says inet addr:192.168.x.xx Bcast 192.168.x.xx Mask:255.255.255.017:40
duncan-nzand the first one is the one i wanted.17:40
ikoniaduncan-nz: yes, that's your ipv4 address17:41
duncan-nzUsually it's called ipv4, but now it isn't any more I guess with the latest ifconfig...17:41
ikoniaduncan-nz: it's never called ipv417:41
duncan-nzoh, sorry, that's ipconfig on windows.17:42
jack34ikonia: I followed that tutorial exactly...and my IP address was working after I tested nginx..17:43
jack34ikonia: I got the nginx page and everything17:43
ikoniajack34: if you followed that tutorial exactly why are you pointing your web browser at port 3030 ?17:43
ikoniawhen the example points it at 8017:43
duncan-nzikonia: tnx17:44
jack34ikonia: Where does the example point to 80...I searched the whole tutorial t for the keyword '80' and nothing shows up17:45
ikoniajack34: you're too lazy17:45
ikoniajack34: it shows it in the screen shot17:45
jack34ikonia: Are you talking about 96.126.100.112?17:47
jack34ikonia: Isn't that his unique IP address though?17:47
jack34ikonia: You're talking about this tutorial right: http://matthewcopeland.me/blog/2012/09/29/grow-out-your-neckbeard-its-time-to-deploy-how-to-setup-and-deploy-to-a-linode-server/17:48
ikoniajack34: you said you knew how web applications work17:49
ikoniajack34: he's typing 96.126.100.112 in his example17:49
ikoniajack34: what port is 96.126.100.112 connecting to ?17:49
jack34ikonia: port 80?17:50
ikoniathink about it17:50
ikoniajack34: come on....yes17:50
jack34ikonia: Ok, so how can I make my IP address do that?17:50
ikoniajack34: I'm sorry, you really have no idea what you are doing or how web applications work17:50
ikoniajack34: you need to conact the person who wrote that document and ask them to walk you through it17:51
jack34ikonia: I'm dumb I know, but I'm not going to give up17:51
ikoniaI didn't say you where dumb, and I didn't say you sould give up17:51
ikoniaI asked you if you knew how web applications work....you clearly don't, so it would require me going through that doucment, then going through it with you step by step17:51
jack34this VPS stuff is new to me, I come from a git push heroku background17:51
ikoniajack34: this is nothing to do with vps17:52
ikoniajack34: I suggest contacting the people who wrote that document, and explaining you'd like to go through it with them when they have some time free17:52
jack34ikonia: I'll just google it then17:52
ikoniajack34: sure, if you feel that will get the job done17:53
jack34ikonia: I'm sorry I upset you17:53
ikoniaas I've said 3 times now17:53
ikoniayou've not upset me17:53
ikoniaperhaps listening will get you further17:53
jack34ikonia: I will listen, try to reflect, analyze and be open to your criticism17:55
ikoniawhy don't you just contact the author and ask him to talk you through it17:56
ikoniathen you can ask questions as you go along with anything you are not %100 clear on17:56
jack34ikonia: The author doesn't care about folks like me, he's busy working for ThoughtWorks17:58
ikoniajack34: have you asked ?17:58
jack34ikonia: I'm just a vps noob, trying to migrate his rails app from heroku to digitalocean17:58
ikoniajack34: remember when you said "you'd listen" ?17:59
jack34I'm listening17:59
RoyKjack34: what are you trying to do_17:59
RoyK?17:59
ikoniajack34: how many times hav eI said to you "it's nothing to do with a vps"17:59
ikoniaRoyK: http://matthewcopeland.me/blog/2012/09/29/grow-out-your-neckbeard-its-time-to-deploy-how-to-setup-and-deploy-to-a-linode-server/18:00
ikoniaRoyK: he's followed it exactly....but not at all18:00
jack34ikonia: thanks18:01
jack34RoyK: I'm trying to get my IP address in the browser to work after I deployed, but I get a "page not found"18:02
jack34RoyK: Everything seemed to deploy perfect though18:02
cloakableI am seeing some truly weird behaviour in my /dev/disk/by-path in ubuntu server 12.10; both sda and sdb seem to be conflicting18:02
ikoniajack34: with respect, based on the fact tha tyou where trying to connect to 3030 rather than 80 - your assesment of "everything deployed fine" isn't really valid18:03
RoyKcloakable: pastebin `find /dev/disk-by*`18:03
cloakableRoyK: sure18:03
jack34ikonia: But that's what the author put in their deploy.rb file: set :port, "3030"18:04
cloakableRoyK: http://paste.ubuntu.com/1672595/18:04
jack34RoyK: Any ideas?18:06
RoyKsorry, I don't see the conflict18:06
RoyKjack34: well, basic ubuntu server setup docs are good18:07
RoyK!guide | jack3418:07
ubottujack34: The Ubuntu server guide may be found at http://help.ubuntu.com/12.04/serverguide/C/18:07
jack34RoyK: The page isn't loading in my browser, even though everything seems to deploy fine.18:07
cloakableRoyK: how about here? http://paste.ubuntu.com/1672608/18:07
cloakableHow's that for a conflict? :)18:07
RoyKouch18:08
RoyKdunno18:08
cloakableI have in my system: sda sda1 sda2 sda5 sdb and sdb118:09
RoyKdoes it work if you use UUIDs?18:10
RoyKno need to use /dev/whatnot if you have UUIDs18:10
cloakableI was planning on setting a POLICY line in mdadm.conf, but that assumes a reliable /dev/disk/by-path18:11
cloakableAnd uh... it's not reliable, obviously :P18:11
cloakableAh well, maybe it's a chipset issue. NM10/ICH7 SATA controller?18:14
RoyKwhat's the policy thing in mdadm?18:14
cloakableIt allows you to set a policy on what do do with hotplugged disks18:14
ikoniajack34: READ what he's saying18:15
ikoniajack34: DEPLOY to 3030 - that doesn't mean point your web server at 303018:15
ikoniajack34: ssh is running on 3030 that's how the application is deployed, so just common sense says "pointing a web browser at an ssh server....won't do anything"18:15
cloakableSo you can basically tell it to take control of disks plugged into a defined range of ports, and do stuff with them18:15
cloakableLike automatically replace a failed disk :)18:17
jack34ikonia: Ah, so I have to change all my 3030 ports to 80 on the remote server right?18:17
ikoniajack34: no no no no no no no no no no no no no no no no18:21
ikoniajack34: how many times did I saw "no changes needed"18:22
ikoniajack34: this is why I've stopped trying to help you as you don't listen18:22
RoyKcloakable: ok18:22
RoyKcloakable: I thought that was in by default18:22
cloakableRoyK: nope, needs to be configured18:23
cloakablethe mdadm writers decided it wasn't a good idea for it to just grab disk without being configured :)18:23
RoyKwhy do I like zfs? ...18:23
cloakableSo it'll assemble an array without configuration, but won't include fresh disk without being either configured to, or told to.18:24
jack34ikonia: Okay so no changes needed, let me get that straight18:24
binarydogdoes ubuntu-server have a different hardware detection than ubuntu? or does it only detect ethernet cards and no wireless cards?18:27
cloakableI believe they use the same kernel and therefore same drivers18:28
RoyKbinarydog: the difference is minimal or non-existant18:29
cloakableIt looks like both the server and desktop use the same (generic) kernel now18:29
cloakableSo non-existent18:29
cloakablelinux-server depends on linux-generic, and linux-generic depends on the latest linux kernel18:30
binarydoghm, because the server version does not find my wlan card (macbook air) but desktop does18:31
ogra_you dont see it in ifconfig ?18:31
ogra_or in "cat /proc/net/dev"18:32
RoyKbinarydog: what does iwconfig have to say?18:33
binarydogi'm still at the 'detect network hardware' installation step. i'm going to try brcmsmac. that seems to be the right version18:33
ogra_oh broadcome evilness18:33
binarydoghaha yeah, that's the one thing I still remember from my last try18:34
=== ry_ is now known as ry
sliddjurhello, i created gpg keys with sudo. now keys where created in private home folder. then i moved them to roots home folder. but gpg --list-keys doesnt show any keys20:06
escottsliddjur, if you did sudo gpg --blah blah it was probably acting on /root/.gpg20:08
sliddjurescott: i did sudo -s and then gpg keygen20:08
escottsliddjur, so that should be messing with /root/.gpg20:08
sliddjurescott: sudo -s all commands after that is run as my user?20:09
Masshuuanyone here know how to work cset?20:10
escottsliddjur, well sudo -s is probably wrong. sudo -i is what you wanted. but in a root terminal those commands run as root20:10
sliddjurescott: sudo -i stays logged in aswell?20:53
escottsliddjur, it starts an interactive terminal20:54
sliddjurim not sure i understand what that means20:55
escottsliddjur, usually sudo command just runs a command which is "non-interactive"20:57
escottsliddjur, sudo -i starts an interactive terminal session with root privs20:57
duncan-nzwhy is there an entry in .ssh/authorized_keys before I put one there?21:01
TheLordOfTimeduncan-nz, host-generated?21:02
TheLordOfTimeduncan-nz, is the server an Amazon EC2 instance, or a VPS somewhere?21:02
TheLordOfTimeor something else?21:02
duncan-nzIt's my own server just recently installed21:02
TheLordOfTimehuh, dunno then, but you can remove it normally without incident21:02
duncan-nzokay, that's the important thing. I'll backup the file of course just in case.21:03
duncan-nznow putty is not asking me if I recognize the fingerprint when i connect. Where is putty storing info about the keys i recognize?'21:10
zasternEvery time I try to change network settings by editing /etc/network/interfaces and then restarting networking i get - Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces - What is the proper way to reload network settings then?21:34
zasternservices networking restart gives a similar message21:34
=== julian is now known as alamar
=== acrocity_ is now known as acrocity
=== histo1 is now known as histo
lvmerI'm having trouble with the error: No css library available.    But I have both libdvdcss2 & libdvdread423:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!