[00:06] <sYskk> i get an error when trying: sudo apt-get install subversion libapache2-svn
[00:06] <sYskk> Setting up libapache2-svn (1.6.5dfsg-1ubuntu1) ...
[00:06] <sYskk> Considering dependency dav for dav_svn:
[00:06] <sYskk> ERROR: Module dav does not exist!
[00:06] <sYskk> ERROR: Could not enable dependency dav for dav_svn, aborting
[00:14] <sYskk> :/
[00:53] <pwnguin> django app deployment question
[00:53] <StormTide> can you use the alternate cd to install a no-gui install, and if so, do you need to do anything special... i cant find a server edition alternate cd (need alt for raid options)
[00:53] <pwnguin> how should i deal with multiple apps assuming CSS hosted in /media/?
[00:54] <pwnguin> ie, the django admin app uses /media/base.css
[00:55] <pwnguin> i can alias /usr/share/pyshared/django/contrib/admin/media/css in apache
[00:55] <pwnguin> but if i come across another app that uses /media/, that fails
[00:58] <Italian_Plumber> is there some place i can go to read about the recent changes to samba?  I have one shared folder that contains symlinks to another user's folders.  The symlinks and the folders all have 777 permissions, but when I try to open those folders over the share, it says "You don't have permission to access this resource".  What gives?
[00:58] <Italian_Plumber> This used to work just fine
[01:00] <mdeslaur> Italian_Plumber: look at http://www.ubuntu.com/usn/USN-918-1
[01:00] <mdeslaur> Italian_Plumber: you can no longer have wide links and unix extensions enabled at the same time in samba
[01:01] <pwnguin> looking into it, i can define a seperate prefix for the admin app
[01:04] <Italian_Plumber> so if I want to share those other users folders I have to create a new share?
[01:04] <mdeslaur> Italian_Plumber: if you are serving windows clients, you can simply disable unix extensions
[01:05] <mdeslaur> Italian_Plumber: if you are serving unix clients, yes, you need to create a new share
[01:05] <Italian_Plumber> ok I'll look into that, thanks.
[01:06] <Italian_Plumber> Well that explains what to do but doesn't explain what wide links and unix extensions are. :)
[01:54] <Psi-Jack-> Hmm
[01:55] <Psi-Jack-> UEC supports both kvm (by default), and Xen. I'm considering actually trying it now for once, after playing with XenServer from Citrix. heh
[01:56] <Psi-Jack-> Can you run both kvm and xen domU's on the same UEC host?
[03:11] <Maletor> I have an LVM at /dev/mapper/vg-root  When I'm in the installer do I want to select the volume and create a new partition table? I thought LVM got rid of partition tables???
[03:12] <Maletor> Also, I'm installing from live-cd so when I boot up is it going to be able to assemble with mdadm and make the lvm2?
[03:13] <twb> It's not meaningful to create a partition table within an LVM LV.
[03:13] <Maletor> Well I created a /dev/vg/swap and /dev/vg/root
[03:13] <twb> Those are LVs, not partitions.
[03:13] <Maletor> Within the installer it shows up as /dev/mapper/vg-root
[03:14] <Maletor> Exactly, how do I install to the LV.
[03:14] <twb> In d-i, you simply assign mount points to LVs and/or partitions.
[03:15] <twb> I can't comment on ubiquity, because when last I looked it didn't support md RAID nor LVM.
[03:15] <twb> Nor did the live CD support server installs.
[03:15] <Maletor> What's ubiquity - the installer
[03:15]  * Maletor answers own question about installer
[03:16] <genii> !info ubiquity
[03:16] <Maletor> well i just want a vg for swap and a vg for root. How can I install Ubuntu now?
[03:17] <Maletor> err. lv
[03:19] <twb> Maletor: do you want a server or a desktop?
[03:19] <Maletor> desktop twb
[03:19] <Maletor> (and personal server)
[03:19] <twb> Maletor: I won't provide support for Ubuntu desktops.
[03:20] <Maletor> Server then.
[03:24] <twb> OK, then you need to download the server install CD.
[03:24] <twb> Otherwise you'll get a GUI, and various other things that shouldn't be on a server.
[03:28] <Maletor> Ok I'm downloading alternate-amd64
[03:28] <Maletor> I will boot up, find my RAID, find my LVM2 and install appropriately.
[03:28] <Maletor> Kernel should have mdadm and LVM2
[03:28] <twb> The alternate CD is a Desktop install CD.
[03:29] <Maletor> Different kernel's though, right?
[03:29] <twb> I don't know, since I don't use Ubuntu desktops.
[03:29] <Maletor> I'm pretty sure they are.
[03:29] <Maletor> Ubiquity can't support RAID and LVM so why should the kernel?
[03:30] <Maletor> I need alternate or this will not be able to mount the root filesystem because it won't be able to find (access) it.
[03:30] <twb> Ubiquities failings aren't any reason to cripple the kernel.
[03:30] <twb> *ubiquity's
[03:30] <lifeless> wait, what
[03:31] <lifeless> ubiquity can do raid and lvm setup
[03:31] <lifeless> but as twb says, for desktop stuff - #ubuntu-desktop
[03:31] <lifeless> or even #ubuntu
[03:31] <Maletor> It can!? :)
[03:31] <lifeless> if you're doing a server install, grab the server CD
[03:33] <Maletor> Hey, I have a /dev/md1 as RAID5 and a /dev/vg/root (as ext4 -- /dev/mapper/vg-root).
[03:33] <Maletor> [10:32pm] Maletor: Can I just select my /dev/md0 and set that to boot
[03:33] <Maletor> [10:32pm] lifeless: stay on channel please
[03:33] <Maletor> [10:32pm] Maletor: Select dev/vg/root to my root partition and /dev/vg/swap to swap
[03:33] <Maletor> [10:33pm] Maletor: And install. And the kernel will be able to figure out that it needs to assemble a raid and find a lvm to startup?
[03:44] <maxagaz> is there a command line to check the Upload and the Download traffic speed my eth0 ?
[03:44] <maxagaz> of my eth0
[03:47] <twb> maxagaz: push data through it
[03:48] <twb> Time how long it takes to transmit a known quantity.
[03:48] <twb> If you want the theoretical maximum, mii-tool or ethtool will report the negotiated line speed for 802.3 links.
[04:30] <maxagaz> twb,  there's no command line tool to check the amount of data transfered per second ?
[04:36] <soren> maxagaz: ntop?
[04:36] <maxagaz> soren, iftop...
[04:53] <swift> hi guys... i tried configuring mrtg on my ubuntu server... getting the following warnings when i run mrtg....
[04:54] <swift> http://pastebin.com/5i8bLQH2
[04:55] <swift> I dont understand why this is happeining
[04:55] <swift> the graphs are shown on the browser
[04:55] <swift> but they are blank...
[04:55] <swift> should i run snmpwalk on my server?
[04:55] <swift> snmp agent is started on 192.168.8.1 router
[04:56] <twb> swift: sounds like a chown issue
[04:56] <twb> swift: who owns those log files, and who does rateup run as?
[04:57] <swift> how to check that?... ls -al rateup?
[04:57] <twb> swift: also, LANG=C is wrong.  You want LC_ALL=C.
[04:57] <twb> swift: no, examine the process while it's running.
[04:59] <swift> twb... how do i do that?
[05:00] <twb> !grounding
[05:00] <twb> Hmph.
[05:02] <twb> ubottu should just snarf all the dpkg bot's info entries
[05:02] <twb> ubottu: shut up
[05:02] <twb> swift: you need to improve your basic Unix skills
[05:25] <Sam-I-Am> twb: moo
[05:26] <twb> Ha!
[05:26] <Sam-I-Am> hows life?
[05:26] <twb> Shrug.
[05:26] <Sam-I-Am> found a workaround for the ldap problem i mentioned
[05:26] <Sam-I-Am> nothing like some universe packages :)
[05:26] <twb> Sam-I-Am: go on.
[05:26]  * twb steeples fingers
[05:26] <Sam-I-Am> you still have the bug i posted?
[05:27] <twb> Can't remember.  I subscribed to the Debian one.
[05:27] <Sam-I-Am> one sec..
[05:27] <Sam-I-Am> https://bugs.launchpad.net/bugs/423252
[05:27] <Sam-I-Am> posted solution
[05:28] <Sam-I-Am> while i was there, i also noticed another interesting bug... introduction of using sasl external to modify ldap by default caused some acls to be added in Bad Places
[05:28] <Sam-I-Am> like... acling things like cn=schema from outside connections
[05:28] <Sam-I-Am> so uh... nothing can read the schema
[05:29] <Sam-I-Am> openldap developer nicely posted that one for me... his name has a bit more pull than mine does.  we'll see if anyone notices.
[05:29] <Sam-I-Am> theres a lot of sorta duplicate bugs i'm merging for that
[05:30] <Sam-I-Am> not being able to read rootdse kinda returns a variety of strange error messages
[05:41] <Sam-I-Am> twb: the silence is deafening :/
[05:43] <twb> Sam-I-Am: sorry, other channels and whatnot
[05:44] <twb> So nslcd magically fixes it?
[05:44] <twb> Yeah, OK.
[05:45] <twb> I've done my share of flip-flopping between nss-ldap and nss-ldapd
[05:45] <twb> Their actual code is bloody ugly.
[05:48] <Sam-I-Am> yeah
[05:48] <Sam-I-Am> its... not ideal
[05:48] <Sam-I-Am> but it works :P
[05:48] <Sam-I-Am> i think its nss-ldapd which fixes it... nslcd seems to be related, but i dont think its the core issue
[05:49] <Sam-I-Am> in the past, nss-ldapd has sucked ass, so this was a surprise
[05:50] <Sam-I-Am> time to hit the sack here
[07:23] <swift> hi guys, I wanted to confirm on my query... mrtg is not workin as expected.. i get the following warnings
[07:23] <swift> http://pastebin.com/5i8bLQH2
[07:24] <swift> i checked the permissions on 'rateup' file... the owner is 'root'
[07:24] <swift> with rwx permissions
[07:25] <swift> also, now when i manually type 'sudo mrtg /etc/mrtg/mrtg.cfg'.... i get no warnings.... andonly then my graph get's updated
[07:25] <swift> otherwise... i see mrtg doesn't run as a process... please advise
[07:30] <swift_> any advise if mrtg can cause the internet line to go down?
[07:30] <qman__> swift_, you need to figure out what user mrtg is running as, and chown the log files to that user
[08:21] <RoyK> swift, run it again a few times. you always get some warnings the first runs
[08:21] <RoyK> and no, mrtg isn't running as a daemon
[08:21] <RoyK> use cron
[08:21] <swift> RoyK, i want to have it in the init tab... so that it starts at reboot
[08:21] <swift> how can i do that?
[08:22] <RoyK> crontab -e
[08:22] <RoyK> man cron
[08:22] <RoyK> man 5 crontab
[08:26] <swift> RoyK, dont want a cron job... want to have it under init
[08:27] <swift> how cqan i have it as a service ... always running?
[08:28] <sherr> swift: That's not how mrtg is designed.
[08:28] <sherr> It is designed to run from cron (and installed so)
[08:28] <swift> sherr, can't i have it as a service running at all times... that's kinda bad
[08:28] <sherr> It is not meant to run *all* the time. Reading/generating stats all the time.
[08:29] <swift> i mean.. if smokeping can.. what;s with mrtg?
[08:29] <sherr> swift: why? It is silly - snapshot every second?
[08:29] <swift> yeah... it just shows the graph.. progress
[08:29] <swift> so that i can compare
[08:30] <t3ngu> sorry to intervene, but in that case your data is static every second
[08:35] <swift> t3ngu.. how is it static?
[08:36] <swift> that's wierd
[08:36] <RoyK> swift, mrtg isn't a daemon
[08:36] <RoyK> swift, use munin instead - mrtg is OLD
[08:36] <swift> it can be run as a daemon
[08:36] <RoyK> ok - didn't know that, but still, use something else
[08:36] <swift> i wanted t try mrtg... munin is running
[08:36] <RoyK> ah :)
[08:37] <swift> :D
[08:37] <RoyK> first munin, then rrdtool and then mrtg, just to trace back all the way?
[08:37] <t3ngu> I mean static, as you dont collect data every second
[08:37] <RoyK> :D
[08:37] <swift> mrtg has an option.. runasdaemon.. in the config
[08:37] <t3ngu> you usually run something every 5mins
[08:37] <t3ngu> and then plot it.
[08:38] <RoyK> iirc 5 minutes is maximum resolution for mrtg
[08:38] <RoyK> there's a lot of bad hardcoding in mrtg
[08:39] <swift> ok, point noted... il run it using cron
[08:39] <swift> thanks guys!!!
[08:39] <RoyK> I really don't see why you shouldn't use cron :)
[08:53] <RoyK> hi all. I'm considering setting up a cloud for internal virtualisation use, but I wonder, how can the have a redundant front-end server?
[08:53] <t3ngu> cluster?
[08:53] <t3ngu> load balanced webservers?
[08:54] <RoyK> I thought the front-end also bridged the traffic..?
[08:54] <t3ngu> what do you mean 'breagded traffic' ?
[08:54] <RoyK> eucalyptus needs to be aware of the redundancy
[08:55] <RoyK> "tunneling" the ip traffic from the nodes to the clients
[08:55] <RoyK> bridging
[08:55] <RoyK> or routing if you like
[08:56] <t3ngu> then i think you would like linux-HA
[08:56] <t3ngu> http://www.linux-ha.org/wiki/Main_Page
[08:56] <RoyK> not really, I would like Eucalyptus to do this. Linux HA is something else
[08:57] <RoyK> or perhaps I can do it with DRBD/heartbeat
[08:57] <RoyK> hm...
[08:58] <t3ngu> i really don't know eucalyptus
[08:58] <t3ngu> haven't used it but i have used drbd and load balanced in high traffic sites
[09:00] <TeTeT> RoyK: redundancy in the front-end is kind of un-researched right now. There's a bug I file on this, let me check
[09:01] <TeTeT> bug 497087
[09:16] <brontosaurusrex> any clues on why this: 'sudo mount --bind /var/www/files/ /home/user/files/' didnt persist?
[09:17] <brontosaurusrex> and q2, how to change the default user shell type, and which one should i choose? bash?
[09:18] <RoyK> TeTeT, so do I understand it correctly that if the cluster controller dies, all VMs become unavailable?
[09:18] <RoyK> brontosaurusrex, persist?
[09:19] <brontosaurusrex> RoyK: after reboot this mounted folders show as empty
[09:19]  * RoyK didn't know --bind, though, having used -o bind, but it's probably the same
[09:19] <RoyK> ah
[09:19] <RoyK> :)
[09:19] <RoyK> man fstab
[09:19] <brontosaurusrex> RoyK: ok
[09:19] <TeTeT> RoyK: the cluster and the cloud controller are both SPOF if you go with the simple topology
[09:19] <RoyK> brontosaurusrex, or just edit /etc/fstab
[09:19] <RoyK> it's self-explainatory
[09:19] <TeTeT> RoyK: you can have multiple cluster controllers, but it's not straight forward to setup in 9.10
[09:20] <TeTeT> RoyK: in 10.04 LTS 'Lucid' the multi-cluster approach has been integrated into the installer
[09:21] <RoyK> hm, ok, so with 10.04 I can use a pair of "front-ends" and a bunch of nodes behind them?
[09:21] <brontosaurusrex> RoyK: any other way? without editing fstab?
[09:21] <RoyK> brontosaurusrex, that's the way
[09:21] <TeTeT> RoyK: nope, only one Cloud controller, but multiple cluster controllers for multiple availability zones
[09:21] <brontosaurusrex> RoyK: eventually i would make a bash script of some sort : addsomenewuser tony
[09:21] <TeTeT> RoyK: are you aware of the Intel/Canonical cloud whitepaper? might give you some ideas for architecture
[09:22] <RoyK> brontosaurusrex, you mean useradd -m?
[09:22] <brontosaurusrex> RoyK: i mean i will do a script with multiple commands, where user will be input variable
[09:22] <RoyK> TeTeT, do I understand it correctly that all traffic is bridghed through the cluster controller? if so, that's a single point of failure...
[09:23] <RoyK> brontosaurusrex, sure, as you please, but mounting on startup is done in fstab. obviously you _can_ do it other places, like in the init scripts or even with cron, but it'll be ugly
[09:24] <brontosaurusrex> RoyK: damn
[09:24] <TeTeT> RoyK: correct, if you only have one cluster - but a cloud might have multiple clusters
[09:28] <brontosaurusrex> RoyK: ok, so view mtab after mount command, copy-paste to fstab, reboot and see if that wroks?
[09:28] <brontosaurusrex> works*
[09:30] <RoyK> brontosaurusrex, heh - just learn the system
[09:32] <RoyK> brontosaurusrex, /tmp    /var/tmp/tmp    none    bind    0       2
[09:32] <RoyK> will bind-mount /tmp on /var/tmp/tmp
[09:32] <RoyK> on boot
[09:40] <brontosaurusrex> ok
[09:46] <RoyK> TeTeT, erm, but still, for one cluster, there would be only one controller, right? so no failover like what exists on high-end stuff like vmware?
[09:50] <TeTeT> RoyK: you're right, on a simple topology cloud with one front-end and multiple nodes, the front-end is a single point of failure
[09:50] <TeTeT> RoyK: so the front-end should be on HA hardware
[10:03] <RoyK> TeTeT, there's another thing I don't understand - I read in the docs that  the nodes cache their drive image locally. won't this make it hard for it to fail over to another node if the one running the VM dies?
[10:06] <TeTeT> RoyK: there is no fail over between nodes. Instances running on the nodes are thought to be disposable, e.g. an unreliable system
[10:07] <TeTeT> RoyK: so in general when you run an instance, the node will ask the S3 storage controller for an image
[10:08] <TeTeT> RoyK: the node checks then if the image is in the node's cache and if not, it will copy it from S3
[10:08] <TeTeT> RoyK: the instance itself is then a copy of the image (more or less, some magic with ssh keys and creating one image out of the image, ramdisk and kernel is done too)
[10:11] <swift> hi again... i have an ubuntu server which is the gateway to our network
[10:12] <swift> it has two modems connected to it.. eachhavingan internet line
[10:12] <swift> authentication is done via the ubuntu server... virtual ppp interfaces are present on the server.... now, one of the modems has an snmp agent which i use to capture data in mrtg
[10:13] <swift> the other modem doesn't have any snmp agent... is there a way i can get modem data via the server?... maybe by using the ppp interface corresponding to that modem
[10:13] <swift> please advise
[10:14] <RoyK> just install snmpd
[10:14] <RoyK> there will be snmp counters on linux for all interfaces
[10:19] <swift> RoyK.. so, snmpd will be able to get the required data from the server... for that particular internet line?
[10:20] <RoyK> snmpd will report the traffic on the interface that connect to that connection
[10:20] <RoyK> whatever's happening inside the modem won't be shown, but that is probably just fine
[10:21] <swift> yes... basically... I want to monitor the traffic on the line
[10:21] <RoyK> well, the traffic going through the server and in/out of the line will be the same, no?
[10:21] <swift> RoyK, i see a lot of snmp related services on the server... snmpdelta, snmpget, snmpdf....
[10:21] <swift> yes
[10:21] <RoyK> or are there other machines connected to this modem?
[10:22] <swift> no... all traffic goes out via the server
[10:22] <RoyK> does the server listen to snmp?
[10:22] <swift> only thing is, there are two internet lines
[10:22] <swift> RoyK. how can i find that out?
[10:22] <RoyK> connected to one or two interfaces on the server=
[10:22] <RoyK> ?
[10:23] <RoyK> if eth0 is connected to modem A and eth1 to modem B, they have different counters
[10:23] <swift> there are two lines.... each connected to separate modems
[10:23] <RoyK> if ppp0 is connected to modem A, it also has a counter
[10:23] <swift> yes.. tat's the case
[10:23] <swift> ok coool!
[10:23] <RoyK> well, just cfgmaker
[10:23] <RoyK> it'll find it
[10:24] <swift> run cfgmaker?
[10:24] <RoyK> man cfgmaker :)
[10:24] <swift> RoyK... i ran cfgmaker for the modem IP which has the snmpagent
[10:25] <swift> i see the graph for that modem too
[10:25] <swift> infact... there are 8graphs... confusing
[10:29] <RoyK> one for each interface cfgmaker found
[10:30] <RoyK> but you should run cfgmaker for the ubuntu machine
[10:30] <RoyK> since one of the modems don't have snmp
[10:30] <swift> woh1!!
[10:30] <swift> over the top
[10:31] <swift> im new to this.. please can u make it easier?
[10:32] <RoyK> hm.... I gotta work too :)
[10:33] <RoyK> just remember that your server is a router. it counts every packet that goes through. possibly those counters are the ones you're looking for
[10:34] <swift> hmm... point noted... ill get this done!... thanks RoyK!!!
[10:43] <tgalal> I need someway to install Ubuntu server on 100 machines without having to do the installation procedures on all of them .. Is there someway that I can install only on 1 machine and replicate the installation over all the others ?
[10:45] <xenaxon> hello, where are the apache config files kept?
[10:46] <lloowen> Hello all. Having problems with my mouse when I use a virtual pc via my vmware server. I think I have to add something to the xorg.conf file, but the xserver crashes when I alter anything in there. Tried a number of suggestions for altering the xorg.conf file, but didn't work. I have installed "apt-get install xserver-xorg-input-vmmouse" so in theory it should work, but clearly this package is not working on my pc. I am using kubuntu
[10:47] <lloowen> xenaxon: /etc/apache2/
[10:50] <lloowen> anyone using vmware server2?
[10:54] <TeTeT> tgalal: there are multiple ways to achieve this. You can use kickstart, preseed or you can clone the install with clonezilla
[10:54] <tgalal> TeTeT, which is the simplest ?
[10:54] <tgalal> TeTeT, I need a hands-off installation .. i only want to touch 1 machine
[10:55] <TeTeT> tgalal: if they are identical hardware, clonezilla is most likely the easiest path, then kickstart, the preseeding
[10:56] <TeTeT> tgalal: do some testing with clonezilla.org, https://help.ubuntu.com/9.10/installation-guide/i386/automatic-install.html
[10:57] <TeTeT> tgalal: https://help.ubuntu.com/9.10/installation-guide/i386/appendix-preseed.html
[10:58] <lloowen> any body using vmware server2?
[10:59] <tgalal> TeTeT, thanks a lot .. that really helped
[11:01] <xenaxon> does apache start everytime I start ubuntu
[11:01] <xenaxon> kubuntu*
[11:01] <xenaxon> or do I need to start the service manually?
[11:01] <TeTeT> xenaxon: by default it is started when installed
[11:15] <xenaxon> guys how do I start the mysql server
[11:16] <au> xenaxon: /etc/init.d/mysqld start
[11:16] <RoyK> xenaxon, like most other services, like au said
[11:16] <xenaxon> thanks
[11:16] <au> welcome :)
[11:16] <RoyK> or "service mysqld start" on newer versions
[11:16] <RoyK> ubuntu has adopted that now, it seems
[11:16] <au> since when could you do that on ubuntu?
[11:17] <au> ahh
[11:17] <xenaxon> oh, sorry I'm on kubuntu
[11:17] <xenaxon> not ub
[11:17] <au> I missed that switching from centos that ubuntu
[11:17] <xenaxon> it says urecognised service/command not found
[11:18] <au> xenaxon: apt-get install mysql-server
[11:18] <au> that will install it for you
[11:18] <xenaxon> I did
[11:18] <au> did you double check? :p
[11:18] <xenaxon> ok
[11:18] <xenaxon> no
[11:20] <xenaxon> no such file or directory
[11:20] <xenaxon> and I installed it right now
[11:22] <tgalal> TeTeT, I'm planning to use kickstart or preseeding ... isn't there any where I could define incremental IP addresses for my machines and usernames as well ?
[11:22] <tgalal> in any of the 2 methods
[11:22] <au> pm me the output of what it said when you did apt-get install mysql-server
[11:22] <tgalal> any way*
[11:23] <xenaxon> how can I check if mysql is running
[11:32] <joschi> xenaxon: sudo /etc/init.d/mysql status
[11:32] <xenaxon> what mysql client should I use
[11:33] <xenaxon> joschi do you recommend any mysql client?
[11:33] <xenaxon> interface*
[11:33] <joschi> xenaxon: whichever you like...
[11:33] <joschi> depends what you want to do with it
[11:35] <xenaxon> on windows I was just using the phpmyadmin
[11:35] <xenaxon> I need it to do manual database operations
[11:35] <xenaxon> like importing a database/table/entries
[11:35] <xenaxon> and also creating/editing table structure
[11:42] <joschi> xenaxon: try http://dev.mysql.com/downloads/workbench/
[11:42] <joschi> xenaxon: or install phpmyadmin if you liked it and it did what you needed
[11:48] <TeTeT> tgalal: IP addresses should go in your DHCP server and dealt out from there. On usernames I fear you have to script
[11:48] <TeTeT> tgalal: e.g. you can script that they get each a different user in the %post section of the kickstart file
[11:51] <xenaxon> thanks joschi. I installed the workbench.
[11:58] <xenaxon> is it possible to import a database with the MySQL Workbench?
[12:00] <sherr> xenaxon: does it not have any documentation?
[12:01] <xenaxon> where are the database files kept in mysql
[12:01] <xenaxon> I just want to copy the database from my windows folder to the linux mysql folder
[12:02] <xenaxon> can I just copy the database table from windows mysql to linux mysql?
[12:03] <sherr> xenaxon: Try /var/lib/ for the DB data files and /etc/my.cnf (or similar) for cnfig.
[12:03] <sherr> But there are lots of docs around for MySQL. Have a look e.g.
[12:04] <sherr> http://dev.mysql.com/doc/
[12:04] <xenaxon> on windows my dataase has it's own folder
[12:05] <xenaxon> I can't find folders for any of linux's databases
[12:20] <xenaxon> does anyone know how to import a database with MySQL Workbench?
[12:20] <xenaxon> it doesn't have any help files
[12:20] <xenaxon> ...
[12:27] <tgalal> TeTeT, I don't want to use a dhcp server because it will be a single point of failure ... and I want the machines to be networked even of the dhcp server is down .. so I want to use static IP's ... any idea ?
[12:29] <twb> Whereas with static network configuration, you have *two* SPOFs
[12:30] <tgalal> how is a static network a single point of failure ?
[12:30] <twb> Machines will still have network if the DHCP server is down.  They typically just won't be able to reboot while the DHCP server is down.
[12:30] <twb> tgalal: because both ends need to be statically configured to talk to one another.
[12:31] <tgalal> this doesn't make it a SPOF .. because if a machine falls down .. the rest will be able to communicate
[12:31] <tgalal> I have 100 machines
[12:31] <twb> Anyway, there's no reason you can't have multiple DHCP servers using the same ethers database.
[12:32] <tgalal> too much hassle
[12:32] <tgalal> I need static IP's :-)
[12:32] <twb> As a rule, I don't help people to do stupid things
[12:33] <tgalal> this is not stupid .. this is the best for my setup
[12:33] <tgalal> multiple dhcp servers is a stupid idea
[12:33] <tgalal> 100 dhcp servers on 1 network ?
[12:33] <tgalal> are you sure this is wise ?
[12:34] <twb> 0 is a network.  It has 2³² IPs in it.
[12:34] <tgalal> ?
[12:35] <twb> 0 as in CIDR 0.  a.k.a. 0/0 or 0.0.0.0/0.0.0.0 if you want to be verbose.
[12:35] <\sh> oh well...make the dhcp servers redundant e.g. pacemaker .. and use dhcp relay features of your switch
[12:35] <twb> \sh: DHCP already works by broadcast
[12:35] <tgalal> twb, I learned this in my network basics class
[12:36] <twb> If you're using fixed IPs with a shared ethers database, it doesn't matter which one responds first.
[12:36] <tgalal> hmm
[12:37] <twb> Of course, distributing ethers to hosts direct and forgoing DHCP entirely wouldn't work too well, because you wouldn't have enough network to access the LDAP or NIS database that had the ethers in it.
[12:39] <\sh> twb, you could use the dhcp relay features of your switch, when you want to use only one dhcp service for any networks in your local infrastructure...works very nicely when you have several native vlans and you need ip..
[12:43] <xenaxon> does anyone know how to import a mysql database?
[12:50] <tgalal> What the hell .. if I use kickstart I will still have to provide the 100 machines with the installation CD's ?
[12:50] <tgalal> TeTeT, ^
[12:51] <TeTeT> tgalal: no, you can install it conveniently from a PXE boot server
[12:53] <tgalal> https://help.ubuntu.com/community/PXEInstallServer
[12:53] <tgalal> TeTeT, thanks :-)
[13:00] <tgalal> I need someway to generate incremental usernames and passwords for all the machines
[13:00] <tgalal> machine1 password1, machine2 password2, ... etc
[13:01] <tgalal> TeTeT, can I do so with kickstart ?
[13:02] <TeTeT> tgalal: you have to script it somehow and give each host a different ks.cfg
[13:02] <tgalal> how do I give the hosts a certain kickstart file ?
[13:02] <TeTeT> tgalal: for example providing ks.cfg via a cgi script
[13:03] <tgalal> will you please elaborate a bit ?
[13:04] <tgalal> as far as I can understand the as soons as I boot the client machines in PXE mode .. they detect the server and run the designated kickstart file ... so how can I specify which file every client uses ?
[13:04] <TeTeT> tgalal: ks=<webserver>/<cgi-bin>/<script>
[13:04] <TeTeT> tgalal: instead of ks=<webserver>/ks.cfg
[13:05] <TeTeT> on the server you need to write a script that injects a new IP and user for each machine, and probably you want different passwords too
[13:06] <xenaxon> can someone help me with phpmyadmin
[13:06] <xenaxon> I can't get it to work
[13:06] <tgalal> this is exactly what I want to do
[13:06] <tgalal> but
[13:06] <TeTeT> so you need a config file or database with a truple of IP, user and password on the installation server
[13:06] <TeTeT> your script needs to parse that file/ read the db and then provide a ks.cfg based on it
[13:08] <tgalal> TeTeT, parse what file ?
[13:08] <tgalal> the db you mean ?
[13:08] <TeTeT> tgalal: the configuration file with the truple inside
[13:08] <tgalal> TeTeT, can this be a php script ?
[13:09] <TeTeT> tgalal: yes, can be
[13:10] <tgalal> one last question
[13:10] <tgalal> what variables do i feed to the script such that it makes the correct selection ?
[13:11] <TeTeT> tgalal: sorry, I don't get your question
[13:12] <tgalal> TeTeT, I mean how will the script know that this particular machine just ran the script so that the script provides it with the truple
[13:13] <xenaxon> what is wrong with etc/www I can't edit or create anything
[13:13] <TeTeT> tgalal: you need a persistent global variable that knows which truple you selected last
[13:14] <tgalal> this is exactly what I can't figure out :-D
[13:14] <TeTeT> tgalal: maybe in a /tmp file or somewhere. I never had the need to code it. In a DB you just store it in a current_truple_id table/column
[13:15] <tgalal> no no
[13:15] <tgalal> you don't get my question
[13:15] <tgalal> i mean on what basis do i select the druple
[13:15] <tgalal> truple*
[13:16] <tgalal> how will the php script decide on the truple
[13:16] <tgalal> I think I got an idea
[13:17] <tgalal> I will use the IP address reported by the machines when they're booting in PXE mode ... the server should provide them with addresses
[13:17] <tgalal> TeTeT, I will try that and tell you how it goes
[13:20] <TeTeT> tgalal: good luck
[13:32] <zul> ttx: ping when you are round
[13:32] <zul> xenaxon: google is your friend
[13:34] <TeTeT> zul: do you implement the apport hooks for server packages?
[13:34] <zul> TeTeT: yep
[13:35] <zul> TeTeT: check the server-lucid-apport-hooks spec
[13:35] <TeTeT> zul: nice, I'll have to give a short presentation on them for the next sprint. Any recommended reading for me beyond the spec?
[13:35] <zul> TeTeT: umm....lemme check
[13:36] <zul> TeTeT: nope they should be the regular docs for apport
[13:36] <TeTeT> zul: ok, so read https://wiki.ubuntu.com/Apport first
[13:37] <zul> TeTeT: yep
[13:42] <kirkland> ttx: around?
[13:42] <kirkland> ttx: we need to update the documentation under https://help.ubuntu.com/community/UEC/* to reflect the new, simplified Lucid procedures for doing things
[13:43] <kirkland> ttx: (Registration, Publication, etc)
[13:43] <ttx> kirkland: sorry, was busy filing bug 551650
[13:43]  * kirkland looks
[13:44] <ttx> kirkland: yes, I was planning to have a look during freeze
[13:44] <ttx> zul: pong
[13:44] <zul> ttx: what do you think of? https://bugs.edge.launchpad.net/ubuntu/+source/apache2/+bug/551221
[13:44] <kirkland> ttx: okay, i'll go fix it
[13:45] <ttx> kirkland: to avoid regressions, starting with beta2freeze we should be very careful with what bug we try to fix
[13:46] <ttx> kirkland: for the weekly cherrypick of week #24 in particular :)
[13:46] <ttx> zul: looking
[13:46] <ttx> kirkland: i'm doing a few tests on the current euca, fwiw
[13:46] <kirkland> ttx: this week's cherry pick was non-trivial
[13:46] <kirkland> ttx: thanks, me too; i just got an up-to-date cloud running here
[13:47] <ttx> kirkland: I mean we should stop fixing small bugs to avoid facing the risk of regression between Beta2 and RC
[13:48] <ttx> this week was ok :)
[13:48] <kirkland> ttx: whatever you say boss
[13:48] <suunto> ola, i have a server in my office that can only be reached via ssh. it's hosting some dev sites, which i need to reach..so i tried ssh -L 3128:localhost:3128 username@server.office
[13:49] <suunto> and now i enter in my browser the proxy localhost:3128 - but i cant reach these sites..
[13:49] <suunto> is there a way to get to them?
[13:49] <ttx> zul: that seems like two features
[13:50] <ttx> zul: sounds interesting, but will need to pass ReleaseTeam approval
[13:51] <kirkland> smoser: around?
[13:51] <kirkland> smoser:         [ "${haystack#* ${needle} }" != "${haystack}" ] ain't working
[13:51] <kirkland> smoser: http://pastebin.ubuntu.com/406509/
[13:52] <ttx> kirkland: I suspect it's because haystack uses newlines as separators
[13:52] <kirkland> ttx: yeah, i'm going to turn this back into a loop and do some testing
[13:52] <ttx> since it's built from nodes.list, if I read correctly
[13:52] <kirkland> ttx: correct
[13:54] <elb0w> looks like its working now
[13:55] <ttx> kirkland: fwiw the logic in /usr/share/eucalyptus/registration/node is working :)
[13:56] <kirkland> ttx: http://paste.ubuntu.com/406511/
[13:56] <kirkland> ttx: that's my proposed solution
[13:56] <kirkland> ttx: smoser suggested that inline string searching shell construct
[13:57] <zul> ttx: i dont think we can do the apache2 ffe
[13:57] <kirkland> ttx: or something close to it
[13:57] <kirkland> ttx: i'm going to wait until smoser comes around to verify that my suggested change is okay
[13:57] <kirkland> ttx: i'm testing it here and it works
[13:57] <kirkland> ttx: try applying that to your /usr/sbin/euca_conf and see
[13:57] <ttx> sure, no hurry, it's not as if deregister a node had any real value anyway
[13:58] <kirkland> ttx: try this on your cloud ....
[13:58] <kirkland> ttx: uec-run-instances -l ttx $EMI
[13:58] <kirkland> ttx: then ssh in using your public SSH key registered in Launchpad
[13:59] <Omahn> Could anyone tell me where I should send feedback regarding the server support cycle periods?
[14:00] <Omahn> (from one of our users)
[14:00] <ttx> kirkland: nifty -- though you should have asked for a FFe on that one
[14:01] <ttx> adding new commands/features after FeatureFreeze should pass Release Team approval...
[14:01] <ttx> (I don't doubt that in this precise case they would have granted it, but...)
[14:03] <ttx> kirkland: or did they grant the exception ? I cannot find any trace on the referenced bug.
[14:05] <kirkland> ttx: this was a remnant of scott's xc2 spec which didn't get implemented;  i was passionate about solving this one particular usability pain-in-the-ass, and so I just-did-it
[14:05] <kirkland> ttx: in retrospec, i perhaps could have had an FFe
[14:06] <ttx> kirkland: maybe check with a release team member that they are ok with it... so that it doesn't backfire
[14:06] <kirkland> ttx: right now?
[14:06] <kirkland> ttx: or in the future?
[14:06] <kirkland> ttx: because i was just about to push "publish" on a blog post about the niceness of the tool
[14:06] <ttx> kirkland: ah
[14:06] <kirkland> ttx: i'll do it if you like
[14:07] <ttx> kirkland: would be good for them not to discover that new feature in a blogpost, IMHO
[14:07] <kirkland> ttx: okay
[14:09] <ttx> kirkland: sorry for being a little bureaucratic here, but part of my release management job is to ensure the server team sticks to the rules :)
[14:15] <jiboumans> +1 on that ttx
[14:25] <kirkland> ttx: http://pastebin.ubuntu.com/406523/
[14:26] <ttx> kirkland: sounds good !
[15:03] <Brendan_Mcc> hey all, new to linux and Ubuntu. I have Ubuntu 9.10 Server installed and want a windows machine to be able to connect to my VPN server being Ubuntu, to be able to access the local network. I tried to follow the guide at https://help.ubuntu.com/9.10/serverguide/C/openvpn.html but got lost at step 3 of the code where it says to VI the vars file... is there a gui vpn server i can download or do i need to do it at the comm
[15:09] <Brendan_Mcc> any1?
[15:09] <guntbert> Brendan_Mcc: instead of vi you can use any editor you like - nano is installed by default and quite easy
[15:09] <hggdh> for the record, the UEC test rig is still unavailable
[15:10] <ttx> mathiaz: around ?
[15:10] <mathiaz> ttx: o/
[15:10] <ttx> hey
[15:10] <Brendan_Mcc> guntbert: yeh but i followed the steps in the URL and it doesn't actually copy those files
[15:10] <Brendan_Mcc> I cant see a vars file
[15:10] <ttx> mathiaz: quick status update on your specs...
[15:10] <Brendan_Mcc> so im lost to follow the instructions
[15:10] <ttx> mathiaz: is server-lucid-uec-testing still blocked ?
[15:11] <Brendan_Mcc> guntbert: is there a gui vpn server i can setup? i should have no probs with that!
[15:11] <mathiaz> ttx: hm - don't know if the installer has been fixed
[15:11] <guntbert> Brendan_Mcc: I'm looking at the page you gave - where is "step 3"?
[15:12] <mathiaz> ttx: I'd have to kick an install on the UEC test rig
[15:12] <guntbert> Brendan_Mcc: no idea about vpn servers
[15:12] <Brendan_Mcc> well 'code section 3'
[15:12] <ttx> mathiaz: it detects hard drives now
[15:12] <ivoks> hey all
[15:12] <ttx> mathiaz: though it seems to detect the first HDD as sdb
[15:12] <mathiaz> ttx: now meaning that it was broken last week?
[15:12] <Brendan_Mcc> guntbert: i did an apt-get install open vpn
[15:12] <Brendan_Mcc> then the cp to copy it all to the new dir
[15:12] <ttx> mathiaz: yes, last weel it would not detect any HDD and ask about iSCSI targets
[15:13] <mathiaz> ttx: yop - that's what I saw
[15:13] <Brendan_Mcc> then tried editing the vars file in step 3, no luck, file doesn't exist and is empty
[15:13] <guntbert> Brendan_Mcc: I can only guide you through some linux steps - so where on that web page did you get stuck?
[15:13] <mathiaz> hggdh: are you using the UEC test rig to conduct the beta1 isos test?
[15:13] <jcastro> mdeslaur: hey did your bug preventing you from porting virt-manager get fixed?
[15:13] <guntbert> Brendan_Mcc: I see no "step 3"
[15:13] <hggdh> mathiaz: I cannot bring the servers on
[15:13] <mdeslaur> jcastro: nope
[15:14] <jcastro> do you have the bug #?
[15:14] <mdeslaur> jcastro: hold on
[15:14] <mathiaz> hggdh: what do you mean by that exactly?
[15:14] <Brendan_Mcc> guntbert, ok i did sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /etc/openvpn/ THEN vi /etc/openvpn/easy-rsa/vars and there was nothing in the file to edit
[15:14] <hggdh> mathiaz: trying again
[15:14] <jcastro> no rush
[15:14] <mdeslaur> jcastro: #530138
[15:14] <mathiaz> hggdh: have you restarted an installation?
[15:14] <hggdh> mathiaz: santol, sapodilla, mamoncillo, etc do not come online
[15:14] <hggdh> mathiaz: yes, I just did
[15:15] <Brendan_Mcc> guntbert: call it the '3rd' Code Section
[15:15] <mathiaz> hggdh: do you see anything on the serial console?
[15:15] <Brendan_Mcc> of the instructions
[15:15] <mathiaz> ttx: so the UEC test rig is currently used for beta1 iso
[15:15] <guntbert> Brendan_Mcc: you just put the lines after the instruction into that file - are you fine working with vi?
[15:15] <guntbert> Brendan_Mcc: found
[15:15] <mathiaz> ttx: once that's done I'll have a look at wether the installer is able to detect hard drives
[15:16] <ttx> mathiaz: ok... the fallback on this being to do manual testing and postpone multinetwork automation to 10.10
[15:16] <ttx> mathiaz: What about server-lucid-puppet-uec-ec2-integration ? There are some WI about facts and libactiverecords-ruby that are still TODO
[15:16] <ttx> is it still on track for Beta2Freeze/Beta2Release ?
[15:17] <mathiaz> ttx: for now on track for Beta2Release
[15:17] <hggdh> mathiaz: how do I get the serial console?
[15:17] <ttx> mathiaz: will anything there require a BetaFreezeException ?
[15:17] <Brendan_Mcc> guntbert: yeah im all good with VI, but the vars file doesn't exist to edit in the first place
[15:17] <mathiaz> ttx: it's testing - so no impact on BetaFreeze
[15:17] <ttx> ok
[15:18] <ttx> mathiaz: about server-lucid-id-mgmt-reference-env... should we drop it or do you still hope to have some time to work on that ?
[15:18] <mathiaz> hggdh: https://wiki.canonical.com/InformationInfrastructure/IS/PlatformUEC
[15:18] <guntbert> Brendan_Mcc: doesn't matter - you just created it and "populate" it ...
[15:19] <mathiaz> ttx: I still have hope to work on that before beta2
[15:19] <mathiaz> ttx: now that you've fixed the most important upgrade bugs :)
[15:19] <ttx> mathiaz: heh
[15:19] <Brendan_Mcc> guntbert: ok, ill give it a shot
[15:19] <ttx> mathiaz: before Beta2Freeze ?
[15:19] <mathiaz> ttx: package 1.0.X sssd may be moved to final though
[15:19] <mathiaz> ttx: nope - Beta2Release
[15:20] <mathiaz> ttx: it's testing - so no impact on BetaFreeze
[15:20] <guntbert> Brendan_Mcc: you can look into /usr/share/doc/openvpn/examples/easy-rsa/2.0/easy-rsa/   if there is a file vars (which I doubt)
[15:20] <ttx> mathiaz: well, "Fix cn=config upgrade bugs from hardy/karmic" sounds like bugfixed to me
[15:20] <ttx> bugfixes
[15:20] <ttx> or should we consider this one done now ?
[15:21] <mathiaz> ttx: hm - I'd like to test it a bit more
[15:21] <ttx> ok
[15:21] <mathiaz> ttx: testing during beta2freeze which *may* lead to an upload post beta2
[15:22] <ttx> okok
[15:23] <ttx> smoser: yo
[15:24] <Brendan_Mcc> guntbert: ok, made the vars file with VI but then fail with Enter the following to create the server certificates: as theres 1: no easy-rsa subdir, and when i create it cant execute the files mentioned
[15:24] <Brendan_Mcc> something isn't right
[15:24] <hggdh> mathiaz: ssh session to nickel (proxy via tamarind) hangs, no response
[15:24] <mathiaz> hggdh: you can't ssh to nickel from tamarind
[15:26] <guntbert> Brendan_Mcc: so back to my last idea: have a look at the structure in /usr/share/doc/openvpn/examples/easy-rsa/2.0/  - maybe there is one directory too many or so in the instructions
[15:26] <sherr> Brendan_Mcc: /usr/share/doc/openvpn/examples/easy-rsa/2.0/vars on my openvpn
[15:28] <Brendan_Mcc> guntbert: investigating
[15:28] <Brendan_Mcc> sherr: found it
[15:28] <Brendan_Mcc> ill have a play there for now
[15:30] <Brendan_Mcc> sherr: much better, things are happening now :)
[15:37] <hggdh> mathiaz: heh. Via chinstrap, done
[15:39] <ttx> smoser: ping
[15:50] <hggdh> mathiaz: to power-cycle, I need a <RACK> which is not defined in the document you gave me
[15:51] <mathiaz> hggdh: to power cycle the systems I'd suggest to use uec_power on nickel
[15:51] <mathiaz> hggdh: as outlined in the README file in the uec-testing-preseed bzr branch
[16:16] <mathiaz> kees: jdstrand: mdeslaur: how important is it to have apache2 2.2.15 in Lucid?
[16:16] <mathiaz> see bug 551221
[16:23] <jdstrand> mathiaz: this is a complicated issue due to the openssl requirement. mdeslaur has been following this most closely, so I'll let him comment
[16:24] <mathiaz> jdstrand: right - the openssl point makes it more complicated
[16:24] <jdstrand> mathiaz: we've been avoiding the reneg patches thus far, due to the timing of when they were available relative to the LTS
[16:25] <mdeslaur> mathiaz: I don't think we're ready to put openssl 0.9.8m in lucid
[16:25] <mdeslaur> mathiaz: and the other 2.2.15 security fixes have been backported to lucid already
[16:25] <mathiaz> mdeslaur: ok - so pulling 2.2.15 is not important
[16:25] <jdstrand> mathiaz: 0.9.8m will likely break things in such a way that they'll need to be modified to use the old reneg code
[16:26] <jdstrand> (where they = 'things', not openssl)
[16:27] <mdeslaur> mathiaz: my personal feeling is we're way too late in the dev cycle to update openssl and get all the dependencies tested properly
[16:27] <mdeslaur> mathiaz: -1 from me
[16:27] <mathiaz> mdeslaur: ok - could you add a comment on the bug?
[16:28] <mdeslaur> mathiaz: sure
[16:30] <zul> ttx: *cough* from formencode http://paste.ubuntu.com/406586/
[16:32] <ttx> zul: I'm not sure what you're trying to tell me here
[16:32] <zul> ttx: it looks like python-dns is needed after all otherwise it will give the user a big fat warning
[16:33] <ttx> zul: well, if no dependency makes use of that code path, a suggests is alright
[16:34] <ttx> If none of the formencode redepends use resolve_domain=True, then moving it from depends to suggests won't make it fail
[16:34] <zul> checking
[16:35] <ttx> if any of them do, you have two options. Restore the dependency... or add a python-dns to the rdepends that needs it
[16:35] <ttx> zul: like I already told you, choice between the two options depends how many of them need it.
[16:36] <zul> ttx: gotcha
[16:37] <ttx> if 0 of formencode rdepends use resolve_domain=True -> the "suggests python-dns" in formencode is alright
[16:37] <ttx> if 1 of formencode rdepends use resolve_domain=True -> add a "depends python-dns" to that specific one
[16:38] <ttx> if >1 of formencode rdepends use resolve_domain=True -> Restore the "depends python-dns" in formencode and MIR python-dns
[16:40] <Shtirlic> May someone provide me with Iron reason to ask admins to use ubuntu server instead of centos5?
[16:41] <suunto> Shtirlic, centos ... seriously... suck
[16:41] <suunto> their repos / software is very old versions...
[16:41] <suunto> like in OLD
[16:41] <Shtirlic> suunto: agree yes i found this one but need another one
[16:41] <suunto> run ubuntu, it's fresh, it's hardcore, it's easy to use - apt rocks
[16:42] <suunto> let me put it to you this way..
[16:42] <suunto> i used to run gentoo...and gentoo really rocks..
[16:42] <suunto> but now i just put ubuntu on cause it's less compiling and it works quite good
[16:43]  * suunto wouldnt go with centos..but let me ask my brother..he runs centos..
[16:43] <suunto> nah he's away..
[16:43] <suunto> whats the reasoning behind centos?
[16:44] <Shtirlic> i know what u talking about, they reason centos5 is easy to maintain and it's enterprise and serois companies use it, what can i say about Ubuntu server, i know only one big company that uses Ubuntu server -- it's wikipedia
[16:45] <suunto> lol 3rd busiest site in all the world..
[16:45] <suunto> whats you going to run on it?
[16:45] <Shtirlic> suunto: yeeh that would be my second point after the old repos
[16:45] <suunto> what will your company run on the servers?
[16:46] <Shtirlic> suunto: just bunch of ruby applications and static web hosting
[16:46] <suunto> Shtirlic, then no reason not to go with ubuntu..ruby and apache, you need fresh stuff there..
[16:46] <suunto> maybe the server admins dont know ubuntu?
[16:46] <suunto> how many servers?
[16:47] <suunto> clustering?
[16:47] <Sam-I-Am> where is the proposed server docs for ubuntu 10.04?
[16:47] <Sam-I-Am> so i can look at them
[16:47] <Shtirlic> the problems is that i really wanna go with ubuntu server, because i use ubuntu desktop and freebsd on my own side, but they said that ubuntu have security problems, nor cetos5
[16:48] <mdeslaur> Shtirlic: Ubuntu doesn't have security problems, and security updates come out way faster than centos
[16:48] <suunto> Shtirlic, i think not, updates are regular..you firewall, apache is darn secure,
[16:48] <Shtirlic> suunto: no cluster, but if i win this battle all other servers will be in future
[16:48] <mdeslaur> Shtirlic: the best reason, is Ubuntu has commercial support available, centos doesn't
[16:48] <smoser> ttx, here.
[16:48] <ttx> smoser: you're in a swap day, so you shouldn't be here :)
[16:49] <smoser> well 1/2 swap day
[16:49] <guntbert> Sam-I-Am: as of yet I see only http://help.ubuntu.com/9.10/serverguide/C/
[16:49] <ttx> smoser: hah, let's take advantage of this, then
[16:49] <smoser> i got to play pre-school parent helper.
[16:49] <soloslinger> anyone able to shed some light on why a /etc/init.d/networking restart gives me a "SIOCADDRT: File exists/Failed to bring up eth1."?
[16:49] <ttx> smoser: pm?
[16:49] <smoser> am. just returned.
[16:50] <ttx> smoser: privatemsg?
[16:50] <suunto> Shtirlic, is there any reason why you have to argue with a company what to run? like, it's only servers right..?
[16:50] <suunto> that pretty much means your the boss, you say, they do..etc etc
[16:51] <suunto> at the moment it seems like a company that doesnt run ubuntu, they have their own flavor of centos and thats what they try to convince their clients to use
[16:51] <mdeslaur> Shtirlic: another great reason: with Ubuntu, you can enable _just_ security updates, with Centos, you are forced to install _all_ updates
[16:51] <Shtirlic> suunto: yeeh, i am the lead web dev in company, so i can discuss what server to use, but needs some point fro ubuntu -server
[16:53] <Sam-I-Am> smoser: do you know the location of the ubuntu server docs for 10.04?  i'm curious if the ldap stuff was updated to reflect usage of ldapi/saslexternal to modify the db... the package changed in 9.10, and the docs describe a process that does not work
[16:53] <pmatulis> Shtirlic: the ubuntu community is massive so there is more online help.  you can aslo purchase server support from Canonical
[16:53] <suunto> Shtirlic, i also do webdev and run complete dev environment + hostign on ubuntu..
[16:54] <suunto> and as for the ruby apps...it's not redmine is it?
[16:54] <suunto> cause that runs cool on ubuntu too
[16:54] <jdstrand> Shtirlic: another big difference is the compiler hardening in Ubuntu. in rh/centos the system binaries are compiled with hardening flags, but any applications you comile yourself are. see https://wiki.ubuntu.com/Security/Features for more info
[16:54] <Shtirlic> suunto: no, some sinatra backends
[16:54] <jdstrand> err
[16:54] <jdstrand> Shtirlic: ...any applications you compile yourself are *not*
[16:54]  * Shtirlic copypasting from log
[16:55] <jdstrand> Shtirlic: that can be a big win security-wise, depending on your use
[16:56] <zul> ttx: i commented on the rabbitmq bug
[16:57] <Shtirlic> so it's 4 1. Fresh repo
[16:57] <Shtirlic> 2. Has commercial support
[16:57] <Shtirlic> 3. Big community (first google results for issues)
[16:57] <Shtirlic> 4. Security updates separated from other updates
[16:57] <Shtirlic> myabe add something more?
[16:57] <Sam-I-Am> 5. works
[16:58] <Sam-I-Am> :P
[16:58] <Shtirlic> 6 profit!
[16:58] <jdstrand> Shtirlic: 5. custom compiled binaries have compiler hardening enabled
[16:58] <Sam-I-Am> you forgot "..."
[16:58] <Shtirlic> Sam-I-Am: )
[16:58] <ttx> zul: I'd still query #ubuntu-devel for better suggestions on how to fix this
[16:58] <suunto> great example: i google for sinatra ruby ubuntu and sinatra ruby centos - ubuntu got so many more posts..and a group: and 45K more entries in google
[16:59] <Shtirlic> but their main point is  that sentos is Enterprise blah blah and strong
[16:59] <smoser> Sam-I-Am, sommer might know more
[16:59] <smoser> but i do not. sorry.
[16:59] <Sam-I-Am> aight
[17:00] <Sam-I-Am> it needs some fixin :/
[17:00] <jdstrand> Shtirlic: Ubuntu is enterprise ready. we have 5 years of support on the server with an LTS release
[17:01] <jdstrand> Shtirlic: you can also purchase paid support from Canonical (or 3rd parties) for Ubuntu
[17:01] <ivoks> eh
[17:01] <ivoks> ubuntu server rulez
[17:01] <Shtirlic> oh, forgot is the Ubuntu serer support LVM as i know this is some kind of dynamic storage increase on virtula machines?
[17:02] <jdstrand> Shtirlic: absolutely it supports LVM, and raid, and virtualization
[17:02] <jdstrand> it the cat's pajamas :)
[17:03] <Shtirlic> jdstrand: thx,
[17:04] <Shtirlic> and the last question: it's easy to upgrade to 10.04 server from prev 9.10 if i will not wait untill final release?
[17:05] <jdstrand> Shtirlic: yes. 9.10 -> 10.04 is a supported upgrade. you can also do LTS -> LTS upgrades
[17:05] <ivoks> jdstrand: are there any significant new features in 10.04's ufw, regarding 8.04?
[17:06] <jdstrand> Shtirlic: at this late date in the 10.04 dev cycle, you may want to start your testing with 10.04, but obviously we are still fixing bugs
[17:06] <jdstrand> ivoks: oh gosh yes: https://wiki.ubuntu.com/UncomplicatedFirewall#Features :)
[17:06] <ivoks> jdstrand: thanks :D how about apparmor? :D
[17:08] <jdstrand> ivoks: there are a lot of improvements to apparmor itself, which makes it more flexible when developing profiles (and bug fixes). in terms of profiles: https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/AppArmorProfiles
[17:10] <Shtirlic> jdstrand: but upgrades from 10.04 betas will be available to final releases?, so I can start developing on betas and have stable on production?
[17:10] <jdstrand> ivoks: I might point out if you are doing a lot of virtualization via libvirt, then the apparmor security driver for libvirt is on by default. this provides guest isolation as well as host protection from rogue VMs
[17:11] <jdstrand> Shtirlic: yes-- beta2 freeze is next week. there should be no major changes at this point. it is possible that things will break, but we release in a month so everything should be about stabilization at this point
[17:12] <ivoks> jdstrand: thanks
[17:12] <jdstrand> Shtirlic: you can do the normal upgrade procedures and when 10.04 is released, your normal upgrade procedures will get you a complete, supported LTS release
[17:12] <ttx> ivoks: yo
[17:12] <ivoks> ttx: oy
[17:12] <ttx> ivoks: sent you an email about UDS
[17:13] <jdstrand> Shtirlic: for a testing environment, 10.04 is probably the way to go, imho, but obviously it is up to you
[17:13] <ivoks> ttx: i've seen it; didn't have time to respond :D
[17:13] <ttx> ivoks: got to go now, but please reply when you get a chance :)
[17:13] <ivoks> ttx: will do
[17:14] <Shtirlic> jdstrand: brilliant, thx for good answers, looking forward to release
[17:15] <jdstrand> Shtirlic: sure! :)
[17:18] <geneticx_wrk> Hello everyone. So I have configured rsnapshot to back up daily, weekly, monthly. My initial daily is 256 MB (daily 0) then daily 1 is only 40K and daily 2 is only 40 K again...when I go inside daily 1 or 2 I dont see any contents ..what could be wrong?
[17:26] <smoser> oops. and Sam-I-Am i think it might be asommer (not here now).
[17:30] <Sam-I-Am> heh
[17:41] <Daviey>  .
[18:35] <xenaxon__> guys, how do I make virtual hosts on linux
[18:35] <xenaxon__> I want to work locally
[18:35] <xenaxon__> and access my www/[projectname] individually
[18:36] <xenaxon__> like I did on windows
[18:36] <xenaxon__> and access the projects like this: www.[projectname].lh
[18:36] <xenaxon__> help?
[19:08] <eagles0513875> hey guys are there any commandline based c++ development environments in the repo
[19:18] <RoyK^> eagles0513875: you mean makefiles and such?
[19:18] <eagles0513875> RoyK: already got the answer but for cpp files im creating from scratch as im learning c++ atm
[19:18] <eagles0513875> vi is probably the best solution
[19:19] <eagles0513875> cept only one problem my ssh connection keeps hanging on me when using vi for some reason though RoAkSoAx
[19:19] <eagles0513875> whoops meant RoyK
[19:20] <eagles0513875> nm fixed it
[19:22] <RoyK^> :)
[19:25] <eagles0513875> this makes no sense there is something buggy with vi
[19:25] <eagles0513875> i get random lockups then it unlocks itself
[19:26] <qman__> that normally happens when the connection drops out
[19:26] <eagles0513875> how is it dropping out though
[19:26] <qman__> it shouldn't be doing that if you're on a LAN, though
[19:27] <eagles0513875> i am on a lan
[19:27] <qman__> when it unfreezes, does it type in everything you typed while it was frozen?
[19:32] <eagles0513875> qman__: it did a bit but it never unfroze 2nd time round
[19:32] <eagles0513875> restarted ssh session
[19:32] <eagles0513875> and recovered
[19:32] <eagles0513875> goign to leave it on and see if it does it again
[19:32] <qman__> yeah, that's definitely a connection problem
[19:32] <qman__> as opposed to anything wrong with vi itself
[19:40] <RoyK^> rotfl http://uncyclopedia.wikia.com/wiki/Cannabis
[19:43] <jeffesquivel> "Minitrue mark article doubleplusgoodthink. Miniluv make goodthink fullwise." --> Bua hahahaha
[19:46] <jeffesquivel> hmm... it's been a while since the last time I read 1984
[19:50] <Flare183> I need help installing Lon Capa onto my Ubuntu Server
[20:09] <jeffesquivel> Flare183, sorry... I have never used Lon Capa, but seems like an interesting concept
[20:09] <Flare183> jeffesquivel: Yeah
[20:20] <xenaxon> Hello, how do I set multiple vhosts
[20:36] <ChmEarl> Xen4 + 2.6.32.10 pv_ops kernel on karmic 9.10 limited to one vif network and 3 domU's
[20:36] <ChmEarl> eth0 is bridged to br0.. xend starts smoothly
[20:42] <ChmEarl> http://paste.ubuntu.com/406685/
[20:43] <sherr> ChmEarl: Is that a kernel you built yourself? dom0?
[20:44] <ChmEarl> yes... from git
[20:44] <jeffesquivel> xenaxon, vhosts as in apache? or you mean virtual machines?
[20:44] <sherr> Ahh OK. I am looking at Xen myself. Currently dom0 is .26 lenny.
[20:45] <xenaxon> jeffesquivel: as in apache
[20:45] <xenaxon> vhosts for organising my projects
[20:45] <xenaxon> so I can work locally
[20:45] <ahasenack> where are the initscripts nowadays? I'm a bit lost with upstart
[20:45] <ahasenack> the files in /etc/init.d/ are just stubs
[20:45] <ChmEarl> sherr, so far all problems have been solved by loading the right module
[20:46] <ahasenack> in particular, I'm trying to debug this error:
[20:46] <ahasenack> # start eucalyptus-network
[20:46] <ahasenack> start: Unknown parameter: IFACE
[20:46] <jeffesquivel> xenaxon, well... you can differentiate them by IP or by hostname
[20:46] <ahasenack> but I can't find that eucalyptus-network "initscript"
[20:46] <jeffesquivel> xenaxon, which one where you thinking about?
[20:46] <sherr> ChmEarl: I am still finding my way ...
[20:46] <xenaxon> I have 2 or more folders in my etc/www and each folder is a website
[20:47] <sherr> So, dom0 is .32 + patches from Jeremy?
[20:47] <sherr> Jeremy the Citrix Xen/Linux engineer.
[20:47] <xenaxon> jeffesquivel: hostnames
[20:47] <jeffesquivel> ahasenack, hmm... /etc/init/
[20:47] <sherr> ChmEarl: What domU's are you running?
[20:48] <xenaxon> I want to differentiate my local website projects my hostnames
[20:48] <ChmEarl> c564 fc12 suse11.2
[20:48] <ahasenack> jeffesquivel: thanks
[20:48] <jeffesquivel> xenaxon, ok, then you need to configure the CNAMEs in your dns
[20:48] <jeffesquivel> ahasenack, no problem
[20:48] <xenaxon> I have 2 projects at the time being: celebrity and tamil
[20:48] <xenaxon> I have configured them in /etc/hosts file
[20:48] <ChmEarl> sherr correct about dom0 components
[20:49] <xenaxon> but I don't know how to configure the vhosts in apache
[20:49] <xenaxon> it'a bit different from windows
[20:49] <sherr> ChmEarl: I have centos5 x64 + Squeeze x64 ... it seems to run well. And good performance.
[20:49] <jeffesquivel> xenaxon, ok... then you can use 000-default as a template
[20:49] <jeffesquivel> xenaxon, it is located in /etc/apache2/sites-available
[20:50] <xenaxon> oh
[20:50] <xenaxon> I edited it a bit
[20:50] <jeffesquivel> xenaxon, you just copy 000-default and change the important bytes (Directory and the hostname for the virtual host)
[20:50] <xenaxon> I tryed to use it same as I did with httpd-vhosts on windows
[20:50] <xenaxon> but it's not working properly
[20:50] <jeffesquivel> xenaxon, hmm... I have never used apache on windows
[20:51] <xenaxon> should I leave the 000-default
[20:51] <sherr> ChmEarl: I might try doing a .32+patches + Xen4 myself. But I will need to be physically present at my PC first. In case it doesn't boot ... a week or two.
[20:51] <xenaxon> or delete it
[20:51] <xenaxon> ?
[20:51] <xenaxon> and how should I name the new files
[20:51] <xenaxon> should I name them as my projects/folders?
[20:51] <jeffesquivel> xenaxon, it is up to you to leave it or delete it
[20:52] <xenaxon> if I leave it, 127.0.0.1 will continue to work in /www/
[20:52] <xenaxon> yes
[20:52] <xenaxon> ?
[20:52] <jeffesquivel> xenaxon, names are up to you too... but keep in mind that apache will read them in alphanumerical order
[20:52] <xenaxon> but tell me how should I name the files
[20:52] <xenaxon> it doesn't mater does it
[20:52] <xenaxon> I guess it's just a form of separating them
[20:52] <jeffesquivel> xenaxon, nop, it doesn't...
[20:52] <xenaxon> organising
[20:52] <jeffesquivel> xenaxon, yep
[20:53] <jeffesquivel> xenaxon, ubuntu's default config is made that way to be easy to organize and manage
[20:53] <jeffesquivel> now after you have the correct files in place
[20:53] <jeffesquivel> you can use the utility called a2ensite
[20:53] <jeffesquivel> with the name of the file you created
[20:53] <jeffesquivel> to enable your site
[20:54] <jeffesquivel> after that invoke-rc.d apache2 force-reload should tell your apache2 that there is a change in config that it should take into account
[20:54] <jeffesquivel> and that's it
[20:55] <xenaxon> ?
[20:55] <xenaxon> what?
[20:55] <xenaxon> how do I call it
[20:56] <smoser> anyone have any idea how to make ssh (attempt) to kill processes on the remote end on a local kill of the ssh client ?
[20:56] <smoser> ie:
[20:56] <smoser> ssh localhost 'echo self is is $$; sleep 2m'
[20:56] <jeffesquivel> xenaxon, ok, let's say you created a virtual host in a file called newvirtualhost
[20:56] <smoser> then, either ctrl-c or kill <ssh-pid>
[20:56] <xenaxon> I created 2 vhosts
[20:56] <smoser> you'll still see both a bash process and a sleep process
[20:56] <xenaxon> and also set dns file for them
[20:56] <xenaxon> :)
[20:56] <xenaxon> now what
[20:56] <jeffesquivel> xenaxon, to "enable" that virtual host you need to execute the following command: a2ensite newvirtualhost
[20:57] <xenaxon> newvirtualhost being the name of each file/vhost?
[20:57] <jeffesquivel> xenaxon, yep
[20:57] <jeffesquivel> jeffesquivel, it should give you an error if you give it the wrong parameter, anyways
[20:57] <xenaxon> ERROR: Site celebriton does not exist
[20:58] <sherr> xenaxon: https://help.ubuntu.com/8.04/serverguide/C/httpd.html#http-configuration
[20:58] <xenaxon> wait
[20:59] <xenaxon> the files are shortcuts
[20:59] <xenaxon> when I edit one the other is edited
[20:59] <xenaxon> actually it's the same file
[20:59] <xenaxon> ..
[20:59] <xenaxon> :)
[20:59] <jeffesquivel> sherr, thanks...
[21:00] <sherr> xenaxon: It might be a good idea ot learn a little about basic unix/linux before setting up a web server
[21:00] <jeffesquivel> xenaxon, you should read sherr's link :-)
[21:01] <jeffesquivel> xenaxon, and you can come and ask if there is something you don't understand or is not working :-)
[21:01] <xenaxon> wait
[21:02] <xenaxon> I've put the 2 vhost configs in different files
[21:02] <xenaxon> celebriton and tamil
[21:02] <xenaxon> it still says site celebriton does not exist
[21:03] <jeffesquivel> xenaxon, ok, where did you put those files?
[21:03] <xenaxon> sites-enabled
[21:03] <jeffesquivel> xenaxon, you should put the real files in sites-available
[21:04] <xenaxon> yes, i know
[21:04] <jeffesquivel> then, using a2ensite (or creating the symlink manually) you create a link from there to sites-enabled
[21:04] <xenaxon> I just TRINGED 5 seconds ago
[21:04] <xenaxon> :)0
[21:04] <xenaxon> :))
[21:04] <jeffesquivel> after that, you restart apache and it if everything else was correct, you should have your vhosts working
[21:05] <xenaxon> ok done
[21:05] <xenaxon> now restart
[21:06] <xenaxon> ok. WORKS
[21:06] <xenaxon> thanks a million
[21:06] <xenaxon> ur the god
[21:06] <jeffesquivel> xenaxon, you're welcome
[21:07] <xenaxon> oh, one more thing. any way of moving tamil's database from my windows partition to kubuntu
[21:07] <xenaxon> I know it's stored in files so, is it possible to just copy the database from there to here?
[21:09] <jeffesquivel> xenaxon, what database are you using?
[21:09] <jeffesquivel> xenaxon, mysql?
[21:09] <xenaxon> mysql yes
[21:09] <jeffesquivel> xenaxon, you can make a dump of the database in windows and then restore it on kubuntu
[21:09] <xenaxon> is there no way possible of just copying the files ?
[21:10] <jeffesquivel> xenaxon, just be careful of the character set
[21:10] <jeffesquivel> xenaxon, I don't know... I don't think that's recommended anyway
[21:10] <jeffesquivel> xenaxon, do you use phpmyadmin?
[21:10] <xenaxon> yes I do
[21:10] <xenaxon> both on windows and on kub
[21:11] <jeffesquivel> xenaxon, ok... you should be able to export your database on windows and then import it on kubuntu
[21:11] <xenaxon> ah, gotta switch
[21:11] <xenaxon> ok
[21:11] <jeffesquivel> using phpmyadmin
[21:11] <xenaxon> I was hoping I can just copy the folder with the database files
[21:11] <xenaxon> but it's not possible is it
[21:12] <Pirate_Hunter> Evening all, recently I got into something that had made me look into commercial webhosting panels such as ispconfig, cpanel, plesk, webmin, vhcs (apparently has been revived), ispcp (derived from vhcs)and ehcp. Would like if people could provide their opinions on any of these panels or offer some other alternative and any information on how would go about testing these panels without having to create multiple clean vms?
[21:12] <xenaxon> in windows /mysql/data/ contains a folder with the database
[21:12] <xenaxon> anyway. forget about it I'll just switch to wingows
[21:12] <xenaxon> thanks for your help
[21:12] <jeffesquivel> xenaxon, i don't know if it is possible... but don't think so... usually those files can have stuff in them that is operating-system dependant
[21:12] <jeffesquivel> xenaxon, no problem
[21:22] <jeffesquivel> well... gotta go
[21:22] <jeffesquivel> bbl
[21:43] <mlevin_> hey folks. quick question for ya. I have an ubuntu 9.10 image on amazon (cloned alestic's ami-7d43ae14 to make my own). did an aptitude safe-upgrade today and upgraded some packages and also noticed it upgraded to kernel 2.6.31-305-ec2, but when I reboot and do uname -a, it is still on 2.6.31-302-ec2. so how do I get it to boot into 2.6.31-305-ec2?
[21:43] <mlevin_> (or am I in the wrong channel?) ;-)
[21:54]  * ChmEarl now has multiple domU's with good vif in Xen4/pv_ops on karmic 9.10 : problem solved
[22:11] <fluvvell> With XDMCP being removed in Karmic, what do we have as a "drop in" replacement for remote connection / thin client ?
[22:18] <alvin> fluvvell: As far as I know, it isn't removed.
[22:19] <alvin> fluvvell: I have Jaunty machines in production running XDMCP. Are you sure it is removed in Karmic? (Do you have a source?)
[22:23] <fluvvell> https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/408417
[22:25] <alvin> fluvvell: Ah, I see. I'm using Kubuntu. It's not gone in KDM
[22:25] <fluvvell> yes, I guess I could use the kdm greeter but...
[22:28] <alvin> fluvvell: Man, man. I didn't know this. The company I work for is heavily dependant on XDMCP. I'll say the bug affects me too. (This effectively limits our options. We can't consider Gnome anymore)
[22:28] <fluvvell> plus i've not yet had success with the peppertop.com solution but I'm still working on it.  Yes, I had a small cafe relying on it so am in the middle of a "hot" fix
[22:29] <fluvvell> alvin: well, just don't upgrade from jaunty just yet :-)
[22:44] <lullabud> alvin: it looks like gdm-2.20 is provided in karmic with xdmcp support.
[22:48] <lullabud> it seems to me like the reason behind that is that newer versions of GDM are gnome instances, whereas older versions of GDM were not built on the gnome libraries and were not gnome instances.  so, new versions will have to work around that, perhaps respawning with a target x server or something.
[22:48] <lullabud> i guess you could always use xnest or xdm or the older gdm.
[22:50] <fluvvell> lullabud, thanks, there are some helpful hints in the bug report on https://bugzilla.gnome.org/show_bug.cgi?id=592976 which I'm still reading through
[22:51] <lullabud> fluvvell: yeah... i verified it on my 9.10 laptop though and sure enough, no remote login at the login screen.
[22:57] <lullabud> fluvvell: found a long article on it, well written - http://www.peppertop.com/blog/?p=712
[22:57] <lullabud> 3 articles actually...
[23:00] <fluvvell> lullabud, yes been working through them.