/srv/irclogs.ubuntu.com/2011/06/24/#ubuntu-server.txt

=== change_your_nick is now known as joeylockie
ujjainis there an ubuntu server netinstall?00:11
SpamapSujjain: yes!00:15
ujjainSpamapS: mini.iso?00:15
SpamapSujjain: https://help.ubuntu.com/community/Installation/Netboot00:16
SpamapSujjain: also if you need to do more than 1 or 2, you can use Orchestra00:16
SpamapSujjain: but thats only barely available in 11.04, and really slated for "awesomeness" in 11.1000:16
ujjainI don't use tftp.00:17
ujjainhehe, Ubuntu is realy getting pretty awesome even for servers00:17
SpamapSujjain: if you can put physical media in, you may want the minimal.iso00:17
ujjainI'l l use the mini.iso, it's just a testserver anyway00:18
ujjainlet's just hope I don't have a GUI00:18
ujjaink, that went wrong I think ^^00:20
dhon_hi all, does anyone know of a way to kill an active TCP socket? I'm trying to test what happens when a client connection drops out00:25
SpamapSdhon_: iptables can simulate it00:25
dhon_from the command line that is (not within the app)00:26
dhon_SpamapS: I haven't used iptables before, could you elaborate?00:27
SpamapSdhon_: well you could make it drop packets or refuse connections..00:29
dhon_SpamapS: do you know if it will apply to active connections, or only future ones?00:30
SpamapSdhon_: its very low level, you can add/remove rules00:31
SpamapSdhon_: what exactly are you trying to test though?00:32
SpamapSdhon_: sounds to me like what you want to do is something like   iptables -I INPUT -p tcp -s remote-host --port 44444 -j DROP00:33
dhon_I have a service that opens a TCP socket to a server (my service is a client here)00:33
dhon_after some long period, my services is not communicating with the server anymore00:33
dhon_I would like to test if the connection being dropped produces similar results, as it's not generating any helpful log messages00:34
SpamapSyeah, iptables (a firewall, btw) would be useful for that00:35
dhon_SpamapS: cool thanks, I'll read up on that iptables command00:35
dhon_SpamapS: sounds like what I want00:35
dhon_one more thing, will I need to reverse that command in the future to reallow connections again?00:36
SpamapSdhon_: yes00:43
dhon_just replace -A with -D?00:44
SpamapSyep00:45
dhon_oh sorry, not using -A00:45
SpamapSnote that I used -I .. to put it at the top00:45
dhon_I see, thanks for the help SpamapS00:45
uvirtbotNew bug: #801375 in samba (main) "package winbind 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/80137500:51
tucemiuxhey what logs should I be checking on my server ?01:37
=== medberry is now known as med_out
joeylockie hello am seting up a server mostly for my family to use and am planing on instailing the server with a full desktop environments (which one yet i dont know) but in order to do this do I need to install any of the preedefind collections of software in the server installer? or is it possable to istall them (if I fiond out I need them) later?02:20
Datzjoeylockie: the main difference between the server and desktop install is the kernel as far as I know.02:24
DatzSo you may just want to go with the Desktop verison02:24
Datzthat way you won't have to install the desktop environment02:24
joeylockiein the desktop am I ablo=e to add apahice and what not easyly?02:25
Datzyes02:28
Datzmore easily if you are not familiar with the command line02:28
joeylockieok I will look into that thanks02:29
twbWhile you *can* set up a desktop on your server, it is not recommended02:35
ntoombsqman__: you there?03:00
ntoombsdoes this forum help with routers?03:02
=== Nigel_ is now known as G
ntoombsi've configured my ubuntu server to connect to my router with a static ip address03:03
ntoombshowever when i go into my router and check for attached devices i see my server but it has a different ip address03:04
ntoombsit's not even in the same range03:04
ntoombsmy router is 192.168.2.103:04
ntoombsand the device showingup is 192.168.254.11503:04
ntoombsi have my server set to 192.168.2.11903:05
ntoombsi did at one time however have my server's static ip address set to 192.168.254.115 awhile back but i don't know how that could have been stored anywhere on my server so i'm assuming its a problem with my router03:05
ntoombsor with my modem which is now in briged mode03:06
ntoombsdoes anyone think they could help with this problem?03:06
=== guampa1 is now known as guampa
=== Jasonn is now known as JasonnAWAY
=== pr0gg3d_ is now known as pr0gg3d
=== NG_ is now known as ng_
=== ng_ is now known as NG_
jkupSup07:38
jvargashello. a quick question, are there identified issues or considerations to run ubuntu servers under hyper-v virtualization platform?09:01
jamespageDaviey: please can you give me an opinion on bug 80103809:45
uvirtbotLaunchpad bug 801038 in libvirt "libvirt-bin can not check the correct status of libvirtd " [Undecided,Invalid] https://launchpad.net/bugs/80103809:45
Davieylooking09:47
jamespageta09:48
Davieyjamespage: I don't think this is something that will be addressed in Ubuntu.  I agree that libvirtd should check for an existing process, and exit gracefully.09:49
DavieyI would consider it wishlist and confirmed.09:49
DavieyI'm not sure i see the overwhelming concern tho :/09:50
jamespagethat was my  thinking; it would be possible to put a check into the upstart config tho09:50
jamespagebut I agree its a bit of an edge case09:50
jamespagemarked as so09:50
Davieyjamespage: Yeah, just for reference checked to see what apache2 does in the same situation09:54
DavieyIt is better handled.. as in the pid is tracked.09:54
=== skrewler_ is now known as skrewler
jamespageIt would make a nice server papercut some someone to work on09:55
Davieyjamespage: good thinking!09:57
uvirtbotNew bug: #727342 in open-vm-tools (multiverse) "FFE: open-vm-tools kernel module failed to build" [Critical,Fix released] https://launchpad.net/bugs/72734210:27
* RoyK += 0xc0ffee11:10
uvirtbotNew bug: #801496 in postfix (main) "postfix postmulti cannot open dynamicmaps.cf" [Undecided,New] https://launchpad.net/bugs/80149611:11
uvirtbotNew bug: #801501 in nova (universe) "[MIR] nova" [Undecided,Incomplete] https://launchpad.net/bugs/80150111:22
Ursinhagood morning people12:17
jamespagemorning Ursinha12:36
sommer1Woo, Friday!13:02
=== NG_ is now known as ng_
=== ng_ is now known as NG_
=== JasonnAWAY is now known as Jasonn
hallynDaviey: regarding MIR for 'gpxe or ipxe' - note that ipxe is now in debian.  Can we just sync that?14:15
hallynDaviey: also, I don't understand why I don't show up on http://status.ubuntu.com/ubuntu-oneiric/group/topic-oneiric-server-overview.html14:16
Davieyhallyn: are you in ~ubuntu-server?14:31
hallyn?14:32
hallynDaviey: what do you mean?14:32
Davieyhallyn: so gpxe or ipxe is tricky... I've left that one for now, because ipxe is a fork.. and a better one IMO... but we need to make sure.14:32
Davieyhallyn: the ~ubuntu-server launchpad group14:32
hallynoh14:32
hallynpretty sure14:32
Davieyhallyn: i just added you14:33
Davieybut that might not be the cause14:33
hallyndebian went with ipxe, and was hung a long time on the gpxe ITP, so it seems like we should follow them.14:33
hallynmind you i've not looked at the source at all14:33
Davieyhallyn: so the -overview topic isn't yet complete.  I think it is still missing some blueprints.14:33
Davieyhallyn: I'd prefer ipxe i think... especially as it is already a build dep of xen in main! :)14:34
Davieybut zul added support for gpxe in cobbler.14:34
DavieySo zul probabyl needs to update to ipxe for that to proceed.14:34
zulDaviey: yeah probably14:34
hallynsince ipxe is a fork, that shouldn't be too hard to port right?14:34
zulnah14:34
zulvi s/ipxe/gpxe/g :)14:35
hallynDaviey: anyway, my prodding on the overview page was just bc I don't see any place where I was assigned to MIRs.  Not that I mind, I'd like to get lxc working with cgroup-bin today :)14:35
Davieyhallyn: Hmm14:36
hallynso if ipxe is in debian, does a simple sync request suffice, or do we need an MIR still to get it into ubuntu?14:36
Davieyhallyn: is http://status.ubuntu.com/ubuntu-oneiric/u/serge-hallyn.html of use?14:37
hallynDaviey: yeah I recon14:38
hallynfeh14:38
hallyn(feh @ MIRs I see there :)14:38
Davieyhallyn: Are they ok?14:39
hallynodd that i apparently am not on the team14:39
Davieyhallyn: you are not leaving Ubuntu are you? :)14:39
hallynDaviey: not that i know of :)  i'll let you know if iget an email later14:39
hallynDaviey: well, they are in sid it seems.  So I guess it should be less than an hour (i hope) which hopefully is less time than i'll have left after finishing with cgroups :)14:41
hallyn"I'm this close"  -- lol14:42
hallynyou know what'd be nice?  a nice beefy amd box with huge disk, so I can test kvm bugs in a nested kvm environment14:43
Davieyhallyn: That can probably happen14:44
hallyn?14:44
Davieyhallyn: access to a big box.14:44
hallyndavieylabs?14:44
Davieylol14:45
hallyn:)  really, i pay amazon and rackspace for hosting, but they don't have what i need.  you'd think someone would...14:46
Davieyhallyn: yes... someone probably does... but someone needs to check their pm's :)14:46
hallynDaviey: trying a new client, and it errs the opposite way from quassel14:47
hallyncan't find th eright balance between too few and too many notifications14:47
Davieylol14:47
RoyKrotfl - just went by the oracle.com store, and they're offering 'MySQL Standard Edition Subscription (1-4 socket server) (1 Year)' for just $2000 a year...15:17
patdk-wkmuch better than oracle pricing15:19
* RoyK goes to Sahara and sets up a bazar selling sand15:19
omidpcan anyone help me with this page ? https://help.ubuntu.com/community/Xen15:35
slhsenhi, I have a pc with 4  500G sata hard disk. can i install ubuntu-server on one of them and create a raid 5 array on other tree?15:38
patdk-wkif you wanted too15:38
slhsenby the way i'm talking about software raid15:38
mncl-coreif you wanted to, you could indeed15:38
patdk-wkor you could make all 4 of them a raid5, and install ubuntu on them15:38
mncl-coreor you could make all of them raid-10 and get that extra performance;15:38
patdk-wkmncl-core, not really15:39
patdk-wk4 disk raid10 vs raid5 is really the same15:39
mncl-corepatdk-wk: how so15:39
slhsenmncl-core, and loose some disk space right?15:39
patdk-wkraid5 will beat it in fact15:39
mncl-corepatdk-wk: i would like to disagree with that statement. and in fact you also gain extra redundancy15:40
|rt|raid5 will likely be slower at writes...but otherwise I'd expect them to be similar in speed15:41
patdk-wkonly extreemly small random writes15:41
slhsenok another question, lets say I created a raid 5 array with all four disks. and my os became unbootable somehow, will i still be recover my data?15:42
mncl-corert: true, but to state that RAID-5 will beat RAID-10 in fact, is completely false.15:42
slhsen*able to recover15:42
patdk-wkthe statement that raid10 will beat raid5 is false also15:42
|rt|mncl-core: without context of a workload I don't think you can make claims that any raid level is faster than any other raid level15:42
patdk-wkslhsen, you recover it the same way you would recover anything else15:43
mncl-corert: the context was stated that he is attempting to Software RAID, or RAID 4x 500GB Hard Disks15:43
mncl-coremy statement was simple, that he could use RAID-10 and he would get extra performance.15:43
mncl-corewhich is technically accurate.15:44
|rt|given enough disks if your only task is serving files over a 1 or 2 GBit links then at some point it doesn't matter...from a performance point of view15:44
mncl-corert: ahhh very true; but on a technical perspective, there would be a performance gain in other operations; e.g. installing packages, OS Operations, and so on..15:44
patdk-wkgiven my workload, reads and writes of 50-100mb files, raid10 makes no sense, it's slow15:45
patdk-wkgiven my database, yes, raid1015:45
slhsenpatdk-wk, yeah but, if I save one disk for system, i think i can just install os again and my data will be there15:45
patdk-wkgiven an olap store, raid10 is kind of pointless15:45
|rt|mncl-core: but with 4 drives I think they are about equal...you'll start to see a larger difference as the number of drives increases....and if your workload is sufficiently random15:45
patdk-wkslhsen you could do that anyways15:45
slhsenhow so15:46
patdk-wkjust run the installer15:46
patdk-wkit should notice yo uhave raid setup15:46
mncl-corert: i have benchmarked extensively RAID-10, true that workload must be considered and increase of disks. but it remains that even with 4x Disks the performance is increased.15:46
mncl-coreplus the extra redundancy aspect15:47
mncl-coreshould be considered15:47
|rt|on my server here (hardware raid with 12 drives) I did a ton of benchmarks trying to decide between raid 10 and raid 6...at the end of the day the difference was 1GB/s vs 700MB/s15:47
mncl-corert: well i have several RAID-10 SANs for ESX Clusters and I also had a hard time deciding between RAID-6 and 1015:48
|rt|I decided to go with RAID6 and get the slightly better data protection and storage at the cost of the 300MB/s15:48
mncl-corebut ultimately RAID-10 destroyed RAID-5 and 615:48
patdk-wkthe issue with raid5 has always been what happens when a disk is dead15:48
patdk-wknot how it performes when it's 100% functional15:48
mncl-coremind you i am using 24x WD Blacks15:48
|rt|yeah the difference in Mean Time between Data Loss of raid 5 and raid6 and raid10 is hugh15:49
mncl-coreand real adaptec raid controllers15:49
|rt|huge15:49
|rt|RAID10 rebuild times are the fastest and a dead drive impacts it the least though15:50
patdk-wkif my san grows anymore15:51
patdk-wkI'm going switch it from raid10 to raid 5115:52
patdk-wkhmm, maybe that would be raid15 :)15:52
patdk-wka raid5 of many raid1's15:52
mncl-coreit should also be considered that the more drives you had, the greater probability for simultaneous drive failures.15:52
patdk-wkya, raid15 or raid15015:53
|rt|some of the zfs based NAS/SAN solutions are pretty nice...like Nexenta15:55
|rt|ssd cache devices really speeds them up too15:55
mncl-corert: cool find. will look into more, looks interesting. have been using openfiler for a while now15:56
|rt|a good number of the ex solaris devs work for Nexenta now15:57
mncl-corevery cool, seems like it is well maintained and supports emulex targets15:58
|rt|some of the gluster stuff intrigues me too...but it's a very different approach15:59
mncl-coregluster is a very cool product15:59
mncl-corereliable, and when you mix it with an openqrm environment, things can get very interesting16:00
uvirtbotNew bug: #801626 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1ubuntu0.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/80162617:01
uvirtbotNew bug: #801641 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/80164117:21
=== NG_ is now known as ng_
=== ng_ is now known as NG_
=== Ursinha is now known as Ursinha-lunch
=== NG_ is now known as ng_
zulhggdh: hey did you get anywhere with bsdtar yet19:06
tarraschI want my Ubuntu Server to always run a program (in my case a webserver), preferably as a seperate user. So whats the easiest way to add ever-running services?19:09
patdk-wknormally, the normal way, and let the service change uid itself19:11
tarraschBasically the service should fire up by itself at startup, and I should be able to restart it when the server is up.19:11
tarraschso i use my own user that starts a program that switches to another user and keeps running the program I intended?19:11
patdk-wkhmm, root starts programs at startup19:12
tarraschoh ok19:12
patdk-wkand no, normally the program itself that you start, switchs itself19:12
patdk-wkif it doesn't, I might have issues with it's lack of security19:13
tarraschI know my server already startsup apache, I guess I want something very similiar for myself only for my own webserver19:13
patdk-wkwell, apache config file you set the user and group name19:14
patdk-wkonce it gets started, it changes itself19:14
patdk-wkthat is what your program should do19:14
tarraschpatdk-wk, you mean that the webserver Ive written (not me really) should at its initialization switch to a dedicated user?19:14
patdk-wknot at initialization, but normally after that19:15
patdk-wkcause normally they want to bind to port 80, or read ssl keys, that need root19:15
tarraschhmm, I'm gonna run at port 3000+, that doesnt need root, no?19:16
patdk-wkno, ports <1024 need root19:16
tarraschI'll let my apache-server reverseproxy to the other web-server running at 300019:16
tarraschAnd I've run the server "manually" myself succesfully as my own user (not root); and it works fine. Now I only need to "autorun" my program at startup etc.19:17
tarraschsince my progrma is simple I won't need root. Is there a simplified process for setting up services that don't need any root?19:18
patdk-wkguess use su then to start it19:18
patdk-wksu some-user -s someprogram19:19
patdk-wkmaybe?19:19
patdk-wksuch a hack :)19:19
tarraschSounds great, though I still would like to 1. startup as the system boots up. 2. be able to restart it while running. Any ideas?19:19
tarraschI've noticed the 'services' functionality, it seems good though a bit much work to setup something quite simple19:21
tarrasch'su designated_user -s /my/web/server' Seems to work otherwise19:23
x404xHow to replace a failed drive on a 3ware 9500 controller ?19:27
x404xI want it to recognize the drive on the same port the bad one uses19:28
patdk-wkdisconnect old drive19:36
patdk-wkplug in new drive19:37
patdk-wktell 9500 to use new drive as hotspare?19:37
hggdhzul: not yet, but I finished witht the kernels for this week; I will get back to it now19:46
zulhggdh: cool19:47
qman__I'm having a problem with SSH and key authentication20:09
qman__for the purpose of making tunnels, I have one user on an SSH server, and multiple clients, each with their own key to authenticate as said user20:09
qman__this worked great until recently when I started adding more clients, and it's rejecting my keys20:10
qman__what configuration do I need to make on the SSH server to allow more concurrent connections with different keys as the same user?20:11
hggdhzul: I do not see many options -- why was this link created, in the first place? It wasn't there before A120:15
zulhggdh: no idea20:16
hggdhwho would know?20:16
zulcjwatson: maybe20:16
hggdhs langasek says the link can be there, as far as ISO is concerned20:17
qman__ah, nevermind, it was a permission issue buried underneath that20:22
Aisonfunny, how do I install ubuntu server on a HP DataVault X510 ;)  there's no screen20:28
Aisonmaybe I should install the harddrive on a desktop machine and then plug it into the hp device?20:28
=== warzauwynn is now known as warzauwynn|afk
uvirtbotNew bug: #801718 in krb5 (main) "kpropd -S -P <port> fails to use specified port" [Undecided,New] https://launchpad.net/bugs/80171820:35
=== ng_ is now known as NG_
uvirtbotNew bug: #801729 in samba (main) "package winbind 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/80172920:56
macoi just installed mysql-server on my lucid server. i gave it a nice long complicated root password, which i copied and pasted from keepass. then i tried to login with "mysql -u root -p" and pasted in the same nice long complicated root password for mysql...and it keeps giving me denied21:02
mncl-coreof course21:03
mncl-corekeypass is greate21:03
macois it possible there is some parse-fail going on with the nice long complicated password?21:03
mncl-corebut you cannot use special characters21:03
macothere we go21:03
mncl-coreand you cannot use 25 characters' common mistake i've done many times before21:03
macoso how special are they allowed to be?21:03
mncl-corego with upper-lower-num 18 characters21:03
macoor is it alphanumeric only?21:03
macook21:04
macothanks21:04
macoi frequently wish keepass had a "kinda special" and a "really special" checkbox, for those sites that allow @#$%^&*() but not ` " ' £21:06
=== unreal_ is now known as unreal
=== Ursinha-lunch is now known as Ursinha
=== warzauwynn|afk is now known as warzauwynn
wmoxamI can't seem to find xfs_freeze in Oneiric21:37
wmoxamis it moved to a package?21:37
wmoxamnm21:38
wmoxamfound it21:38
RoAkSoAxzul: ping?21:44
RoAkSoAxSpamapS: you might be able to help me.. does it make any sense to tell dh_install init to install the script with defaults, but disabled? (so that daemon never starts on boot unless otherwise specified?)21:46
uvirtbotNew bug: #801761 in postfix (main) "package postfix (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/80176122:02
SpamapSRoAkSoAx: it should use some method *in the script* to be disabled22:15
SpamapSRoAkSoAx: like checking /etc/default/xxxx22:16
SpamapSRoAkSoAx: it should still run, but not start22:16
* SpamapS prepares to leave for the airport22:16
cjwatsonhggdh: what link is this?22:41
cjwatsonoh, I see on #ubuntu-release, bah @ conversations across multiple channels22:42
=== NG_ is now known as ng_
=== ng_ is now known as NG_
=== lullabud is now known as warzauwynn
=== skrewler_ is now known as skrewler
lcbhi. any good phone answering system for 11.04 server? just in case someone knows...23:55

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