[00:57] <AnRkey> how can i check if a partition is a primary partition?
[00:57] <AnRkey> the partition is ext3 it's my /dev/sdb3
[01:06] <foxbuntu> AnRkey, what do you mean primary partition? your boot partition?
[01:06] <AnRkey> no it's a second partition here
[01:07] <AnRkey> i am trying to expand an ext3 partition
[01:07] <AnRkey> i'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 journal
[01:07] <AnRkey> http://www.howtoforge.com/linux_resizing_ext3_partitions_p2
[01:08] <AnRkey> check that out and let me know if I'm being a tard for trying this
[01:09] <drurew> no comment
[01:10] <AnRkey> drurew, wtf :) u cant say that.... common man, help me out, am i doing something wrong?
[01:10] <AnRkey> or stupid?
[01:10] <AnRkey> u make me worry
[01:10] <drurew> AnRkey: srry bro, didnt mean it that way.
[01:11] <AnRkey> :P
[01:11] <drurew> well lets say if you can afford to loose your system (you will have to fix your grub) then you should give it a shot
[01:11] <AnRkey> this is just a data partition
[01:11] <AnRkey> i have a full backup
[01:12] <foxbuntu> AnRkey, resizing the / is usually not reccommended
[01:12] <AnRkey> it's just going to suck like a black hole through a straw if I have to restore 2night
[01:12] <AnRkey> it's not / it's /media/Data
[01:12] <AnRkey> /dev/sdb3
[01:12] <drurew> -b
[01:12] <foxbuntu> AnRkey, you __should__ be able to resize it with gparted from an ubuntu desktop live disk
[01:13] <AnRkey> it fails to create a queued task in gparted
[01:13] <drurew> that is probably a better idea
[01:13] <AnRkey> gparted seems to fek out when i try to go 2 large
[01:13] <foxbuntu> AnRkey, how large?
[01:13] <AnRkey> anything larger than 1.01 tb
[01:13] <drurew> :D
[01:13] <drurew> yeah pata?
[01:14] <AnRkey> sata
[01:14] <AnRkey> 4 x 500gb in raid 5
[01:14] <AnRkey> 3ware 9500card with bbu
[01:14] <foxbuntu> hrm
[01:14] <AnRkey> so is that howto a bad way to try this?
[01:15] <foxbuntu> AnRkey, well...
[01:15] <AnRkey> i tried gparted from an 8.04.2 desktop disc
[01:15] <AnRkey> i was going to maybe try 9.04
[01:15] <drurew> try the gparted live cd
[01:15] <foxbuntu> AnRkey, have you tried it on 8.10, 9.04, or 9.10 A2
[01:15] <drurew> its always good to have
[01:15] <foxbuntu> ?
[01:15] <foxbuntu> or that
[01:15] <AnRkey> drurew, 9.04 version this time?
[01:16] <drurew> real minimalistic so you dont get distracted
[01:16] <drurew> is buntu (904) , gparted has their own live cd
[01:16]  * foxbuntu sighs....seems ff just died
[01:16] <AnRkey> fek it, going to try the hardcore way
[01:17] <drurew> tell us how it ends
[01:17] <foxbuntu> indeed
[01:17] <drurew> ;)
[01:17] <foxbuntu> AnRkey, I suggest going offline with the system
[01:17] <AnRkey> i have unmounted the partition, that enough?
[01:17] <foxbuntu> that should be ok
[01:18] <drurew> im telling you man gparted live is super smal and it wont spit out at you man
[01:18]  * AnRkey is going to need a big blunt after this
[01:19] <AnRkey> They 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] <drurew> think before you fdisk before you fdisk your system into the grave
[01:20] <AnRkey> http://pastebin.ubuntu.com/195314/
[01:20] <foxbuntu> AnRkey, ah thats normal
[01:20]  * AnRkey thinks some more and then some more
[01:20] <AnRkey> i know
[01:20] <foxbuntu> AnRkey, primary is just the part type
[01:20] <AnRkey> i am asking if sdb3 is primary like they suggest in the howto
[01:20] <foxbuntu> AnRkey, unless its part of a whole then yes
[01:21] <AnRkey> common if this borks things i'm blaming u guys :)
[01:21] <AnRkey> foxbuntu, more...
[01:21] <foxbuntu> AnRkey, as in part of a volume group or similar "extended" partitions
[01:22] <drurew> #ubuntu-server will not account for any liabilities using fdisk could cause to your system
[01:22] <foxbuntu> +1
[01:22] <foxbuntu> heh
[01:22] <AnRkey> ok you guys have a method using parted?
[01:22] <drurew> not parted
[01:22] <drurew> gparted
[01:23] <AnRkey> oosh, ok ok , i get it
[01:23] <AnRkey> going to try 9.04
[01:23] <drurew> gparted will still be the same
[01:25] <drurew> if 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 partitions
[01:25] <drurew> *using
[01:26] <drurew> by the way , i dont see a "data" partition in your pastebin
[01:26] <AnRkey> /dev/sdb3            4256      121573   942356835   83  Linux
[01:27] <drurew> paste : df /media/sda3
[01:29] <AnRkey> what about ext2 resize
[01:29] <AnRkey> gparted still feks out on my when I go past 1.01tb
[01:29] <AnRkey> *me
[01:30] <drurew> you can resize any partition using gparted , as gparted has a non destructive "way of doing things"
[01:30] <drurew> *filesystem
[01:30] <AnRkey> hmmm
[01:31] <AnRkey> 8.10 disc is not helping 9.04 is booting now
[01:32] <drurew> your 8.10 disk maybe shot
[01:35] <AnRkey> oh it never ends!!!! my ubuntu 9.04 disc is stfd, writing another quick
[01:36] <AnRkey> 8.04 and 8.10 are both booting ok
[01:36] <AnRkey> *8.04.2
[01:36] <drurew> make a usb boot disk
[01:36] <drurew> its cheaper
[01:36] <AnRkey> dont have any usb flash sticks here
[01:36] <AnRkey> i have a verbatim rw in
[01:37] <AnRkey> i must admit, ubuntu has been soooo easy to migrate to my new hardware
[01:37] <AnRkey> just plugged the drives in and it simply worked, ok ok i had to set my nic up again
[01:39] <drurew> yup
[01:43] <AnRkey> ok 9.04 is booting again
[01:43] <AnRkey> hold thumbs
[01:47] <AnRkey> wow 9.04 is a big jump forward, it's sooo much faster off cd
[01:48] <AnRkey> compared to 8.04 or 8.10
[01:48] <AnRkey> and it seems it's working
[01:48] <AnRkey> thanks guys
[01:50] <drurew> have fun man
[01:50] <drurew> and tell us how it went
[01:52] <Alex_21> HI, all,
[01:52] <Alex_21> I 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:54] <drurew> you 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:55] <Alex_21> How can I resinstall Grub when the system won't boot
[01:55] <Alex_21> Please
[01:56] <drurew> no live systems? make a live "alternate" usb stick use it to rescue your system and install grub at its correct location
[01:56] <Alex_21> I can't unfortunately.
[01:56] <drurew> !usb-creator
[01:56] <Alex_21> Can I manually install Grub using another sstem
[01:57] <Alex_21> System, ... Sorry
[01:57] <Alex_21> Being nearly completely blind, I can't use a live system
[01:57] <drurew> bios?
[01:58] <Alex_21> What about BIOS?
[01:58] <AnRkey> back, my dhcp lease expired without the server there to renew it
[01:58] <Alex_21> I can't physically use Live CDs or anything
[01:58] <drurew> no usb boot options ?
[01:58] <drurew> hmm
[01:58] <Alex_21> I have USB boot options
[01:58] <Alex_21> That isn't the problem
[01:59] <Alex_21> Number one. I need /boot on a memory stick and not on my HDs
[01:59] <Alex_21> Number 2. I only can make a boot key with another system, not with the downed machine
[01:59] <Alex_21> Can this be done?
[01:59] <Alex_21> Or not
[01:59] <drurew> yeah
[02:00] <drurew> can you pop a live cd into your lappy ?
[02:00] <Alex_21> No.
[02:00] <Alex_21> I can't read what is on-screen. I can pop my memory key into my development server though
[02:00] <Alex_21> It is accessible with CLI via OpenSSH
[02:00] <Alex_21> Does that help?
[02:01] <AnRkey> Alex_21, then make a boot usb that way
[02:01] <Alex_21> How?
[02:01] <Alex_21> That is the problem
[02:01] <AnRkey> 1sec, looking for my script
[02:01] <drurew> usb-cerator should be the command
[02:01] <Alex_21> and what will this command do?
[02:02] <Alex_21> I'm confused
[02:03] <drurew> man usb-creator maybe a start
[02:03] <AnRkey> i cant find my script soz
[02:03] <AnRkey> dont think i have it here
[02:03] <Alex_21> Ok. I really need help here
[02:04] <AnRkey> Alex_21, okok, 1sec
[02:04] <Alex_21> I want to be able to have my machine boot
[02:04] <Alex_21> The files are on raid array md0
[02:04] <drurew> start with installing usb-creator
[02:05] <Alex_21> Which in turn is Inside of LVM volume group lvm1
[02:05] <Alex_21> Does that help
[02:05] <Alex_21> ?
[02:05] <AnRkey> found this with google, https://help.ubuntu.com/community/Installation/FromUSBStick
[02:05] <AnRkey> it also suggests usb-creator
[02:06] <drurew> usb-creator needs X
[02:06] <Alex_21> I can't do that, remember
[02:06] <drurew> that flattens out the chance
[02:06] <drurew> yeah
[02:06] <drurew> let me see
[02:07] <drurew> can you boot a live cd on you dev box
[02:07] <Alex_21> Ok. How about this. If I reinstall my OS and set the USB drive to contain /Boot. Will that be better
[02:07] <drurew> no
[02:07] <Alex_21> Why not?
[02:07] <Alex_21> Can't /boot be on a USB stick?
[02:07] <drurew> i seem to rember that not working for me
[02:07] <AnRkey> Alex_21, what is the problem again... i rejoined a bit late
[02:08] <AnRkey> Alex_21, it can be anywhere, as long as grub can get to it and it's in working order
[02:08] <drurew> he installed grub on the wrong raid
[02:08] <Alex_21> The files are on Which in turn is Inside of LVM volume group lvm1 hich in turn raid array md0
[02:09] <Alex_21> The files are on LVM volume group lvm1 which in turn is inside of raid1 array md0
[02:09] <Alex_21> Now it won't boot
[02:09] <Alex_21> Besides It is currently using Lilo
[02:10] <Alex_21> Sorry for having rewritten it
[02:10] <Alex_21> I did it for clarification
[02:10] <drurew> http://osdir.com/ml/os.solaris.opensolaris.general/2005-11/msg00026.html seems to be a solution
[02:12] <drurew> yeah 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 image
[02:12] <AnRkey> ok going to go play games
[02:12] <AnRkey> ciao all
[02:13] <AnRkey> drurew, thanks for all the wisdom :)
[02:13] <drurew> heh
[02:13] <drurew> no such thing here
[02:13] <Alex_21> How does that help?
[02:13] <texasjack> Anyone have a successfully UTF-8 100% compliant shell?
[02:13] <Alex_21> Lilo comes up but it can't run at all
[02:14] <AnRkey> good luck Alex_21
[02:14] <drurew> well then edit lilo to contain your boot image
[02:14] <Alex_21> I havethe following setup /boot, /, and swap
[02:15] <Alex_21> It can't ind the init file
[02:15] <Alex_21> Find, ... sorry
[02:18] <Alex_21> The partitions are on LVM volume group lvm1 which in turn is inside of raid1 array md0
[02:18] <Alex_21> How can I fix this?
[02:19] <drurew> can you edit /etc/lilo.conf
[02:19] <Alex_21> Yes
[02:19] <Alex_21> I think
[02:19] <Alex_21> I cn boot into the consol in the installer
[02:19] <Alex_21> Undr recovery mode
[02:20] <drurew> http://www.control-escape.com/linux/lilo-cfg.html
[02:20] <drurew> in recovery mode you can install grub
[02:21] <drurew> *installer recovery mode
[02:21] <Alex_21> Nope
[02:21] <Alex_21> Because of the way my partitions are inside LVM
[02:22] <drurew> hmmm
[02:22] <drurew> are they encrypted?
[02:22] <drurew> your lmvs
[02:22] <Alex_21> Nope
[02:22] <Alex_21> They are not
[02:23] <drurew> yeah then it should be fixable
[02:23] <Alex_21> In addition, the LVM Volume Group is sitting on RAID1 device MD0
[02:23] <Alex_21> So how do I access them?
[02:23] <Alex_21> Moun them, I mean
[02:25] <drurew> ls /dev woudl show you the actual device , youll then need to mkdir  /mount/point then , mount /dev/device /mount/point
[02:26] <Alex_21> What is the device then?
[02:26] <Alex_21> Where? /HDa or /HDB or /MD0
[02:27] <cabrey> this room seems to have people in it
[02:27] <drurew> thats something only you can know, but it should be something like hda1, sda1, md0
[02:27] <drurew> hda is your first drive
[02:27] <drurew> hdb is your second
[02:27] <Alex_21> I knew that. The problem is that I don't understand LVM and RAID1
[02:27] <darthanubis> ubuntu dropped all that hdx stuff and went with sdx
[02:27] <Sarthor> on my ubuntu server, how can i see real time speed graph of ethernet?? possible?
[02:27] <darthanubis> Alex_21, then do your homework and read up
[02:27] <Alex_21> MD0 is my Raid1 aray. But then how do I get access to the LVM?
[02:28] <darthanubis> Sarthor, anything is possible
[02:28] <darthanubis> many a program in google that will help you with that
[02:28] <cabrey> darthanubis, hd{x} is IDE hdds, sd{x} is SATA i believe
[02:28] <darthanubis> I know that
[02:28] <darthanubis> but what I said still stands
[02:28] <cabrey> they changed it?
[02:28] <darthanubis> ...
[02:29] <Alex_21> I know how I'll fix it
[02:29] <Alex_21> Du Du Du Du
[02:29] <darthanubis> http://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=6
[02:30] <Alex_21> Or not
[02:31] <Sarthor> can we run conky in real mode on 9.04 server?
[02:33] <darthanubis> what is the fascination with conky I'll never understand.
[02:34] <darthanubis> I don't think conky is a server based app
[02:34] <darthanubis> unlike gkrellmd?
[02:37] <drurew> night guys
[02:38] <Alex_21> Thanks for our help
[02:38] <Alex_21> Good night
[04:01] <robin87> hello, 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:04] <jmarsden> robin87: Does   sudo netstat -ntlp   # show you the listening game server on your Ubuntu server machine?  What port number are we talking about?
[04:17] <robin87> jmarsden, no, the server doesn't appear to be listening, the port is 27960
[04:17] <jmarsden> Then 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] <jmarsden> Noone can connect to a game server that is not running.
[04:19] <robin87> jmarsden, 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] <jmarsden> I confirm port 27960 on your public IP appears closed.
[04:19] <jmarsden> If the server is supposed to listen on port 27960, netstat -ntlp would show it as doing so.
[04:20] <jmarsden> What port(s) *is* your game server listening on?
[04:20] <robin87> this is really strange, why can i connect from another PC on LAN then?
[04:20] <jmarsden> What port are you connecting to on the LAN?
[04:20] <robin87> the same port... 27960
[04:21] <jmarsden> Is this TCP or UDP ?  Maybe 6you redirected TCP port 27960 and the game uses UDP 27960 ?
[04:21] <robin87> i forwarded both protocols on the same port, the lan server appears to connect via UDP though
[04:22] <jmarsden> Does   sudo netstat -nulp    # show you the listener on your server?
[04:22] <robin87> yes, listening on UDP
[04:23] <jmarsden> OK.  You have a working server... nmap -PN -sU -p 27960 YOUR.IP.ADDR.HERE   # show an open port.
[04:24] <jmarsden> Why did you say it was showing as closed?
[04:25] <robin87> it has been, for the past two days
[04:25] <robin87> let me check myself
[04:25] <robin87> it is still showing closed from grc shields up
[04:25] <jmarsden> Command I posted above returns:   27960/udp open  quake3
[04:26] <jmarsden> Why would you trust GRC to be scanning UDP rather than TCP?
[04:26] <jmarsden> Do you own scans with nmap from a remote host.
[04:27] <robin87> both protocols should be reachable though, surely
[04:27] <jmarsden> No, nothing is listening on TCP port 27960 on your host!
[04:27] <jmarsden> So TCP port 27960 is closed.
[04:29] <robin87> others have complained that they cannot connect to my server via the internet
[04:29] <robin87> i'm going to see if that has changed
[04:29] <jmarsden> OK.  Have them run the nmap command I posted earlier and tell you what it outpus.
[04:29] <jmarsden> *outputs
[04:31] <robin87> ok is nmap a windows command also?
[04:33] <jmarsden> It is if you install the Windows version of it :)
[04:33] <jmarsden> See http://nmap.org/
[04:36] <robin87> jmarsden, 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 :0
[04:36] <jmarsden> No problem :)
[05:06] <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/m25447da4
[05:16] <jmarsden> qman__: What makes you think your server is "stuck at stratum 16"?  And why are you broadcasting time to 3 LAN subnets?
[05:17] <qman__> jmarsden,  none of the clients will accept time from it
[05:17] <jmarsden> What NTP client(s) are involved and what error messages are you seeing from them?
[05:19] <qman__> jmarsden, I have ubuntu clients using the default ntp client, and the error is "no server suitable for synchronization found"
[05:20] <jmarsden> Any 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:21] <qman__> the server has a firewall up, but it's allowing all UDP port 123 traffic on the interfaces
[05:22] <qman__> as for the broadcast, I was under the impression that that was how it's done
[05:22] <qman__> I can pastebin the firewall
[05:22] <jmarsden> Is 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:23] <qman__> ok, it's not logging traffic now, but I can set it
[05:23] <jmarsden> Might be worth it just to make sure.
[05:27] <qman__> strange
[05:28] <qman__> oh, I screwed up the rule
[05:28] <qman__> it is a firewall problem, now to just trace it down
[05:28] <qman__> thanks
[05:28] <jmarsden> Ah, OK.  If that doesn't get it, pastebin the output of    ntpdate -dsv  ip.of.your.server  run on a client machine.
[05:28] <jmarsden> No problem.
[08:00] <dieMasjien> Nafallo: 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] <dieMasjien> wait
[08:00] <dieMasjien> that was addressed to everyone
[08:02] <dieMasjien> 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?
[11:29] <nzerox> hey guys
[11:29] <nzerox> i need some help with getting mailman to run as a virtual host
[12:28] <AnRkey> is 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> :D
[12:29] <drurew> how did it work out amn
[12:39] <nzerox> hey, what causes this:
[12:39] <nzerox> amavis[3940]: (03940-01) (!!)ask_av (ClamAV-clamd) FAILED - unexpected result: /var/lib/amavis/tmp/amavis-20090614T113213-03940/parts: lstat() failed. ERROR\n
[12:46] <drurew> by the way , google uses linux just as much as we do, the yahoo servers run apache2, msn ....well we know ms
[12:46] <drurew> http://www.linuxmail.org/scripts/common/index.main?signin=1&lang=us
[12:46] <drurew> crap
[12:46] <drurew> wrong room
[13:46] <AnRkey> drurew, u there?
[13:47] <drurew> mhm
[13:47] <AnRkey> that expansion of the ext3 filesystem worked fine
[13:48] <AnRkey> on 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 960gb
[13:48] <AnRkey> wtf?
[13:50]  * AnRkey walks over to drurew and taps him on the shoulder, Ughem
[13:51] <drurew> on the phone
[13:51] <drurew> on sec
[13:52] <drurew> sorry, vps went down
[13:52] <drurew> whats up Anrkey
[13:53] <drurew> can you look at the partition using gparted
[13:56] <drurew> does someone have their own dns server ? if so would it be possible to send me your configuation files to drurew@mailinator.com
[13:58] <drurew> AnRkey: whats gparted telling you ?
[13:59] <drurew> AnRkey: if 500 gb of 960 are free that sounds right
[14:01] <aurigus> drurew: what dns server software?
[14:02] <drurew> bind9
[14:02] <aurigus> oh i use powerdns, so can't help :)
[14:02] <drurew> thats also an option
[14:02] <drurew> that would be helpfull
[14:36] <drurew> !info powerdns
[14:37] <drurew> !powerdns
[14:38] <daxroc> Afternoon all
[14:38] <drurew> hi
[14:39] <daxroc> With 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:43] <pmatulis> daxroc: how are you creating your vm?
[14:43] <daxroc> pmatulis: vmbuilder
[14:45] <daxroc> The docs say use the interfaces but libvirt creates its own nated bridge so ?
[14:46] <pmatulis> does you host have a bridge set up?
[14:46] <pmatulis> *your
[14:47] <daxroc> pmatulis: yes it has two one br0 from networking/interfaces ( bridged to eth0 ) and one which libvirt creates virbr0
[14:48] <pmatulis> forget about virbr0, that's for an internal private network
[14:48] <pmatulis> you want to access your vm as if it was a real host on your network right?
[14:49] <daxroc> pmatulis: yeah
[14:49] <pmatulis> so forget about virbr0
[14:49] <pmatulis> you should be good to go
[14:50] <daxroc> pmatulis: I can't start the vm if virbr0 is not started
[14:51] <pmatulis> pastebin your invokation of vmbuilder i guess
[14:52] <daxroc> http://pastebin.ca/1459961
[14:54] <daxroc> pmatulis: that's the default.cfg , sudo vmbuilder kvm ubuntu -c .vmconf/default.cfg --hostname=mine
[14:57] <pmatulis> interesting, never used a config file for vmbuilder
[14:57] <pmatulis> i just use one long-ass command
[14:58] <daxroc> yeah , nicer to have diffrent configs for mail , web , files  servers
[14:58] <pmatulis> sure
[15:00] <daxroc> do you need to tell virsh to use br0 or should it know from the guests networking xml config ?
[15:01] <daxroc> because I can't start a vm unless the default network is up ( virbr0 )
[15:02] <pmatulis> the xml defines the guest, so i don't know why you have a problem
[15:02] <pmatulis> maybe pastebin that file
[15:03] <pmatulis> btw, what do you achieve with firstboot.sh?  what do you have in there?
[15:04] <daxroc> pmatulis: it's just installs ssh so it creates a unique key
[15:04] <daxroc> http://pastebin.ca/1459969
[15:05] <drurew> i need a dns servers configuration file, could someone paste bin or send yours to drurew@mailinator.com please?
[15:05] <drurew> dns application is irrelevant at the moment
[15:05] <drurew> all confs are welcome
[15:08] <pmatulis> daxroc: why not just addpkg openssh-server?
[15:08] <drurew> im gonna go with powerdns
[15:09] <daxroc> pmatulis: 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 key
[15:10] <daxroc> where as the fist boot will install the openssh-server on first boot creating a unique key
[15:10] <pmatulis> daxroc: hmm
[15:11] <daxroc> you can also set it to reconfigure mysql so you don't forget to set root password
[15:14] <pmatulis> as for your bridge problem
[15:14] <pmatulis> daxroc: change '<source network='br0'/>' to '<source bridge='br0'/>'
[15:15] <daxroc> ah
[15:15] <pmatulis> but with jaunty this should have been done
[15:15] <pmatulis> so i'm not sure what happened there
[15:16] <daxroc> I manually edited it
[15:16] <pmatulis> should not have to my knowledge
[15:17] <pmatulis> did you have bridging set up on your host when you created the vm?
[15:17] <daxroc> pmatulis:  for some not all
[15:17] <pmatulis> there you go
[15:18] <daxroc> pmatulis: so it should be assigned an ip from the lan dhcp now ?
[15:19] <daxroc> or the one I specified during creation
[15:19] <pmatulis> daxroc: yes, if that's how you configured your vm interfaces file
[15:19] <pmatulis> i believe dhcp is the default
[15:19] <pmatulis> ah, ok, you specified an ip
[15:19] <pmatulis> so that should work then
[15:21] <daxroc> pmatulis: do I need to update virsh with the new guest config ?
[15:22] <pmatulis> daxroc: yes
[15:25] <daxroc> pmatulis: What's the best approach for using an lv partition for the guests
[15:28] <beawesomeinstead> is there any reason for running console on ttyS0 not tty1 ?
[15:30] <daxroc> ttyS0 is serial
[15:31] <pmatulis> daxroc: is your vm all good now?
[15:31] <daxroc> pmatulis: that was the prob thanks really appreciate the help
[15:31] <pmatulis> good stuff
[15:32] <pmatulis> re lvm, why do you think it should be different for a vm?
[15:33] <daxroc> well your writing an image to an lvm on the host then using lvm on the guest and growing accordingly no ?
[15:34] <pmatulis> ah, lvm over lvm
[15:34] <daxroc> yeah
[15:34] <beawesomeinstead> daxroc: 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] <pmatulis> not sure then
[15:35] <daxroc> beawesomeinstead: no idea sorry , /dev/ttyS0 is an actual physical serial port and /dev/tty1 is a console I think
[15:36] <beawesomeinstead> thanks anyways! i'll try then, hope won't screw things up
[15:37] <daxroc> pmatulis: not sure if it would effect performance even ? unnecessary complication tho
[16:14] <Jomyoot> Would Debian or Ubuntu-server be more stable for production?
[16:23] <drurew> ubuntu
[16:23] <drurew> debian seems to be a bit furthur back
[16:25] <drurew> i 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 debian
[16:25] <drurew> is away
[16:48] <JanC> this might be a good thing for the server-team to address: http://it.toolbox.com/blogs/database-soup/postgresql-development-priorities-31886#2783966
[16:57] <FFForever> when will servers get 2.6.30?
[19:44] <billybigrigger> can anyone here suggest the best way about running a virtual headless server?
[19:44] <billybigrigger> i 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/ram
[19:45] <billybigrigger> any suggestions?
[19:52] <drurew> !administration
[19:57] <drurew> !cupsys
[20:11] <FFForever> !dtrace
[21:19] <billybigrigger> anyone around?
[21:20] <billybigrigger> how come i have 4 different mail ports open? pop3, pop3s, imap, and imaps? 110, 143, 993, and 995
[21:20] <billybigrigger> in my dovecot.conf i only enabled the imaps protocol
[21:21] <billybigrigger> protocols = imaps
[21:29] <billybigrigger> jebus
[21:29] <billybigrigger> who deals with the Ubuntu Server Guide documentation?
[21:30] <billybigrigger> someone in there should make a note that editing dovecot.conf does nothing, but the user should edit dovecot-postfix.conf
[21:50] <billybigrigger> someone needs to update the server docs
[21:50] <billybigrigger> there's some missing steps to get some services working
[21:50] <billybigrigger> like the dovecot-postfix.conf problem i talked about earlier
[21:51] <billybigrigger> also having to add AddHandler application/x-httpd-php php
[21:51] <billybigrigger>  to apache2.conf
[21:51] <billybigrigger> to get apache/php5 working properly together
[22:04] <daxroc> Evening
[22:04] <daxroc> pmatulis: ping
[22:06] <daxroc> billybigrigger: that's a trivial problem with configuring apache and it's well documented outside ubuntu , if not read the apache manual?
[22:08] <billybigrigger> oh come on thats a crap answer :P how hard is it to add that into the server guide?
[22:09] <billybigrigger> if its documented outside of ubuntu, how come its not document inside? and on the server guide?
[22:09] <daxroc> billybigrigger: if you feel you can do better join the doc team and submit an update , don't tell others to do it !
[22:10] <daxroc> billybigrigger: 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 be
[22:12] <daxroc> any one know what would cause a kvm vm and libvirtd to use 100%cpu , after starting a vm
[22:13] <daxroc> * I used the --raw  with an lv partition
[22:14] <stickystyle> billybigrigger: 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 php5
[22:15] <stickystyle> There should be a php5.conf and php5.load file in that dir, those have the handler in them.
[22:15] <stickystyle> and using the a2enmod command symlinks them to the apache2/mods-enabled dir.
[22:16] <stickystyle> and it does say to do that in the server guide https://help.ubuntu.com/8.04/serverguide/C/php5.html
[22:17] <stickystyle> (under Configuration)
[22:17] <billybigrigger> good eyes, i missed that one :P
[22:20] <stickystyle> as 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:21] <stickystyle> that way you can very easily pull things out, and put things in without going through many hundred lines of conf files.
[22:49] <pmatulis> daxroc: yes daxroc
[22:57] <billybigrigger> im having some sort of problems with my /etc/aliases
[22:58] <billybigrigger> im 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?
[23:01] <stickystyle> billybigrigger: as you described it, that should work.  Did you run $sudo postaliais /etc/aliases after you made the changes?
[23:10] <billybigrigger> negative
[23:10] <billybigrigger> tail -f /var/log/mail.log shows its trying to redirect
[23:13] <billybigrigger> The following message to <webmaster@thefrozencanuck.ca> was undeliverable.
[23:13] <billybigrigger> The reason for the problem:
[23:13] <billybigrigger> 5.1.0 - Unknown address error 550-'5.1.1 <webmaster@thefrozencanuck.ca>: Recipient address rejected: User unknown in local recipient table'
[23:13] <billybigrigger> thats from my isps webmail, trying to send a message to webmaster
[23:13] <billybigrigger> i ran postalias
[23:14] <billybigrigger> http://pastebin.com/f5ca68439
[23:14] <billybigrigger> theres my aliases
[23:22] <PhotoJim> billybigrigger: run "newaliases"
[23:22] <billybigrigger> ahh thanks :P
[23:23] <billybigrigger> working great now
[23:24] <PhotoJim> np :)
[23:30] <daxroc> pmatulis: running into similar problems with all vm s now they are not using the static ip or dhcp when none is specified
[23:31] <pmatulis> daxroc: inspect their xml files like before
[23:32] <daxroc> I 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:33] <daxroc> pmatulis: http://pastebin.ca/1460420
[23:51] <pmatulis> daxroc: and you redefined the domains?
[23:52] <daxroc> pmatulis: I edited via virsh so it should redefine automatically no ?
[23:52] <pmatulis> daxroc: not familiar with editing "within virsh".  what did you do exactly?
[23:53] <daxroc> edit vmname ( enters vi ) changed the nw definitions and wrote changes and saved
[23:53] <daxroc> *and exited back to virsh
[23:54] <daxroc> ( need sleep )
[23:54] <pmatulis> is that a new feature?  i never heard of the edit command
[23:55] <daxroc> pmatulis: Not sure if it is
[23:55] <pmatulis> anyway, if the xml file looks good there is no harm in redefining
[23:55] <pmatulis> $ virsh define file.xml
[23:55] <daxroc> pmatulis: I think it even checks the syntax before it redefines
[23:57] <daxroc> no joy
[23:58] <daxroc> can you get access to the vm from the local host , I just need to define a ttyconsole ?