/srv/irclogs.ubuntu.com/2009/11/03/#ubuntu-server.txt

gpcan anybODY help ME ?00:00
gpcalling huston are you there00:01
BaversjoWhen I try to install a package using pear or pecl on ubuntu server 9.10 pear/pecl stops after downloading the file. Tried apc and symfony, neither works.. Any ideas?00:04
erichammondgp: What do you mean "fstab is not mounting it"?  What command are you typing?  What is the result?00:05
BaversjoCould someone take a look at this? http://paste.ubuntu.com/308037/ As you can see, the package is never installed.00:07
phoenixzAnybody who could tell me how to solve sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a    gives me this : http://pastebin.com/m46588684     How can I fix this?00:21
bventurai bought a vintage 1U compaq proliant from the bargain bin at an electronics recycler and it ran ubuntu great for about a year, then all of a sudden it started having segmentation faults at random times and shutting down.  then it seemed to have gotten worse and now wont boot up at all.  I'm wondering what would cause this, bad disk, bad memory?  where to start with troubleshooting?00:25
orudieis there a server guide for 9.10 ?00:27
zoopsterbventura: start with the memtest00:36
zoopsterorudie: http://doc.ubuntu.com/ubuntu/serverguide/C/index.html00:37
bventurathx zoopster, am running it now.  anything to check besides memory and disk?  i can't think of anything besides power supply that would wear out over time00:38
zoopsterno bventura could be anything I suspect - those are hard to troubleshoot so it's random00:40
=== omani2 is now known as omani
bventuraok00:40
uvirtbotNew bug: #471975 in bind9 (main) "package bind9 1:9.6.1.dfsg.P1-3 [modified: usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: sub-processo script post-installation instalado foi morto por sinal (Interrupção)" [Undecided,New] https://launchpad.net/bugs/47197500:51
Michael123Hey01:14
Michael123is anyone not idle01:16
qman__Michael123, just ask01:16
Michael123How would I go about installing IRC server on my server?01:21
qman__Michael123, sudo apt-get install [irc server of your choice]01:22
qman__to get a list, apt-cache search ircd01:22
arrrghhhhey all, i'm getting an error processing "ffado-mixer-qt4" when i try to update... i can't purge it, i'm not sure what to do with it!01:26
supertycoI trying to use UEC01:40
supertycoI just setup eucalyptus but I cant get a instance up and running01:40
supertycoeuca:UnassignAddress>01:40
supertycothats the error I get01:41
zoopsterthat's not very telling of what you are doing when you get that error supertyco01:44
supertycoI am trying to start my first instance01:46
supertycoI am running non-managed vlan mode01:47
supertycoI am assuming the instance is looking for a dhcp server01:47
supertycobut if you follow these instructions01:48
supertycohttps://help.ubuntu.com/community/UEC/PackageInstall01:48
supertycoa dhcp server is never started01:48
supertycowhich I assume is needed01:49
supertycoam I correct01:49
zoopsterno supertyco01:51
zoopsterso supertyco what are you doing when you get an error01:51
supertycoeuca-run-instances emi-DFA2106F -k mykey -t c1.medium01:52
supertycorunning that command01:52
zoopsterand it comes back with that cryptic error message?01:53
supertycothat error shows up in the log files01:54
supertycomy instance goes from pending to terminated01:54
zoopsterand are you sure you have enough disk space to perform the operation? you will need 2-3x the size of the image01:56
supertycoyes I have 200 gigs free01:56
supertycoimage is only 180 megs01:57
zoopster200g free in the SC01:59
supertycoyes02:00
supertycoits my first instance02:00
supertyco4006864 253767628   2% /02:01
supertycoits 98% empty02:01
supertycohere is the error on the nc02:03
supertyco Domain not found: no domain with matching name 'i-53E608B6' (code=42)02:03
arrrghhh_hey all, i'm trying to upgrade my server and it dies on "ffado-mixer-qt4", says it's unable to process it.  i can't purge it with aptitude, what do i do?02:09
arrrghhhcrap i thought freenode was a separate network, sorry02:10
zoopstersupertyco: no other errors in the log anything related to hvm?02:10
supertycoon the nc or main02:10
zoopsternc02:11
supertyconope last 2 lines are these02:11
supertyco[Mon Nov  2 21:02:39 2009][019311][EUCADEBUG ] walrus_request(): writing GET/GetDecryptedImage output to /var/lib/eucalyptus/instances/admin/i-53E608B6/disk02:11
supertyco[Mon Nov  2 21:02:44 2009][019311][EUCAERROR ] libvirt: Domain not found: no domain with matching name 'i-53E608B6' (code=42)02:11
supertycoif I look in /var/lib/euca/inst/admin02:12
zoopsterwondering if it's not vt related...that's the only place I see that error pop up02:12
supertycothere is nothing there02:12
supertycovt?02:12
graytechhi all ... I'm trying to get apache2 to handle mod_rewrite. I have used 'a2enmod rewrite' and it looks like rewrite is loaded but it is not working in the browser. Any ideas?02:15
supertycozoopster what is vt?02:15
graytechbtw, this is a new ubuntu server installation and I'm a bit new to ubuntu.02:15
zoopstervirtualization technology02:16
zoopstervt is needed on the node controller02:16
supertycogray: use webmin to intall apahe modules02:18
supertycosolves my problems usually02:18
zoopstergraytech: mod_rewrite engine needs to be turned on...did you do that?02:18
graytechzoopster, well .. that might be the problem  ;)02:19
zoopstersupertyco: so w/o going through everything I'm not sure where your problem resides...02:19
zoopstera2enmod only enables the module to be loaded... graytech02:20
supertycoI have xeon processors I can check bios to see if anything is shut off02:20
zoopsteror just look in dmesg output supertyco02:20
zoopsterthat will tell you if it's turned off in the bios02:20
graytechzoopster, if you are talking about the 'RewriteEngine  On' directive in apache2.conf ... I forgot, I already did that02:21
qman__graytech, that is the correct way to enable mod_rewrite02:22
qman__are you sure your rewrite rules are correct?02:22
graytechI'm pretty sure. I'm using the .htaccess file form a drupal install ... didn't touch a thing02:22
qman__also, ensure that /etc/apache2/mods-available/rewrite.load exists02:23
qman__that's probably where the problem is02:23
qman__you need to configure it to allow you to define rewrite rules in .htaccess files02:23
qman__IIRC that's not allowed by default02:23
graytechqman, /etc/apache2/mods-available/rewrite.load exists and there is a symbolic link to it in /etc/apache2/mods-enabled02:24
qman__then the module is definitely enabled02:25
drupalscottdoes anyone have experience in setting up a ftp file server?  I'm new to ubuntu server, I'm using an old powerBook G4 with ubuntu 9.04 ppc02:25
qman__it's probably an htaccess problem02:25
qman__you need to allow htaccess to override the main settings02:25
qman__I forget how02:25
graytechhmm ... I'm stumped here as it looks like everything is as it should be.02:25
qman__to test, you could set up a rewrite rule in the site configuration02:25
graytechqman, there is a directive for htaccess in apache2.conf02:26
qman__if it works, mod_rewrite is working properly and it's definitely an htaccess issue02:26
graytechIt's set02:26
graytechhmmm ... I'm going to try some tests with htaccess and see if I can track it down.02:26
qman__you can enable htaccess, but you still have to set up the site to allow htaccess to change any given settings02:27
zoopsterqman__: you talking about AllowOverride All02:27
qman__if you configure a site with certain settings and allow override none (I think that's the terminology) htaccess won't work02:27
graytechhmmm ... I haven't looked for that02:28
qman__you can fine tune what is and isn't allowed to be changed with htaccess files02:28
drupalscottI worked for several hours last night with 'dapper' and decided to re-install 9.04, so I'm starting over from scratch.02:28
zoopstergraytech: enable logging and that may help track it down02:28
zoopsterdrupalscott: sure there's experience in here...just ask the question02:29
graytechI'm going through the conf files from top to bottom right now02:29
drupalscottI just want to be able to access photos, videos, etc remotely, is 9.04 ready 'out of the box' for ftp access?02:30
drupalscottwhat 'apt's' would you recommend?02:30
arrrghhhso no takers on ffado-mixer-qt4?  i don't even know what i need this for, but i can't remove it and it won't let update because it's failing.02:30
graytechone sec ... brb ... I'm going to switch to a different machine with the irc client02:30
arrrghhhdrupalscott, you'd have to setup ftp, no version of ubuntu will come with that installed/ready-to-go "out of the box"02:31
drupalscottokay thanks, what would you recommend I use?  I looked at 'proftpd'?02:31
drupalscottany recommendations?02:32
arrrghhhdrupalscott, doesn't really matter.  i use vsftp.02:32
graytechI'm back02:32
drupalscottI'm behind an Airport Extreme 802.11n, will I have to adjust settings for this?02:32
graytechok ... I'm looking at the conf file and looking for overrides02:33
drupalscottmy server will be hard wired to the router02:33
arrrghhhdrupalscott, if you want to open up access to the "world", then yes.  you would have to setup a port on the firewall on ubuntu (i use ufw) and you'd have to open the port on your router.02:33
zoopsterarrrghhh: what prevents removal of ffado?02:34
arrrghhhzoopster, i've tried using aptitude purge and apt-get remove, it fails.  let me get the exact error.02:34
arrrghhhzoopster, http://pastebin.com/d6e5c73a802:35
drupalscottarrrghhh: is there anything that will help security wise when I do this?02:36
arrrghhhi get the same "error while processing" when i try to update my server.02:36
zoopsterand reinstalling it fails arrrghhh02:36
arrrghhhzoopster, yep.  want that output? :P02:37
zoopsteroh sure02:37
arrrghhhdrupalscott, it's a bad idea to open up ftp to the world, if you can help it.02:37
arrrghhhzoopster, http://pastebin.com/d4e1018a802:38
drupalscotthow else would I set up a file server?  I want to allow access for family mainly.02:38
graytechI found the problem ... it WAS the AllowOverride setting in the default virtual host file02:38
arrrghhhdrupalscott, well there's other protocols depending on what you're doing.02:39
arrrghhhdrupalscott, http is probably the easiest... but uploading gets complex.02:39
drupalscottI'm basically trying to get all family photos in one place.  I would like anyone I want to allow access, to be able to download and upload photos.02:40
graytechI'm not sure who gave me that sugestion as I'm on a diff machine ... but thanks a bunch!02:40
zoopsterarrrghhh: wild...it depends on ffado-dbus-server, but that isn't installed...so it appears the best fix is to install ffado-dbus-server then reinstall ffado-mixer-qt4 then you can remove both02:40
arrrghhhdrupalscott, you can open up ftp, just keep in mind it's a very insecure protcol.  i'm not sure how sftp works, but i know it's much more secure...02:40
zoopstergraytech: np02:40
drupalscottarrrghhh: would I have to create a 'frontend' or site to allow access.  If I used htt;02:41
arrrghhhzoopster, interesting... i was thinking about trying that, just sounded nuts.02:41
drupalscotthttp:02:41
arrrghhhdrupalscott, essentially, yes.  and you'd have a much better system... but it would take more work.  you could do it in drupal :P02:41
zoopsterarrrghhh: it is nuts...ffado-mixer-qt4 depends on ffado-dbus-server so the question is how did it manage to get installed w/o ffado-dbus-server?02:42
arrrghhhzoopster, and of course, i can't install ffado-dbus-server.02:42
drupalscottI'm actually a drupal developer, just too busy to do it, maybe you're right02:42
arrrghhhmaybe i need to purge ffado-dbus-server, not ffado-mixer-qt4...02:42
zoopsterarrrghhh: arrrgggghhhh02:42
zoopstergood point02:42
arrrghhhdrupalscott, you know how it works... you know how powerful it is.  i'm not saying you definitely shouldn't use ftp, i just recommend against it.02:43
drupalscottlet me re-phrase, I've had about a year's experience.  I mainly work with the dashMediaPlayer02:43
arrrghhhdamnit, i can't purge any of these pacakges zoopster...02:43
arrrghhhdrupalscott, that's cool.  i know my boss threw together a wiki in a weekend using drupal.  love it.02:44
drupalscottwhat about ssh, could I go that route02:44
drupalscottI'm new to servers, with the exception of setting up a mail server02:44
arrrghhhdrupalscott, kinda awkward to share files with ssh...02:44
drupalscottoh, okay02:44
arrrghhhssh is more a replacement for telnet... it would work, but it would be... well, awkward lol.02:44
drupalscottis there any way to tap into flickster, or any web based photo bucket02:45
zoopsterbut using scp is an option...just as awkward as ftp02:45
arrrghhhif you setup ftp, just do it as a temporary solution.02:45
arrrghhhzoopster, i dunno, with the ftp clients for firefox like fireftp...02:45
arrrghhhi haven't found anything that works as well, except for the paid-for sftp pro, which is windows only.  kinda ironic it connects to sftp and scp/ssh servers.02:46
zoopsterbut you have those for nautilus and scp too and putty for windows02:46
drupalscottI think I'm going the drupal route, it would be nice for the users-'family'.  It would make it easier02:46
arrrghhhcan you use putty to easily share files?  i guess i've never tried.02:46
qman__drupalscott, ssh, scp, and sftp are all part of the openssh-server02:46
zoopstershare? no..scp, yes02:46
qman__if you need ftp-like access, ssh/scp/sftp is the most secure option02:46
arrrghhhdrupalscott, i think for a more polished product, that would be the best.  obviously not the easiest, but probably the best.02:47
qman__however, it's probably not the best interface for the situation you describe02:47
qman__a web interface would probably be better02:47
arrrghhhqman__, i didn't know sftp was part of ssh-server... you could go that route pretty easily it sounds like drupalscott.  i've ust never set it up.02:47
zoopsterarrrghhh: what error do you get purging the ffado-dbus-server?02:47
arthurjohnsonarrrghhh: http://www.expandrive.com/windows but it isn't free02:48
arrrghhhyea02:48
arrrghhhzoopster, lemme paste...02:48
arrrghhhpretty much the same thing from the looks of it02:48
drupalscotti agree, thanks for the input.  Sometimes you just have to talk it out02:48
qman__you can use winscp or filezilla to connect to sftp on windows02:48
qman__both free02:48
arrrghhhzoopster, http://pastebin.com/d22b209a702:49
arrrghhhqman__, yea, i forget about winscp.  i used to use it all the time02:49
qman__gftp is what I use on linux desktops02:50
qman__not the prettiest client out there but it has bandwidth throttling02:50
arthurjohnsonqman__: You wanna talk not pretty, try lftp02:50
drupalscottwhat is gftp02:53
orudiewhat do i do to enable RewriteEngine other than specifying "RewriteEngine on" in /etc/apache2/sites-enabled/mysite.com ?02:53
qman__a GUI FTP/SFTP/variants client02:53
qman__based on gtk/gnome02:53
zoopsterarrrghhh: did you see this ffado-mixer-qt4: Depends: ffado-dbus-server (= 2.0~rc1-0ubuntu2) but 2.0~rc2+svn1569-2ubuntu1 is installed02:54
drupalscottcan i use that on the ubuntu 9.04 server02:54
arrrghhhzoopster, i didn't.  what can i do?02:54
qman__drupalscott,  no, you'd use that on the client02:54
qman__on the server you use openssh-server02:54
drupalscottok02:54
zoopsterorudie: use a .htaccess file02:55
drupalscotti access our servers everyday, they are secure as far as i know02:55
qman__if you need a client on ubuntu-server, use the built in 'sftp' program02:55
drupalscottwe use key-pair02:56
arrrghhhzoopster, let me know if you find anything, i have to get going but i'll bbl.02:56
uvirtbotNew bug: #472080 in krb5 (main) "Installs symlinks to files in non-dependency libkadm5clnt6" [Undecided,New] https://launchpad.net/bugs/47208002:56
zoopsterarrrghhh: ok...I can't hang too much longer02:56
drupalscottthanks arrrghhh:02:58
drupalscottnow on to my next problem, I access servers all the time, but I have all the right information: ip address, login, etc..  This may sound stupid but how do I set that up from ubuntu03:00
qman__what do you mean "set up"03:00
zoopsterarrrghhh: here's the problem -you have karmic's ffado-dbus-server installed and jaunty's ffado-mixer-qt4 so the only suggestion I have is either back-rev the server or upgrade the mixer to make them match...if you are still at jaunty, I would revert the ffado-dbus-server03:00
zoopsterarrrghhh: something blew up in your upgrade it appears03:01
drupalscottjust a moment qman__: and I'll explain.  I'm in the middle of a new install and it gives me the option to install predefined collections of software: DNS server, LAMP server, Mail server, OpenSSH server, PostgreSQL database, Print server, Samba file server, Tomcat Java server, Virtual Machine host.....any help on what I might need?03:03
qman__drupalscott, it depends entirely on what you intend to do03:04
qman__if all you need is sftp, then just choose openssh03:04
qman__if you want a web page, choose lamp03:04
qman__if you want local file sharing with windows and linux clients, choose samba03:04
drupalscottby web page you mean if I'm going to install drupal03:04
qman__yes, any web site03:05
drupalscottwhat is a VM host?03:05
qman__that's KVM03:05
qman__for virtual machines03:05
drupalscottI know what a VM is, but host?03:05
qman__chances are you don't want that03:05
drupalscotthow would I use that?03:05
qman__a VM host hosts virtual machines03:05
drupalscottok, probably won't be doing that03:06
drupalscottwhere do I find the 'settings' I would need to sftp into my server from ftp client?03:07
qman__you use local system accounts03:07
qman__you create users on the system, and ssh uses those as logins03:07
qman__the only catch here is they're not jailed, so you have to trust your users to not screw up your system, or go and set up a jail03:08
drupalscottok, what about the ip of the server?03:08
qman__whatever your IP is03:08
qman__that depends entirely on your network configuration03:08
drupalscottjail, is definitely a must03:08
drupalscottI'm behind a Airport Extreme03:09
qman__I've never used one of those03:09
qman__if it's like any other home router, you just need to port forward port 22 to the server03:09
drupalscottmy main ip right? 67.xx.xx.x03:09
qman__and use your main IP03:09
drupalscottahhh ok03:10
drupalscotthow would a DNS server come in handy?03:10
qman__as for the jail, it takes a little work, but it's not too hard03:10
drupalscottI will look into jail03:10
qman__if you need a local zone, or want caching or root hints, you'd install DNS server03:10
qman__a DNS server is completely irrelevant to the file server setup you're working on03:11
qman__if you want to hand out a domain name instead of an IP, you'd need a dynamic DNS service like afraid.org or dyndns03:11
qman__for the jail, I use jailkit03:12
drupalscottdrupal uses a database,  do I need PostgreSQL then, we use mysqli?03:12
qman__no, mysql is included in LAMP03:12
drupalscottgreat!03:12
qman__postgres is only if you want postgres instead of mysql03:12
drupalscottawesome03:12
drupalscottthe Samba file server is good for local access only, right?03:13
qman__or in conjunction, I suppose03:13
qman__right03:13
drupalscottgot it03:13
qman__samba is basically an open source implementation of windows file sharing03:13
qman__so it has the advantage that it works with just about everything, but it's a LAN-only system03:13
drupalscottright now my domain name is at goDaddy, can I move it over to my server with DNS03:14
drupalscottor do I have that wrong03:14
qman__that's a big maybe03:14
drupalscottmy understanding of DNS is minimal03:14
qman__it depends on your ISP, your DNS provider, and what kind of setup you're really looking for03:14
drupalscottI've moved a couple of them to our business server, EC2 cloud03:14
qman__if you don't have a static IP at home, you will need a dynamic DNS service03:15
drupalscottI would like to host my own site, if I'm going to build it with drupal03:15
drupalscottI don't have a static03:15
drupalscottDHCP03:15
qman__also, you will need to ensure that your ISP doesn't block any important ports03:15
drupalscottat&t dsl, I'll have to try a search for blocked ports03:16
qman__80 and 443 most notably03:16
drupalscottI believe we access our servers through ssh, that's what I would be doing through drupal right?  openSSH server03:17
qman__so, to use it on a dynamic address, I would sign up for an account on afraid.org, point my domain to afraid.org name servers, and use their dynamic DNS to update my address03:17
qman__I don't know a lot about drupal, but for a web interface, you would not be accessing through SSH03:17
qman__it would be over HTTP(S)03:18
drupalscottdrupal's file system resides on the server, I have to have access to it to add03:18
drupalscott'modules', add ons, etc03:19
qman__if you mean access to the files the site uses, you could use openssh/sftp to upload/download files03:19
drupalscottthat's what I'll install then03:19
drupalscottI really appreciate your input qman__03:20
qman__no problem03:20
drupalscottI was messing with this last night for hooouurrrrs03:20
drupalscottI was afraid I junked it up too much, so I re-installed03:21
drupalscottanother question if you don't mind:  apache2, when would I need this03:21
qman__apache is the web server03:21
qman__it's included in the LAMP configuration03:21
drupalscottonce again, great, that makes it easy03:22
drupalscottthanks again for your expertise!  if I have any more glitches I'll check in03:23
qman__yep03:23
qman__make sure when you look up documentation, that you use ubuntu or debian specific stuff03:23
qman__other systems use vastly different config file setups and can lead to a lot of confusion03:24
drupalscottI may have already run into that03:24
qman__not that other guides aren't useful, but if you don't understand the differences it can cause you trouble03:24
drupalscottI don't need anymore trouble than I have, I have to say I love linux though03:26
drupalscottoh, I thought of something else...you still there qman__03:27
drupalscottwill I be able to add external storage to the server?  I would like to store all files on an external drive if I can03:28
qman__sure03:31
orudiewhats a good way to isntall postfix/dovecot , is it with tasksel ?03:35
qman__orudie, yes03:35
orudieqman__, what would it be then ?03:35
orudietasksel install postfix ?03:35
qman__orudie, the mail server task installs postfix and dovecot03:35
orudietasksel install mailserver ?03:36
qman__not sure, hang on03:36
jmarsdensudo tasksel install mail-server03:36
qman__yep, that's it03:37
drupalscottwill ubuntu recognize the drive?  how do mount it03:39
drupalscottif i have a domain name and want to set up postfix to use 'user@mydomain.com', can i do that?03:45
drupalscottwhat else is required?03:45
jmarsdendrupalscott: A static public IP is pretty much required for a real email server.03:46
JanCif you have a fixed IP and you can set the MX for that domain, then yes03:46
JanCfixed public IP indeed  ;)03:46
drupalscottcan i, how do i set it static03:46
JanCif you have a consumer DSL/cable line, it's most likely dynamic, if you are in a datacenter or with some business DSL/cable lines it's static03:48
jmarsdenYou buy a connection to the Internet with a static IP from your ISP, ... unless you *are* the ISP :)03:48
JanCjmarsden: unfortunately, most ISPs make you pay through the nose for that...03:49
drupalscottahhh I see03:49
JanCit's actually often cheaper to put/rent a server in a DC than at home   :P03:51
drupalscottDC?03:52
JanCDC = datacenter03:52
jmarsdenI've seen getting a static IP cost US$10 or US$15 more than dynamic; it's hard to find colo for US$15/month -- but yes, at about US$20/month you might as well just get a small virtual private server at linode.com or similar and use that for a small scale email server.03:53
orudiei should be able to send mail right after intalling postfix right ?03:53
jmarsdenorudie: Given working Internet connectivity and a sane configuration, yes.03:54
JanCjmarsden: depends, but e.g. in Belgium no consumer offerings have static IP03:55
orudiejmarsden, hmm.. The ubuntu server box is behind the router03:56
JanCand business offerings include (supposedly) better support & all that, so they are expensive03:56
orudiejmarsden, i am not seeing any errors in mail.log , however i'm not receiving mail to my gmail account03:56
jmarsdenDoes your ISP block outgoing TCP traffic to port 25 except to its own mail servers, and did you configure postfix to use a smarthost or not...?03:57
orudiejmarsden, if you still around, do you mind ? http://pastebin.com/m5e8e406f03:57
jmarsdenorudie: Looks fine at the transport/SMTP level, but the domain name mail.svovausa.home looks odd...  and doe snot appear to exist on the public Internet.  So Google probablu threw your message away.03:59
ScottKYep.  That log message means the message got to Gmail and whatever happened to it, they did it.04:00
orudieoh i see04:00
orudiei can test with a different domaini ?04:01
jmarsdenScottK: But they had no way to tell you what they did, because the email has a non-existent domain name...04:01
orudiemy goal is to have multiple email domains on this host04:01
jmarsdenorudie: Use a real existing domain that you own and control DNS for, and it should work better04:01
ScottKjmarsden: I think your speculation about why they vanished it is likely valid, but it's hard to tell anything for sure.  Whatever happens after 250 is a guess.04:01
orudieyup i'll try it now04:02
JanCactually, use something that points to the public IP of the server  ;)04:06
jmarsdenJanC: Well, while nice, that shouldn't be 100% necessary just for sending email out, unless the domain concerned uses strict SPF and the receiving mailserver checks SPF.04:08
JanCright, forgot that he can't receive answers through that server04:12
JanCOTOH, google should implement such policies during receiving IMO  ;)04:13
JanCand AFAIK they do04:13
JanC(with similar things)04:13
orudiejmarsden, how can i send a test mai lfrom bash ?04:15
orudiehow do i send a mail message from within shell?04:16
JanCwith telnet or netcat04:16
JanCe.g. http://www.village-elder.com/blog/archives/1-How-to-test-a-mail-server-by-sending-mail-with-telnet.html04:19
agchi. So i'm definitely not a noob to ec2, but i've got a problem i just cant get around... "I can't connect to my server on Amazon EC2" ... I just went through this article pretty throughly: http://alestic.com/2009/08/ec2-connectivity and I've had no luck... can anyone provide any advice?04:19
agcI've ssh'd into my instance many times (it's been running for several months), but within the last several hours, im getting "port 22: Operation timed out"... the last thing i tried was rebooting (about 10 mins ago)... but still no luck04:23
uvirtbotNew bug: #472156 in mysql-dfsg-5.1 (main) "delete key generates ~ in mysql-client" [Undecided,New] https://launchpad.net/bugs/47215604:35
qman__so, I'm trying to figure out what my best course of action is04:54
qman__today, I had mdadm claim two disks failed an hour apart04:54
qman__using mdadm -Af got the array to assemble in a degraded state, and the data is not corrupted at all04:54
qman__according to smartctl, all the disks pass self-tests04:54
qman__two disks have a lot of SMART errors logged, one has a few, and the rest have none04:55
qman__should I replace all three disks? only replace the two with a lot of errors? mark them as OK and keep using them?04:55
qman__most of the data is replaceable, and the critical stuff is all backed up04:59
qman__so total failure would be massively inconvenient, but not catastrophic04:59
qman__also, is there a good way to determine which disk is which? as in, which physical disk is sda, sdb, etc...05:17
qman__they're all the same make and model05:17
qman__ah, answered my own question, lshw is helpful there05:21
twbqman__: hdparm -I and look at the serial numbers05:22
twblshw ought to have the same info, as you say05:22
smackdaddyhow to i renew dhcp from the command line05:26
twbsmackdaddy: ifdown ethX; ifup ethX05:26
smackdaddythanks..05:27
erichammondagc: That article asks a number of questions to which you should provide answers if you are seeking help with an EC2 connectivity problem.05:28
smoseragc, ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 ?05:31
erichammondagc: You'll probably want to provide the instance id, traceroute, and complete console output on the EC2 forum http://ec2forum.notlong.com05:31
smoseri go to bed now.05:31
* erichammond heads home05:32
agcsmoser: Client.InvalidPermission.Duplicate: The permission '0.0.0.0/0-1-22-22' has already been authorized on the specified group05:32
agcTHe result of "ec2-get-console-output i-1f542676" is here: http://pastie.org/68112205:33
erichammondagc: What's the AMI id?05:34
agcerichammond: ami-398d6b50 (thanks for the help, btw...)05:35
erichammondThat appears to be a private AMI(?)05:36
agcssh / telnet all time out..05:36
erichammondagc: Can you ping the instance?05:36
agcerichammond: yeah, sorry i was clear about that05:36
erichammondWhat release is it running?05:37
agcerichammond: ping times out05:37
leo_?05:37
erichammonder, Ubuntu 9.10, etc05:37
erichammondagc: Can you ping the instance from another EC2 instance?05:38
agcI bundled from this ami: ami-0d72946405:38
agcto create the private ami...05:38
agcerichammond: pinging from another instance times out as well... both instances on in 'us-east-1c'05:40
erichammondagc: Did you try to upgrade the instance to Karmic?05:40
agcerichammond: no... i read your article too :-)05:41
erichammondagc: Is there any chance somebody might have complained about your instance sending spam or being the URL in spam or phishing attacks?05:42
agcerichammond: hmmmm.... my instance is running django, and it sends emails semi-often05:43
agcerichammond: would amazon send me a warning email?05:44
erichammondagc: Step 1: start working on a new replacement instance.  Step 2: Post the instance id and as much info as you can to the EC2 forum and perhaps Amazon can investigate.05:44
erichammondagc: Yes, as far as I know they generally do send an abuse report notice.05:44
smackdaddywhen im starting bind i get this error....05:45
smackdaddyrndc: connect failed: 127.0.0.1#953: connection refused05:45
erichammond...but there have been mistakes recently where they were not sent.  Amazon's cleaning up their abuse process flow.05:46
smackdaddywhat is that....05:46
erichammondagc: It could also be a hardware issue, but only Amazon can determine that.05:47
agcerichammond: i wonder if I should ask them, do you know the best place to ask?05:47
erichammondagc: http://ec2forum.notlong.com (or pay for premium service)05:47
agcrelated post (maybe?) around the same time: http://developer.amazonwebservices.com/connect/thread.jspa?threadID=38129&tstart=005:48
erichammondagc: With as many servers and customers Amazon has, somebody is experiencing problems all the time.  Even though it is a very small percentage of users, sometimes it's *you*.05:50
erichammonder, hardware problems that is.05:50
agcnooooooooo ;-)05:50
erichammondWith EC2, however, can you simply fire up a new server and throw away the old one.  You don't even have to worry if it was a hardware problem or not (until it happens several times in a row).05:51
agcwell, on a positive note, i've been using your ec2ubuntu amis for over a year now, and they are extremely awesome.05:52
ralphmichael17ok i am looking for some good 1 on one help with setting up my ubuntu server, i am already familiar with desktop edition, anyone want to help?05:52
erichammondagc: Glad to hear they've been working for you.  Since you're using Jaunty, I'd recommend migrating over to the Karmic AMIs which were just released.05:53
agcerichammond: ok, will do... thanks for all the help05:54
crohakonralphmichael17; What is it you want the server to do?05:56
smackdaddywhat would be causing this error, bind9 ----------05:57
smackdaddyrndc: connect failed: 127.0.0.1#953: connection refused05:57
smackdaddy                                                                         [fail]05:57
=== nxvl_ is now known as nxvl
ralphmichael17ok, i have 1 server, 1 network hub, and 7 computers, i want to use ubuntu to network them together on an intranet where all client computers login through the server and can be monitered06:00
ralphmichael17can anyone help with that?06:04
crohakonSo you want the server to act as a internet gate way that logs the activity of the other 7 computers?06:06
ralphmichael17yes, and make it so any user can log onto their account from any of the 7 computers to access their files06:07
masshuuso i was wonering if i actually needed somthing like fail2ban or denyhosts. theres only 1 user atm that can login via ssh and i have a long password thats a strong password(upper, lower, and symbols)06:12
joseph_ralphmichael17; Sorry, I did something dumb and my computer disliked it. Had to reboot. Were you able to find help?06:12
poningruralphmichael17, kinda overboard but look into ltsp06:13
ralphmichael17still no but found some interesting things on google06:13
ralphmichael17ltsp talked about edubuntu, but thats an educational program06:13
poningruralphmichael17, the other thing you can do is have them login using something like ldap+kerberos06:13
poningruralphmichael17, yes... but you can use that too06:13
d1bhi um i used the server upgrade release tool thingy to upgrade from 9.04 to 9.1006:14
d1band said server hasn't come back on a reboot06:14
joseph_looks like LTSP is what he is looking for06:14
d1bany ideas what could have gone wrong?06:15
ralphmichael17im looking to use these computers in a business envirement, and i dont want the computers to use the all the servers memory, i would like them to use their own memory too, can ltsp do that?06:15
=== joseph_ is now known as crohakon
poningruralphmichael17, my understanding is that it can... though I have never used ltsp06:15
poningruso I dont know for sure06:15
ralphmichael17anyone here ever used ltsp?06:16
crohakonhttp://www.ltsp.org/06:16
crohakonread up on the sight06:16
crohakonit seems the basic goal is to allow the clients to run diskless.06:16
crohakonI am sure some of the processing and such must take place on the client though.06:17
ralphmichael17ok if i put server edition on my server, do i need to install desktop edition on the other computers or any certain program06:18
poningruralphmichael17, again like I said... if all you are looking to do is login using the server then that can be accomplished with ldap+kerberos06:18
poningruralphmichael17, and then mount the /home as an iscsi or NFS06:18
poningruso that you can have same profile across all the desktops06:19
crohakonhttps://help.ubuntu.com/9.04/serverguide/C/kerberos-ldap.html06:19
Ash-FoxHeh, not going to recommend him LTS?06:20
poningruAsh-Fox, lts?06:20
d1bok... so no ideas from anyone...06:22
Ash-FoxThe Long Term Support versions of ubuntu - five year support. Just thought it was suprising you were showing a manual for 9.04 is all.06:22
twbFive-year support for *some* packages06:22
Ash-FoxThe packages in main :)06:22
twbNope06:22
twbSome packages in main, installed on an 8.04 LTS server, do not get five years of support06:22
Ash-FoxI stand corrected.06:22
crohakonAsh-Fox; ralphmichael17 is using 9.04 I believe, that is why I posted that link for 9.0406:23
twbhttp://bazaar.launchpad.net/%7Enijaba/ubuntu-maintenance-check/trunk/06:23
qman__d1b, we need more information than that06:23
qman__logs, error messages, something06:23
twbAsh-Fox: that's a little script that tells you what gets what support06:24
d1bqman__: 9.04 system running just apache etc. i can't get at the box because it is not up atm and i don't have remote vmware access to the console06:24
d1bqman__: it moved to 9.10, it had a static ip config etc.06:24
d1bhad no firewall / iptables configured.06:24
qman__d1b, yes, but any number of things could have failed during the upgrade, so until you can get access to the console, there's really no way to determine what went wrong06:25
poningruralphmichael17, look into ltsp fat clients06:25
d1bqman__: "a number" ...06:25
twbd1b: a stock install will not have any netfilter rules active by default.06:25
d1bit is booting my kernel erh a 2.6.31.5 or according to the grub list before i rebooted it was.06:26
d1bi just let it update grub ..06:26
d1bso the kernel isn't an issue / shouldn't be...06:26
* crohakon has heard about enough 9.10 upgrade failure stories to keep him from upgrading for a long while...06:27
d1bcrohakon: orly06:27
qman__upgrading my desktop took some manual fixing06:27
qman__though I did upgrade to the RC, not the final release06:28
d1blike it has no real to fail.... is kind of my point atm. ill know when persons other than me poke at the vmware console.06:28
qman__I'm going to wait a month or two before upgrading my jaunty server06:28
d1bgreat...06:33
poningruqman__, heh me too06:52
uvirtbotNew bug: #472257 in samba (main) "package samba-common 2:3.4.0-3ubuntu5 failed to install/upgrade:   - even before the upgrade the unistallation/installation didn't work. (I think I removed the directory /etc/smb/  and thereafeter it is impossible to unistalll or reinstall the packet) " [Undecided,New] https://launchpad.net/bugs/47225707:16
error404notfoundi have installed postgresql-8.3 but i can't find its dir in /etc, all i see is postgresql-common in there which contain no pg_hba.conf file07:22
error404notfoundif i do locate, the only one found is the pg_hba.sample one07:22
error404notfoundanyone?07:24
error404notfoundi have tried it even with --reinstall07:25
poningruerror404notfound, you can do a purge07:26
error404notfoundponingru, did that, no use...07:26
poningruaptitude purge packagename07:26
poningrudid it spit out what was left alone?07:26
poningrubecause if the folder isnt empty... as in if you have a modified file then it will not delete that file07:27
poningruand will tell you about it07:27
poningruI think the dpkg log or the aptitude log should tell you about that07:27
error404notfoundno errors or such...07:29
=== _eB is now known as ebolorama
uvirtbotNew bug: #472318 in libapache2-mod-perl2 (main) "apache segfaults when performing stress test" [Undecided,New] https://launchpad.net/bugs/47231808:26
drcodehi all08:39
drcodewhats up08:39
drcodewhat is ubuntu cluad , is it like vmware esx?08:40
qman__drcode, ubuntu cloud is most like amazon ec208:41
drcodeI can put ubuntu worksation or server in the cloud?08:42
drcodeos is like grid?08:42
kworkits virtualization with fancy marketing terms08:44
kworkatleast i havent figured out the benefit yet08:44
qman__it's basically clustered virtualization08:44
drcodeI see08:44
kworkbut the resources arent clustered08:44
drcodeI can load also windows os?08:44
kworkrather you can move the vmws to other nodes08:44
drcodeor its more for appliction developement08:45
kworkif kvm can load win so can that cloud08:45
drcodeI see08:46
qman__it's more for running servers08:46
drcodeis there something like vmware esx in opensource?08:46
qman__the primary application is when you need a lot of virtual servers, and want to make the most of your hardware by having less actual servers08:47
drcodeI see08:47
kworkqman__,  can you move the virtual servers, painlessly from node to node ?08:47
qman__or at least that's how I understand it08:47
qman__I was under the impression it handled that automatically08:47
drcodelinux has project same like vmware esx?08:48
kworkdrcode,  if you want vmware go for vmware esxi08:48
kworkits free08:48
qman__drcode, if you want just one server hosting VMs, go for KVM08:48
drcodeok08:49
drcodetahxn08:49
* soren lunches11:06
incorrectto run hardy under kvm do i need to install a special kernel like with 9.xx ?11:35
alvinWell, I have a server running karmic and kvm here. Curerntly in production. What is this simple test that needs be done?12:01
alvin(...and then I pressed the close button on Quassel.)12:03
uvirtbotNew bug: #466315 in bind9 (main) "bind9 missed a dependency with apparmor-profiles" [Undecided,Confirmed] https://launchpad.net/bugs/46631512:03
uvirtbotNew bug: #472472 in bind9 (main) "Start Fails - Permission denied (dup-of: 466315)" [Undecided,New] https://launchpad.net/bugs/47247212:06
=== dendrobates is now known as dendro-afk
incorrectI've found a strange bug with kvm 9.10 hosting a 8.04 with kernel 2.6.24-25,  hard to explain as there is no error, the vm just vaporises 2.6.24-24 works fine12:39
incorrectnot sure if it was there in 9.0412:40
smosernijaba, "nodes need to have virtualization extentsions (Intel VT or AMD-V) active to work, which is not the case within any virtualization technology that we know of."12:45
smoserthats not exactly true, right? http://www.linux-kvm.com/content/kvm-82-released-nested-virtualization12:45
incorrectsmoser, iirc you need it for hosting 64bit OS's12:58
smoserincorrect, you do need vt extensions for UEC. that is true.12:58
smoseri guess i didn't quote enough.12:59
incorrecti do not know12:59
incorrectbest to ask in libvirt i guess12:59
smoserno, i'm stating. that *is* true. for UEC you *do* need nodes to have vt extensions.12:59
smosernijaba, was responding to someone in an email that said (paraphrase) "nodes must be physical rather than virtual machines because" .. ... [see above quote]"13:00
smosera 'node' is the the thing that hosts the guests.13:01
zulmorning13:07
sommeryo :)13:08
=== aubre_afk is now known as aubre
aubregood morning13:23
aubresmoser: lots of virtualization solutions, while not requiring VT-x or the AMD counterpart work much faster and more efficiently when they are available, and I think it would be folly for anyone to build a solution on hardware without it because what if you decide to change strategies over time?13:25
nijabasmoser: regarting nested virtualizatin with KVM, have you tried it?  I would be a very happy fellow if it did work, but I must say that I have not tried :)13:26
smoseri have not tried it, nijaba but in theory...13:26
smoserit is something i would like to try.l.. i would like to spend some time on setting up a single machine (amd64) as a cloud, with vm for CC and node13:27
nijabasmoser: in any case, it would be nice for testing, but not really for deployment13:27
smoseragreed. i dont think anyone is thinking about nested virt as a production solutoin13:27
aubreI visualize pointing mirrors at each other :P13:27
nijabasmoser: if you can document this, I am sure everyone that need to do a demo once in a while would just start sending you flowers (or virtual beers) for no apparent reasons :)13:28
smoseryeah. it would rock for testing.13:28
smoseri've set this up, and it somewhat works for xen in kvm13:28
smoseri had karmic host running rhel 5.3 xen guest running xen karmic paravirt kernels13:29
aubrehave you guys played with any of the overlaying technologies such as RightScale/Cohesive or even using Landscape?13:30
aubreI did a free register with RightScale, but i haven't done much, I know it doesn't support storage management yet13:30
smoseri think it would even be worth making an effort to get euc to be able to run qemu rather than kvm. at one point i'd done some of that also. again, not a production solution.13:31
smoseraubre, there are people here who have done landscape, i've not used rightscale, but have interacted some with their developers, giving them info on how they could use our karmic images.13:31
uvirtbotNew bug: #471468 in nagios3 (main) "should recognize that exit code 126 means plugin is not executable" [Wishlist,Triaged] https://launchpad.net/bugs/47146813:32
aubresmoser: ok, I'm just looking at getting to the next level, since I have UEC working well right now, to show the "powers that be"13:33
aubresmoser: so we can get the go-ahead to build a large hopefully multi-rack Canonical supported system13:34
aubresmoser: and go into production13:35
smoserwell of course that sounds good :)13:35
smoseri'm sure the landscape folks would love to help you13:35
aubresmoser: I'll have to contact them13:35
aubresmoser: it would be nice to have a total solution that included autoscaling and the like13:36
=== erichammond1 is now known as erichammond
uvirtbotNew bug: #466018 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Low,Incomplete] https://launchpad.net/bugs/46601813:41
uvirtbotNew bug: #472681 in samba (main) "Samba returns NT_STATUS_NOT_SUPPORTED when trying to view list of shares" [Undecided,New] https://launchpad.net/bugs/47268113:41
smosersoren, is it intended that vmbuilder require 2.5 ?13:48
smoserpython 2.5 or better, that is.13:49
smoserbug 472090 is why i ask.13:49
uvirtbotLaunchpad bug 472090 in ec2-init "package ec2-init 0.4.999-0ubuntu7 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/47209013:49
lyhana8hi, I fail to use the ChrootDirectory directive for ssh server, could someone help me ?13:56
incorrecthmm, seems like a bug with kvm in 9.10, it can't run a stable 8.0413:57
cemcincorrect: what does it do ?14:02
incorrectjust goes bang, no error, just stops14:02
incorrectprocess gone14:02
incorrectnot error i can't see14:02
cemcyou mean when your start it, it just dies ?14:03
incorrectonly thing i can see different is that its running with slightly different options that the other vm's running 9.1014:03
incorrectafter some time it dies14:03
incorrectstarted happening after i upgraded from 04 to 1014:03
incorrecti created a fresh 8.04 and it also crashed14:04
cemcincorrect: I'll install a 8.04 guest later tonight. I've installed 8.10, 9.04 and 9.10 guests and I didn't see any problems14:04
incorrecti downgraded to an earlier kernel and it was more stable14:04
incorrecti noticed there is no LTS virtual kernel package like the one provided in 9.10 etc14:05
incorrect-M pc-0.11 seems to be the only difference14:06
incorrectbut pc is an alias for pc-0.1114:07
orudieis there a server guide for 9.10 ?14:08
orudiei'm having trouble finding it14:08
Piciorudie: https://help.ubuntu.com/9.10/serverguide/C/ perhaps14:09
orudiei installed postfix with tasksel , and configured it the usual way with dpkg-reconfigure postfix14:19
orudiesending out mail to external works - there is no errors in mail.log However every mail message gets recognized as spam by the mail receiver14:19
Pixie79_is this a good location to ask about ubuntu private clouds?14:19
orudieits not even poshing it to the spam folder, it just blocks it14:19
orudiei tried sending to gmail. and also another mail server that i set up myself14:20
orudiefor some reason spam assassin doesnt like it at all, and just blocks it14:20
kblinorudie: is your server on a dial-up line or DSL or the like?14:20
orudiekblin: yeah - verizon fios14:20
Pixie79_using private cloud, is there a way to have snapshots be save to a different device to the volume14:21
orudiekblin: you think that could be the problem ?14:21
smoserorudie, have you verified receipt of said mail? what did you mean by "works" above.14:21
orudiesmoser: i'm watching the logs on both servers - one says gets sent successfully, the other says - receiving mail - blocked spam :)14:22
orudiesmoser: both ubuntu servers :)14:22
smoserah. ok. well then its getting there. :)14:22
orudiesmoser: yeah but i dont know wtf14:23
kblinorudie: yeah. most spammers are using trojans on windows PCs. most of those sit behind a dial-up line. not accepting stuff that comes from a dial-up line is a common approach14:23
kblinyou need to set up a smarthost config that'll hand of your mail to a server with a static IP address14:23
orudieits not a dial up line14:23
kblinwell, DSL is the new dialup, cable is pretty much the same14:23
orudieyeah i dont remember having this problem with a static ip14:24
orudieit worked right after install14:24
kblinwhat you actually filter on is "dynamic IP address ranges"14:24
kblinI can't send emails from my server at home either14:24
orudiekblin: the way the router is set up is 10 and above is dynamic14:25
orudie1-9 is static14:25
smoserorudie, make sure that your 'From' address is resolvable.14:25
orudiethe server has ip address 514:25
kblinno, that's not what I'm talking about14:25
smoserand that it resolves to what that address.14:25
smosererr.. maybe not the second part. i'll go away, kblin likely knows more. i've not done this in quite some time.14:26
orudiekblin: i dont get it :)14:26
kblinorudie: people tend to not accept mails that come in from IP addresses that e.g. Verizon hands out to their customers14:27
orudiekblin: is there a work around ?14:28
kblindepends14:29
kblinI once set up my local mail server to hand off all my local mails to gmail14:29
kblinif you only ever send from a gmail address, that works14:29
nijabawoot...  Netcraft references 1.4 Million web servers running Ubuntu...14:30
kblinor rather, if you only ever send from a single gmail address14:30
kblinspeaking of web servers, I've got a lighty here that crashes (without anything logged) when one user is trying to connect to it14:31
kblinother people can use it just fine14:31
geekboxjockeyI'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being cached. Any ideas?14:32
geekboxjockeyI have apache2 set up to use /etc/pam.d/common-auth (which is where I have the caching configured)14:32
orudiekblin: so there is actually no work around ?14:34
orudiekblin: :)14:34
kblinwell, you could set up a server on a static IP address and configure your local servers to hand off email to that server with the static IP14:35
kblinand of course configure the server on the static IP to only accept emails from your servers at home14:35
kblinor whereever your trying to send mail from14:36
orudiekblin: ok i get it, i'll try14:37
orudiekblin: this will be a little project for me though :)14:37
kblinI've not done this myself yet, hasn't been important enough so far14:37
kblinit's easier to tell my email program to deliver right to my provider's servers, depending on the identify it's using14:38
orudiekblin: yeah same here, i administer a VPS at work, its hosted in a data center never had a problem like this with it14:38
kblinyou could check if your current external IP is blacklisted14:38
kblinbut usually that's sort of a losing battle14:38
orudieblacklisted where ?14:39
kblindunno, depends on what blacklists your filters are using14:39
kblinmy servers use the RBL, iirc14:40
kblinspamassassin has that set14:40
heath|workhello. I using Open LDAP and am able to add users to a group, but when I try and remove a user from a group using usermod I get {user}  not found in /etc/passwd14:40
orudiekblin: i understand i can whitelist it on my own server, what about the rest of the world :)14:40
heath|workwhich is true, so I was wondering how to remove a user from a group with ldap14:40
geekboxjockeyI'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being cached. Any ideas?14:42
geekboxjockeyI have apache2 set up to use /etc/pam.d/common-auth (which is where I have the caching configured)14:42
orudiekblin: what about setting up certificates ?14:44
kblinorudie: that's what I'd do for authenticating the mailservers to the smarthost14:47
orudiekblin: i'm looking here https://help.ubuntu.com/9.10/serverguide/C/certificates-and-security.html#creating-a-self-signed-certificate14:52
orudiekblin: this command returns error server.csr: No such file or directory14:52
kblinwon't help you for sending email14:52
orudiek14:53
geekboxjockeyI'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being cached. Any ideas?15:07
fox__hi all, i installed a minimal virtual 9.10 server, now i'm trying to install the vmware tools, but this fails already at mounting the cdrom woth the following error: mount: unknown filesystem type 'iso9660'15:22
fox__can't figure out what i have to install to get iso9660 support, any idea?15:22
drupalscottI'm new to linux servers but how did you burn the iso?15:24
drupalscottare you on mac or pc?15:24
drupalscottI ask because I had some trouble getting a 'good' ISO to use to set up my server on a G4 that I have15:25
drupalscottI ask because I've had this problem15:25
elijahwrightfox__, does your kernel have support for iso9660 built into it, or is it a module?15:25
elijahwrightif module, is it loaded?15:26
fox__i think the minimal kernel loads the cdrom support as module15:26
fox__but which module to look for?15:26
elijahwrightit used to be iso9660.ko ;)15:27
fox__there is no iso9660.ko on this minimal system, so my next question how to i find out what i have to install to get iso9660.ko15:29
Reepicheepfox__: try running "sudo lsmod" and see if iso9660 is in the list15:31
fox__no it's not15:32
Reepicheepif it isn't you may need to run "sudo modprob iso9660" to load the module15:32
fox__FATAL: Module iso9660 not found.15:32
Reepicheepsorry run modprobe not modprob ^^15:33
fox__i installed so far: fuseiso9660 and xfsprogs but none of those contains the module or a dependency to it15:35
Reepicheepfox__: what kernel are you running?15:36
Reepicheepuname -r15:37
Reepicheepit looks like it recently changed to isofs instead of iso966015:38
Reepicheepi'm not sure when though15:38
Reepicheepfox__: try running ..15:39
Reepicheepsudo find /lib/modules/`uname -r`/ -name isofs.ko15:40
Reepicheepsee if it returns a path to the module15:40
Reepicheepif it does try "sudo modeprobe isofs"15:40
fox__nope there is also no isofs.ko15:42
smosernijaba, ping15:42
nijabasmoser: pong15:42
Reepicheepis there a iso9660.ko?15:42
Reepicheepfox__: ^15:42
smoseris it ok if i add a 'tips' entry to UEC documentation from https://help.ubuntu.com/community/UEC ?15:42
zulsmoser: fire away15:43
fox__no there is no iso9660.ko15:43
nijabasmoser: sure.  Feel free.  It's a wiki, so it is meant to be changed by anyone15:43
nijabasmoser: I am subscribed to it anyway, so if I don't like it, I'll kill it :P15:44
zuloh my god...you killed the wiki!15:44
zulyou bastard!15:44
Reepicheepfox__: what kernel are you running? "uname -r"15:45
smosernijaba, well, maybe i'll get 15 seconds of fame before you delete me comments :)15:45
nijabahehe15:45
fox__2.6.31-14-generic-pae15:45
zulfox__: the following should work sudo mount /dev/cdrom15:45
fox__no it doesn't:  sudo mount /dev/cdrom15:46
fox__mount: unknown filesystem type 'iso9660'15:46
fox__it's a ubuntu 9.10 server 32 -> F4 -> minimal virtual machine installation, it is really minimal which is great (appart from the cdrom support)15:47
Reepicheepthat's interesting.. my minimal intalls of 9.10 include the isofs.ko module15:49
Reepicheepmy kernel is 2.6.31-14-server though and it is 64 bit15:49
fox__did you choose the minimal or the minimal virtual option?15:49
Reepicheepdid you select the minimal install or the virtual machine minimal install?15:50
Reepicheepoh.. I see it is the virtual machine sorry15:50
fox__i did "virtual machine minimal"15:50
nijabafyi: More Ubuntu Server Edition statistics: http://bit.ly/4CKV0m15:50
Reepicheephmm.. I have never used that.. even on virtual machines15:50
fox__ok i'll reinstall with just "minimal"15:51
Reepicheepsomeone else my be able to explain what the minimal virutal machine is all about15:51
bogeyd6ubuntu has a jeos that is more geared towards vm15:52
nijabaReepicheep: http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos15:53
Reepicheepnijaba: bogeyd6 thanks15:53
ReepicheepI've built jeos images with vmbuilder.. I kinda was thinking that is what the virtual marchine install option was for15:54
Reepicheepbut I wasn't sure15:54
fox__but i can't find a description what's the difference between the two minimal options, will search a little bit more....15:56
Reepicheepso yeah.. fox__ accounding to that page the JEOS edition has a "tuned kernel that only contains the base elements needed to run within a virtualized environment"15:56
Reepicheepfox__: see the link that nijaba posted15:56
fox__and where does it explain the difference, sorry cant see it15:57
bogeyd6fox the ubuntu server minimal option is the default option and installs with no GUI, the virtualized option has the ability the install even more minimally and doing away with certain packages that are unneccesary in an VM.15:59
bogeyd6for a specific website to detail everything please visit http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos15:59
bogeyd6!jeos15:59
ubottuJeOS (pronounced "Juice") is Just enough Operating System.  It is an efficient variant of the Ubuntu Server operating system, configured specifically for virtual appliances. See http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos for more information.15:59
fox__so what you try to tell me is that "minimal" is minimal and "virtual machine minimal" is jeos16:04
=== dendro-afk is now known as dendrobates
VirtualDisasterfox__, yeah you got it16:10
VirtualDisasterthe jeos is to create appliances16:10
fox__ok so back to my inital problem the, how to get cdrom support in the 9.10 jeos install?16:12
jcastrokirkland, are you registered to attend UDS in launchpad? on the sprint page?16:12
VirtualDisasterfox__, mount16:14
VirtualDisasterfox__, btw are you sure youre needing to use the jeos version right16:14
fox__sorry mount fails with: mount: unknown filesystem type 'iso9660'16:15
* VirtualDisaster has has never had to mount a cdrom, i always mount a iso and it just works16:15
=== drupalscott is now known as newbuntu
newbuntuI have my new server setup on my old G4, and I am able to sftp in, but I'm have permission issues.  Can anyone tell me the right way to set up a secure sftp for a user16:17
VirtualDisasternewbuntu, http://www.google.com/search?client=opera&rls=en&q=sftp+multiple+users&sourceid=opera&ie=utf-8&oe=utf-816:18
newbuntuthanks, I'll check it out16:19
bogeyd6fox__ sudo mount /dev/cdrom /media/cdrom16:19
kblinsftp as in the ssh protocol addition or ftp/ssl?16:20
newbuntuyes16:20
PiciIsn't ftp + ssl ftps?16:20
newbuntussh16:20
bogeyd6!ssh @ newbuntu16:20
ubottuSorry, I don't know anything about ssh @ newbuntu16:20
bogeyd6lol16:21
bogeyd6!scp @ newbuntu16:21
ubottuSorry, I don't know anything about scp @ newbuntu16:21
bogeyd6wtf16:21
Picibogeyd6: you want | not @16:21
bogeyd6ah16:21
bogeyd6!ssh | newbuntu16:21
ubottunewbuntu: SSH is the Secure SHell protocol, see: https://help.ubuntu.com/community/SSHHowto for client usage. PuTTY is an SSH client for Windows; see: http://www.chiark.greenend.org.uk/~sgtatham/putty/ for it's homepage. See also !scp (Secure CoPy) and !sshd (Secure SHell Daemon)16:21
newbuntuthanks, I thought I would have access as the user I setup on initial install.16:23
kblinyou should16:23
newbuntuI tried adding a folder via sftp client and it wouldn't let me16:28
newbuntuI can only add as 'root' on server machine16:28
newbuntuI'm using ubottu's first link to set it up now16:29
jmarsdennewbuntu: The issue is probably who owns the directory inside which you were trying to create your new one.16:30
newbuntuI was within /var/www trying to create /html.  I'm setting up a drupal install16:31
newbuntuI can do it on the server directly but need ssh access16:31
jmarsdennewbuntu: /var/www is now likely to have been owned by your ordinary user, hence the need for root to create stuff in there16:31
jmarsden*is not likely*16:32
newbuntuit's owned by 'root'16:33
newbuntuthat's why, huh?16:33
jmarsdenIndeed.16:33
newbuntuokay, I'll just specify which accounts can use SSH16:33
newbuntuincluding my own16:34
newbuntuwould you agree it's important to choose a random port for ssh to listen on?16:35
pmatulisnewbuntu: a non-standard port you mean (not 22), not a random port.  yes, that can help confuse automated tools16:39
newbuntuyes, that's what i mean16:39
newbuntuI plan on setting up a key-pair16:39
pmatulisuse some high port, by default many scanners do not check very high ports16:40
pmatulisyes, key-pair, that goes without saying16:40
=== StrangeCharm_ is now known as StrangeCharm
* kblin shrugs16:42
kblinI use denyhosts with the blacklist16:43
kblinI don't get many attacks these days16:43
newbuntuI've found information on disabling key authentication, not creating one. kblin- what's blacklist?16:43
newbuntudenyhosts-blacklist?16:44
=== dendrobates is now known as dendro-afk
kblinnewbuntu: http://denyhosts.sourceforge.net/ check the "synchronization" feature16:46
newbuntuthanks16:46
smosernijaba, kirkland i added ref about MAC filtering at https://help.ubuntu.com/community/UEC/Tips16:47
nijabasmoser: neat.  I modified /UEC a bit, hope you still like it that way16:49
smoseroh, i hate it! let the wiki war begin16:50
smoseri mean, it looks fine16:50
nijabasmoser: ROFL16:50
nijabaI think we should start a little FAQ too.  Maybe I'll work on this tomorrow.16:51
uvirtbotNew bug: #472969 in qemu-kvm (main) "installs a broken man-page symlink" [Undecided,New] https://launchpad.net/bugs/47296916:52
newbuntudoes anyone know the right syntax for terminal to access myserver: ie. ssh -i xx.xx.xxx.x@user.....17:02
\shssh <user>@<ip|host>17:03
nijabasmoser: cheers for uec-tools17:04
newbuntucursor dropped to next line but does not ask for password17:04
ninjahnijaba: What are uec-tools?17:04
nijabaninjah: https://code.launchpad.net/~ubuntu-on-ec2/ubuntu-on-ec2/uec-tools17:05
smoserhttps://code.launchpad.net/~ubuntu-on-ec2/ubuntu-on-ec2/uec-tools17:05
smoseroops. slow17:05
smoserand the index updating in bzr is slow too. like hours slow17:05
error404notfoundi have redmine configured with mod_passenger. Since i configured that sometimes like in once a month or so, apache seems to fork a lot, causing memory to get full, any idea where cna i locate the cause if this issue?17:06
error404notfoundcan i restrict the amount of ram apache can use?17:06
greenflyhmm, has the partitioning syntax changed for kickseed in karmic?17:06
nijabasmoser: yep, I cheered, then felt dispointed by the commit not being there yet :P17:06
ninjahninjaba: Ah.... I have an EC2 server but I can't remember what tools I used.17:06
greenflya config that worked fine for Jaunty doesn't seem to take affect, I get the dialog prompting me17:07
newbuntui changed my ssh port so I get port:22 Connection refused17:07
newbuntua tried to append to the end of ip--xxx.xx.xx.x:port17:07
nijabanewbuntu: ssh user@host:port then17:07
smoserninjah, not a lot of tools there. right now just two. one to resize an image, one to take a tarball and put it into uec17:08
ninjahsmoser: I don't think I used these tools17:08
nijabaninjah: they are quite new...17:08
newbuntussh user@host:port  gets :  nodename nor servname provided, or not known17:10
smosernijaba, there are much more extensive tools at https://code.launchpad.net/~ubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts17:11
Reepicheepnewbuntu: try "ssh -p port user@host"17:12
smoserthey are what are used for ec2 publishing of nightly builds.  they're 'ec2-*' dependent right now (rather than euca2ools), but at some point i want to make 'xc2' (the abstraction layer) support euca and ec217:13
Ash-FoxIs there anything in ubuntu that will execute a bunch of applications in a directory on power events? Such as, switching to battery mode, executes scripts/programs, in directory X. On AC power, executes scripts in directory Z etc? If so, what are those paths/17:13
newbuntuthat worked!17:13
crohakonnewbuntu; of course it did17:13
newbuntuwhy would it show me my RSA key???17:13
newbuntuit spelled it out for me, isn't that bad for security17:14
crohakonhehe17:14
newbuntuhehe?17:14
crohakonnewbuntu; Its because we linux users believe in a free and open internet...17:14
nijabasmoser: do we reference those anywhere?17:15
smoserAsh-Fox, hthere are. http://live.gnome.org/GnomePowerManager/FAQ#head-a49ff0426bd01079d4f1ae269701b27a5f43ea33 thats for gnome-power-manager... not sure about for server (but 'battery mode' doesn't seem very "server" ish)17:15
crohakonnewbuntu; Why would you ever want to keep someone out? =)17:15
crohakonsmoser; UPS maybe... not why run a server on a laptop o.017:15
Reepicheepnewbuntu: it's just showing you the public key that that machine your connecting to uses?17:15
smosernijaba, no. they're not sufficient for euca at the moment. but they're used a.) by me for ec2 b.) by the build scripts and some of them are quite generic.17:15
dhalsimmhi, I'm getting locale errors, I tried /etc/environment, locale-gen command, actually I'm getting same issues with this post: http://ubuntuforums.org/showthread.php?t=1236418&highlight=locale,+locales .... I set tr_TR.UTF8 but I don't care it is turkish or english. I just don't want to see warnings or errors. any help?17:15
newbuntub1ack7817:16
smosercrohakon, no reason not to run a server on a laptop.. i was just figuring you were actually asking aobut a desktop.17:16
newbuntuare you in here?17:16
nijabasmoser: ah, ok, too bad17:16
Ash-Foxsmoser, thanks for the link, but yeah, not very helpful with regards to a system that doesn't use a GUI. I'm essentially running a server off a laptop in what can be considered an unstable environment (the laptop in question was built to work in extreme conditions).17:16
smoseri think if you're not running gnome-power-manager (then you want acpid17:17
crohakonsmoser; I was not asking anything... just commenting on the laptop/server comment you made17:17
smoserAsh-Fox, /etc/acpi17:17
crohakonAsh-Fox; oh, I guess that makes sense...17:17
Ash-Fox/etc/acpi appears to only have the power button17:17
=== jfluhmann_ is now known as jfluhmann
Ash-FoxOne of the first places I looked :)17:17
* Ash-Fox checks through ubuntu's packages, perhaps there is some laptop tools or something needed.17:18
smoserAsh-Fox, i think that should work.17:18
smoserat least on my laptop here, acpid is running, it is what passes events to gnome-power-manager (if it is running)17:19
smoserAsh-Fox, maybe you want acpi-support17:19
smoserpkg17:20
Ash-FoxNevermind, I missunderstood the /etc/acpi/events layout :)17:20
cxoI have a retarded problem. When I had ubuntu-desktop installed I could get the wifi working. But using iwconfig, the damn thing just doesnt associate17:23
newbuntuI'm on a mac trying to transfer my RSA key to it, ssh-copy-id <username>@<host>....what is the host?17:23
cxoI'm giving it every damn param to iwconfig, but when i type iwconfig again, it looses it all17:23
newbuntuI've tried my computer name and my ip17:25
newbuntuI'm trying to do this:17:26
newbuntuf you can log in to a computer over SSH using a password, you can transfer your RSA key by doing the following from your own computer:17:26
newbuntussh-copy-id <username>@<host>17:26
newbuntuWhere <username> and <host> should be replaced by your username and the name of the computer you're transferring your key to.17:26
newbuntucan anyone tell me where I can find the correct value for<host>17:27
Picinewbuntu: host is the computer that you want to copy your ssh key to.17:28
cxoFUK!!!!!!!!! It was Network-Manager, once i killed that, it all worked17:28
Picicxo: Please mind your language here.17:28
* cxo spent 5 hours on that17:28
cxoWhy the hell does network-manager keep messing with my wireless17:28
cxoPici, sorry17:28
newbuntuPici: is it referring to <computername> or <ip>?17:28
Picinewbuntu: doesn't matter17:29
newbuntuI've tried both of those?17:29
newbuntuIs it because I changed my ssh port?17:29
newbuntuwas 22, now XXXXX17:29
Reepicheepnewbuntu: are you trying to run ssh-copy-id from the Mac or to the Mac?17:30
newbuntuI only changed it on the server17:30
Picinewbuntu: That would cause an issue. I don't see an arugment for ssh-copy-id to specify the port number.17:30
newbuntuI'm trying to run ssh-copy on my MacPro through terminal, connected to my G4 server17:30
Picinewbuntu: They're both running Ubuntu/17:31
Pici?17:31
newbuntuI'm logged into the server with password17:31
newbuntuno17:31
Reepicheepk.. the reason I ask is because OS X does not have the ssh-copy-id command17:31
newbuntumacPro is OSX17:31
newbuntuoh17:31
Reepicheepbut you can always just copy it the old fashion way17:31
newbuntuany ideas on copying RSA to my macPro off the server17:31
newbuntuokay17:32
Reepicheepfrom the machine that you want to copy the key from run:17:32
newbuntuI want the ssh_host_rsa_key.pub, right?17:33
Reepicheepscp -p port ~/.ssh/id_rsa.pub user@host:/tmp/17:33
newbuntuthanks17:33
Reepicheepthen from the target machine run:17:33
Reepicheepcat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys17:34
Reepicheepas the user you want to login as ^17:34
newbuntuhow do I look at the .ssh hidden dir17:35
newbuntuon server17:35
newbuntucd ~17:35
newbuntuls17:35
newbuntunothing there17:35
Reepicheepls -a17:35
bptk421I just upgraded my Jaunty server and for some reason it installed the generic kernel. Does this sound right? I'm still fairly new to Ubuntu server. thx.17:35
newbuntuahhh thank you17:35
newbuntuwhich file do I want? id_rsa   or   id_rsa.pub17:37
newbuntuprivate or public? i gues17:37
newbuntunever mind, I see your post above17:38
newbuntuReepicheep: connection refused on port 2217:40
newbuntumaybe need to change the ssh port back to 22 on server?17:40
newbuntuthen back again?17:41
Reepicheepnewbuntu: you set the port with -p on scp correct?17:42
newbuntuno17:42
newbuntuthanks17:42
Reepicheepnewbuntu: because you are not running the ssh server on the standard port you always need to tell your client to use the none standard port. whether the client is ssh or scp or some other client that uses ssh17:43
Ash-FoxWow, getting things to work via the /etc/acpi/events way is quite.. messed up17:43
Reepicheepoh.. and newbuntu: "man" is your friend.  learn to use the man pages17:44
newbuntuit's telling me the connection to the target machine is refused on port:2217:46
newbuntumight be my router, checking that17:47
uvirtbotNew bug: #473062 in eucalyptus (main) "new node has eucalyptus-nc down (apache config ?)" [Undecided,New] https://launchpad.net/bugs/47306217:54
mathiazkirkland: hi!17:55
kirklandmathiaz: yo17:55
mathiazkirkland: I've got a source package ready for the eucalyptus SRU17:55
kirklandmathiaz: sweet17:55
mathiazkirkland: seems like the PPAs are backlogged17:55
kirklandmathiaz: i'm leading an OpenWeek session in 4 minutes on Byobu17:55
kirklandmathiaz: i'll review/test it after17:56
mathiazkirkland: ok - will you have some tiem for testing later?17:56
mathiazkirkland: great - thanks17:56
kirklandmathiaz: sure17:56
jcastrokirkland, just a few minutes until your session17:56
mathiazkirkland: I won't push to a PPA because of the long queue17:56
kirkland#ubuntu-server: come join us in #ubuntu-classroom for a session on Byobu including a live demo in EC2!!!17:56
jcastroheh17:56
kirklandmathiaz: just do it, and ask an admin to bump the build prio17:57
kirklandjcastro: i'm on it, cap'n17:57
newbuntudisconnected17:57
newbuntuReepicheep: I've opened up ssh on my router, but I still get- :No route to host?17:58
jcastrokirkland, I have to hop on a call, just take over when jono is done17:58
jcastroyou're all voiced up17:58
kirklandjcastro: word17:58
jcastrothanks!17:58
Reepicheepnewbuntu: keey in mind you router thinks ssh is running on port 22 and your aren't running it on port 22 anymore..17:59
Reepicheepyou may need to open the other none standard port..  I am away now..17:59
newbuntuI changed everything back to 22, to take it out of the mix17:59
newbuntuthanks for all you help18:02
tharis20hey, i've installed ubuntu-server on a P2. The problem is that the font size is huge18:04
tharis20does anyone know how to fix this?18:04
bogeyd6tharis20 you need to edit /etc/default/console-setup18:06
bogeyd6if memory serves correct18:06
qman__tharis20, it's more likely the console resolution that's too low, you change that in /boot/grub/menu.lst18:07
bogeyd6tharis20 you can also do a dpkg-reconfigure console-setup18:07
qman__it defaults to an 80x25 terminal18:07
zulsmoser: are you doing a hardy refresh?18:09
qman__add vga=791 to the kopts line, and run sudo update-grub18:09
smoser:)18:09
smoserzul, i was looking at that right now.18:09
qman__when you reboot it should be 1024x76818:09
zulsmoser: coolness let me know if you need my advice18:10
bnjmni need to build a kernel module for karmic on ec2 that wasn't built. what's the best way to go about that?18:12
ninjahI just reinstall mysql-server and mysql-common. Is it normal to see "cannot access /sys/module/apparmor: No such file or directory"?18:18
jetolehey guys, I know this isn't too ubuntu specific (although I don't know whom else to ask). Is there a way to setup a pair of file servers to act as a raid 1 to each other? Not DRBD but something more hardware related like through host bus adapters?18:21
VirtualDisasterjetole, DRBD is network raid118:22
VirtualDisasteror whats that other one...18:23
bogeyd6!google18:28
ubottuWhile Google is useful for helpers, many newer users don't have the google-fu yet. Please don't tell people to "google it" when they ask a question.18:28
jetoleVirtualDisaster: I know DRBD is18:30
jetoleVirtualDisaster: I use it18:30
jetoleLooking for some hardware related way18:30
jetoleIn all honesty, I have done some research on Host Bus Adapters (HBA) but I am honestly still not sure what they are for.18:31
VirtualDisasterjetole, they are network cards designed for storage thats all18:34
jetoleVirtualDisaster: and what do they do that a normal network card doesn't?18:34
VirtualDisasterwikipedia it for a complete understanding18:35
jetoleI have. Have you?18:35
jetoleThat article doesn't tell me much18:35
VirtualDisastermainly are used for SAN environments that need a lot of network storage like for virtualization18:35
jetolewhich is exactly where I am but I don't know what it does.18:36
jetolehow does it differ from a network card if that is what it is closest to?18:36
VirtualDisastersimplest way to understand it is that it is just a network card for primarily storage related tasks18:36
jetoleok18:36
* jetole still doesn't get it but doesn't matter since thats not really what I need to know18:37
jetolestill trying to find a native way to keep disks in perfect sync on two different file servers18:37
jetoleI know DRBD does but I would hardly call that a native way18:37
=== newbuntu__ is now known as newbuntu
crohakonnewbuntu; Every find what you were looking for lastnight?18:44
crohakonever*18:44
newbuntuhey crohakon18:45
newbuntuI almost have it working, ran into a problem I've been trying to fix for over an hour though18:45
newbuntuI am setting up a id_rsa but can't get it copied over to my target machine18:46
newbuntuare you there?18:47
crohakonI don't know much about that, but I am sure someone in this massive room does.18:47
newbuntuIf you can log in to a computer over SSH using a password, you can transfer your RSA key by doing the following from your own computer:18:47
newbuntussh-copy-id <username>@<host>18:47
newbuntuWhere <username> and <host> should be replaced by your username and the name of the computer you're transferring your key to.18:47
newbuntuI get this error: port 22 Connection refused18:48
jetolenewbuntu: ssh-copy-id -i id_rsa.pub computer.domain.com18:48
jetoleoh well thats easy18:48
jetolethe port is closed18:48
crohakonyup18:48
crohakonlol18:48
newbuntuI opened it up on my router?18:48
newbuntuAirport Extreme18:48
jetoleconnection refused means it's not firewalled but instead getting a RST/ACK packet18:48
newbuntuport mapping18:48
jetolenewbuntu: I believe you18:48
ajayacan anyone say why I shouldn't be using Karmic on EC2 as my production server?18:48
newbuntuoh18:48
jetoleajaya: it's not LTS18:49
newbuntuRST/ACK? not sure what that means18:49
jetoleit means the computer, not the firewall or router but the computer is saying the port is closed18:49
jetole@ newbuntu18:49
newbuntuhow do I open it?18:49
jetolestart ssh daemon18:50
newbuntuif you don't mind18:50
jetolesudo /etc/init.d/ssh start18:50
ajayajetole wonder it makes huge deal for a basic LAMP OR Rails server.18:50
jetoleajaya: don't think it should18:50
newbuntuin my terminal, right?  I already tried to start it that way, no success18:50
smoserzul, ping.18:50
zulsmoser: pong18:50
smoserlooking at ec2-init in ec2-init-0.3.4ubuntu7~hardy118:51
jetolenewbuntu: netstat -tpeln | grep 2218:51
jetolenewbuntu: run that on the server18:51
jetolealso on the server try connecting to your ssh locally18:51
jetolei.e. ssh 127.0.0.118:51
smoserthe init script runs (i think) after ssh18:52
smoser$ ls -altr /etc/rc2.d/ | egrep "ssh|ec2-init"18:52
smoserlrwxrwxrwx  1 root root   13 2009-04-25 06:25 S16ssh -> ../init.d/ssh18:52
smoserlrwxrwxrwx  1 root root   18 2009-04-25 06:25 S90ec2-init -> ../init.d/ec2-init18:52
jetolesmoser: why -t18:52
smoserbut ec2-init regenerates ssh keys. and doesn't restart ssh.18:52
jetolethats date based18:52
jetoleand yes it runs after ssh18:52
smoserjetole, no reason... my fingers just type that any time they see a '-l'18:52
newbuntussh 127.0.0.1 returns: port 22: Connection refused.18:53
zulsmoser: yep feel free to backport the karmic version to hardy18:53
jetoleanything in rc2 (or any other rc) suns based on number18:53
newbuntuI changed my port18:53
jetolei.e. S16 runs before S9918:53
newbuntuon the server anyway18:53
jetolenewbuntu: then you need to tell your client to connect to a different port18:53
jetoleeither ssh -p port18:53
jetoleor change ~/.ssh/config18:53
jetoleI run all my ssh on different ports so I store it in config18:54
smoserzul, ok, so thats a known bug then.18:54
zulsmoser: i think so18:54
newbuntuI'm a bit slow, so give me a minute to check your posts18:55
jetolenewbuntu: if you changed the server port to say 54321 then type "ssh -p 54321 my.server"18:56
crohakonMy server runs ssh on say... port 99... so when I log in I use: ssh -p 99 192.168.1.xxx18:57
newbuntuon my server I've typed: scp -p 54321 ~/.ssh/id_rsa.pub <client_user>@<client_ip>:/tmp18:58
newbuntuI get port 22: connection refused18:58
newbuntuis that refusal on the client or server?18:58
jetoleubuntulog: I don't think -p works in scp18:59
jetolefirst off, thats not how you add a key18:59
jetoleyou add a key using ssh-copy-id18:59
jetolessh-copy-id -i my.key my.server18:59
crohakonwhich was mentioned once before...18:59
jetolesecondly, since you are doing that18:59
crohakon<jetole> newbuntu: ssh-copy-id -i id_rsa.pub computer.domain.com18:59
jetolecreate a file called config in the ~/.ssh directory19:00
jetolechmod 600 config19:00
jetolethen add the lines:19:00
jetoleHost *19:00
jetolePort 5432119:00
jetolealso if you only want this for one host you can use:19:00
jetoleHost my.server19:00
jetoleinstead of Host *19:00
jetoleclose the file and then ssh to the server19:00
jetoleif ssh works but asks you for a key then you know it knows the port19:01
jetoleI mean if it works but asks for a passwords19:01
jetoleonce that works then run ssh-copy-id to place the key19:01
newbuntuthank you, trying now19:01
jetolelet me know when it works19:01
newbuntuI will!:)19:02
* crohakon pats Jetole on the back19:02
crohakonNice work.19:02
jetolethanks19:03
jetolelol19:03
jetoleno offense to newbuntu but this is childs play19:04
sorensmoser: When you say vmbuilder, do you actually mean ec2-init or is there a connection to vmbuilder in that bug that I'm just not seeing?19:04
newbuntuI've only been at this for a few days, new to this19:04
crohakonjetole; Yes, in terms of knowledge, but not everyone has grown out of their linux pampers. Me for example, I just started walking. =)19:04
VirtualDisasternewbuntu, its a learning experience19:04
jhani'm using ubuntu 9.4version,how do i configure apt-get server in my machine19:04
jetolenewbuntu: like I said, no offense to you19:05
jhanplease give me steps19:05
VirtualDisasternewbuntu, ive been using linux for 5 years and still have to get help19:05
crohakon9.04?19:05
jetoleI remember my first beer19:05
jetole;)19:05
VirtualDisasterjhan, read the documentation on the ubuntu web site19:05
newbuntugotta start somewhere, not claiming to have the knowledge you all have19:05
crohakonlol @ jetole19:05
smosersoren, you're referring to something i said like 8 hours ago, right? i thikn youi're right, that that shoudl have said ec2-inti19:05
jhank19:05
crohakonnewbuntu; your fine, no worries.19:05
jetolenewbuntu: I know. I am not saying anything bad about it/you19:05
newbuntuthat's why I'm here, thanks for your help though19:05
jetoleinstead I am helping19:05
newbuntuI appreciate it!19:06
sorensmoser: Uh, yeah, it's been a while. I've been internet deprived.19:06
jetolesure19:06
newbuntustupid question?  The following is done on the server/client:  create a file called config in the ~/.ssh directory19:07
newbuntuchmod 600 config19:07
newbuntuthen add the lines:19:07
jetoleright, from the terminal, type chmod 600 config19:07
jetoleconfig is the actual config file19:07
jetoleso you will need to be in the .ssh directory of your home19:07
jetolechmod 600 means make this file read/write by me and only me19:07
zulsoren: going through withdrawls?19:07
crohakonsudo nano ~/.ssh/config19:07
jetoleotherwise ssh will not accept it19:07
* jetole rolls eyes @ nano19:08
newbuntuokay, thanks19:08
crohakonhe, I like nano19:08
jetolevi is the editor of the gods19:08
crohakonyeah, but you also need a book to learn it.19:08
crohakonnano is easy, so for him it is good.19:08
sorenzul: It's getting upgraded and there was some sort of problem, so now I'm leeching off of a neighbours open wifi :)19:08
jetoleI know I know19:08
jetoleI work with a programmer who can't stand vi19:08
zulsoren: good on you ;)19:08
* VirtualDisaster loves vi19:08
VirtualDisastersimple19:08
jetoleand a dozen other programmers that don't know what it is19:08
VirtualDisasterjetole, lol19:09
crohakonjetole; I know what is is... but prefer nano as it is really simple and I don't need much more.19:09
jetoleVirtualDisaster: it is the most capable editor I know19:09
sorensmoser: But no, clearly no reason to fail on python2.4. I didn't even think we shipped 2.4 anymore, but I see that we do.19:09
jetolecrohakon: I know, just saying I agree with you sorta since I know lots of people feel the same19:09
jetolevi is not simple19:09
crohakon*nods*19:09
jetolevi is instead complete19:09
VirtualDisasterjetole, agreed19:10
smoseryeah, i think for /usr/bin/python to be 2.4 it was probably a upgrade from something old19:10
crohakonWell, time to go get food.19:10
jetoleI'm thinking time for bed19:10
jetoleI'm taking today off after working 70+ hours in the last 8 days19:10
zulsoren: quick question for you does window 7 work as a kvm guest?19:11
crohakonyeah, not fun. My last job I was managing two restaurants. I was working 130 hours a pay period (every two weeks) between march and october19:12
crohakonNow, I am un-employed and poor. =)19:12
crohakonbye19:12
jetoleVirtual, wow!19:13
newbuntujetole: Port 2219:13
newbuntuHost alias19:13
newbuntuIdentifyFile <key-pair I'm currently using>19:13
newbuntuHostName <domain of site>19:13
newbuntuUser root19:13
jetoleI'm setting up a new cloud and SAN infrastructure19:13
jetole:D19:13
newbuntuI already have this info in that file, can I just add to it?19:13
jetolefor the love of god don't use root19:13
jetoleor IdentityFile19:13
jetoleIdentity file is not a big deal but if you have ~/.ssh/id_rsa.pub then ssh uses it automatically19:14
sorenzul: don't know for sure. I think I've heard of someone who did it, but I'm sure I heard about someone for whom it failed.19:14
sorensmoser: Probably, yeah.19:14
zulsoren: reason im asking is so I can test samba for lucid better19:14
sorensmoser: ...so why the heck is he installing ec2-init? :)19:14
jetoleand yes, you can append to that file but also don't specify IdentityFile until after you know it's working before the identity file is needed19:14
sorenzul: Well... Try it and let me know :)19:15
smoseryeah, and why did he install it on that old distro and thn upgrade19:15
kirklandmathiaz: okay19:15
kirklandmathiaz: done with my session19:15
kirklandmathiaz: should i just pull your branch and build locally?19:15
newbuntudo I add: Host 1 2 3 4 or...19:16
newbuntuhost 119:16
newbuntuhost 219:16
newbuntuhost 319:16
sorensmoser: People are nuts. :)19:16
zulsoren: I just need a copy of it19:16
zulumm...legal copy of it19:16
jetolenewbuntu: all commands apply for the host hey are listed under...19:16
dhalsimmHi, I can't  connect to ssh using nautilus or gftp (other than terminal) except root user. I'm using jaunty19:16
* smoser thinks zul watched the windows 7 torrent party video19:17
jetoleso if you want something to apply to all hosts, list it under Host * and make sure Host * is at the bottom19:17
zulsmoser: mayyyybe19:17
jetoleHost is like the group breaker19:17
zulsmoser: maybe im just converting all my boxes to windows19:17
jetoleeach Host line represents a new machine19:17
jetolefor everything under it until the next host line19:17
newbuntuoh, got it19:17
newbuntuthanks19:17
smoserzul, all my boxes are already upgraded to windows 7.19:18
newbuntuokay, I'm connected to my server through ssh in Terminal!!!19:24
jetolelol19:24
jetolecool19:24
newbuntunow how do I get access through ftp/ssh client19:24
Reepicheepnewbuntu: nice.. did you get your public key copied over?19:24
jetolenewbuntu: don't use ftp19:24
jetoleuse scp19:24
newbuntudoing that now19:24
newbuntutrying... anyway19:25
jetolescp file my.server: (copies file to home directory on server)19:25
jetolescp my.server:/home/newbuntu/this.file ~ (copies this.file on server to your ~ directory)19:25
jetolenewbuntu: also look at sshfs + afuse19:25
Reepicheepnewbuntu: do you still have sshd listening on a different port?19:26
newbuntuyes19:26
newbuntui do19:27
ReepicheepI think I told you incorrectly how to switch ports with scp earlier19:27
Reepicheepuse -P not -p19:27
jetoleit's all in the man page19:27
Reepicheepso "scp -P port user@hostname:/path/to/file19:27
jetoleman scp19:27
jetoleReepicheep: he is using a proper ssh config file now though so I don't think he needs it19:27
jetolenewbuntu: also man ssh_config for more things to change19:28
Reepicheepso newbuntu set it up to so his clients use it system wide in the /etc/ssh config files?19:28
BerRMaNyAHii i have a problem when i try config exim4 with smarthost, somebody can helpme?19:29
JavaJimFLNew to Linux in general, Ubuntu in particular:  new 9.1 server install, single OS, ok till Grub install, at which point the install menu loops on that selection till I select 'no bootloader' and then the server won't start after the install.  Any pointers?  Thanks.19:29
jetoleReepicheep: he could but instead place it in ~/.ssh/config instead of /etc/ssh/config19:29
jetole/etc/ssh/config should only be used for all users19:30
Reepicheepyeah.. that would probably be better anyway19:30
newbuntuI thought I had to use ssh-copy-id <username>@<host>19:30
jetolenewbuntu: no19:30
BerRMaNyAHii i have a problem when i try config exim4 with smarthost, somebody can helpme?19:30
jetolessh-copy-id -i key.file your.host19:30
Reepicheepnewbuntu: are you still trying to copy the public key from your Mac?19:30
jetolefor example ssh-copy-id -i ~/.ssh/id_rsa.pub my.server.com19:30
jetoledid you just say mac?19:31
newbuntuI am trying to copy the public key from my server to my mac so I can have access19:31
newbuntuI created the key on my server19:31
newbuntuis that right?19:31
Reepicheepso you want your server to be able to connect to your mac via the ssh keys?19:31
newbuntuyes19:31
jetoleok, I don't know much about ssh on mac other then my dad has one and the configs in /etc don't work the way they do on every other computer19:31
BerRMaNyAHii i have a problem when i try config exim4 with smarthost, somebody can helpme?19:31
ReepicheepBerRMaNyA: can you paste your exim router configs in a paste bin?19:32
Reepicheepnewbuntu: I just want to make it clear you want to connect from your ubuntu server to your mac not vice versa?19:33
newbuntuno, I'm sorry...I want to be able to access the server via the mac19:33
Reepicheepthat's what I thought19:33
Reepicheepyou need to generate the key on the client.. not the server19:34
Reepicheepso in your instance the client is your Mac19:34
BerRMaNyAWhat is the file of configuration?, i execute sudo dpkg-reconfugyre exim4-config19:34
Reepicheepnewbuntu: and OS X does not have ssh-copy-id so you have to do it by hand.. the old fashion way19:35
newbuntuoh, I was thinking of it backwards!19:36
ReepicheepBerRMaNyA: I use exim but I have never used the configs made via dpkg-reconfigure so I don't know if I can help a lot19:36
ReepicheepI can help you edit the files by hand.. but you may want to do it the ubuntu way as you have tried with dpkg-reconfigure19:37
BerRMaNyAReepicheep wait, i'll upload the config file19:38
Reepicheepwhen you run dpkg-reconfugyre exim4-config does it give you an option to set it up using a smarthost as postfix does? BerRMaNyA19:38
Reepicheepnewbuntu: the first thing you need to make sure is that you have a public private key generated for your user an your mac?19:38
newbuntuI generated both, but on the server19:39
Reepicheepnewbuntu: from the terminal type "ls ~/.ssh/" and is there an id_rsa.pub or id_tsa.pub file?19:39
BerRMaNyAwhen i run dpkg-reconfigure, askme the ip of smarthost, but i dont know de smarthost ip19:40
newbuntuno just my a config file and known_hosts file19:40
Reepicheeps/id_tsa.pub/id_dsa.pub/ ^ sorry19:40
BerRMaNyAI try put ip of isp19:40
BerRMaNyAbut dont work19:40
ReepicheepBerRMaNyA: you will defiantly need that info to set up the smart host19:40
newbuntuI have set this up with another server before19:40
newbuntuappearantly19:41
ReepicheepBerRMaNyA: you may be able to use the DNS name of the smarthost you would like to use19:41
Reepicheepnewbuntu: then you need to generate a key pair for your user on you Mac first.. use ssh-keygen19:42
Reepicheepi.e ssh-keygen -t rsa19:42
newbuntuReepicheep: I don't remember why but the <known_hosts> file contains the other RSA I use for another server, not sure why I set it up that way19:42
BerRMaNyAbut i dont understand, i 'll try use the DNS of ISP, that is ok?19:43
Reepicheepthat's ok.. the known host contains the public key for every ssh server you have connected to and trusted said ssh servers keys19:43
Reepicheepnewbuntu: ^19:43
newbuntuahhhh19:43
ReepicheepBerRMaNyA: do you understand what a "Smarthost" is?19:44
ReepicheepBerRMaNyA: basically it is a server that will relay your mail to and from your existing server depending on your situation.19:45
Reepicheepis that what you are after?19:45
uvirtbotNew bug: #473218 in sysstat (universe) "Please sync sysstat-9.0.5-1 from Debian unstable." [Undecided,New] https://launchpad.net/bugs/47321819:46
BerRMaNyAmmm i think that smathost is a service  when i run mail() in php for example, mi smtp server relay the mail to smarthost, and smarthost redirect this mail to email account what specify in mail function19:46
BerRMaNyAsorry my inglish is bad19:46
mathiazkirkland: avahi and eucalyptus uploaded to my ppa - https://launchpad.net/~mathiaz/+archive/eucalyptus/+packages19:50
ReepicheepBerRMaNyA: are you setting up exim to host local inboxes? or just to send mail out to external email account?19:50
mathiazkirkland: so you can probably grab the source code from there and build them localy19:50
newbuntu so I just created a key on my client computer19:50
newbuntureepicheep19:51
newbuntuls -a19:51
Reepicheepnewbuntu: sweet.  now you need to get the contents of the ~/.ssh/id_rsa.pub file into the ~/.ssh/authorized_keys file on the server19:51
newbuntuokay, doing that now19:52
Reepicheepreplace rsa with dsa if you created the keys that way ^19:52
newbuntuno they are rsa, what's the diff19:52
Reepicheepthe easiest way is to use "scp"19:52
Reepicheepscp -P port ~/.ssh/id_rsa.pub user@hostname:/tmp/19:53
BerRMaNyAReepicheep: I try config the local pc as server, i have static ip, when mi work now is config this machine with smtp server and pop3 server, I installed exim as smtp server, i try send the mail with PHP to my email account, and I recibe this mail in spam inbox19:53
Reepicheepnewbuntu: that will get the pub file over to your server in the /tmp/ directory19:53
BerRMaNyAWhen i think that if setup smarthost i will recibe mail in inbox and NO spam19:54
Reepicheepnewbuntu: then just concatenate it to the end of the authorized_keys file19:54
Reepicheepcat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys19:54
newbuntunow for a really dumb question?  is my host name not what I see when I'm logged into my server ie. root@testserver19:55
ReepicheepBerRMaNyA: are you receiving this mail on an account hosted on the server with exim on it or in an existing email account that is hosted elsewhere?19:56
newbuntunevermind19:56
newbuntugot it19:56
BerRMaNyAi recive mail on gmail19:57
newbuntuit asks for root@<my ip>'s password?  my pass doesn't work19:57
Reepicheepnewbuntu: that concatenate command should be run on the server as the user that you wish to login as after the key has been copied to the servers /tmp/ directory19:58
BerRMaNyAwhen i enter to http://localhost/mail.php?to=bernacas@gmail.com i recive mail in spam19:58
BerRMaNyAon gmail19:58
ReepicheepBerRMaNyA: you may not need to run exim on your machine at all if you are sending to a gmail account19:59
lukehasnonameHey guys. Y'all know where I can get the raw Docbook XML for the server guide?19:59
Reepicheepphp should be able to use a smtp server provided  by your ISP19:59
newbuntuit wants the root password19:59
BerRMaNyAI use php to check if my smtpserver is running20:00
BerRMaNyAif (mail("bernacas@gmail.com","test","test")) : echo "The mail is sent"; endif;20:00
Reepicheepnewbuntu: assuming that you have heard the warning about sshing to a root account... you can copy the file to the server as a non root user20:01
BerRMaNyAThis way check if my smtp server is on20:01
Reepicheepthen copy the contents to /root/.ssh/authorized_keys with sudo or as the root user20:01
Reepicheepnewbuntu: by default ubuntu does not set a root password20:02
newbuntuhmmm, ok20:02
ReepicheepBerRMaNyA: if you are just trying to send mail from php.. I'm not sure you really need a full MTA like exim running.  there probably are better ways of sending that mail out.20:04
newbuntusorry for the confusion but I created the 'id_rsa.pub' file in ~/.ssh/  logged in as my root, was that a mistake? Should I have created the keys in ~/.ssh/    logged in as my user?20:05
newbuntuReepicheep20:05
BerRMaNyAReepicheep: Now i just config the smtp server, but i now install pop3 server, i can create for example bermanya@IPSTATIC ?20:06
lukehasnonamegot it20:06
Reepicheepnewbuntu: it's usually best to connect to your server as an unprivileged user, then use sudo to execute things that need root privileges20:06
Reepicheepso in the command I gave you .. "user" in "user@hostname" would by your username not root20:07
Reepicheepthan run the concatenate command as your user on the server20:07
ReepicheepBerRMaNyA: in that case you do need an MTA20:07
newbuntuso should the key files on my clientMac be stored in the root ~/.ssh/  or my User ~/.ssh/20:08
BerRMaNyAexim is MTA true?20:08
jetoleuser ssh20:08
newbuntuthe one's I just created?20:08
jetole@ newbuntu20:08
newbuntuok20:08
Reepicheepnewbuntu: as the user20:08
newbuntuwell I messed up then, I did it as root20:08
Reepicheepso /Users/<username>/.ssh/20:08
newbuntuI can just delete and redo, huh?20:08
jetolenewbuntu: that only applies if you want the root user to be able to ssh which you can but that is against a lot of BOFH regulations20:09
jetolenewbuntu: I wasn't paying attention but you can delete and re create your certs as many times as you like20:09
Reepicheepit doesn't hurt to have those keys in the /root/.ssh/ you just won't use them :newbuntu20:09
newbuntudeleting and re-creating20:09
newbuntunow20:10
BerRMaNyAReepicheep: do you have some tutorial that explain me that i looking for?20:10
newbuntuthat is also where I put the config file, need to change that20:10
jetoleif [ ${UID} -eq 0 ]; then echo "not as root"; exit 1; fi; sudo rm -rf /root/.ssh; ssh-keygent -t rsa; ssh-copy-id -i ~/.ssh/id_rsa.pub my.server20:10
jetole@ newbuntu20:10
jetolethat needs a little work but thats the general idea of how to do it all over again20:11
ReepicheepBerRMaNyA: not of the top of my head.. why is it that you settled on "exim" was it from a tutorial?20:11
newbuntua little over my head but thanks20:11
newbuntuthe if statement anyway20:11
Reepicheepjetole: I like that.. that's a cute way to put it20:12
jetolenewbuntu: that should actually do it all except at the end change my.server to your server20:12
jetolenewbuntu: that will delete the root .ssh dir20:12
jetoleand recreate the new keys20:12
jetoleand copy them over20:12
jetoleassuming passwords still work on the server20:12
Reepicheepjetole: the only issue is that OS X doesn't have ssh-copy-id :(20:12
newbuntuI have them on for now, will turn them off when I get this working20:13
* jetole doesn't allow passwords on ssh on his servers but it's all corporate and I have keys backed up around the corner20:13
jetoleReepicheep: wow... uh... that sucks20:13
* jetole points to www.openssh.org20:13
jetolecan download and compile from there20:13
jetoleas part of the openssh package20:13
jetolenewbuntu: just make sure you have backed up your keys very well before you do20:14
BerRMaNyAI have opened 100000 tutorials but i cant make work exim, but I now open https://help.ubuntu.com/9.04/serverguide/C/exim4.html20:14
newbuntuI will20:14
Reepicheepjetole: that is why I was having newbuntu us scp to copy the public key to the server.. but I didn't realize it was the root user20:14
jetoleBerRMaNyA: the problem is exim != postfix20:14
jetole;)20:14
jetoleyeah me either20:15
jetolenever use root20:15
newbuntuwon't from now on20:15
BerRMaNyAjetole which is the diference of exim and postfix?20:15
ReepicheepBerRMaNyA: I love exim ... it is my MTA of choice .. but in your instance postfix may be better20:15
Reepicheepnewbuntu: that away to here the warning about using the root user ;-)20:16
BerRMaNyAwhich is the diference between exim and postfix?20:16
jetoleBerRMaNyA: what is the difference between windows and linux? You are asking the difference between two different peices of software. You can put sendmail and the microsoft mail package in the question too. If you want a complete answer download both source packages and run diff -ur against the two directories20:17
ReepicheepBerRMaNyA: they both accomplish the same thing..20:17
newbuntuout of curiosity, why is it soooo bad for me to be logged in as root20:17
Reepicheepbut the ubuntu way tends to be use postfix.. so you will find more documentation that way20:17
jetolenewbuntu: because you don't need to be and by typing the wrong command as root you will destroy your system20:17
newbuntuenough said20:17
* jetole has been using postfix for years and it just works 20:18
newbuntuthanks20:18
jetolenewbuntu: also you don't want the root user accessible via ssh incase someone cracks in20:18
BerRMaNyAOk reepicheep, so i run apt-get remove exim and i 'll install postfix is that ok?20:18
* Reepicheep has been using exim for years .. but in this instance .. Reepicheep thinks BerRMaNyA should use postfix20:18
jetoleBerRMaNyA: great idea20:18
ReepicheepBerRMaNyA: you will find plenty of tutorials showing you ubuntu-server + postfix + (dovecot | courier | cyrus | your choice of software)20:20
jetoleBerRMaNyA: also #postfix is an informative room20:20
* jetole votes for dovecot which also functions as the LDA20:20
* Reepicheep votes the same..20:20
jetolewell I'm gonna go poo20:21
jetolebbiab20:21
Reepicheepnewbuntu: .. basicly you just need to run those two commands on your mac as you unprivileged user (ssh-keygen and the scp one)20:21
BerRMaNyAReepicheep thanks so much for your help, jetole same for you20:22
jetoleBerRMaNyA: I didn't offer much but enjoy20:22
newbuntuI'm in the process now....20:22
BerRMaNyAnow i try install postfix and dovecat20:22
BerRMaNyAdovecot20:22
Reepicheepnewbuntu: then concatenate the /tmp/id_rsa.pub file (make sure it's the new one and not roots) to the users .ssh/authorized_keys file20:23
ReepicheepBerRMaNyA: find a walk through to help you with the configuration steps need20:24
kirklandmathiaz: yo20:24
kirklandmathiaz: okay, i'm downloading now20:24
newbuntuI've got the key in my /tmp on server!  moving on...20:26
newbuntuwhen I try to cd .shh (logged in as me) it tells me permission denied20:27
Reepicheepwhat about "cd ~/.ssh" ?20:28
newbuntuit's owned by root, why?20:28
newbuntudenied20:29
Reepicheep"pwd" returns your users home directory not "/root" correct?20:29
newbuntuyes, correct20:29
Reepicheepk.. lets start over on the server side..20:29
newbuntuk20:29
Reepicheeptype "sudo rm -r /home/<username>/.ssh"20:30
Reepicheepmake sure it is the correct directory :[|20:30
Reepicheep:-|20:30
newbuntuit's gone..20:30
Reepicheepk.. create a new one .. like by for instance typing "ssh -p port localhost"20:31
Reepicheepand accepting the public key20:31
mathiazkirkland: well - I think everything is built now20:31
kirklandmathiaz: yup, i'm installed20:31
kirklandmathiaz: did you put together SRU testing instructions yet?20:31
mathiazkirkland: not for all the bugs20:32
mathiazkirkland: some of them have the testing instructions already20:32
newbuntumade new /.ssh, it's owned by me now20:32
Reepicheepsweet.. now lets make sure the id_rsa.pub file you your users and not root's20:32
Reepicheeptype "cat /tmp/id_rsa.pub" it should be the key20:33
Reepicheepat the end it should have "username@your.mac.hostname" not "root@your.mac.hostname"20:33
newbuntuit does20:34
Reepicheepsweet.. k.. now:20:34
Reepicheepcat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys20:34
newbuntuok20:35
newbuntuhow do we check20:35
Reepicheepand when that completes you should see the public key in /home/<username/.ssh/authorized_keys .. use "cat" to see it20:35
Reepicheepif it's there you should have it setup.. now back on your Mac20:36
newbuntuit's there!!20:36
Reepicheepgreat20:36
newbuntuwow, I really appreciate all your time20:36
kirklandmathiaz: i'll write the SRU testing for mine (the powernap one)20:36
Reepicheepssh -p port username@server.hostname20:37
Reepicheepfrom the Mac ^20:37
mathiazkirkland: ok20:37
newbuntuok20:37
geekboxjockeyI'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info I'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being c20:37
geekboxjockeyached. Any ideas?is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being cached. Any ideas?20:37
geekboxjockeyI have apache2 set up to use /etc/pam.d/common-auth (which is where I have the caching configured)20:37
Reepicheepif the username is the same on both you don't need the "username@" part20:37
geekboxjockeyI'm having issues with LDAP, pam_ccreds and apache2 http-auth, if I log in to a system via ssh using my LDAP credentials, I can see that my info is cached via 'sudo cc_dump' however for users authenticating with http-auth on our site, their LDAP info is not being cached. Any ideas?20:38
geekboxjockey(sorry, something got chopped up in my last message)20:38
newbuntuit asked me for my server password? does that mean it didn't work?20:39
newbuntushould it still ask for that?20:39
mushroomtwotime to edit sshd_config20:40
Reepicheepnewbuntu: no it should just log you in20:40
newbuntuhad to enter password20:40
Reepicheepdouble check to make sure that the key on your Mac /Users/<username>/.ssh/id_rsa.pub matches the key on your server /home/<username>/.ssh/authorized_keys20:41
Reepicheepalso make sure that it is still enable in the sshd_config file on the server20:42
newbuntulooks as though they match, looking at a few characters in the beginning and end20:43
newbuntuat the end of the RSA it has = user@computername.local20:44
newbuntushould this be the ip?20:44
Reepicheepnah.. that should be fine20:45
Reepicheephave you edited /etc/sshd_config on the server?20:45
newbuntuI want to be able to access this whether I'm on my home network or away, I guess that doesn't matter20:45
newbuntui will check the /etc/sshd_config20:46
newbuntuPubkeyAuthentication = yes20:46
newbuntuall I changed is the port20:47
Reepicheephmm. that should work..20:47
newbuntuwhat is this: # HostKeys for protocol version220:47
Reepicheeplet me make sure I can get it to work .. what version of OS X are you running?20:47
newbuntumy has: HostKey /etc/ssh/ssh/host/rsa/key20:48
newbuntuwait mis type20:48
Reepicheepusually it is something like:20:49
newbuntut20:49
ReepicheepHostKey /etc/ssh/ssh_host_rsa_key20:49
newbuntuthat's what I meant to type20:49
newbuntuthanks20:49
newbuntuI have a /know_hosts on my mac? does that mean anything?20:50
newbuntuI'm running 10.620:50
newbuntureepicheep20:51
DrNick_is ubuntu server have "official" support on Sparc boxen?  or is it "officially" just i386/x64?20:52
DrNick_err, * does20:52
Reepicheepk.. let me test that.. btw. if you want you can have ssh listen on multiple ports. just put on "Port <portnumber>" line per port20:53
Reepicheepnewbuntu: ^20:53
newbuntuI see a line in sshd_config: #AuthorizedKeysFile %h/.ssh/authorized_keys.20:54
newbuntuthere is nothing under it20:54
newbuntuReepicheep^20:54
newbuntudoes my key path need to be there?20:54
Reepicheepnewbuntu: by chance is it asking you for the password you gave when generating the ssh key pairs with the ssh-keygen command?20:54
newbuntuno, just my user pass20:55
newbuntuwell, they might be the same?20:55
newbuntui'm not sure20:55
newbuntuwas that not my user pass?20:56
newbuntuI figured it was trying to authenticate me as a user before generating20:56
newbuntuReepicheep^20:56
Reepicheepbecause if you give a set a password when creating the keys with ssh-keygen it will prompt you for that password every time you use the key20:56
newbuntucan I turn off the password authentication in the sshd_config file and try to login again?20:57
newbuntuwill that tell me anything20:57
Reepicheepif you want to connect in "Passwordless" if that's a word.. you need to create the ssh_key pair without a password.. but .. there are security concerns doing it that way also20:57
newbuntui don't mind typing in the password, just wanted to make sure I was actually connecting with the key pair20:58
newbuntuReepicheep^20:58
Reepicheepyou probably are.. it is just prompting you for your key pair password not your user password on the server20:59
Reepicheepbtw.. it works fine for me from a 10.6.1 Mac to an ubuntu server 9.1021:00
newbuntuI just turned of pass auth in sshd_conf on server21:01
newbunturestarted ssh21:01
newbuntutried to log in from mac21:01
newbuntupermission denied (publickey)21:01
newbuntuconfused21:02
uvirtbotNew bug: #473332 in openipmi (universe) "Startup failed to load ipmi_devintf module" [Undecided,New] https://launchpad.net/bugs/47333221:02
newbuntuls21:02
newbuntudo I need the key in known_hosts?21:03
newbuntuReepicheep^21:03
newbuntuon my mac21:04
newbuntuoh wait, it's there21:04
Reepicheepyeah.. that is the servers public key21:04
newbuntuit's there21:04
newbuntunevermind21:04
Reepicheepthat is what you are prompted to accept the first time you connect to a host21:04
newbuntudo I need the config file on my mac or the server?21:05
newbuntuI don't have it on my mac21:05
newbuntuReepicheep^21:05
Reepicheepyou don't need to adjust anything on your Mac.. you just need the user to generate a key pair .. which you have done21:06
newbuntuk21:06
ReepicheepDrNick_:  I don't think sparc hardware is officially supported21:11
newbuntuany ideas? Reepicheep21:11
DrNick_ok.  however it still has community support currently?21:12
Reepicheepnewbuntu: I must of missed the question.. is it still not working?21:12
newbuntuno it's not working21:12
ReepicheepDrNick_: I would suppose.. as best you can get21:12
newbuntuI just turned off pass auth in sshd_conf on server21:13
DrNick_only i seem to remember a time when ubuntu was officially supported on x86/x64, ppc and sparc.  i can understand them dropping ppc, with apple going intel but sparc i would have hoped might continue21:13
newbunturestarted ssh21:13
newbuntutried to log in from mac21:13
newbuntupermission denied (publickey)21:13
DrNick_there was some fanfare a while ago about ubuntu-sun lovin', i guess that is no more.  esp' with sun going to oracle21:14
Reepicheepnewbuntu: so it prompts you for the password for your keys.. you enter that .. then it gives your the "permission denied (publickey)" error?21:14
newbuntuno- I enter: ssh -p port user@ip      hit enter21:15
newbuntuPermission denied (publickey)21:16
ReepicheepDrNick_: I have run linux (not ubuntu though) on sparc hardware for awhile .. but I have taken most of them out of production in the last couple years.. it worked pretty well though21:16
DrNick_well, thanks for the info anyway Reepicheep21:17
* newbuntu Invalid PEM structure, '-----BEGIN...' missing.21:18
DrNick_cdimage.ubuntu.com seem to have a variety of different architecture's to install, all community supported.  there's even one for the ps3 lol21:18
newbuntuthis is what I get when I try to get in using ftp client21:19
newbuntussh21:19
newbuntusftp21:19
newbuntuwhatever21:19
Reepicheepnewbuntu: have you mess with the keys in /etc/ssh on the server?21:19
DrNick_even PA-RISC is there21:19
newbuntuno I haven't21:19
ReepicheepDrNick_: yeah I have seen that .. I have used the PPC one a few times .. I even have download the sparc one. burned the disk .. it's sitting on top of an old sunfire machine on my bench.. but I have yet to install it.. :-|21:20
DrNick_:-)21:20
DrNick_boot it, see what happens21:21
Reepicheepnewbuntu: your scp command worked earlier to copy the id_rsa.pub file from the mac to the server correct?21:21
newbuntuat the end of my ssh_host_rsa_key.pub..... it is root@myserver21:21
ReepicheepDrNick_: I will sometime.. I just haven't got around to it21:21
newbuntuis that wrong21:21
newbuntuyes it did work21:22
Reepicheepnewbuntu: that is fine.. that is the system keys used via the openssh server21:22
newbuntuoh21:23
Reepicheepthey are auto generated when you install the openssh-server package21:23
Reepicheepyou shouldn't need to mess with them21:23
newbuntuok, i see21:23
Reepicheepthe only keys you need to care about are the keys in your home directory's .ssh/ folder21:23
Reepicheepnewbuntu: can you try running the scp command from the mac again.. just copy any file to the server's /tmp/ folder21:24
newbuntumy key is in the file authorized_keys21:24
newbuntuyes21:24
Reepicheepnewbuntu: correct .. the public key for the user on the client (your Mac) should be in your user's authorized_keys file on the server21:25
newbuntupermission denied (publickey)21:27
newbuntuReepicheep^21:27
newbuntuI will have to turn passAuth back on i guess21:28
newbuntuin sshd_config21:28
newbuntuwhat is invalid PEM structure21:37
newbuntuReepicheep^21:37
newbuntuthe other key I'm using is keypair.pem21:37
newbuntuthis on is keypair.pub21:37
newbuntucould that be anything?21:37
newbuntuReepicheep^21:37
=== mdz` is now known as mdz
Reepicheepnewbuntu: afaik. pem files are files that combine the public and signed certificate in ssl  .. I have never used them in the ssh realm21:50
RoyKhm.... it'd be fine the day linux has something like zfs21:50
Reepicheepwhere is it that you see the keypair.pem file?21:50
newbuntuok21:50
newbuntuI use one to log into another server I use, for business21:50
RoyKif any of you work with storage, take a little look at what's in opensolaris21:51
RoyKit eats linux for breakfast21:51
newbuntuI also get this error when trying to sftp: into my server:21:51
ReepicheepRoyK: I agree I really wish sun could release zfs with a linux compatible license21:51
newbuntuReepicheep^Invalid PEM structure, '-----BEGIN...' missing.21:52
Reepicheepnewbuntu: does it happen to be secure ftp like ftp over ssl ... which is different then sftp over ssh21:53
newbuntuit might be21:53
newbuntuhave a question21:53
RoyKReepicheep: well, they don't want to, so I'll stick with opensolaris for storage21:54
newbuntuif I'm getting 'Permission denied (publickey) when I try to scp to the server?  On which side does the problem lie?21:54
Reepicheepnewbuntu: for copying files from your make to a machine with ssh you should look at Macfusion .. it uses fuse to make the connection but it integrates into your finder21:54
newbuntucool21:54
newbuntudid you see the post just above your last?21:55
Reepicheepnewbuntu: is the /etc/ssh/sshd_config and /etc/ssh/ssh_config files pretty standard on your server other then the port change?21:55
RoyKthe nfs4 stuff in opensolaris is quite a bit better than what's in linux, so .......21:55
newbuntuyes, I changed nothing from the install except port: and passwordAuthorization21:58
Reepicheeptry changing passwordAuthorization back .. and see what it does21:59
newbuntuk22:00
mathiazsmoser: any news from upstream on bug 461156?22:00
uvirtbotLaunchpad bug 461156 in euca2ools "User data is not parsed correctly by Eucalyptus in some cases" [High,In progress] https://launchpad.net/bugs/46115622:00
mathiazkirkland: ^^?22:00
kirklandmathiaz: latest i know is in that bug22:01
kirklandmathiaz: i'm still testing your ppa packages22:01
kirklandmathiaz: i'm running into some weirdness22:01
kirklandmathiaz: but i don't know if it's your fault yet :-)22:01
mathiazkirkland: weirdness?22:02
mathiazkirkland: do you have issue with dns resolution to connect to the cc?22:02
newbuntuReepicheep^22:02
kirklandmathiaz: haven't tried that22:02
kirklandmathiaz: i'm testing the little powernap one, which should be a no-op really at this point22:03
newbuntuthis is what I get when I restart ssh: Could not load host key22:03
kirklandmathiaz: but i couldn't get powersave working at all at first22:03
newbuntustart stop dameo: warning: failed to kill: operation not permitted22:03
newbuntuReepicheep^22:03
newbuntuthis is what I get when I restart ssh22:03
newbuntu[ok]22:04
kirklandmathiaz: which ones have SRU test instructions already?22:04
mathiazkirkland: bug 45890422:04
uvirtbotLaunchpad bug 458904 in eucalyptus "When installing a node, euca_find_cluster fails to locate the cluster controller if instances are running" [High,In progress] https://launchpad.net/bugs/45890422:04
Reepicheepnewbuntu: what does "sudo netstat -tlpn | grep sshd" return ?22:05
mushroomtwoanyone know why, after swapping switches, a 9.04 server box will refuse connections via ssh?22:05
mathiazkirkland: yeah - that's all - I'm writing up the other SRUs22:05
kirklandmathiaz: i filled in most of https://bugs.edge.launchpad.net/ubuntu/+source/eucalyptus/+bug/45816322:06
uvirtbotLaunchpad bug 458163 in eucalyptus "[regression] euca_rootwrap fixes affected eucalyptus power management (powerwake)" [Wishlist,Fix committed]22:06
newbuntutcp 0.0.0.0.0:myPort22:07
newbuntuis that what you were looking for22:07
Reepicheepnewbuntu: now stop the ssh server and run the same command see if it goes away22:07
newbuntumy ip isn't there22:07
newbuntuok22:07
Reepicheepnewbuntu: 0.0.0.0 is all ipv4 interfaces22:08
kirklandmathiaz: SRUs are so much fun :-)22:08
newbuntuoperation not permitted22:08
newbuntucant' stop22:08
newbuntustill there22:08
Reepicheepwhat command are you using to stop ssh?22:08
newbuntug22:09
newbuntuhang on22:09
newbuntu</etc/init.d/ssh stop>22:10
newbuntuwouldn't let me type without <>22:10
Reepicheeptry: "sudo service ssh stop"22:10
newbuntudid it22:11
newbuntuoutput grep | not there any more22:11
Reepicheepk.. now start it22:11
Reepicheepreplace "stop" with "start"22:12
newbuntuk22:12
newbuntustarted22:12
newbuntunow that I have turned my passwordAuth on in sshd_conf I can transfer files via scp22:13
Reepicheepnewbuntu: check out the Macfusion .. it may be what you want22:14
newbuntui will, thanks for all your help22:15
uvirtbotNew bug: #473439 in mailman (main) "can´t start mailman" [Undecided,New] https://launchpad.net/bugs/47343922:21
newbuntucould it be because I used a passPhrase when I created the key22:25
newbuntuReepicheep22:25
newbuntudo i need a passphrase?22:25
Reepicheepnewbuntu: you can try creating a new key without a passphrase if you want, it would be one less layer of security.. but it would then allow you to login with out being prompted for a password22:43
newbuntuI've already tried22:44
Reepicheepdid it work?22:44
newbuntuI started over from scratch, following all your instructions, created new key and everything.....when I try to access the server through terminal ssh -p 5555 ............ I get22:45
newbuntuPermission Denied22:45
newbuntu(publickey)22:45
newbuntustill22:45
newbunturesetting router, be right back22:46
newbuntu_removing port mapping on router22:47
newbuntu_I'm at a loss, if you have any idea I would appreciate it22:47
newbuntu_I can get in with the password, but not the publickey22:48
newbuntu_I've got to figure this out because I'm going to have to set this up on about 10 other machines.  PC and MAC22:50
newbuntu_they all need access to the server22:50
kblinnewbuntu_: you're not getting your home dir mounted during login or fanyc crap like that?22:50
newbuntu_home dir mounted?22:51
kblinat university the /home share is on a network mount, so there's no access to $HOME/.ssh during login22:51
kblinat my university, that is22:52
newbuntu_I'm at my house, I'm behind a router if that matters22:53
newbuntu_I can get through with my password, just not the publicKey22:53
kblinok, so no network shares for /home?22:53
newbuntu_key pair22:53
newbuntu_by network shares you mean, other machines on the network sharing my /home22:53
kblinyeah22:54
newbuntu_no, I don't have it shared on my local network22:54
kblinwhat's the name of the private key you're using?22:55
newbuntu_key_pair.pub22:55
newbuntu_I made one up22:56
Reepicheepnewbuntu: would it be to much to start completely over even with the ssh server and keys on the server?22:56
Reepicheepand the config files in /etc/ssh/22:56
kblinand what's your ssh command?22:56
kblinthe full command line?22:56
uvirtbotNew bug: #236757 in postfix (main) "openldap2 vs openldap when installing kolabd" [Undecided,New] https://launchpad.net/bugs/23675722:57
newbuntu_no, I'd be willing to try anything.  I would like to rule out my router though, could it be causing me problems?22:57
Reepicheepfor you testing is the router between you and your server?22:57
newbuntu_kblin: ssh -p <myPort> user@<myIP>22:58
kblinaha22:58
newbuntu_Reepicheep: yes22:58
newbuntu_well I think22:58
kblintry ssh -p <myPort> -i key_pair user@<myIP>22:58
Reepicheepis your Mac and server on the same network?22:58
newbuntu_they are22:59
newbuntu_I'm trying to access as if I am not on same network though22:59
newbuntu_how?22:59
Reepicheeplet's get it working internally before you through the router/port forwarding into the mix23:00
kblinyeah, and try the -i key_pair thing23:00
newbuntu_kblin:  that worked!!23:01
kblinfigures23:01
newbuntu_no password needed, not denied permissions23:01
kblinyou've used a non-standard name for the key file, so you need to tell ssh to use it23:01
newbuntu_so how does that work23:01
Reepicheepnewbuntu_: have you messed with any of the system ssh settings on your Mac?23:01
kblinsee the -i option in man ssh23:02
newbuntu_system ssh settings, no I don't think so , let me look23:02
Reepicheepnewbuntu_: what is the name of your key_pair?23:03
newbuntu_kblin: how do I log in from my sftp client?23:03
Reepicheephave you edited anything in /etc/ssh_config on the Mac?23:03
kblinReepicheep: key_pair/key_pair.pub, newbuntu_ said so a few minutes ago23:04
kblinthat has nothing to do with the ssh_config23:04
kblinnewbuntu_: what sftp client?23:04
=== newbuntu_ is now known as newbuntu
kblinscp?23:04
newbuntucyberDuck23:04
newbuntuon mac23:04
kblinnever heard of that23:04
newbuntulike fileZilla23:04
Reepicheepkblin: sorry I missed that23:04
kblinit'll have an option to specify a key pair, if it's any good23:05
kblinReepicheep: happens, no worries :)23:05
newbuntuit does, but does it matter that I named it diff23:05
Reepicheepnewbuntu: I have used cyberduck.. let me see if you can set it to use a non standard key pair23:05
newbuntuthat's what I was wondering23:05
newbuntuReepicheep23:05
Reepicheepnewbuntu: it may be easier to use the standard key pair names thought...23:06
newbuntuthis may be my whole problem, that's what I get for trying to organize things23:06
Reepicheepif that is possible23:06
newbuntuyea, I can redo it, if that will fix my problem23:06
newbuntuno worries, now that I know what caused it23:06
newbuntuI only need one key per machine, right:23:07
newbuntu?23:07
kblin"In the Connection Dialog or the Bookmark editor in Cyberduck select Use Public Key Authentication and select the private key in your .ssh directory. "23:07
newbuntucan I use the same key for every machine?23:07
newbuntuI have about 10 I need to connect to the server?23:07
Reepicheepbtw.. newbuntu cyberduck lets you select a key to use.23:07
Reepicheepunder "more options"23:07
newbuntuI saw that and tried to select it, it wouldn't work23:08
Reepicheep"use public key authentication"23:08
newbuntulet me try again.....one minute23:08
kblinnewbuntu: I tend to create one key per machine23:08
newbuntubetter option then passing around one key?23:08
newbuntukblin^23:08
kblinnewbuntu: then I can selectively allow/disallow logins from specific machines23:08
* Reepicheep does the same as kblin.. one key pair per machine23:09
newbuntugot it, I  like that option23:09
newbuntuI like to have control23:09
Reepicheepnewbuntu: you just need to add the public key from each machine to the authorized_keys file on the server23:09
newbuntuso, when setting up a new machine though, I will have to leave the passwordAuthorization set to 'yes' while I am setting up all the machines?23:10
Reepicheepusually it is ~/.ssh/id_rsa.pub on the client23:10
newbuntuI won't be able to access the server remotely on a machine that doesn't have a keyPair?23:10
Reepicheepyou may.. you just need some way to get the public key onto the server23:11
tharis20qman__: which line is the kopts line?23:11
Reepicheepcopy and paste works also..23:11
kblinor copy over the public key from a machine that can log in :)23:11
newbuntuall the machines are at diff locations23:11
newbuntuto make it easier should I turn off password after they are set up?23:12
Reepicheepnewbuntu: that may be the easiest way23:12
newbuntuthen it wouldn't matter, right?23:12
kblinnewbuntu: so put the existing public keys somewhere you can get at without password..eg. on a web server23:12
newbuntuok, just checking23:12
Reepicheepget it set up then make it more secure ..23:12
newbuntuthat's a good idea kblin23:12
kblinread-only, obviously23:13
newbuntuReepicheep: I think I'll do that23:13
newbunturight kblin"23:13
newbuntui'm going to try to cyberDuck it23:13
Reepicheepthat's true.. the public section of the key can be printed on a bus if you wish.. it doesn't need to be kept secret23:13
kblinbut yeah, I tend to switch off password-based auth after copying over my key file23:14
samlpet_i just created a uec setup and my instances are hanging on the "waiting for meta-data" when they are starting.  all of the bug reports i have read say this should be fixed.  am I just messing something up?23:14
Reepicheepyou can even email it to your self if you choose .. then put in on the server from a machine that is already set up23:14
newbuntuon cyberDuck: here's the error...23:14
newbuntuI/O Error: Connection failed23:14
newbuntuInvalid PEM structure, '-----BEGIN...' missing.23:14
kblinugh23:15
kblinthat tool seems to use a different key format then23:15
kblinanyway, bedtime for me, good luck with that duck23:15
newbuntuReepicheep23:16
newbuntuthanks kblin23:16
Reepicheeplet me see if I can get cyberduck working with standard keys.. I had to update cyberduck.. it's been awhile since i used it23:16
newbuntucool, thanks23:17
tharis20qman__: I added vga=791 and some green squares appear on the screen and I can't do nothing...23:18
newbuntueven when I select the key from my ~/.ssh it doesn't work23:18
Reepicheepnewbuntu: it works fine23:19
Reepicheepthese are the settings I used23:19
newbuntuwith id_rsa.pub23:20
ReepicheepOpen Connection -> SFTP (SSH File Transfer Protocal)  -- I set hostname & Port # under more options I checked "Use Public Key Authentication" then I selected .ssh/id_rsa23:21
Reepicheepuse id_rsa on the client side.. that is the secret one23:22
Reepicheepid_rsa.pub is for the other machine to use23:22
Reepicheepand make sure it is SFTP and not FTPS23:22
ReepicheepFTPS is FTP over SSL not what your after23:23
deizelwhen i go into `screen`, i can't see bash prompts and error messages, only what i type and what programs output.. wtf?23:23
deizel(it was fine before i restarted)23:23
newbuntuuuughhhh I was using the .pub23:23
newbuntuthanks, Reepicheep, I assumed I used the same one23:23
newbuntuI'm in!!!!23:23
Reepicheepsweet.. you will figure it out.. that is how key pairs work23:24
newbuntuokay, last thing, well for now anyway....I'm using a 10.x.x.x IP to connect to the server, that's through my router, right?  Do I use the same when I'm at a remote location?23:25
Reepicheepthe client uses the secret key.. while anyone you connect to uses the public key which doesn't need to be secured as long as you don't let anyone else have you secret key..23:25
newbuntuReepicheep^23:25
Reepicheepnewbuntu: that is a whole nother ball game..23:25
newbuntuwell crap23:25
ReepicheepI assume that both your client and server have a 10.x.x.x address atm correct?23:26
Reepicheepand they are both in the same subnet23:26
newbuntuyes, they are both on the router23:26
iarpwww.ipchicken.com23:26
Reepicheepso they can talk to each other without involving the router23:26
iarpwill tell you your external addy23:26
newbuntuI have to be able connect remote machines though23:26
Reepicheeptrue.. you will need to use your external address.. as iarp has shown one way to get your external IP23:27
newbuntuI know my external, but how do get through the router23:27
Reepicheepthat IP is the IP that your NAT router has on it's external interface23:27
newbuntuthat's for a diff IRC23:27
newbuntuyes, I know that one23:28
Reepicheepyou will need to make sure that you forward a port from the external interface to the internal server:port that ssh is on23:28
newbuntucan I just substitute it?  Not that easy I'm sure23:28
Reepicheepthen connect to your external IP when you are not inside your NAT router23:28
newbuntucan I give it a name, instead of typing 67.xx.xxx.xxx23:29
Reepicheepis it a dynamic address?23:29
iarpwww.no-ip.org you can make up host redirects(fre)23:29
Reepicheepif so you may need to look at some dynamic DNS client23:29
newbuntuyes it's dynamic23:29
iarpthey also have a software download to keep host redirects updates to your proper ip adress23:30
newbuntuwww.no-ip.org is free?23:31
iarpya, but you'd need to use one of thier domains, so like i have on for vent.myvnc.com23:31
Reepicheepnewbuntu: you can use something like zoneedit if you wish to use your own domain23:33
ReepicheepI also use dyndns.. although I believe it's not free anymore23:33
Reepicheepsome routers even support some dynamic dns providers on the router itself23:34
newbuntuwe have an account with dns made easy I think23:34
Reepicheepsee if they have a dynamic client you can use..23:35
Reepicheepfor instance I use ddclient23:35
Reepicheepbut I don't see dns made easy as a supported provider for that23:36
newbuntuso I need a nameserver IP23:36
newbuntuI already have name servers assigned to one of my domains, is that what we are talking about?23:37
Reepicheepit's more difficult than that.. you need a nameserver that supports dynamic updating of the records from the client when the client realizes that it's external IP has changed23:38
iarpare you hosting the website on a server yourself or do you pay for someone to host23:38
newbuntuI'm trying to do this on my server that I've been setting up today23:39
Reepicheepnot just any nameserver will work, that's where one of the dynamic dns providers come in23:39
newbuntuDNS made easy has Dynamic DNS, is that what I need?23:40
newbuntuI see it turned on in our settings23:40
Reepicheepdo they provide or recommend a client to use?23:40
newbuntuI can create an A Record there, and give an IP23:42
newbuntuI'm looking at our main site, that is set up there, It's an A Record23:43
Reepicheepthe problem with setting a static "A" record is that it doesn't change when your router changes IP addresses23:46
Reepicheepnewbuntu: ^^23:47
newbuntui see23:47
newbuntuso how can I get around hosting my domain with a 3rd party, can I do it on my newly created server?23:48
iarpbuy the domain through a provider like no-ip.org and install eithor software which updates their records to your external ip address23:49
deizelwhen i go into `screen`, i can't see the bash prompt or any error messages, only what i type and what programs i run are outputting.. any suggestions?23:50
iarpdeizel: what profile are you using for screen23:51
Reepicheepdeizel: you may try moving your .screenrc file out of the way and start over with it .. if you haven't put much into it23:51
Reepicheepsomething like "mv ~/.screenrc ~/.screenrc.old23:52
deizeliarp: well thats a problem actually, i installed it long ago and it just worked .. so i can't remember23:53
deizeliarp: since it wasn't working just there, i removed screen and reinstalled it23:53
iarpdeizel: just follow what Reepicheep said lol that's faster and easier23:53
Reepicheepmove the .screen-profiles out of the way also23:53
deizeliarp: well, this time it installed some screen-profile stuff and i get stuff like: /usr/bin/select-screen-profile: 176: cannot create /dev/null: Permission denied23:54
deizelReepicheep: will try23:54
deizelokay, there wasn't a .screenrc, and moving the .screen-profile directory didn't work either23:57
Reepicheepdeizel: and it used to work?  did screen get updated or anything?23:58
deizelyeh it was working fine like an hour ago before i restarted my jaunty vps23:59

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