/srv/irclogs.ubuntu.com/2009/06/14/#ubuntu-server.txt

AnRkeyhow can i check if a partition is a primary partition?00:57
AnRkeythe partition is ext3 it's my /dev/sdb300:57
foxbuntuAnRkey, what do you mean primary partition? your boot partition?01:06
AnRkeyno it's a second partition here01:06
AnRkeyi am trying to expand an ext3 partition01:07
AnRkeyi'm about to commit the changes and I see they say in the howto that I should delete and then recreate the partition all without a journal01:07
AnRkeyhttp://www.howtoforge.com/linux_resizing_ext3_partitions_p201:07
AnRkeycheck that out and let me know if I'm being a tard for trying this01:08
drurewno comment01:09
AnRkeydrurew, wtf :) u cant say that.... common man, help me out, am i doing something wrong?01:10
AnRkeyor stupid?01:10
AnRkeyu make me worry01:10
drurewAnRkey: srry bro, didnt mean it that way.01:10
AnRkey:P01:11
drurewwell lets say if you can afford to loose your system (you will have to fix your grub) then you should give it a shot01:11
AnRkeythis is just a data partition01:11
AnRkeyi have a full backup01:11
foxbuntuAnRkey, resizing the / is usually not reccommended01:12
AnRkeyit's just going to suck like a black hole through a straw if I have to restore 2night01:12
AnRkeyit's not / it's /media/Data01:12
AnRkey/dev/sdb301:12
drurew-b01:12
foxbuntuAnRkey, you __should__ be able to resize it with gparted from an ubuntu desktop live disk01:12
AnRkeyit fails to create a queued task in gparted01:13
drurewthat is probably a better idea01:13
AnRkeygparted seems to fek out when i try to go 2 large01:13
foxbuntuAnRkey, how large?01:13
AnRkeyanything larger than 1.01 tb01:13
drurew:D01:13
drurewyeah pata?01:13
AnRkeysata01:14
AnRkey4 x 500gb in raid 501:14
AnRkey3ware 9500card with bbu01:14
foxbuntuhrm01:14
AnRkeyso is that howto a bad way to try this?01:14
foxbuntuAnRkey, well...01:15
AnRkeyi tried gparted from an 8.04.2 desktop disc01:15
AnRkeyi was going to maybe try 9.0401:15
drurewtry the gparted live cd01:15
foxbuntuAnRkey, have you tried it on 8.10, 9.04, or 9.10 A201:15
drurewits always good to have01:15
foxbuntu?01:15
foxbuntuor that01:15
AnRkeydrurew, 9.04 version this time?01:15
drurewreal minimalistic so you dont get distracted01:16
drurewis buntu (904) , gparted has their own live cd01:16
* foxbuntu sighs....seems ff just died01:16
AnRkeyfek it, going to try the hardcore way01:16
drurewtell us how it ends01:17
foxbuntuindeed01:17
drurew;)01:17
foxbuntuAnRkey, I suggest going offline with the system01:17
AnRkeyi have unmounted the partition, that enough?01:17
foxbuntuthat should be ok01:17
drurewim telling you man gparted live is super smal and it wont spit out at you man01:18
* AnRkey is going to need a big blunt after this01:18
AnRkeyThey say this in the howto, "Next we create a new /dev/sda1 partition. It was a primary partition before, so we choose p again, and again it is our partition no. 1:"01:19
drurewthink before you fdisk before you fdisk your system into the grave01:19
AnRkeyhttp://pastebin.ubuntu.com/195314/01:20
foxbuntuAnRkey, ah thats normal01:20
* AnRkey thinks some more and then some more01:20
AnRkeyi know01:20
foxbuntuAnRkey, primary is just the part type01:20
AnRkeyi am asking if sdb3 is primary like they suggest in the howto01:20
foxbuntuAnRkey, unless its part of a whole then yes01:20
AnRkeycommon if this borks things i'm blaming u guys :)01:21
AnRkeyfoxbuntu, more...01:21
foxbuntuAnRkey, as in part of a volume group or similar "extended" partitions01:21
drurew#ubuntu-server will not account for any liabilities using fdisk could cause to your system01:22
foxbuntu+101:22
foxbuntuheh01:22
=== asac_ is now known as asac
AnRkeyok you guys have a method using parted?01:22
drurewnot parted01:22
drurewgparted01:22
AnRkeyoosh, ok ok , i get it01:23
AnRkeygoing to try 9.0401:23
drurewgparted will still be the same01:23
drurewif you have the space, creat a new partition suing your live cd and migrate your information to it , after checking it with a md5sum you should then proceed to remove the old partition , merge or expand the other partitions01:25
drurew*using01:25
drurewby the way , i dont see a "data" partition in your pastebin01:26
AnRkey/dev/sdb3            4256      121573   942356835   83  Linux01:26
drurewpaste : df /media/sda301:27
AnRkeywhat about ext2 resize01:29
AnRkeygparted still feks out on my when I go past 1.01tb01:29
AnRkey*me01:29
drurewyou can resize any partition using gparted , as gparted has a non destructive "way of doing things"01:30
drurew*filesystem01:30
AnRkeyhmmm01:30
AnRkey8.10 disc is not helping 9.04 is booting now01:31
drurewyour 8.10 disk maybe shot01:32
AnRkeyoh it never ends!!!! my ubuntu 9.04 disc is stfd, writing another quick01:35
AnRkey8.04 and 8.10 are both booting ok01:36
AnRkey*8.04.201:36
drurewmake a usb boot disk01:36
drurewits cheaper01:36
AnRkeydont have any usb flash sticks here01:36
AnRkeyi have a verbatim rw in01:36
AnRkeyi must admit, ubuntu has been soooo easy to migrate to my new hardware01:37
AnRkeyjust plugged the drives in and it simply worked, ok ok i had to set my nic up again01:37
drurewyup01:39
=== erichammond1 is now known as erichammond
AnRkeyok 9.04 is booting again01:43
AnRkeyhold thumbs01:43
AnRkeywow 9.04 is a big jump forward, it's sooo much faster off cd01:47
AnRkeycompared to 8.04 or 8.1001:48
AnRkeyand it seems it's working01:48
AnRkeythanks guys01:48
drurewhave fun man01:50
drurewand tell us how it went01:50
Alex_21HI, all,01:52
Alex_21I have a damaged server. It has an OS on it and that is all fine and dandy. However I made a mistake when installing Ubuntu and ended up putting /boot in an LVM Volume Group in RAID1 and now it won't boot. I think I need to set a rootdelay, but for that I'd need to install Grub on a Memory Stick. Is there any Idea how to to do this?01:52
drurewyou should be able to just reinstall grub, at the correct location, point it to your boot kernel and let it boot up (later removing the old useless grub from RAID 1)01:54
Alex_21How can I resinstall Grub when the system won't boot01:55
Alex_21Please01:55
drurewno live systems? make a live "alternate" usb stick use it to rescue your system and install grub at its correct location01:56
Alex_21I can't unfortunately.01:56
drurew!usb-creator01:56
ubottuSorry, I don't know anything about usb-creator01:56
Alex_21Can I manually install Grub using another sstem01:56
Alex_21System, ... Sorry01:57
Alex_21Being nearly completely blind, I can't use a live system01:57
drurewbios?01:57
Alex_21What about BIOS?01:58
AnRkeyback, my dhcp lease expired without the server there to renew it01:58
Alex_21I can't physically use Live CDs or anything01:58
drurewno usb boot options ?01:58
drurewhmm01:58
Alex_21I have USB boot options01:58
Alex_21That isn't the problem01:58
Alex_21Number one. I need /boot on a memory stick and not on my HDs01:59
Alex_21Number 2. I only can make a boot key with another system, not with the downed machine01:59
Alex_21Can this be done?01:59
Alex_21Or not01:59
drurewyeah01:59
drurewcan you pop a live cd into your lappy ?02:00
Alex_21No.02:00
Alex_21I can't read what is on-screen. I can pop my memory key into my development server though02:00
Alex_21It is accessible with CLI via OpenSSH02:00
Alex_21Does that help?02:00
AnRkeyAlex_21, then make a boot usb that way02:01
Alex_21How?02:01
Alex_21That is the problem02:01
AnRkey1sec, looking for my script02:01
drurewusb-cerator should be the command02:01
Alex_21and what will this command do?02:01
Alex_21I'm confused02:02
drurewman usb-creator maybe a start02:03
AnRkeyi cant find my script soz02:03
AnRkeydont think i have it here02:03
Alex_21Ok. I really need help here02:03
AnRkeyAlex_21, okok, 1sec02:04
Alex_21I want to be able to have my machine boot02:04
Alex_21The files are on raid array md002:04
drurewstart with installing usb-creator02:04
Alex_21Which in turn is Inside of LVM volume group lvm102:05
Alex_21Does that help02:05
Alex_21?02:05
AnRkeyfound this with google, https://help.ubuntu.com/community/Installation/FromUSBStick02:05
AnRkeyit also suggests usb-creator02:05
drurewusb-creator needs X02:06
Alex_21I can't do that, remember02:06
drurewthat flattens out the chance02:06
drurewyeah02:06
drurewlet me see02:06
drurewcan you boot a live cd on you dev box02:07
Alex_21Ok. How about this. If I reinstall my OS and set the USB drive to contain /Boot. Will that be better02:07
drurewno02:07
=== karlito is now known as ydratziel
Alex_21Why not?02:07
Alex_21Can't /boot be on a USB stick?02:07
drurewi seem to rember that not working for me02:07
AnRkeyAlex_21, what is the problem again... i rejoined a bit late02:07
AnRkeyAlex_21, it can be anywhere, as long as grub can get to it and it's in working order02:08
drurewhe installed grub on the wrong raid02:08
Alex_21The files are on Which in turn is Inside of LVM volume group lvm1 hich in turn raid array md002:08
Alex_21The files are on LVM volume group lvm1 which in turn is inside of raid1 array md002:09
Alex_21Now it won't boot02:09
Alex_21Besides It is currently using Lilo02:09
Alex_21Sorry for having rewritten it02:10
Alex_21I did it for clarification02:10
drurewhttp://osdir.com/ml/os.solaris.opensolaris.general/2005-11/msg00026.html seems to be a solution02:10
drurewyeah now i remember, grub preferably should be in the / partition as it will look for its boot kernel there, if you install grub to an external partition you will have to mount the root partition before actually beingable to point grub to the boot image02:12
AnRkeyok going to go play games02:12
AnRkeyciao all02:12
AnRkeydrurew, thanks for all the wisdom :)02:13
drurewheh02:13
drurewno such thing here02:13
Alex_21How does that help?02:13
texasjackAnyone have a successfully UTF-8 100% compliant shell?02:13
Alex_21Lilo comes up but it can't run at all02:13
AnRkeygood luck Alex_2102:14
drurewwell then edit lilo to contain your boot image02:14
Alex_21I havethe following setup /boot, /, and swap02:14
Alex_21It can't ind the init file02:15
Alex_21Find, ... sorry02:15
Alex_21The partitions are on LVM volume group lvm1 which in turn is inside of raid1 array md002:18
Alex_21How can I fix this?02:18
drurewcan you edit /etc/lilo.conf02:19
Alex_21Yes02:19
Alex_21I think02:19
Alex_21I cn boot into the consol in the installer02:19
Alex_21Undr recovery mode02:19
drurewhttp://www.control-escape.com/linux/lilo-cfg.html02:20
drurewin recovery mode you can install grub02:20
drurew*installer recovery mode02:21
Alex_21Nope02:21
Alex_21Because of the way my partitions are inside LVM02:21
drurewhmmm02:22
drureware they encrypted?02:22
drurewyour lmvs02:22
Alex_21Nope02:22
Alex_21They are not02:22
drurewyeah then it should be fixable02:23
Alex_21In addition, the LVM Volume Group is sitting on RAID1 device MD002:23
Alex_21So how do I access them?02:23
Alex_21Moun them, I mean02:23
drurewls /dev woudl show you the actual device , youll then need to mkdir  /mount/point then , mount /dev/device /mount/point02:25
Alex_21What is the device then?02:26
Alex_21Where? /HDa or /HDB or /MD002:26
cabreythis room seems to have people in it02:27
drurewthats something only you can know, but it should be something like hda1, sda1, md002:27
drurewhda is your first drive02:27
drurewhdb is your second02:27
Alex_21I knew that. The problem is that I don't understand LVM and RAID102:27
darthanubisubuntu dropped all that hdx stuff and went with sdx02:27
Sarthoron my ubuntu server, how can i see real time speed graph of ethernet?? possible?02:27
darthanubisAlex_21, then do your homework and read up02:27
Alex_21MD0 is my Raid1 aray. But then how do I get access to the LVM?02:27
darthanubisSarthor, anything is possible02:28
darthanubismany a program in google that will help you with that02:28
cabreydarthanubis, hd{x} is IDE hdds, sd{x} is SATA i believe02:28
darthanubisI know that02:28
darthanubisbut what I said still stands02:28
cabreythey changed it?02:28
darthanubis...02:28
Alex_21I know how I'll fix it02:29
Alex_21Du Du Du Du02:29
darthanubishttp://books.google.com/books?id=zGgZ850Aw5gC&pg=PA74&lpg=PA74&dq=ubuntu+hdx+sdx&source=bl&ots=6I0miyxR-3&sig=p_x9Qaa9gD5tB1gNl9YeY5CZHYQ&hl=en&ei=b1I0St-xMIONtgeJhaH5Dg&sa=X&oi=book_result&ct=result&resnum=602:29
Alex_21Or not02:30
Sarthorcan we run conky in real mode on 9.04 server?02:31
darthanubiswhat is the fascination with conky I'll never understand.02:33
darthanubisI don't think conky is a server based app02:34
darthanubisunlike gkrellmd?02:34
drurewnight guys02:37
Alex_21Thanks for our help02:38
Alex_21Good night02:38
=== erichammond1 is now known as erichammond
robin87hello, i am using jaunty and i am having trouble getting a port to "open" when i run a game server...the port is forwarded correctly through my router and the port is visible as "closed" from the internet, i need it open so ppl can connect...can someone help?04:01
jmarsdenrobin87: Does   sudo netstat -ntlp   # show you the listening game server on your Ubuntu server machine?  What port number are we talking about?04:04
robin87jmarsden, no, the server doesn't appear to be listening, the port is 2796004:17
jmarsdenThen that is why the port appears closed... run the game server and it will (if you really configured the router correctly) appear open.04:17
jmarsdenNoone can connect to a game server that is not running.04:17
robin87jmarsden, the server is running, i can connect to it through LAN but it is not visible to the internet...also, i know the port is forwarded correctly because when the machine is off the port appears stealthed from the internet, when the PC is on it shows as "closed"04:19
jmarsdenI confirm port 27960 on your public IP appears closed.04:19
jmarsdenIf the server is supposed to listen on port 27960, netstat -ntlp would show it as doing so.04:19
jmarsdenWhat port(s) *is* your game server listening on?04:20
robin87this is really strange, why can i connect from another PC on LAN then?04:20
jmarsdenWhat port are you connecting to on the LAN?04:20
robin87the same port... 2796004:20
jmarsdenIs this TCP or UDP ?  Maybe 6you redirected TCP port 27960 and the game uses UDP 27960 ?04:21
robin87i forwarded both protocols on the same port, the lan server appears to connect via UDP though04:21
jmarsdenDoes   sudo netstat -nulp    # show you the listener on your server?04:22
robin87yes, listening on UDP04:22
jmarsdenOK.  You have a working server... nmap -PN -sU -p 27960 YOUR.IP.ADDR.HERE   # show an open port.04:23
jmarsdenWhy did you say it was showing as closed?04:24
robin87it has been, for the past two days04:25
robin87let me check myself04:25
robin87it is still showing closed from grc shields up04:25
jmarsdenCommand I posted above returns:   27960/udp open  quake304:25
jmarsdenWhy would you trust GRC to be scanning UDP rather than TCP?04:26
jmarsdenDo you own scans with nmap from a remote host.04:26
robin87both protocols should be reachable though, surely04:27
jmarsdenNo, nothing is listening on TCP port 27960 on your host!04:27
jmarsdenSo TCP port 27960 is closed.04:27
robin87others have complained that they cannot connect to my server via the internet04:29
robin87i'm going to see if that has changed04:29
jmarsdenOK.  Have them run the nmap command I posted earlier and tell you what it outpus.04:29
jmarsden*outputs04:29
robin87ok is nmap a windows command also?04:31
jmarsdenIt is if you install the Windows version of it :)04:33
jmarsdenSee http://nmap.org/04:33
=== s_markow_ is now known as s_markow
robin87jmarsden, ok, the server now appears visible and ppl can connect...i think it must have been firestarter/iptables not configured properly...thanks for your help :004:36
jmarsdenNo problem :)04:36
=== FFForever is now known as FFForever-Away
=== FFForever-Away is now known as FFForever
qman__Hi, I was wondering if anyone could help me with NTP. I have NTP installed on my gateway, to provide time for my LAN, however, it's stuck at stratum 16, despite getting time from several stratum 2 and 3 sources. Here's my ntp.conf and output from ntpq: http://pastebin.com/m25447da405:06
jmarsdenqman__: What makes you think your server is "stuck at stratum 16"?  And why are you broadcasting time to 3 LAN subnets?05:16
uvirtbotNew bug: #386867 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" [Undecided,New] https://launchpad.net/bugs/38686705:16
qman__jmarsden,  none of the clients will accept time from it05:17
jmarsdenWhat NTP client(s) are involved and what error messages are you seeing from them?05:17
qman__jmarsden, I have ubuntu clients using the default ntp client, and the error is "no server suitable for synchronization found"05:19
jmarsdenAny firewall or packet filtering between NTP server and NTP client machines?  And why are you broadcasting the time instead of having the clients query for it?05:20
qman__the server has a firewall up, but it's allowing all UDP port 123 traffic on the interfaces05:21
qman__as for the broadcast, I was under the impression that that was how it's done05:22
qman__I can pastebin the firewall05:22
jmarsdenIs it logging blocked traffic?  Can you check?  That message has nothing to do with stratum 16, and everything do do witgh "I can't see the server".  and no, you don't want or need to use NTP broadcasts at all.05:22
qman__ok, it's not logging traffic now, but I can set it05:23
jmarsdenMight be worth it just to make sure.05:23
qman__strange05:27
qman__oh, I screwed up the rule05:28
qman__it is a firewall problem, now to just trace it down05:28
qman__thanks05:28
jmarsdenAh, OK.  If that doesn't get it, pastebin the output of    ntpdate -dsv  ip.of.your.server  run on a client machine.05:28
jmarsdenNo problem.05:28
uvirtbotNew bug: #346515 in samba4 (universe) "smbstatus crashed with ImportError in <module>()" [Undecided,Confirmed] https://launchpad.net/bugs/34651506:31
=== FFForever is now known as FFForever-Away
dieMasjienNafallo: morning all, we're busy finalising our ubuntu server installation but before we continue, does ubuntu also have a group restriction application like Windows Server edition where you can edit group user rights ect?08:00
dieMasjienwait08:00
dieMasjienthat was addressed to everyone08:00
dieMasjienmorning all, we're busy finalising our ubuntu server installation but before we continue, does ubuntu also have a group restriction application like Windows Server edition where you can edit group user rights ect?08:02
nzeroxhey guys11:29
nzeroxi need some help with getting mailman to run as a virtual host11:29
=== WaVeR` is now known as waver_
=== erichammond1 is now known as erichammond
AnRkeyis there any reason why my ubuntu 8.04.2 server would see a partition as it's old size before I resized it via ubuntu 9.04's gparted?12:28
drurew:D12:28
drurewhow did it work out amn12:29
nzeroxhey, what causes this:12:39
nzeroxamavis[3940]: (03940-01) (!!)ask_av (ClamAV-clamd) FAILED - unexpected result: /var/lib/amavis/tmp/amavis-20090614T113213-03940/parts: lstat() failed. ERROR\n12:39
drurewby the way , google uses linux just as much as we do, the yahoo servers run apache2, msn ....well we know ms12:46
drurewhttp://www.linuxmail.org/scripts/common/index.main?signin=1&lang=us12:46
drurewcrap12:46
drurewwrong room12:46
AnRkeydrurew, u there?13:46
drurewmhm13:47
AnRkeythat expansion of the ext3 filesystem worked fine13:47
AnRkeyon 9.04 live cd i can browse it with 500gb free, on the 8.04.2 server it still see's the partition as a 960gb13:48
AnRkeywtf?13:48
* AnRkey walks over to drurew and taps him on the shoulder, Ughem13:50
drurewon the phone13:51
drurewon sec13:51
drurewsorry, vps went down13:52
drurewwhats up Anrkey13:52
=== samferry is now known as ircd
drurewcan you look at the partition using gparted13:53
drurewdoes someone have their own dns server ? if so would it be possible to send me your configuation files to drurew@mailinator.com13:56
drurewAnRkey: whats gparted telling you ?13:58
drurewAnRkey: if 500 gb of 960 are free that sounds right13:59
aurigusdrurew: what dns server software?14:01
drurewbind914:02
aurigusoh i use powerdns, so can't help :)14:02
drurewthats also an option14:02
drurewthat would be helpfull14:02
drurew!info powerdns14:36
ubottuPackage powerdns does not exist in jaunty14:36
drurew!powerdns14:37
ubottuSorry, I don't know anything about powerdns14:37
daxrocAfternoon all14:38
drurewhi14:38
daxrocWith kvm setup on jaunty should the bridge interface be created by libvirt  or should it be disabled there and created manually via /etc/network/interfaces ?14:39
pmatulisdaxroc: how are you creating your vm?14:43
daxrocpmatulis: vmbuilder14:43
daxrocThe docs say use the interfaces but libvirt creates its own nated bridge so ?14:45
pmatulisdoes you host have a bridge set up?14:46
pmatulis*your14:46
daxrocpmatulis: yes it has two one br0 from networking/interfaces ( bridged to eth0 ) and one which libvirt creates virbr014:47
pmatulisforget about virbr0, that's for an internal private network14:48
pmatulisyou want to access your vm as if it was a real host on your network right?14:48
daxrocpmatulis: yeah14:49
pmatulisso forget about virbr014:49
pmatulisyou should be good to go14:49
daxrocpmatulis: I can't start the vm if virbr0 is not started14:50
pmatulispastebin your invokation of vmbuilder i guess14:51
daxrochttp://pastebin.ca/145996114:52
daxrocpmatulis: that's the default.cfg , sudo vmbuilder kvm ubuntu -c .vmconf/default.cfg --hostname=mine14:54
pmatulisinteresting, never used a config file for vmbuilder14:57
pmatulisi just use one long-ass command14:57
daxrocyeah , nicer to have diffrent configs for mail , web , files  servers14:58
pmatulissure14:58
daxrocdo you need to tell virsh to use br0 or should it know from the guests networking xml config ?15:00
daxrocbecause I can't start a vm unless the default network is up ( virbr0 )15:01
pmatulisthe xml defines the guest, so i don't know why you have a problem15:02
pmatulismaybe pastebin that file15:02
pmatulisbtw, what do you achieve with firstboot.sh?  what do you have in there?15:03
daxrocpmatulis: it's just installs ssh so it creates a unique key15:04
daxrochttp://pastebin.ca/145996915:04
drurewi need a dns servers configuration file, could someone paste bin or send yours to drurew@mailinator.com please?15:05
drurewdns application is irrelevant at the moment15:05
drurewall confs are welcome15:05
pmatulisdaxroc: why not just addpkg openssh-server?15:08
drurewim gonna go with powerdns15:08
daxrocpmatulis: I think if you were to clone a number of vms off one with addpkg that it would be easier to compromise them they would all have the same key15:09
daxrocwhere as the fist boot will install the openssh-server on first boot creating a unique key15:10
pmatulisdaxroc: hmm15:10
daxrocyou can also set it to reconfigure mysql so you don't forget to set root password15:11
pmatulisas for your bridge problem15:14
pmatulisdaxroc: change '<source network='br0'/>' to '<source bridge='br0'/>'15:14
daxrocah15:15
pmatulisbut with jaunty this should have been done15:15
pmatulisso i'm not sure what happened there15:15
daxrocI manually edited it15:16
pmatulisshould not have to my knowledge15:16
pmatulisdid you have bridging set up on your host when you created the vm?15:17
daxrocpmatulis:  for some not all15:17
pmatulisthere you go15:17
daxrocpmatulis: so it should be assigned an ip from the lan dhcp now ?15:18
daxrocor the one I specified during creation15:19
pmatulisdaxroc: yes, if that's how you configured your vm interfaces file15:19
pmatulisi believe dhcp is the default15:19
pmatulisah, ok, you specified an ip15:19
pmatulisso that should work then15:19
daxrocpmatulis: do I need to update virsh with the new guest config ?15:21
pmatulisdaxroc: yes15:22
daxrocpmatulis: What's the best approach for using an lv partition for the guests15:25
beawesomeinsteadis there any reason for running console on ttyS0 not tty1 ?15:28
daxrocttyS0 is serial15:30
pmatulisdaxroc: is your vm all good now?15:31
daxrocpmatulis: that was the prob thanks really appreciate the help15:31
pmatulisgood stuff15:31
pmatulisre lvm, why do you think it should be different for a vm?15:32
daxrocwell your writing an image to an lvm on the host then using lvm on the guest and growing accordingly no ?15:33
pmatulisah, lvm over lvm15:34
daxrocyeah15:34
beawesomeinsteaddaxroc: so, if ttyS0 is serial, won't it conflict with existing serial port? what is the purpose of this? is this change required for KVM(over-IP)?15:34
pmatulisnot sure then15:34
daxrocbeawesomeinstead: no idea sorry , /dev/ttyS0 is an actual physical serial port and /dev/tty1 is a console I think15:35
beawesomeinsteadthanks anyways! i'll try then, hope won't screw things up15:36
daxrocpmatulis: not sure if it would effect performance even ? unnecessary complication tho15:37
JomyootWould Debian or Ubuntu-server be more stable for production?16:14
drurewubuntu16:23
drurewdebian seems to be a bit furthur back16:23
drurewi installed it for a vps i was setting up , but then found that actually manageing with apt was less sucsessful then under ubuntu, altho both debian and ubuntu are essentially deb systems, ubuntu has alot more to offer in its repositories then debian16:25
drurewis away16:25
=== ejat is now known as e-jat
JanCthis might be a good thing for the server-team to address: http://it.toolbox.com/blogs/database-soup/postgresql-development-priorities-31886#278396616:48
=== FFForever-Away is now known as FFForever
FFForeverwhen will servers get 2.6.30?16:57
billybigriggercan anyone here suggest the best way about running a virtual headless server?19:44
billybigriggeri have this old p1 166mhz box with 98mb ram, and using it for www/mysql/mail just isn't cutting it, the box needs to be recycled, and was wondering if i could just run a headless virtual server on my desktop, which has plenty of cpu cycles/ram19:44
billybigriggerany suggestions?19:45
drurew!administration19:52
ubottuSorry, I don't know anything about administration19:52
drurew!cupsys19:57
ubottuPrinting in Ubuntu is done with cups. See https://help.ubuntu.com/community/Printers - https://wiki.ubuntu.com/HardwareSupportComponentsPrinters - http://linuxprinting.org - Printer sharing: https://wiki.ubuntu.com/NetworkPrintingFromWindows19:57
FFForever!dtrace20:11
ubottuSorry, I don't know anything about dtrace20:11
billybigriggeranyone around?21:19
billybigriggerhow come i have 4 different mail ports open? pop3, pop3s, imap, and imaps? 110, 143, 993, and 99521:20
billybigriggerin my dovecot.conf i only enabled the imaps protocol21:20
billybigriggerprotocols = imaps21:21
billybigriggerjebus21:29
billybigriggerwho deals with the Ubuntu Server Guide documentation?21:29
billybigriggersomeone in there should make a note that editing dovecot.conf does nothing, but the user should edit dovecot-postfix.conf21:30
billybigriggersomeone needs to update the server docs21:50
billybigriggerthere's some missing steps to get some services working21:50
billybigriggerlike the dovecot-postfix.conf problem i talked about earlier21:50
billybigriggeralso having to add AddHandler application/x-httpd-php php21:51
billybigrigger to apache2.conf21:51
billybigriggerto get apache/php5 working properly together21:51
daxrocEvening22:04
daxrocpmatulis: ping22:04
daxrocbillybigrigger: that's a trivial problem with configuring apache and it's well documented outside ubuntu , if not read the apache manual?22:06
billybigriggeroh come on thats a crap answer :P how hard is it to add that into the server guide?22:08
billybigriggerif its documented outside of ubuntu, how come its not document inside? and on the server guide?22:09
daxrocbillybigrigger: if you feel you can do better join the doc team and submit an update , don't tell others to do it !22:09
daxrocbillybigrigger: apache has more configuration options than you might think far more that can be documented in a single guide nor would you want them to be22:10
daxrocany one know what would cause a kvm vm and libvirtd to use 100%cpu , after starting a vm22:12
daxroc* I used the --raw  with an lv partition22:13
stickystylebillybigrigger: Acutally, you should not have had to add the handler to apache2.conf, there is very little you need to do that file.  IIRC, there is a conf file in apache2/mods-available and you do $sudo a2enmod php522:14
stickystyleThere should be a php5.conf and php5.load file in that dir, those have the handler in them.22:15
stickystyleand using the a2enmod command symlinks them to the apache2/mods-enabled dir.22:15
stickystyleand it does say to do that in the server guide https://help.ubuntu.com/8.04/serverguide/C/php5.html22:16
stickystyle(under Configuration)22:17
=== edson is now known as ecanto
billybigriggergood eyes, i missed that one :P22:17
stickystyleas a general rule, editing the conf file of apache (and many other packages) is the non-debian/ubuntu way of doing things.  They normaly use a conf.d/ style dir that has many small snippets of configuration.22:20
stickystylethat way you can very easily pull things out, and put things in without going through many hundred lines of conf files.22:21
=== FFForever is now known as FFForever-Away
pmatulisdaxroc: yes daxroc22:49
billybigriggerim having some sort of problems with my /etc/aliases22:57
billybigriggerim trying to setup postmaster, webmaster, and admin aliases so any incoming mail is directed to root, and then have root direct to my user, is this the correct way about doing things? or is it better to just alias webmaster, postermaster, and admin to my username?22:58
stickystylebillybigrigger: as you described it, that should work.  Did you run $sudo postaliais /etc/aliases after you made the changes?23:01
billybigriggernegative23:10
billybigriggertail -f /var/log/mail.log shows its trying to redirect23:10
billybigriggerThe following message to <webmaster@thefrozencanuck.ca> was undeliverable.23:13
billybigriggerThe reason for the problem:23:13
billybigrigger5.1.0 - Unknown address error 550-'5.1.1 <webmaster@thefrozencanuck.ca>: Recipient address rejected: User unknown in local recipient table'23:13
billybigriggerthats from my isps webmail, trying to send a message to webmaster23:13
billybigriggeri ran postalias23:13
billybigriggerhttp://pastebin.com/f5ca6843923:14
billybigriggertheres my aliases23:14
PhotoJimbillybigrigger: run "newaliases"23:22
billybigriggerahh thanks :P23:22
billybigriggerworking great now23:23
PhotoJimnp :)23:24
daxrocpmatulis: running into similar problems with all vm s now they are not using the static ip or dhcp when none is specified23:30
pmatulisdaxroc: inspect their xml files like before23:31
daxrocI thought it might be an issue like that but they seem fine , I even tried removing the mac addresses as there is some issues with muticast ( need to start with 00: ??)23:32
daxrocpmatulis: http://pastebin.ca/146042023:33
uvirtbotNew bug: #387091 in openssh (main) "openssh-server should broadcast availability via avahi" [Undecided,New] https://launchpad.net/bugs/38709123:36
pmatulisdaxroc: and you redefined the domains?23:51
daxrocpmatulis: I edited via virsh so it should redefine automatically no ?23:52
pmatulisdaxroc: not familiar with editing "within virsh".  what did you do exactly?23:52
daxrocedit vmname ( enters vi ) changed the nw definitions and wrote changes and saved23:53
daxroc*and exited back to virsh23:53
daxroc( need sleep )23:54
pmatulisis that a new feature?  i never heard of the edit command23:54
daxrocpmatulis: Not sure if it is23:55
pmatulisanyway, if the xml file looks good there is no harm in redefining23:55
pmatulis$ virsh define file.xml23:55
daxrocpmatulis: I think it even checks the syntax before it redefines23:55
daxrocno joy23:57
daxroccan you get access to the vm from the local host , I just need to define a ttyconsole ?23:58

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