/srv/irclogs.ubuntu.com/2008/05/12/#ubuntu-server.txt

yell0whey guys does anyone know how to reduce ntop's resource consumption ?00:15
yell0wor know of a tool similar to it but better resourcewise ?00:15
pavlizzhello there00:59
pavlizzCan anyone help me I have some problems with software RAID and installation of ubuntu server01:01
nohelpherei installed ubuntu server in birtualbox and it said the kernel requires the folloing feature snot present oin the cpu01:03
nohelphere0:601:03
nohelpherepleas echoose a kernel appropriate to your system01:03
nohelpherewhat do I do?01:03
Deepshow about a game of chess?01:04
nohelpherethat won't fix the problem01:04
nohelpherevirtualbox*01:04
Deepsi'm out of ideas then01:05
pavlizzI have create 3 raid arrays 1 raid 1 for my /boot dir  2 raid 5 for me / dir and anoher raid 5 for my swap the system is not booting after the installation01:10
Ashfire908What's the "correct" place to put stuff like password files for apache authing for the default site of /var/www?02:16
Ashfire908(Besides outside the web root)02:16
jimcooncatstatic ip not working on my Gutsy. OK on my Feisty at work. Should I uninstall network-manager?02:17
Kamping_KaiserAshfire908, depends what auth method you use. or are is my guess02:17
Kamping_Kaiserjimcooncat, whats 'not working' mean?02:18
Ashfire908a file based?02:18
jimcooncatKamping_Kaiser: keeps reverting back to dhcp02:18
Ashfire908dbm, standard file, whatever.02:19
Kamping_KaiserAshfire908, my memory indicates /var/lib/ somewhere02:20
Kamping_Kaiserjimcooncat, do you have a static ip configured in /etc/network/interfaces ?02:21
Ashfire908Is there a page or something on the interent describing all the different locations in the file system and what they are for?02:21
jimcooncatnot right now. I'll try again02:21
Kamping_KaiserAshfire908, yes, halfa  tic02:22
* Ashfire908 can never seem to find stuff like this02:23
Kamping_Kaiserffs. neither can i , even though i know exactly what i want. slightly-longer-then-one-tick02:24
jimcooncatKamping_Kaiser: I tried again, and when under static ip I could not reach anywhere, including my router.02:28
Kamping_Kaiserjimcooncat, is that when configuring the static ip to be the one that was assigned dynamically?02:29
jimcooncatKamping_Kaiser: the /etc/network/interfaces was set as http://paste.ubuntu.com/11588/02:29
jimcooncatKamping_Kaiser: when in Roaming mode it's fine.02:30
jimcooncatI also tried stopping dhcp client too.02:30
Kamping_Kaisersigh. i cant find the blasted lhfs structure02:32
Kamping_Kaiserjimcooncat, whats the gateways ip?02:32
jimcooncat192.168.2.102:33
Kamping_Kaiseris that what its configured to have, or what you think its configured to have? :) (just checking)02:33
jimcooncatThat's the IP of my router. That's what I thought the gateway address should be.02:34
Kamping_Kaiserjimcooncat, can pastebin the output of `ifconfig` now, then reset the networking so it works again ("roaming mode" perhaps?), the pastebin the output of `ifconfig` from that02:36
Kamping_Kaiseryes it should02:36
jimcooncatKamping_Kaiser: this is roaming mode: http://paste.ubuntu.com/11588/02:37
Kamping_Kaiserjimcooncat, `ifconfig` not interfaces02:38
jimcooncatKamping_Kaiser: I have to drop out of irc to try static again02:38
Kamping_Kaiserjimcooncat, i see02:39
jimcooncatKamping_Kaiser: http://paste.ubuntu.com/11589/ sorry, bad paste02:39
Kamping_Kaiserjimcooncat, and this paste is the one that is working?02:40
jimcooncatKamping_Kaiser: yes. no gateway shown in it02:40
jimcooncatweird02:40
Kamping_Kaiserjimcooncat, gateway isnt shown in ifconfig. its shown by `route -n`02:41
Kamping_Kaiserso perhaps pastebin `route -n` too02:41
jimcooncatKamping_Kaiser: route -n http://paste.ubuntu.com/11591/02:42
Kamping_Kaiserjimcooncat, can you set the static ip (so it doesnt work) and run those two commands again?02:43
jimcooncatsure -- going dark now02:43
jimcooncatKamping_Kaiser: http://paste.ubuntu.com/11592/02:47
jimcooncatKamping_Kaiser: route -n shows no data02:47
jimcooncatKamping_Kaiser: I just checked my interfaces file at work, and it's almost identical to what I wanted here. Only difference is that's running feisty.02:52
Kamping_Kaiserjimcooncat, route had no data? that wont be helping02:59
Kamping_Kaiserjimcooncat, you have no IP in that pastebin, so you wont be able to use the network02:59
jimcooncatKamping_Kaiser: not helping at all. thanks for yours though02:59
Kamping_Kaiserjimcooncat, half a tic03:01
Kamping_Kaiserjimcooncat, try `sudo ifconfig eth0 192.168.2.2`when running on the static configuration, then try and ping the gateway03:02
jimcooncatk03:02
wo0fasa03:06
jimcooncatKamping_Kaiser: ping worked after setting to static, even before your command03:07
Kamping_Kaiserjimcooncat, did you try to ping the net/connect somewhere?03:08
jimcooncatKamping_Kaiser: shoot, I was pinging myself, not the gateway03:08
jimcooncatKamping_Kaiser: thanks anyway, guess I'll get some sleep and try tomorrow.03:08
Kamping_Kaiserjimcooncat, hehehehe. i think your almost there, save your log and re-read it in the morning, i'm sure yuou'll get it03:09
jimcooncatKamping_Kaiser: keep cool. later.03:10
Kamping_Kaiserlater mate03:11
Navopcan someone help me out, can't seem to connect to ubuntu using putty (ssh), installed ssh server, changed network interface to static, I can ping the address np but can't use putty says network error:Connection refused03:30
Kamping_KaiserNavop, is ssh running? do you have a firewall?03:31
Kamping_Kaiserare you using tcp wrappers?03:31
NavopKamping_Kaiser: installed ssh-server, not sure how to start shh-server03:32
Navopusually it does start on its own03:33
RoAkSoAxNavop, install openssh-server03:33
Navopdid that already03:34
Kamping_KaiserNavop, yes, usually it does. assuming <your ubuntu release> still uses sysv compatability, `sudo /etc/init.d/ssh restart` should make sure its running03:34
Navopjust tried restarting it like you said and still get error, was working fine before i change it to static03:35
Kamping_Kaiserwhat does "get error" mean?03:36
NavopNetwork error:Connection refused03:37
krautlol03:37
krautit's dead, jim!03:38
krautNavop: what do you get, when you do this:03:38
kraut /etc/init.d/ssh restart03:38
Kamping_Kaiserheh03:39
krautNavop: what do you get, when you do this:03:39
kraut /etc/init.d/ssh restart03:39
NavopI get Restarting OpenBSD Secure Shell server sshd    [ok]03:41
krautNavop: netstat -tulpen | grep 2203:41
krautwhat do you get?03:41
Navoptcp6  0  0 :::22  ::*  LISTEN 0 12798 4761/sshd03:42
ScottKDo you have IPv6 connection?03:43
krautNavop: that's localhost or where you want to connect to?03:44
krautScottK: tcp6 shouldn't be a problem anyhow03:45
Navopusing my vista computer for putty, disable ipv603:45
krautso you get connection resued when you connect to the ipv4 address?03:45
Navopthats is on the ubuntu machine, tcp6 0 0 ...03:45
ScottKkraut: But it should also be listening on IPv4 if he wants to connect that way.03:46
krautScottK: tcp6 also listen to tcp403:46
ScottKRight.  Nevermind.03:46
Navopi can ping my gatway from ubuntu computer03:47
krautso you get connection resued when you connect to the ipv4 address?03:47
krautuwwww, tool rocks da hell03:47
Navopyes03:48
krautNavop: show me please iptables -L on that machine03:48
Navoptried connecting to ubuntu using a Vista computer and a xp computer03:48
krautwhen it are to many lines, please pastebin them!03:48
Navopkinda hard, using console, not sure how to use pastbin from console cmd line03:49
krautcopy and waste03:49
krautyou use putty atm?03:50
Navopyes on vista to connect to ubuntu machine that is being setup, but the prioblem i can't connect to ubuntu computer, so i can't copy and paste03:51
krautah, fuck03:52
krautdo you know iptables?03:52
Navopk did iptables -L03:52
krautwhat do you see?03:53
krautroot@dreamland:/etc/samba# iptables -L03:53
krautChain INPUT (policy ACCEPT)03:53
krauttarget     prot opt source               destination03:53
krautChain FORWARD (policy ACCEPT)03:53
krauttarget     prot opt source               destination03:53
krautChain OUTPUT (policy ACCEPT)03:53
krauttarget     prot opt source               destination03:53
krautlike this?03:53
krautor more?03:53
Navopall iget is Chain INPUT(policy ACCEPT), next line is target  prot opt source    destination, this i get 3 times03:53
krautok, like this03:53
krauthmm03:53
Navopyeah like that03:53
krautthat's really strange03:54
krautcat /etc/host.allow please03:54
Navoplike is said i can ping address from vista, np03:54
krautand cat /etc/host.dissallow03:54
krauterm03:54
krautfuck03:54
krautcat /etc/hosts.deny03:54
krautcat /etc/hosts.allow03:54
* kraut is to drunken, sorry :P03:54
Navopand if i go on the ubuntu machine and oing vista, np03:54
Navopin xp you can type ip[config to see the ip, what command can do the same in ubuntu?03:56
Navopipconfig03:56
RoAkSoAxNavop, ifconfig03:56
dougie_ifconfig03:56
dougie_lol03:56
Navopty03:57
krautrofl03:57
Navopfunny changed it back to dhcp, and i can login04:00
Navopputtyu works with dhcp04:00
krauthhrhr04:03
krautthat dude is craty ;)04:03
krautAOL04:03
Navopkraut: got it working, changed the ip address from 170 to 200, also i think it might be the certificate from putty04:05
krautperhaps04:05
* kraut is to drunken04:05
Navopwhere can i delete that certificate in xp04:06
krautummm04:08
krauti have no idea about putty04:08
dougie_don't ask me I don't even know what putty is :)04:08
Kamping_KaiserNavop, its stored in the registry04:09
krautsome windows crap04:09
Kamping_Kaiseriirc04:09
hotmonkeyluvI have a laptop connected wirelessly to my network (a+b+g, I think, none of this N-draft nonsense), and I have a server with dual gigabit nics, and i'm only transferring at about 1.6 mb/s I'm no network pro, but isn't it supposed to go a bit faster?04:14
Kamping_Kaiserhow is the network connected? a b or g?04:14
Kamping_Kaisers/network/laptop04:15
hotmonkeyluvI think it is all g connected04:15
hadsWireless is never particually fast.04:15
hotmonkeyluvit's a newer one, but not brand new04:15
Kamping_Kaiserthen it wont be much faster then it is.04:15
hotmonkeyluvI just remember xferring at about 45 mbps04:15
hotmonkeyluvis that not right?04:16
hotmonkeyluvit was a while ago, so i might be mistook04:16
hotmonkeyluvgrrrr, I was hoping to transfer 13gb of crap in 13 seconds, not 2.3 hours04:16
hadsYou need to be careful with your b's B's m's and M's setc.04:17
Kamping_Kaiser*grin* not over wireless04:17
hotmonkeyluvI know04:19
hotmonkeyluvi just thought it'd go at about 4-6mbps04:19
NavopFound where putty stores certificate.04:22
hotmonkeyluvhow do i add permissions to write to a filesystem?04:28
hotmonkeyluvis it chmod?04:28
Kamping_Kaiserwhat are you trying to do?04:29
hotmonkeyluvlet myself access my music04:30
hotmonkeyluvthat i'm going to put on a certain partition04:30
hotmonkeyluvthat I can't write to yet04:30
hotmonkeyluvwill <chmod -R rwxrwx--- /sda2> do it04:30
Kamping_Kaiseras root probably yes, but thats not really a fix04:31
hotmonkeyluvoh04:31
hotmonkeyluvwell, i can access it as root04:32
hotmonkeyluvi wanted to do it as a user04:32
Kamping_Kaiseri'd suggest remounting in /srv , and you'll want to change your fstab (probably set uid=1000 in the options)04:32
dougie_you have to make the user an owner or what not04:32
dougie_or do what he said04:32
dougie_Do Raid 5 drives all have to be the same size?04:34
hadsThe array will be limited to the size of the smallest drive.04:38
dougie_so whats a Raid setup that will allow different sized drives?04:38
dougie_there is a USB drive solution that uses raid and allows you to swap out any drive with any bigger size hard drive..... it also uses one as backup and what not like Raid 504:39
dougie_see if I can find it04:39
dougie_http://www.drobo.com/04:40
dougie_it has 4 drive bays and you can configure it with any size drives in any configuration and it uses all the space on all of them.04:40
dougie_Or is that some sort of software thing it does and there is no Raid setup that will allow that?04:48
hadsdrobo is some proprietry system, not normal RAID04:55
dougie_so no form of raid can do that then...sucks04:57
dougie_being as I have 3 500gig drives as is I suppose I'll just have to keep getting those. Luckily the Raid controller I'm getting has 16 ports04:57
dougie_trying to find a rack mount hard drive chassis that will hold like 16 hard drives04:58
dougie_because my server has SCSI hotswap bays and not much room internally for extra drives04:58
dougie_thinking about getting a chassis from par-metal that is exactly 3.5" high and turn the drives on their side and drill holes in the top and bottom for each drive....would probablk be cheapest and easiest as well04:59
dougie_then just figure out how to wire in LED's for each HD and what not...I think it could work well05:00
infinitynxvl: Am now...05:31
dougie_anyone know what an ldap server is?05:31
dougie_I'm installing ebox and its doing the config....it doesn't really explain what it is though. Wondering if this is where I put what IP I want to use to access the config page or what not05:32
RoAkSoAxdougie_, http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html05:33
dougie_ok.... I'm going to install a CLI browser so I can tell you what its asking for cause I still don't really understand what to put in05:36
dougie_CLI IRC client I mean05:36
dougie_it's saying "Please enter the URI of the LDAP server to use" I don't have an LDAP server so does that mean I don't need to worry about it?05:39
MacMattHello, can anyone tell me if ubuntu server allows LAN Booting?05:42
dougie_I'm going to take a guess and say that the LDAP settings do not matter for me05:43
MacMatthow do I setup a server to LAN boot?05:44
MacMatt..anybody?...05:45
* Kamping_Kaiser slaps macmatt for being a twit05:51
MacMatt...anybody here?...05:55
Kamping_Kaiser...05:56
Kamping_Kaiserafk for 3005:56
nxvlinfinity: can you take a look at Bug #22937406:21
uvirtbotLaunchpad bug 229374 in sbuild "Please merge sbuild 0.57.2-1 from debian (sid)" [Undecided,Confirmed] https://launchpad.net/bugs/22937406:21
nxvlinfinity: i have left a message for you inthere06:21
RoAkSoAxo/ nxvl06:22
nxvlRoAkSoAx: go sleep06:22
RoAkSoAxnxvl, don't feel like... u go :P06:22
dougie_hmm.... well server seems to be running rather well with ebox :) Now I need to figure out how to make public folders that any computer can use. Like music, video, picture folders06:25
dougie_although somethign a bit strange says there is 62.98gb's available but I only have 3 18gb SCSI drives in the server at the moment and they are running raid 506:26
dougie_it's osx so maybe thats the space on this computer and the space on the server together that I can use?06:27
infinitynxvl: config.sub and config.guess are updated when the package is built, it's just cruft.  Don't worry about it.06:42
=== ewook_ is now known as ewook
* delcoyote hi09:29
dfadjoin #ubuntu10:45
dfadHi, does anybody know the easiest way to install DNS in my ubun.server???10:55
\shapt-get install bind9 ??11:03
\shif you mean dns server...11:04
* faulkes- yawns12:08
ichatgreetings yall - i have 2 quistions... to get started...  1> are there any gui-based utils for ubuntu-server   2> does ubuntu-server by default support setting it up with  software-raid?12:32
ichatsome people sugested stuf like installing gnome or sutch, but thats absotuletly not what im looking for...12:34
faulkes-but "gui-based utils" do you mean something like webmin (which is not supported by ubuntu)12:37
faulkes-the webmin equivalent in ubuntu would be ebox12:37
faulkes-and yes, by default software-raid is supported12:37
faulkes-well, actually, I'm not sure on the last point, I know it supports LVM out of the box12:38
faulkes-but if you're looking to configure raid10 or some such, that may require additional config work after the base install12:38
ichatim looking to instal ubuntu on a mobo that connects 6 pata and 4 sata disks..  in raid 5 or multiple raid 5 arays...12:41
faulkes-you would be best to do the base system install and then create the arrays as you see fit12:42
ichatand would wish to managage and install my server somewhat like the desktop altern image (so i dont care for the fancy stuf but  i do need some sort of help getting it all on track... (i hope that epox - not seen that yet?? ).. will help12:43
faulkes-ebox will generally help you but it is by no means a replacement for underlying knowledge of the packages themselves12:43
faulkes-if in doubt, always refer to official documentation at help.ubuntu.com (iirc that is the site)12:44
faulkes-and of course, always feel free to come here and ask specific questions12:44
\shichat: you can install by default on sw-raid...but it only makes sense, if you have less disks to use raid on...when you have a lot of sata crap, you should think about a good sata raid controller12:45
\shichat: it will safe cpu power ;)12:46
uvirtbotNew bug: #229529 in samba (main) "Nautilus hangs with smb" [Undecided,New] https://launchpad.net/bugs/22952912:54
ichat\sh - prob is that i want to combine the  4 sata drives with 6 pata drives (all ar 200gb in size)13:19
\shichat: ugh13:20
ichatugh - why?13:20
\shichat: you can try with sw-raid depends on what you want to do.. just for space, it's ok...when you want speed, I wouldn't go with it13:21
ichatwell i tried to looking a 0channel-raid adapter - but it seems there aren't many of those13:24
ichat- m m13:25
\shichat: well, i have several machines with areca here...works very well...sata drives, but sas backplane ... works ;) don't ask me how ;)13:30
ichatlol there is no dif in sas v/s sata  - only the way the ar handled13:39
ichaton big dif is the life-span / solidness  / stability of the certain drives13:39
ichatbut the areca are supposed to be for scsi right?13:41
\shichat: no...sata13:47
\shichat: the fastest raid6 sata controller we know13:47
\shor s/we/I/13:48
ichatdoss it support the onbord conects as well?13:48
\shichat: well, it has special cables for connections..our areca support 4 drives per backplane...so it has 4 backplane adaptors13:50
ichatah i see13:53
ichatthat ebox thingy - it looks quite nice13:54
stickystylehow suitable is the kvm implementation in 8.04 for hosting servers?  I'm fairly well versed in VMware but I am always trying to learn new things, but from all the how-to's on kvm/virt-manager they seemed to be focused on virtualizing desktops.14:28
mathiazstickystyle: not really - kvm/libvirt works well on servers.14:31
mathiazstickystyle: virt-manager is the only piece of software that requires an X server.14:32
mathiazstickystyle: and it can be used from one workstation to manage multiple kvm servers.14:32
stickystylemathiaz: so I'm not going to be wasting my time making test virtual servers (and maybe real servers) with kvm/libvirt?  I was just concerned that it was a product similar to VMware player / desktop, which would be foolish to run servers under.14:34
* stickystyle has only just started reading about kvm14:35
mathiazstickystyle: not at all. kvm/libvirt-bin doesn't require any X environment.14:35
stickystylemathiaz: Nice.  thanks, looks like I have a new project at work now :-D14:36
mathiazstickystyle: if you're running out of projects, I'm sure I can find some Ubuntu related one ;)14:36
* \sh could need a paid ubuntu related project too ,-)14:37
stickystyleI've been wanting to dedicate more time to ubuntu as a whole, but so far have just been able to donate forum time and little tweaks to the wiki.  I've been looking for a package to help maintain that excites me and I can stay behind, but all the ones I use day to day are pretty well spoken for, and I'm not sure what more I can contribute.14:41
stickystyleAs the folks that do maintain them are light years beyond my knowledge.14:42
mathiazstickystyle: Have you looked at the GettingInvolved page from the Server Team ? https://wiki.ubuntu.com/ServerTeam/GettingInvolved14:43
Koonstickystyle: don't believe that, they all started like you :-)14:44
stickystyleHum, hadn't really looked at the SeverTeam (browsing it now) page...I'm going to have to spend some time digging through as there are are a few things there I think I can do, thanks for the link.14:50
nealmcbstickystyle: thanks - hope you find something interesting :-)14:51
ichat \sh really -15:11
ScottKstickystyle: You don't happen to use clamav do you?15:12
stickystyleyes, I do have it installed on my mail gateway.15:13
ScottKstickystyle: If you are looking for a way to contribute we need help with testing new versions of clamav.  Let me get you a couple of links ...15:13
stickystyledon't really 'use' it much since we are a linux/OS X office so its more there to catch 'virus spam'15:14
stickystylebut sure, I can look.15:14
ScottKhttps://wiki.ubuntu.com/MOTU/Clamav and https://launchpad.net/~ubuntu-clamav15:15
ScottKstickystyle: How do you integrate clamav into your mail gateway?15:15
stickystyleamavis-new15:15
tritonxHi, can anyone help me with RAID1 ?15:16
nijaba!ask tritonx15:17
ubottuFactoid ask tritonx not found15:17
nijabatritonx: don't ask to ask15:17
tritonxok, http://www.howtoforge.com/set-up-raid1-on-a-running-lvm-system-debian-etch-p2, I used that tutorial, and I'm stuck at step 515:18
tritonxMoving Our Data To The RAID Arrays, the command pvmove gives that  sudo pvmove /dev/sda5 /dev/md115:18
tritonx No physical volume label read from /dev/sda515:19
tritonxPhysical volume /dev/sda5 not found15:20
tritonxany ideas ?15:21
tritonxshould I try it from a LiveCD ?15:22
ScottKtritonx: Does /dev/sda5 exist15:25
tritonxyes15:25
tritonxwhat do you mean, in what form whould it exist ?15:26
tritonxfrom fdisk: /dev/sda5           18706       19457     6040408+  fd  Linux raid autodetect15:28
zulkirkland: might as well open a bug in apache as well at issues.apache.org15:45
kirklandzul: perhaps, but I don't think the problem is in the apache source, i think it's in the openssl library that mod_ssl is built against15:47
kirklandyum15:49
ScottKdpkg?15:50
kirklandnah, literally "yum, this is good coffee"  :-)15:53
ScottKOK.  I thought it way a package management thread.15:56
krautmoin15:58
Kamazehi18:11
KamazeTo be straight forward, we freshly installed our new Rootserver with Ubuntu 8.04 minimal (64bit) with 2 HDD's in a Soft Raid1. Ubuntu is installed on /dev/md1 and LVM with PV on /dev/md1 with the volume group XEN18:13
KamazeThe base system runs without Problems, but when we try to Boot the Xen Kernel from the metapackage server-ubuntu-xen, there is some trouble18:14
KamazeThe machines is pingable, but SSH login fails imediatly, with Connection Refused18:14
KamazeWhen booting the default kernel, everything works fine18:15
KamazeIn Dmsg.log is nothing useable....18:15
ivoksboot xen kernel and check if ssh service is running18:15
ivoksthen try ssh localhost18:15
MastacheataServer is only remote accessable via ssh18:16
KamazeMastacheata can tell you more18:16
MastacheataConnecting from remote to running/or not running xen kernel provides me with connection refused18:18
MastacheataOnly way to diagnose what's happening is possible from remote or via mounting the disk in rescue system18:19
ivoksKamaze: are you sure ssh service/daemon is running?18:20
Kamazeivoks, Mastacheata is the guy you should talk with, i didn't notice that he was here18:21
KamazeWe're talking from the same server :)18:21
MastacheataWhen booting other parallel installed kernels (ubuntu-minimal) ssh and everything works fine18:22
ivoksok18:22
Mastacheataso i can't see any reason why sshd shouldn't be running whithin xen kernel18:22
ivoksMastacheata: you have one ubuntu-server installation with two kernels or you are talking about two different installations?18:23
MastacheataOne single install18:23
ivoksok, could you boot xen kernel now?18:23
ivoksand check if ssh is running (ps ax | grep ssh)18:24
MastacheataI've got no local access to the server so if i reboot server with xen kernel i can't do anything with it18:25
ivoksok18:25
JanCtry putting that line into rc.local or someting   ;)18:25
ivoksbut you have /var/log/syslog, right?18:25
JanCand save the output to a file18:25
Mastacheatasyslog is existent18:26
ivoksyou said you could ping IP, right?18:27
Mastacheatacorrect18:27
ivoksit's hard to find out what happend if you can't boot xen kernel :/18:28
ivoksyou could try a risky thing...18:29
ivoksput '/usr/sbin/sshd -p 1111' in /etc/rc.local, before 'exit 0'18:30
ivoksthat would open ssh on port 111118:30
MastacheataThanks in advance, i've got to make a break, will try your tips and come back later (say an hour or so)18:37
ivoksi'll probably be here18:37
ivoksfeel free to ping me18:37
uvirtbotNew bug: #229654 in samba (main) "muliples crashes after 6.06 to 8.04 x64 upgrade" [Undecided,New] https://launchpad.net/bugs/22965418:51
cyris|anyone know off the top of their head where openldap logs failed login attempts to?19:47
nat2610Hi, I m trying to setup sshd_config to accept the authentification through my rsa pub key19:50
nat2610for now, I copied it into authorized_keys but when I ssh it asks me a ssh password19:51
nat2610what should I change19:51
nat2610?19:51
Deepsyou need to enable public key authentication in sshd_config19:51
Deepsand restart sshd19:51
Deepsand ensure the user that you're trying to ssh in as using the key has perms 700 (rwx------) on .ssh and authorized_keys19:52
Deepsthen you need to make sure that whatever you're using to ssh with knows about the key and knows to try authenticating with it19:52
JanCcyris|: maybe to de auth logs?19:57
JanC(if they don't go to the LDAP logs)19:58
cyris|JanC I just checked there and nothing19:58
cyris|where are the LDAP logs located tho? I don't see anything in slapd.conf that tells me :S19:59
JanCsomewhere under /var/log/ I suspects  ;)19:59
JanC-s19:59
JanCmaybe it also depends on the authentication method where exactly it goes20:00
cyris|Oh right I guess it would20:00
JanC(I've never used OpenLDAP, so just guessing from other daemons ;) )20:02
nat2610Deeps: the pub key authentification is enabled (by default) and the perms are good... I m using ssh on a ubuntu to ssh to my server20:03
=== jjesse_ is now known as jjesse
JanCnat2610: does it ask for the server password or for your key passphrase?20:10
MastacheataHey there I'm back again. Problems still the same (Xen Kernel won't boot [at least i think so since rc/init scripts aren't executed] while the normal ubuntu kernel [parallel on the same system] boots perfectly diagnostics only via logfiles as there is no local access to the server)20:12
JanCalso, make sure to mention the correct user on the ssh commandline (unless it's exactly the same as your local user)20:12
MastacheataI've got no idea where the problem is and how to find any more detailed info on the reason for not booting20:13
nat2610JanC:  the pswd ...20:13
nat2610JanC: the users are the same20:13
nat2610and i double by explicitly chosse user@ip20:14
nat2610double checked20:14
JanCnat2610: and you're sure you're connecting to the right server (no test IP & domain in /etc/hosts or something)?20:15
JanCMastacheata: I guess you could try to configure things to log more...20:16
nat2610yeah I m checking the log of sshd20:18
nat2610so it really see me coming and reject me for the password20:18
MastacheataAny hints on what to log specifically? (e.g. what should write more detailed logs)20:19
nat2610does it help this log ?20:30
nat2610debug1: Trying private key: /home/nat/.ssh/identity20:31
nat2610debug1: Offering public key: /home/nat/.ssh/id_rsa20:31
nat2610debug2: we sent a publickey packet, wait for reply20:31
nat2610debug1: Authentications that can continue: publickey,password20:31
nat2610debug1: Trying private key: /home/nat/.ssh/id_dsa20:31
nat2610debug2: we did not send a packet, disable method20:31
nat2610debug1: Next authentication method: password20:31
nat2610are u able to identify where is it wrong if it's a conf problem ?20:31
JanCsounds like the key doesn't work20:33
JanCmaybe rsa vs. dsa issue?20:33
nat2610JanC: where do I check that ?20:36
JanCcheck what you can use in both systems20:37
yell0w_hey guys is there  a way to test the best repos mirror in CLI ?20:40
=== DedMoroz is now known as Mastacheata
yell0w_nat2610: try ssh-keygen ssh-add and ssh-copy-id20:42
nat2610yell0w_: what do you mean ? I already regenerated my ssh keys to be sure that it wasn't that20:43
yell0w_ok, then ssh-add to add the key to ssh-agent, then ssh-copy-id to send the public key to the remote host and set things up there20:44
nat2610how can I use ssh-copy-id, I can't authenticate on my server with that specific user20:45
nat2610should I scp that via another user ?20:46
yell0w_nat2610: can you do that with password now ?20:46
yell0w_nat2610: no, not with another user20:46
nat2610no, there is no password setup for that user20:46
nat2610I guess I can create one temporary20:47
yell0w_well unless you want to log ito that user's shell20:47
nat2610yell0w_: I did what you said but I still have the smae error : debug1: Trying private key: /home/nat/.ssh/id_dsa20:51
nat2610debug2: we did not send a packet, disable method20:51
nat2610debug1: Next authentication method: password20:51
yell0w_nat2610: can you log in with password ?20:52
nat2610yes20:52
nat2610but the idea is to not use password20:52
yell0w_ssh-keygen -vv -t rsa -b 4098 -C "danang-ssh-key-rsa-user20080503-2008-0504" -f danang-ssh-key-rsa-user2008050320:52
yell0w_something like that20:53
yell0w_to generate a key20:53
yell0w_then ssh-add /path/to/privatekey20:53
yell0w_then ssh-copy-id  user@remoteserver20:53
yell0w_login using password20:53
nat2610what will be the difference with doing a simple ssh-keygen ?20:53
yell0w_done20:53
yell0w_nat2610: specific bits, type,name20:54
yell0w_nat2610: do a man on ssh-add ssh-agent and ssh-copy-id20:55
yell0w_does anyone know of an equivalent to netselect-apt ?20:58
yell0w_:/20:58
yell0w_pointless thing to include in ubuntu when it search for debian repos20:58
ScottKyell0w_: Patches to make it search Ubuntu repos welcome.21:10
ksclarkeWhat do I have to do to get ubuntu server to boot immediately rather than hang at the 'boot:' prompt waiting for a keystroke?21:29
ScottKksclarke: It's actually booting, just it gets ahead of itself and ends up on a different TTY.21:32
ScottKAt least that's the usual situation.21:32
yell0w_ScottK: http://www.ubuntu.com/getubuntu/downloadmirrors  https://wiki.ubuntu.com/Mirrors21:33
yell0w_should i use the first one ?21:33
ScottKyell0w_: I'm gonna go with https://launchpad.net/ubuntu/+archivemirrors - but I'm not certain.21:34
ScottKThat at least looks like it's dynamically updated.21:34
ksclarkethanks ScottK, so I should be able to put this somewhere else, reboot remotely, and still login via ssh?21:34
ScottKksclarke: Should.  As long as you've installed openssh-server.21:35
* ScottK suggests verifying for yourself.21:35
ksclarkethanks21:40
c00l2svhi, did somebody succeed in configuring postfix with dkim-filter ? can that one help me too?23:27
tonyyarussoOkay, bit of a weird upgrade issue.23:36
tonyyarussoI'm using apt-mirror to make a local mirror of the repositories.  I upgraded all of the other machines that rely on it for their packages from 7.10 to 8.04 just fine.  However, now that I'm trying to upgrade the mirroring machine, it tells me "No new release found".  Tried switching it to using the real mirror instead of itself, and it did the same thing.  Any ideas?23:37
aroonihow do i run:  sudo locale-gen en_GB.UTF-8 ... i'm getting:  'locale-gen command not found' .... what should i do (ubuntu hardy)23:55

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