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

pjsturgeonI have a fat-32 drive connected and im trying to set it up as a samba share. i have one user named samba, and i was wondering if instead of making the default user/group for the mount root, if i could set the default user and group as samba using umask and gmask. not sure how to do it00:23
pjsturgeonthat way i dont need to reformat my disk right now to a *nix format to allow it to work totally properly00:23
pjsturgeoni ran $ id and i see 111(sambashare) but thats not the name of my samba user.00:25
shally87hi i want to ask..is it possible to built a dns server when i have a dynamic ip?00:31
=== rgreening_ is now known as rgreening
geniishally87: Thats what ddns services are for00:40
JanCshally87: you can't run a DNS-server on a dynamic IP, if that's what you are asking00:42
shally87genii: so i need to point a ddns server to my dns server?00:42
shally87JanC: owh ok..too sad for that..00:42
geniishally87: Thats the idea, yeah. You also can't be an authoritive dns server00:42
shally87genii: so there is no need for me to built a dns server at the first place unless i want it to have my brand right. Btw how to run multiple website on a single LAMP server? any internet guide that i can use?00:44
JanCwell, you can run a DNS server on a dynamic IP, but it won't work properly  ;)00:44
shally87ok..00:44
LHCshally87, I learned how to do that just here00:44
LHCvirtual hosts00:44
JanCshally87: it's in the apache manual00:44
geniishally87: You might want to pay your ISP for a static IP00:45
LHCI have a static ip, is that good?00:45
shally87LHC: with static ip you can do a lot..but getting a static ip is too expensive for a student..00:46
JanCLHC: if you want to do any serious hosting, a static IP address is a must have00:46
geniiLHC: It makes life simpler for other boxes to find your domain00:46
LHCmine came with one without having to pay more00:46
LHCbut I have no use in hosting at home00:46
shally87LHC: where you live?00:46
LHCuk00:47
shally87LHC: internet speed?00:47
LHC10meg00:47
LHC1mbyte/s00:47
LHCshally87,  why00:48
JanCdownload I guess (upload speed is more useful to know for hosting ;) )00:48
shally87still if run hosting on a 1Mb speed just so slow right..00:48
LHCI know but upload is always less, mines 60kbs00:48
shally87yeah..upload more impotant00:48
shally87huh??00:48
shally87less than 60kbps?00:48
LHCyes upload is a must ofc xD00:48
LHCmine is 60kbytesps00:48
shally87why not optimize that?00:48
LHCLOL00:49
oh_noesDoes anyone know if I can implement a workaround for this vmbuilder bug I've submitted:  https://bugs.launchpad.net/vmbuilder/+bug/33708300:49
uvirtbot`Launchpad bug 337083 in vmbuilder "Multiple --mirror parameters may be required" [Undecided,New]00:49
LHCthats like dialup man00:49
JanCanyway, back on-topic00:49
shally87i still havent get the manual since i install the LAMP server00:50
shally87you got any fast link?00:50
shally87ohoh..00:50
LHCshally87,  you want to know how to vhost00:50
shally87i just check my self..00:50
LHCits easy, k00:50
shally87LHC: I'm using vbox00:50
LHCk00:50
JanCthe apache manual is on the apache site (and on you disk if you installed its package)00:51
JanCand /usr/share/doc/apache2/README.Debian.gz has some useful info too00:51
shally87oh_noes: you arrive in wrong channel i think..00:51
shally87maybe a help in #vmware00:52
shally87ok..00:52
oh_noesshally87: errr, no...00:53
shally87JanC: i'll have to read it first..00:53
JanCmaybe #ubuntu-virt, but not #vmware00:54
shally87gotta go now..thanks for the help JanC & genii00:54
jigglesHi all, does anyone know what should i use to expand a VM that's operating from 2 .qcow2 images?01:04
JanCdefine "expand"01:12
kirklandjpds: "moved"?  it's always been there01:12
jigglesJanC, i ran out of space in the VM and i would like to make it bigger01:13
JanCjiggles: memory, diskspace, ... ?01:13
jigglesJanC, diskspace (qcow2)01:14
JanCI'm not sure you can make qcow2 images larger than intended at creation, but if not you could create a new, larger disk image, copy everything, and then use that image instead of the old one...01:16
=== espacious_ is now known as espacious
hadsJanC: You can convert the images to raw, grow them, then convert back.01:38
hadsJanC / jiggles01:39
twbWhere "grow" means to use a conv=notrunc seek=4G type call to dd.01:41
hadsYeah, there's a few blog posts with instructions that come up in Google01:42
jiggleshads, yeah just saw a couple in google01:45
jiggleshads, have you done this before?01:45
JanChads: you still would have to grow the FS I suppose?01:45
hadsjiggles: No, I haven't personally.01:46
hadsJanC: Yeah01:46
jiggleshads, how would you suggest i grow the FS?01:55
hadsUsing the standard tools for your filesystem, I'm sure one of the blog posts tells you how.01:57
twbresize2fs02:01
twbHowever you'd either do that from within the running VM, or by using losetup to get a /dev/loop0 -- since the .raw file will start with an MBR.02:02
twbI felt really clever when I worked out to use losetup for that a while back.02:02
jigglesactually i did not see that part of it in the blog posts i read (the few i saw were for windows)02:03
jigglesi'm assuming that i just boot in, and run resize2fs as twb said?02:03
twbDoing losetup would be faster, since it'll run in the host environment.  But IIRC growing is O(1) anyway.02:04
hadshttp://www.outflux.net/blog/archives/2008/09/03/kvm-disk-image-filesystem-growth-notes/02:04
twbI wish I could use kvm.  Sniffle.02:04
twbStupid vmware-server is hogging the VT bits02:05
hads:(02:05
* twb grumbles about the lack of libunique 1.0.602:07
twbIncidentally, that totally fucked me over.  Merely *installing* kvm causes the kvm module to be modprobed in the postinst -- which made my entire system hard-lock.02:10
oh_noesIm trying to Intall Ubuntu Server on my Server with Intel Hardware RAID1 Mirror, BUT Ubuntu Hardy is listing all my Drives and not the array I created.   Why is this?04:15
balloh_noes: Is it *real* hardware RAID, or fake hardware RAID (perhaps done in the firmware)?04:16
oh_noesit's Fake, but I still can't use MDADM04:18
ballI don't know what MDADM is, but if it's fake then why not use software RAID?04:18
oh_noesmdadm is linux software raid04:20
ScottKIf it's fake raid, then I'll need some driver to work.04:21
oh_noesI have the driver ... it finds the disks but instead of listing the logical volumes it displays all 6 disks04:22
balloh_noes: I get that too, though I've not tried it on Linux04:22
ballhang on, I'll bring up another xterm04:22
ballIt's been years (literally) since I tried RAID on a Linux box.  I'm not sure how it works there.04:25
JanCoh_noes: my motherboard has such an intel fake raid and I disabled it in the BIOS, maybe yours is too?04:26
JanCoh_noes: the reason I disabled it is that I want to use mdadm (software raid) instead of fake raid though, as that is what everybody suggests (it's more stable & it's faster...)04:27
ScottKYou'll probably be happier on Linux with disabling it (as JanC says) and using mdadm.04:27
oh_noesI have Intel fake RAID, and Ive enaled it.  And i've created a RAID1 OS Mirror to boot from (2 disks), and a RAID10 Data volume (4 disks)04:28
oh_noesbut, inside the installer, it Lists all my 6 disks, NOT the 2 logical volumes04:28
JanCI guess the driver is not loaded (automaticly) then04:29
JanCbut seriously, why use it?04:29
oh_noesBecause I dont want the added overhead of managing mdadm?04:30
JanCadded overhead?04:30
* ScottK doesn't recall any either.04:30
oh_noesIf I lose a drive, will MDADM show up my drive in the server as Red?04:30
oh_noesIf I replace the drive, will it auto rebuild?04:30
JanCfake raid will cause more overhead then linux software raid04:31
JanCthan04:31
JanCthere is a reason why it's called *fake*04:31
oh_noesno .. it's called fake raid because it doesnt have an onboard processir to handle the XOR's04:32
JanCtelling mdadm to rebuild is 1 command (and you can script it, if you really want)04:35
ScottKActually you'll get an email telling you something's failed.04:37
baldarishi05:49
ballhello baldaris05:50
baldarishi..05:56
baldarishey i am using ubuntu hardy as my email server..05:56
baldariswhen i am trying to access my email server from remote hosting via smtp using sasl , i am getting authentication error..05:56
baldarisi have made changes to main.cf05:57
baldarisfile..05:57
giovanibaldaris: #postfix05:57
baldarisyeah05:57
giovaninot here05:57
baldariscan you tell me which channel?05:57
giovaniI just did05:57
giovaniread05:57
baldarisooh05:57
baldaristhanks05:57
ai3nv39giovani,hi,i solve the problem ,useing rescue disk rebuild Grub.05:58
giovaniai3nv39: great05:58
oh_noesUsing Ubuntu Server 8.04.2, if in the installer I create a LVM Mirror thing, does that use MDADM?06:05
oh_noesI want to create a OS Mirror RAID1 (2 disks), then a RAID10 (4 disks) for /data06:06
ballsix disks total?06:10
ai3nv39oh_noes,i used Raid controller Create a System just like you~06:12
ai3nv39not soft raid06:12
oh_noesball, yes06:16
balloh_noes: I'd turn off fake RAID and do it through software06:18
oh_noesI am...06:19
oh_noesDuring the install I selected 'LVM', then selected my 2 disks  iwanted to use06:20
oh_noesHow do I verify I06:20
oh_noesHow do I verify it's confused as a RAID1?06:20
oh_noesI dont have 'mdadm'06:20
hadsLVM is not RAID06:20
oh_noesso how do I deploy a simple RAID1 Mirror OS / ?06:21
* ball wouldn't like to guess.06:22
oh_noesball: so you keep saying dont use fakeraid, but cant point me in the direction of how to actually deploy software raid1 for ubuntu server?06:23
balloh_noes: I've not used Ubuntu Server enough to be able to guide you, sorry.06:24
ballI'm thinking of putting it back on my Dell though06:27
mib_2yfun1a6hi all08:03
=== mib_2yfun1a6 is now known as naymyowin
naymyowin့င08:10
naymyowinhi08:10
uvirtbot`New bug: #339823 in postfix (main) "qmgr process loads the system when using rate_* in custom transports" [Undecided,New] https://launchpad.net/bugs/33982308:45
naymyowinhello08:45
naymyowinanybody help me??08:46
foolanohey guys, are you using any antivirus + samba?08:54
_ruben!helpme08:54
ubottuAvoid your questions being followed by a trail of "Please, help me", "Can nobody help me?", "I really need this!", and so on. This just contributes to making the channel unreadable. If you are not answered, ask again later; but see also !repeat and !patience08:54
naymyowinno08:58
naymyowini have install mail server08:58
naymyowinbut whenever i typed /etc/init.d/networking restart, i got error of posfix08:58
naymyowinhello09:21
=== _Nicke_ is now known as Nicke
MatBoyit seems difficult to log to a fifo file... are there some issues with this kind of logging ?10:35
domasMatBoy: don't10:46
domasMatBoy: fifos are one-process-to-one-process10:47
domasMatBoy: not many-processes-to-one-process10:47
domasMatBoy: if you want scalable logging, use datagrams to unix domain socket10:47
domasthough it will be lossy :)10:48
=== lamont` is now known as lamont
MatBoydomas: but I need to... I need to use it for some mail.* logging11:40
domasI told you why it is wrong11:40
incorrecti've added a user to an ldap group, i get see that they are in the right group in getent group,  but id <user> doesn't show the group,  is there some cache i need to flush?11:41
_rubenhaving syslogd log to a fifo would qualify as one-process-to-one-process (assuming only 1 process reads from it)11:41
MatBoyyep, only one process reads from it11:42
MatBoydomas: so, why shouldn't I use it un such case ?11:44
MatBoy*in11:44
MatBoy(cold hands)11:44
domasthe problem is with how fifo open/close would work11:44
MatBoybut when it's proven to work ?11:46
MatBoyI mean... I need the fifo working, nothing else :)11:46
simplexioMatBoy: fifo is first in first out, when data in fifo is read is discarded, so only one reader can use it11:52
MatBoysimplexio: yes, I only have one reader !11:57
MatBoybut nothing comes in it seems11:57
incorrectand the idiot of the day award goes to me,12:16
domasincorrect: forgot to log out?12:18
incorrectno worse than that12:18
domastried on other machine?12:19
incorrectyou won't guess12:19
incorrectso my ldap server has a group, it has a member of 'user1,user2,user3,etc'12:19
incorrecti wonder who user user1,user2,user3 is exactly,12:20
domas=)12:20
incorrectshould have been "user1","user2","user3",12:20
incorrectit looked right in getent passwd12:20
incorrectbut the username had ,'s in it12:21
incorrecttoo funny12:21
incorrectok next,  i need a semi smart http benchmarking tool, siege doesn't seem good enough as it doesn't pull the 'page' as such just the html contents12:22
domaswhat is wrong with pulling just html :)12:23
incorrectthe images are transcoded12:23
domasmake separate benchmark for that12:23
incorrecti want to simulate real usage12:23
incorrectsee where the system bottle necks12:24
incorrecttoo much dynamic data on the site12:25
thewrathis there a service that i can check to make sure the httpd.conf is configured properly12:35
thewrathin ubuntu12:35
yann2apache2ctl configtest12:36
thewrathok let me set up the server on my lappy toppy lol12:36
jpdskirkland: Before it was mounted as ~/Private, now it's ~/.Private according to df -h.12:40
denndaBrainstorming: I ran my server on my own up to now. Now I want to grant somebody SSH access (non-root). What things should I check beforehand? My checklist currently is this: - Make sure home-folders are only readable by their owners, - Check folder / file permissions, - ... what else?12:40
jpdskirkland: I don't have a ~/Private dir either.12:43
thewrathcoudl someone help me with a apahce config question i know this is not the room for it but maybe someone can help me12:50
storrgiewhat is the name of the remote desktop program so i can add it to my hosts.allow file?13:00
thewrathwhats a good firewall for ubuntu server?13:01
incorrectI am looking for a website benchmarking tool that can spider a site a couple of levels13:04
incorrectregression testing on a single script is not what i want13:04
krautmoin13:07
twbincorrect: wget?13:26
twbthewrath: iptables.13:26
incorrecttwb, err no something more like siege13:26
kirklandjpds: ~/.Private has always been the underlying directory that contains the encrypted data13:56
kirklandjpds: you can mount that on top of whatever you want, by editing ~/.ecryptfs/Private.mnt13:57
kirklandjpds: the two supported/official mountpoints are $HOME/Private and $HOME13:57
kirklandjpds: the former i refer to as "encrypted-private"13:58
kirklandjpds: the latter, is encrypted-home13:58
denndaSome more recent versions of openssh allow chrooting a user (or a group of users). Does that approach *easily* allow granting that user permission to use binaries like wget or others that I did not copy into his chroot? (I want to chroot a user, but don't want to restrict access to scp/sftp only and don't want to copy binaries)14:20
jpdskirkland: OK; Private.mnt has ~.14:22
jpdskirkland: So, if I put data into ~/.Private - what happens to it?14:23
kirklandjpds: very bad things14:23
kirklandjpds: you want to write through your encrypted mountpoint to ~/.Private14:23
kirklandjpds: if data gets written to ~/.Private that didn't go through ecryptfs, it's not going to know what to do with it when it tries to read it14:24
kirklandjpds: and you'll get some nastygrams in dmesg14:24
jpdskirkland: Hmm, OK.14:24
jpdsThanks.14:24
kirklandjpds: what are you trying to accomplish?14:27
kirklandjpds: encrypted home?  or encrypted private?  or encrypted nothing?14:27
jpdsencrypted private.14:28
kirklandjpds: okay, after installation, you run 'ecryptfs-setup-private' as your user14:29
kirklandjpds: it should walk you through it14:30
jpdsOK, thanks.14:30
pirrohhi there, 8.10 server, trying to use a 3TB raid5 configuration. if I don't create a 3TB partition, the remaining space is flagged as unasable. Is there something I'm missing or could it be a bug?14:52
thefishpirroh: have you tried using lvm?15:13
domasghm16:00
domasinteresting16:00
domasI have a server that crashes from time to time, and now I realized kswapd is doing bad stuff there (like here http://p.defau.lt/?Uf1T62Y4gyr_QSsIihQf4w )16:00
domasseems to be another kernel memory leak16:01
domasah, thats 2.6.28, probably not much ubuntu issue16:01
uvirtbot`New bug: #339966 in dovecot (main) "dangerous action: dovecot-postfix force-installs new conf file" [Undecided,Incomplete] https://launchpad.net/bugs/33996617:41
furicleCan someone tell me what 'cat /etc/lsb-release' looks like on hardy server verbatim?19:18
giovanifuricle: http://www.pastebin.ca/135672719:28
giovaniwhy would it be a different format than any other release?19:28
furicleThank you. My memory is playing tricks on me.  I thought -server had a different release file than desktop/alternate installs...19:29
giovaninope19:31
giovanithat's why there's no -server repository19:31
giovaniit's just a question of which kernel you install, and what packages are installed by default19:31
=== cjwatson_ is now known as cjwatson
=== bromic94 is now known as thewrath
thewrathhey all21:04
thewrathwhat would i use to install a gui on the server21:05
jmedinathewrath: it depends of what you want21:06
thewrathjust a gui itnerface21:06
jmedinathere is only X, twm, gnome, kde21:06
thewrathwhich one woudl you reommend jmedina21:06
jmedinaor what kind of gui?21:06
thewrathwhcih one is the best21:06
jmedinaI never use graphics in my servers, only ssh+bash+screen21:06
thewraththis is for a guy at the school i am implementing my senior project at21:06
thewrathoh ok21:07
jmedinaof course I use web interfaces to manage some services, but they are specific for the services in my server21:07
thewrathhe is trying to use the server as something to help with imaging21:07
thewrathbc zenworks is not likeing vista21:07
jmedinaso, it depends wheat you want to do in the GUI21:07
thewrathjmedina: what services you are running if you dont mind me asking21:08
jmedinafor my desktop I use KDE (kubuntu)21:08
thewrathoh ok21:08
thewrathi am interested in what others run on their ubuntu server21:08
jmedinafile servers, webservices, mail, ldap, dhcp, dns,21:08
jmedinaand a lot of web applications21:08
thewrathweb applications such as ?21:09
thewrathlike phpnuke is that what you mean21:09
jmedinawikis, CMS, CRMs, blogs, system admin, EBOX, Mandriva Directory Server, sarg,21:09
thewrathCRMS and EBOx?21:09
jmedinavtiger, sugarcrm21:10
thewrathwhat do they do21:10
thewrathnever heard of CRMS and Ebox21:10
jmedinaebox-project21:10
jmedinaCRM = Customer Relationshipt Managment21:11
jmedinaebox is a web interface21:11
thewrathoh ok21:11
thewrathoh i think ih ave that21:11
thewrathwhat CRM do u use21:11
thewrathany free versions?21:11
jmedinato manage servers, it runs on ubuntu21:11
jmedinavtiger, sugarcrm21:11
jmedinahere, in my job vtiger21:12
thewrathyou like vtiger?21:12
jmedinayeap21:13
jmedinait is integrated with our IP PBX asterisk for clic2 call21:13
thewrathoh ok21:13
thewrathwhat is mandriva directory server21:14
jmedinaa web interface to manage LDAP accounts for mail, proxy, samba, dhcp, dns21:14
thewrathoh ok21:14
ivoksopen ldap?21:14
jmedinayeap21:14
thewrathi have nothing to use ldap with i wish i did21:15
jmedinawell I use it to manage accounts in OpenLDAP, of course in ubuntu hardy servers21:15
thewrathfor vtiger to get it sudo apt-get install vtiger?21:15
jmedinahttp://tuxjm.net/docs/cursos/Samba+OpenLDAP+PAM+NSS-4Ubuntu/html/21:15
jmedinait is my howto for ubuntu (in spanish)21:15
thewrathoh okay21:16
thewrathi think i found the install guide from their site21:16
jmedinathewrath: I never install web application from apt, I always download from upstream and install by hand, because I want to have the latest21:16
thewrathoh ok21:16
thewrathjmedina: but you would install kubuntu-desktop over server if u had to?21:16
jmedinabut htat is my choise21:16
thewrathwe did that with ubuntu-desktop and it didnt load the desktop just the command line21:17
jmedinathewrath: kubuntu-desktop nop21:17
thewrathnop?21:17
jmedinaI prefere something light, like windowmaker21:17
jmedina:D21:17
jmedinaor sometimes I only export DISPLAY or use ssh X forwarding21:17
thewrathokay we tried wtih ubuntu-desktop and it didnt load the gui at all only the command line, any idea why21:17
jmedinastart GDM21:18
jmedina /etc/init.d/gdm start and change to TTY721:18
jmedinabut, fist, install gdm (Display Manager)21:18
jmedinaor start X by hand with "startx"21:18
thewrathso install gdm first and then kubuntu-desktop21:19
jmedinano21:19
jmedinainstall gdm21:19
jmedina /etc/init.d/gdm start21:19
jmedinaand login21:19
thewrathi did that as well after i removed ubuntu-desktop21:20
jmedinawell you need ubuntu-desktop in order to use  GDM21:20
jmedinaif you install kubuntu-desktop you can use KDM (kdm package)21:20
thewrathso install gdm and ubutnu-desktop or kubuntu-desktop21:20
jmedinagdm is the graphic login manager21:20
thewrathoh ok21:20
thewrathso install gdm and ubuntu-desktop21:21
jmedinafor GNOME, KDM is for KDE21:21
thewrathrigh21:21
jmedinayeap21:21
thewrathand then run /etc/init.d/gdm start21:21
thewraththen resetart?21:21
jmedinafor servers I prefer to use startx, I dont want to have a X enviroment all the time, only when it is needed, but is started on demand with "startx"21:21
jmedinathewrath: there is no need to restart a servre21:22
thewrathok21:22
jmedinastart gdm, and login via GDM21:22
thewrathoho k21:22
jmedinajust doit21:22
thewrathso ubutnu desktop and gdm got it21:23
thewrathi haev to do it at work bc it will take like forever on my net connection to do it so i have to wait till i am in at school21:23
jmedina"bc"?21:24
jmedinathewrath: copy yoiur /etc/apt/archives to the other machine21:24
thewrathbecause21:24
jmedinaor use a I to create a CD /ISO from your cached packages in /var/cache/apt/archives/21:24
thewrathuse a I?21:25
jmedinaapplication21:25
jmedinadont remember the name21:25
thewrathoh ok21:25
jmedinahere I only use dpkg --get-selections , copy /var/cache/apt/archives21:25
thewrathdo the machine with desktop on it cppy the /etc/apt/archive directory to my machine here at home?21:26
jmedinacopy the whole dir to the new machine, then dpkg --set-selections and apt-get upgrade21:26
thewrathi don like copying stuff from one machine to another so what i will do is do it fresh on my machine21:27
thewratho you ever use webmin?21:28
jmedinaI never use webmin21:30
jmedinaI dont need it, and I dont like it21:30
thewrathoh ok21:30
thewrathknow any other good web admin tools like webmin'21:31
Nafallo!ebox21:31
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox21:31
thewrathyea but you haev to configure everything by hand21:32
thewrathwhich somtimes that is not bad21:32
thewrathany others21:32
ivokswe should add a trigger to ubottu21:33
thewrathwat about fluxbox+21:33
thewrathfluxbox?21:34
ivokswhen someone even thinks of webmin, it should paste the ebox text, and kickban the user21:34
thewrathlol thank you ivoks21:34
Nafalloivoks: ubottu as op? no thanks.21:34
ivoks:)21:34
ivokschanserv would be fine :)21:34
jmedinaivoks: that wont help, the user will think his connection failed, and then re-login, and ask again for webmin thinking that his last question was not published.21:35
ivoks:)21:35
jmedinait is my experience with some customers :D21:36
thewrathunless you set it up as ban for webmin'21:36
Nafallojmedina: you kickban your customers?! evil!21:36
jmedinasometimes21:36
jmedinawhen they dont pay21:37
ivoksso... lighttpd doesn't scale on SMP21:37
ivoksit could, we couple of drawbacks21:38
ivokss/we/with21:38
thewrathlighthttpd?21:38
ivokslike... corrupted access logs21:38
thewrathwat21:38
thewrathi installed fluxbox but how do i start it21:40
Nafallostartx21:41
thewrathsays not insatlled i can install it by typoing sudo apt get install xinit21:41
thewrathis that right21:41
thewrathcommand not found21:41
thewrathcan not start /etc/X11/X no such file or directory, aborting21:42
thewrathxinit: server error21:42
thewrath/usr/bin/startx: line 166: xauth: command not found21:42
thewrathwhy do i get that21:43
thewrathi type in starx21:43
thewrath*startx21:43
thewrathany ideas why]21:44
sorenScottK: Just to be sure... If a new upstream release (well, bzr snapshot really, but that's rather beside the point, /me thinks) is a bugfix only release, I don't need to go through the FFe process, right?21:46
thewrathsoren: know why i get errors when typing in startx21:46
sorenthewrath: Nope. I do know, though, that it's off-topic for this channel.21:47
sorenxauth is in xbase-clients, fwiw.21:48
soren...but these sorts of questions belong in #ubuntu, not here.21:48
thewrathwhy in ubuntu when i am running server21:50
giovanithewrath:  because server is not a different product, it's just a set of server packages -- questions involving X-based guis belong in #ubuntu21:53
ivokssoren: i'm testing web servers in kvm... any idea why i would get very bad results in side kvm (i use virtio for disk and nic)?21:54
ivoksinside21:54
sorenivoks: Which version?21:54
ivokssoren: both host and guest are jaunty21:54
sorenDisk image type?21:55
ivoksfile21:55
ivoksqcow221:55
ivoksi don't think it's disk, since CPU is almost idle, at least there's no iowait21:56
jmedinais KVM recommended for productions servers?21:57
jmedinaI always used paravirtualized servers with Xen21:57
hadsWorks for me21:57
jmedinaif fact, fully virtualized always gave poor performance compared to para-vir21:57
sorenivoks: On the host, you mean?22:00
ivokssoren: on guest22:00
ivoksguest's cpu is 50% sys, 50%idle22:00
olcafoI've been using KVM in production enviroments running a webserver and email server for 20 or so users since 7.04. It has worked flawlessly for me.22:01
sorenivoks: I'd try an lvm backed solution and see if that makes a difference. I'm not convinced you'd see the qcow2 performance overhead or lag exposed in any way in the guest.22:02
ivoksinteresting...22:02
ivoksat some point, siege stops requesting pages from guest22:02
ivoksand web server on guest just idles22:03
ivoksit's like there's no communication22:03
ivoks'lag' describes this perfectly22:03
ScottKsoren: If it's bugfix only, no FFe is needed, just document what you did in a bug (if there isn't one already) and close the bug in debian/changelog.22:11
sorenScottK: Thought so. Thanks for clearing that up.22:11
* soren goes to upload22:12
ScottKyw22:12
nat2610Sorry for my question that isn't related to CentOS but strickly sysadmin. I don't know where to ask it... it's a best practice question: I have a 3ware raid controller with RAID1 cluster and 1 of the drive is degraded, I'd like to replace it and do it as fast as possible. My idea is to shutdown the machine swap the drive restart it and recreated the raid after the machine reboot and is running again (to limit the dow22:16
nat2610ntime). Is it better to remove the drive from the unit (software) before shutding down the server or it doesn't matter. I'm hopping to have an automatic rebuilding after the boot22:16
hadsCentOS?22:16
hadsPasting around the place are we22:17
ivokswhy just not hot swap it?22:17
ivoksyou don't have to remove the driver in 3ware application22:18
ivoksif you can't hot swap it, shut it down, replace the disk, and power it up again22:18
ivoksthen rebuild it trough tw_cli22:19
nat2610ivoks, there is no hotswap rack22:19
olcafoI've done this a few times with the 3ware controller, you can hot swap or shut it down like ivoks suggested. one it replaced the RAID should start rebuilding by itself.22:20
olcafo*once its22:20
ivoksi love 3ware and its tools22:20
nat2610olcafo, that's what I m hopping22:20
ivoksand after your raid is synced22:20
ivoksyou should format the disk and put ubuntu on it22:20
olcafoyou will get significant preformance hit while it rebuilds though... I usually remove network access from the users while this happens.22:21
nat2610olcafo, bad performance is ok ... downtime not really ...22:22
ivoksright, cache is off22:22
Nafalloolcafo: you can't tweak the rebuild priority on 3ware?22:23
olcafoI'm paranoid and downtime is acceptable in this setting.22:23
ivokswell, if you can't hot swap, you don't have a choice22:23
olcafoNafallo, can't say I've ever seen that option.22:24
Nafalloolcafo: hm. oki. thanks.22:25
ivoksrebuild priority?22:25
ivoksthe thing is that 3ware disables cache on write during rebuild22:25
ivoksthat's why performance is worse than when raid is complete22:25
olcafomakes sence.22:25
ivokstw_cli is my favourite non-free application22:26
Nafalloivoks: sure. that's sensible, but some controllers allow you to set the priority the rebuild will have over normal system tasks as well.22:27
ivoksi know22:27
Nafalloyou're kind of supposed to be able to use systems duing rebuild :-)22:27
ivokswell, you are22:27
ivoksthe system isn't unusable22:27
ivoksit is just slower cause write cache is off... it's like normal disk22:28
ivokswhen raid is ok, you have write performance of 150MB/s22:28
ivokswhen degraded, it's 20MB/s22:29
ivoksits22:29
ivoksit's22:29
ivoksbah22:29
ivokswell, write speed depends on amount of RAM on controller22:29
Nafallofair enough22:30
olcafoI'm assuming write cache is turned off because the RAM is being used to rebuild?22:31
ivoksprobably22:32
ivoks'night22:36
pjsturgeonanyone found a good guide (or wanna guide me through) how to resize and create partitions in ubuntu command line?22:41
pjsturgeonthey are all slightly confusing for my current state or using gui;s22:41
olcafopjsturgeon, what are you trying to resize?22:47
pjsturgeoni have a 500gig drive with 250gig of content. its currently fat32 and i need to convert it to something more samba friendly like ext322:47
pjsturgeoni was gonna slice it down the middle and format half the drive as ext3 then copy the content accross22:48
giovaniwow, you really don't have a second drive?22:48
giovanidoing it the way you want is messy22:48
pjsturgeoni did...22:48
pjsturgeoni formatted it in ext3 about 20 minutes ago22:48
pjsturgeonwent to get a fresh can and drop kicked the damn thing accross the room. darn usb enclosure!22:49
giovaniso copy the files there?22:49
pjsturgeonnow it beeps :-/22:49
olcafoI'm not a big fan of resizing partitions, although I have done it once successfully with NTFS (using the gui :P)22:49
pjsturgeonahh its only a bunch of media files, im not TOO bothered if it all dies (no crying but a little swearing)22:50
pjsturgeonre-downloadable, etc. so... how to resize?22:50
olcafoI've done it with the gui tool qtparted. Not actually sure how to do it command line..22:50
pjsturgeonahh, will put my 500giger into the usb enclosure and try not to knock it accross the room. cheers guys :)22:51
olcafohuh, the CLI tool is called "parted", go figure. http://www.gnu.org/software/parted/manual/html_mono/parted.html22:53
pjsturgeonha! who'd have thought22:53
pjsturgeoncheers :)22:54
mathiazbdmurray: let me introduce https://wiki.ubuntu.com/DebuggingOpenldap - for reviewing pleasure...23:02
* bdmurray claps23:03
pjsturgeonanyone had any luck resizing a fat32 partition with parted?23:19
pjsturgeon(parted) resize 1 0 23552023:19
pjsturgeonError: Unable to satisfy all constraints on the partition23:19

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