[00:03] <kinygos> apologies...i must go offline...i may need to ask my question again in the morning
[00:27] <osmosis> soren, kirkland: your comments appreciated, https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/671163  and  https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042
[00:41] <smoser> erichammond, yeah, you made a good argument.  it *is* a change, though, there is no ignoring that.
[00:41] <smoser> if it was done in a package, it would have to go through SRU.
[00:41] <erichammond> smoser: And I'm often on the other side arguing against change :)
[00:41] <smoser> if the installer wanted to change the default filesystem, there would need to be a decision officially ack'd
[00:42] <smoser> i think that is basically the same thing as here.  there is good reason, but it needs to be considered.
[00:42] <erichammond> smoser: I'm happy with the file system matching what you  would get with the standard Ubuntu server.  I like consistency.
[00:43] <smoser> right. i'm just saying, this change is basically a change to the defaults in an installer.
[00:43] <erichammond> smoser: Disk size is more like hardware to me than software.  Pick an AMI chooses the software parameters and a couple hardware ones.
[00:43] <erichammond> (architecture 32-bit vs. 64-bit, and root disk size)
[00:45] <erichammond> smoser: I guess AMIs can also affect what other disk devices are available, too: ephemeral storage, other EBS volumes created from snapshots.
[00:47] <smoser> i really dont like setting precedent that we react to somewhat arbitrary external events (like one that would allow customers to save $6.00 per year)
[00:47] <smoser> but other than that, I think its the right decision
[00:47] <smoser> and it will be acked by TB
[01:24] <vraa> hi everyone, how can one figure out which apache module is in use out of (mpm_preform_module, mpm_worker_module, mpm_event_module) in a ubuntu-server 10.10 installation
[01:24] <vraa> i'm sorry 10.04
[01:25] <twb> vraa: ask dpkg?
[01:25] <twb> Usually it will be worker unless PHP has forced the use of prefork
[01:26] <vraa> i'm just doing some optimizations of my new vps, and i noticed in /etc/apache2/apache2.conf it has the "if modules" for all 3 listed
[01:26] <vraa> how, um, what does it mean to ask dpkg
[01:27] <twb> Sounds like you're not sufficiently familiar with the Debian apache setup to safely "optimize" it
[01:27] <vraa> haha im not, i am going from googling
[01:27] <twb> vraa: google is full of people who don't know anything, too.
[01:28] <vraa> yeah that sucks a lot :(
[01:28] <vraa> i installed mod_pagespeed today
[01:28] <twb> vraa: re dpkg, something like "dpkg -l apache2-mpm-*" should indicate which of the (mutually exclusive) mpm implementations is installed.
[01:28] <vraa> gotcha, i was doing dpkg -S, wrong one
[01:29] <vraa> sweet i think i have prefork installed
[01:30] <vraa> i do have php installed, :( is that bad
[01:30] <twb> Well, I don't like it.
[01:34] <vraa> any reasons you dont like it
[01:36] <twb> Because it's a language made for newbies by newbies.
[01:39] <pmatulis> ouch
[01:40] <vraa> ouch
[01:40] <vraa> what is a good language to write a webapp in?
[01:40] <twb> My opinion of web "apps" is about the same
[01:41] <twb> But I suppose if I was forced to, I'd be looking at Python in preference to perl, php or java
[01:44] <vraa> python > perl > java|php ?
[01:44] <vraa> so you can have a python and mysql and apache2 app/
[01:44] <vraa> or i guess, since mysql no longer has innodb, might be wise to move to postgresql
[01:49] <twb> I've never met a DBA would liked mysql
[02:07] <hallyn> kirkland: re Andre Dawson - awesome
[02:12] <arrrghhh> just wanted to ask here too.  thinking about setting up passwordless ssh logins, but how do i add new systems when passwordless logins are enabled?
[02:15] <JanC> new systems?
[02:16] <JanC> you mean new installs?
[02:16] <arrrghhh> well
[02:16] <arrrghhh> i access my server from my laptop at home
[02:16] <arrrghhh> in win7 and ubuntu
[02:16] <arrrghhh> i access it at work
[02:16] <arrrghhh> i sometimes like to access the server from my phone...
[02:17] <JanC> you'll have to add ssh keys for all those devices
[02:17] <arrrghhh> so just add 'em all at once then eh
[02:17] <arrrghhh> let's say i go to a friends house... i'm sol?  lol
[02:17] <vraa> twb, thanks for your help, i've really been able to get my stuff faster now
[02:18] <JanC> arrrghhh: not if you have your laptop or phone with you  ☺
[02:18] <arrrghhh> lol
[02:18] <arrrghhh> crap...
[02:18] <arrrghhh> makes me not want to get rid of password-based logons...
[02:19] <JanC> well, the alternative is less security, it's your choice
[02:19] <arrrghhh> yea
[02:19] <arrrghhh> denyhosts, i'm assuming that would work in either situation?
[02:19] <arrrghhh> password or passwordless logins?
[02:21] <JanC> you could also carry an ssh key on an USB stick and use that
[02:21] <arrrghhh> oic
[02:22] <arrrghhh> the server's key yea?
[02:22] <twb> That assumes you trust the machine you're putting the USB stick into
[02:22] <arrrghhh> lol
[02:22] <arrrghhh> i shouldn't be connecting to my server on a machine i don't trust ;)
[02:22] <twb> arrrghhh: not the server's host key.  Your user's private ssh key.
[02:22] <twb> arrrghhh: correct.
[02:22] <JanC> a private key with a strong password preferably
[02:23] <JanC> and when you lose the usb key, you want to remove the public counterpart from the server  ☺
[02:23] <arrrghhh> ah
[02:23] <arrrghhh> i will read more on it.
[02:23] <arrrghhh> concept always confused me, and i keep revisiting it.
[02:24] <JanC> but as twb says, usign an untrusted computer is always bad for security
[02:24] <arrrghhh> indeed.
[02:24] <arrrghhh> keyloggers, etc.
[02:27] <arrrghhh> cool guys, thanks for the help
[02:29] <icek> hi, my resolution is 1280 - 800 how do i make it higher?
[02:29] <icek> thats the max it shows
[02:43]  * twb grumbles about plymouth
[02:45] <twb> On my debian netbook, I can add video=LVDS-1:d to the boot options, and the onboard head is disabled (meaning you get native resolution on the external monitor).  $coworker can't get it to work in karmic, and I suspect it's because plymouth is modprobing i915.ko by hand before /etc/initramfs-tools/modules takes effect.
[02:46] <twb> (Native resolution on the framebuffer, that is -- no X.)
[03:14] <demonspork> are there any open source packages meant for managing a webserver hosting multiple websites? as in setting up the site with a webform and a paypal button?
[03:49] <twb> apache has been able to host multiple, nominally distinct, websites from the same server for nearly as long as there has BEEN a "world wide web".
[03:50] <twb> Oh, you mean a web UI for end users (who don't have root on your webserver) to purchase space for their website?
[03:54] <twb> So I asked <vendor> for quotes of 1TB and 2TB HDDs, and they've given me numbers for a 7200 1TB and a 5900 2TB.
[03:55] <twb> Am I old fashioned for thinking "WTF is the point of sub-7200rpm in a server"?
[03:57] <e_t_> twb: Do you expect high I/O, or do you just want massive storage?
[03:58] <twb> Both :P
[03:58] <twb> I mean, surely you can *get* 7200 2TBs
[04:00] <twb> FWIW, the workload I'm CURRENTLY speccing for is basically a SOHO server doing nfs/samba/squid/cups/postfix/dovecot, for about two dozen end users.
[04:00] <twb> It'll also have a shitty PHP/MySQL timesheeting system, but I still don't expect it to need seriously high I/O.
[04:01] <twb> Oh, and add slapd/krb/ssh/openswan to that list.
[04:56] <twb> I'm deploying a 10.04 LTS "do everything" server for an office full of VERY heterogeneous sysadmins.  Management (linux, not windows, desktops) are pushing for some kind of calendaring "thing", which to them means Zimbra.
[04:56] <twb> I *really* don't want to deploy Zimbra, because it insists on its own custom versions of everything from slapd to postfix
[04:57] <SpamapS> twb: Kolab has been gaining traction.. not sure if the maverick stuff has been backported to lucid.
[04:58] <twb> In my ideal world, there is <some thing> that is implemented on top of stock postfix and slapd, using a commodity interchange format, say emails with iCalendar MIME attachments.
[04:59] <twb> It'd need to work with at least thunderbird and mutt, or (worse) some kind of web UI.
[05:00] <SpamapS> I wanted that 10 years ago.
[05:00] <SpamapS> I think they call it "google calendar" now. ;)
[05:16] <SpamapS> twb: I'm with you on Zimbra though. Rather than provide a good route to integration, they just provide a product. :-/
[05:18] <twb> There *was* a couple of guys looking into fixing ZCS to use stock ubuntu packages, but last I heard they gave up
[05:29] <SpamapS> twb: Kolab I believe was a bit simpler...
[05:31] <SpamapS> why must every new server package land with 45 unpackaged dependencies?!
[05:31]  * SpamapS eyes mod_pagespeed
[05:45] <twb> At least kolabd is in sid
[05:45] <twb> I've asked a flunky to try installing it onto a scratch box and see how far he gets
[06:45] <eagles0513875> hey guys what the easiest configuration for dovecot + postfix when it comes to adding users etc
[08:16] <LyonJT> Hey
[08:17] <LyonJT> Does anyone how to specify which domain names can access my ubuntu-server via port number?
[08:17] <LyonJT> i.e. ftp.domain.com can only access the server on port 20
[08:21] <_ruben> one usualy uses ip addresses to restrict access, not hostnames, as hostnames are way easier to "spoof"
[08:24] <eagles0513875> hey guys how do i run the smart hdd tests via cli
[08:27] <_ruben> !smartmontools
[08:27] <_ruben> !info smartmontools
[08:28] <LyonJT> _ruben: fair point actually i might have to purchase some more ip addresses then
[08:29] <LyonJT> does anyone know how tools that you can use to check the security of a server?
[08:29] <LyonJT> i.e. from a network point of view - what ports are open etc
[08:29] <_ruben> !info nmap
[08:30] <_ruben> !info nessus
[08:30] <LyonJT> aa nmap!
[08:30] <LyonJT> good call!
[08:30] <LyonJT> thanks buddy!
[08:30] <_ruben> aww, no nessus package .. nessus is a security scanner, tho i seem to recall it no longer being free or something
[08:30] <LyonJT> i see
[08:30] <LyonJT> thank you :)
[12:02] <HackeMate> hello
[12:02] <HackeMate> is it a bad idea try to install gnome in an ubuntu server?
[12:02] <HackeMate> or, simply apt-get install gnome-core could be fair enough?
[12:02] <soren> Depends on why you're doing it.
[12:03] <HackeMate> i only need a dhcp and samba server
[12:03] <HackeMate> i just wanted to know if gnome could networkmanager could break my dhcp
[12:04] <soren> If you only need dhcp and samba, why install a desktop?
[12:04] <HackeMate> personal reasons
[12:05] <soren> I can't advice on your personal reasons, sorry.
[12:08] <twb> HackeMate: in #ubuntu-server we advocate learning to administer servers from the CLI.
[12:09] <twb> HackeMate: we don't recommend installing a GUI on a server.
[12:10] <ScottK> If you want to convert your server to a desktop, just installing Gnome on your server is fine, but further support would be in #ubuntu.
[12:12] <HackeMate> it just requires graphic enviroment because im not the only preson who will touch it
[12:12] <HackeMate> they need an user, and, i can't force them to learn linux
[12:13] <HackeMate> indeed i just can make his life easier with X
[12:17] <HackeMate> twb: thanks
[12:17] <HackeMate> I guess it will be better if I create some kind of frontend for his routines
[12:17] <twb> It is better not to mix server and desktop roles
[12:17] <twb> One of my customers had about eight FreeBSD workstations, with daemons spread across them all.  It was insane to maintain.
[12:18] <twb> Give them a headless box that is "the server", and a bunch of workstations.
[12:19] <yann2> you could put all the services in a kvm vm :)
[12:20] <yann2> would be an interesting approach
[12:21] <HackeMate> aha, right
[12:22] <HackeMate> thanks, for real
[12:22] <HackeMate> I was very lost at this point
[13:14] <LariH> I added some comments (link to the patch that fixes this one) on this Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/579276 . It's quite critical and it hasn't been assigned to any one. Ubuntu 10.04 is unstable running on Linux kvm virtualization (virtnet). We haven't been able to upgrade our Ubuntu VMs to 10.04.1 LTS because of this bug. Could someone take a look at this one?
[13:28] <laen> Ug.
[13:28] <laen> Hey does anyone use dcron?
[13:38] <mexx> hi
[13:39] <mexx> i'm trying to install x11 on a 10.04 server and it hangs while Unpacking libxfixes3
[13:41] <mich> hi there, trying to upgrade u-server from 10.04 tu 10.10  like described in http://www.ubuntu.com/desktop/get-ubuntu/upgrade but fail
[13:41] <mich>  root@joah:~# do-release-upgrade Checking for a new ubuntu release
[13:41] <mich> No new release found
[13:41] <mich> annyone an idea
[13:42] <mich> didnt found anything on the net
[13:42] <mich> or shouold i manualy change apt sources file
[13:43] <Mutru> mich: You should follow the "upgrade notes" link and then 10.04 upgrade notes link. :)
[13:43] <Nafallo> mich: /etc/update-manager/release-upgrades might be interesting to look at.
[13:45] <hggdh> zul: time for a few Qs on SRU?
[13:46] <hggdh> well, actually Q & A, just the Qs will not carry me long...
[13:46] <mich> ok i did set Prompt=normal former
[13:47] <twb> mich: d-r-u defaults to LTS->LTS when you're already ON an LTS release.
[13:47] <twb> mich: there should be an option to d-r-u that says "non LTS releases matter" or so
[13:58] <smoser> soren, ping
[13:58] <mich> ok is do it the debian way
[13:59] <mich> didnt find anything else
[13:59] <smoser> is there anything at openstack summit on booting from disk (rather than kernel), ie what i did with the grub loader and a floppy in uec
[13:59] <smoser> https://blueprints.launchpad.net/sprints/ods-b i don't see anything htere
[13:59] <mich> man d-r-u didnt take me top such a option
[13:59] <twb> d-r-u = do-release-upgrade
[14:00] <mich> jea i did that
[14:00] <mich> but man do-release-upgrade didnt popiunt me to a a "non LTS releases matter" or so
[14:02] <mexx> why would the installation of the libxfixes3 package hang, sha1 and md5 sums are ok
[14:04] <twb> mich: dunno, then
[14:05] <mich> dunno ?
[14:05] <twb> mich: I do not know.  I can not help you further.
[14:05] <mich> ok thanks
[14:06] <twb> mexx: please pastebin the output of "ps auxf"
[14:08] <mexx> http://paste.ubuntu.com/526325/
[14:20] <Wise_> does ruby or rails run as like deamons or anything when I have an apache with passenger running?
[14:21] <Wise_> like is there any way I can check if passenger or rails or ruby is actually up and running as they should (if they should)?
[14:21] <Wise_> like with ps -whatever
[14:21] <twb> I think it runs as like a guy falling out of an exploding plane, without a chute
[14:21] <ScottK> twb: For d-r-u there's a config file to change if one wants non-LTS releases.
[14:22] <Wise_> twb; why wouldnt he have a parachute?
[14:22] <soren> smoser: 'sup?
[14:23] <smoser> i asked in above and in #openstack
[14:23] <smoser> regarding loader and openstack
[14:23] <twb> smoser: thanks; I couldn't be bothered looking it up :-)
[14:23] <twb> Er, that was for ScottK.
[14:24] <ScottK> You're welcome.
[14:24] <twb> Wise_: because I'm a design bigot.  In that I think systems should, you know, have one.
[14:29] <noname_> Hi guys .Can someone guid me to the best place to get all information that its make me gd administrator of linux server
[14:32] <twb> !RUTE
[14:32] <twb> !smart questions
[14:32] <twb> !smart-questions
[14:32] <twb> noname_: read those URLs, and http://linuxmafia.com/faq/Essays/smart-questions.html
[14:33] <noname_> twb: ok thx i'll :)
[14:33] <twb> And https://help.ubuntu.com/10.04/serverguide/C/index.html
[15:01] <JFo> Daviey, are you around?
[15:02] <JFo> if/when you do get 'round, would you mind having a look at bug 579276 and giving me your impression?
[15:07] <mathiaz> Daviey: o/
[15:08] <mathiaz> Daviey: you asked about openldap yesterday?
[15:20] <ivoks> i'm stupid; how does one boot virtio disk from libvirt?
[15:21] <ivoks> disk is a file
[15:22] <Ninjix> ivoks: what is the file format? qcow2,raw, etc...
[15:22] <ivoks> qcow2
[15:23]  * SpamapS wades into the bug triage list..
[15:23] <Ninjix> did you build the machine with KVM and are now trying to use libvirt?
[15:23] <ivoks> i used kvm trough libvirt, booted from Cd and installed the system
[15:23] <ivoks> installed grub into mbr and now it can't find bootable device on disk
[15:23] <soren> ivoks: Can I see your libvirt xml?
[15:24] <Ninjix> hmm... sounds like you need to update the boot order
[15:24] <ivoks> sure
[15:24] <ivoks> http://pastebin.com/t5ryMzQW
[15:25] <Ninjix> looks sane
[15:26] <ivoks> i know :)
[15:26] <ivoks> that's why i'm stupid
[15:26] <ivoks> :)
[15:26] <soren> ivoks: Can you show me the resulting kvm cmdline?
[15:26] <Ninjix> have you tried it without libvirt wrapper?
[15:26] <ivoks> soren: it's missing boot=on, i've noticed that
[15:27] <soren> ivoks: Then you're screwed.
[15:27] <soren> It needs boot=on for virtio.
[15:27] <ivoks> http://pastebin.com/eNNbWkFh
[15:27] <ivoks> i know
[15:27] <soren> Which libvirt version is this?
[15:27] <ivoks> lucid's
[15:28] <soren> :(
[15:29] <ivoks> i was looking how to add boot=on to xml
[15:29] <ivoks> didn't find anything
[15:29] <soren> It should happen automatically.
[15:29] <Ninjix> does this boot it? http://pastebin.com/v7YdqKtv
[15:29] <soren> Based on     <boot dev='hd'/>
[15:30] <ivoks> <driver name='qemu' type='qcow2'/>
[15:30] <ivoks> hm
[15:30] <ivoks> Ninjix: that's how it should look like, yes
[15:30] <ivoks> Ninjix: boot=on
[15:30] <soren> I also don't get why it says if=none. that's just weird.
[15:30] <soren> ..but maybe that's due to the new -device thing.
[15:30] <soren> I've sort of lost track of this stuff.
[15:31] <Ninjix> yeah... libvirt on debian/ubuntu is a little too far behind upstream
[15:31] <soren> Ninjix: Uh.... We're following upstream /quite/ closely.
[15:31] <Ninjix> I stopped using libvirt and just started working with direct kvm
[15:32] <ivoks> yes we are
[15:32] <ivoks> i had problems with boot=on in qemu
[15:32] <ivoks> qemu doesn't work with it
[15:32] <Ninjix> ah... ok. I was speaking without having checked :)
[15:32] <ivoks> couple of months passed before redhat acknowledged there's a bug :)
[15:37] <ivoks> i'll start all over
[15:37] <ivoks> disk image was created by vmbuilder
[15:39] <Ninjix> ivoks: pastebin your ps aux | grep kvm > foo.txt
[15:40] <ivoks> i've pasted the command on pastebin
[15:40] <ivoks> it's missing boot=on
[15:40] <ivoks> that's the problem
[15:41] <Ninjix> didn't see the past for the libvirt generated kvm command
[15:41] <Ninjix> only the xml
[15:42] <ivoks> 16:27 < ivoks> http://pastebin.com/eNNbWkFh
[15:43] <Ninjix> yeah... no doubt about it
[15:45] <Ninjix> maybe give the PPA a whirl?
[15:46] <ivoks> if reinstall doesn't work, i will
[15:46] <ivoks> :)
[15:46] <ivoks> reinstall of VM
[16:05] <jdstrand> hallyn: hey. in reviewing your merge, it doesn't pass qrt. I am investigating to see if it is a problem with the tests
[16:06] <HackeMate> hi again
[16:08] <hxm> I have installed dhcp3 and I manage a subnet, I want to store all dhcpd log stuff in /var/log/dhcpd/dhcpd.log, so I added the line log-facility local7; to the dhcpd.conf and added a line local7.* /var/log/dhcpd/dhcpd.log at rsyslog.conf
[16:09] <hxm> I read in some tutorials I should do it in syslog.conf but I don't have that file, I guess it must exist in somewhere else
[16:09] <hxm> the fact is doesn't work at the moment
[16:10] <hxm> oh, maybe /etc/rsyslog.d/
[16:14] <hxm> solved
[16:20] <ivoks> Ninjix: you know where that libvirt ppa is?
[16:28] <ivoks> Ninjix: \sh oh, just ignore me
[16:28] <ivoks> Ninjix: soren i was actually using my own libvirt, in which i disabled boot=on :D
[16:28] <ivoks> fr... retard
[16:32] <mathiaz> SpamapS: o/
[16:32] <mathiaz> SpamapS: do you have some time to mumble about the installation service?
[16:32] <mathiaz> SpamapS: https://wiki.ubuntu.com/ServerTeam/Specs/Natty/InstallService
[16:33] <SpamapS> mathiaz: certainly.
[16:33] <SpamapS> mathiaz: give me a couple of minutes to read that.
[16:42] <hggdh> zul: still want to ask you some Qs about SRU ;-)
[16:43] <databits> does anyone know of bandwidth monitoring software to run on a ubuntu server, that can be administered and checked through a web portal
[16:43] <databits> ?
[16:45] <ssureshot> databits: I don't know if you want full feature or not but I'd look into zenoss
[16:45] <ssureshot> it can monitor just about anythying you want
[16:48] <vraa> maybe munin ?
[16:48] <databits> damn they charge :(
[16:48] <databits> I need something freeware
[16:48] <Pici> Munin is free and open source.
[16:48] <Pici> Cacti is as well.
[16:48] <ssureshot> I thought it was open source,, zenoss also has a company that will support it that might be what ur looking at
[16:49] <ssureshot> nessuss
[16:49] <jdstrand> hallyn: fyi, looks like a testsuite issue. earlier libvirt's seemed to be ok with 'virsh domname "uuid"' (where the quotes don't get stripped by the shell) whereas the new libvirt wants 'virsh domname uuid'
[16:49] <vraa> i like munin more than cacti, but that's just my preference
[16:49] <Pici> Cacti is mostly SNMP related, Munin can pretty much take any datasource if you can write a script/program to get the data.
[16:50] <hallyn> jdstrand: hm
[16:50] <databits> well basicly I just wanna have something running on my ubutu server where I can have a gui for the bandwidth monitor
[16:50] <hallyn> that's kind of weird.  why would you not want to allow quotes...
[16:50] <jdstrand> *shrug*
[16:50]  * hallyn looks through git log
[16:51] <Pici> databits: ntop might do this too, it has been a while since I've played with it though.
[16:51] <databits> ok sweet thnx alot
[16:52] <ssureshot> I just don't feel like doing work today
[16:53]  * jdstrand really needs to convert libvirt-aa-secdriver.sh to python...
[16:59] <databits> ok I got ntop up and running
[16:59] <databits> it is telling me that I have to go to http://localhost:3000
[16:59] <databits> I allready have a webserver running on the server
[16:59] <SpamapS> yeah thats how it works
[16:59] <SpamapS> port 3000 will not interfere with 80
[16:59] <databits> so I should be able to hit http://datait.dyndns.org:3000
[17:00] <AnirbanHazra> how can I check whether curl is properly installed on my server or not ?
[17:00] <databits> that dns is pointing to that machine
[17:01] <zul> hggdh: umm....swap day today :P
[17:04] <jenkinbr> AnirbanHazra, try using it; i.e. 'curl http://google.com'
[17:05] <patdk-wk> ssureshot, take the day off and work tomorrow instead?
[17:09] <ssureshot> patdk-wk: interesting thought but I think I'd rather finish today and not work tomorrow lol
[17:09] <ssureshot> newborn kept me up all last night so I'm a little unmotivated
[17:10] <TAO> newborn-congrats!
[17:10] <ScottK> ssureshot: That's a sign you lack coffee.
[17:10] <ssureshot> thank you sir
[17:10] <ScottK> Speaking of which ...
[17:10] <ssureshot> Scottk: ha right on, you may be right
[17:12] <patdk-wk> mine is 3, and keeps me up all night watching movies
[17:12] <TAO> mine is 15, and her guitar keeps me up.
[17:12] <ssureshot> I'd enjoy that,, right now all he does is scream at me
[17:13] <ssureshot> I can only hope he picks up the guitar, I'd love to jam with family
[17:13] <TAO> ...just like I punished my parents when I was 15...
[17:14] <ssureshot> they say what goes around comes around.. so I think I'm just screwed
[17:14] <TAO> lol
[17:14] <TAO> karma
[17:14] <ssureshot> right lol
[17:14] <databits> does anyone in here have any experience with ntop ?
[17:14] <databits> I'm trying to figure out how to bring up the web interface
[17:15] <TAO> not familiar with that, sorry.
[17:15] <ssureshot> I do not, but the man page might .. try this howto http://www.howtoforge.com/network_monitoring_with_ntop
[17:16] <arrrghhh> hey all need some startup script help.  i built a script in init.d, added it with update-rc.d.  everything is fine, but it seems the script didn't start as expected.  what logs can i look in to see why it failed?
[17:19] <TAO> I would have to look around Webmin to find what script it is...
[17:19] <arrrghhh> was that to me?  what does webmin have to do with it?
[17:20] <TAO> I use webmin to look at my logs.
[17:21] <arrrghhh> i use ssh :P
[17:21] <arrrghhh> i just don't know what log to look at
[17:21] <arrrghhh> message?
[17:21] <arrrghhh> er
[17:21] <arrrghhh> messages
[17:21] <arrrghhh> i don't see it in there...
[17:21] <arrrghhh> maybe syslog?
[17:21] <TAO> I am looking at my syslog now to see if I can find anyting about init.d
[17:22] <arrrghhh> i can run the init.d script by hand
[17:22] <arrrghhh> i wonder if it doesn't like the screen command in there...
[17:23] <ssureshot> arrrghhh; I think it would depend on what your trying to start,, general I would look at syslog.. but the service your starting might have a special log file
[17:23] <arrrghhh> rtorrent runs in a screen session.  maybe i have to pass a command so the session is immediately daemonized
[17:23] <arrrghhh> ssureshot: well it's just one i wrote.
[17:23] <arrrghhh> real simple, just designed to start a screen session w/ a python script.
[17:23] <arrrghhh> i can run it by hand no problem.  just wondering why it failed on boot.
[17:24] <ssureshot> ah,, you could try to send stdout and stderr to a log file
[17:24] <arrrghhh> so in the command do a > fileanme
[17:24] <arrrghhh> s/fileanme/filename
[17:24] <ssureshot> > /var/log/file 2&>1 or something like that
[17:25] <arrrghhh> kk
[17:25] <arrrghhh> going to look at how rtorrent does it
[17:25] <arrrghhh> i may just be doing something silly :P
[17:26] <ssureshot> does it require to be started after networking ... ? if so change the script to start last in rc1-5.d from say S20script to S99script
[17:26] <arrrghhh> yes it would need to be up for networking
[17:26] <arrrghhh> ok
[17:27] <jdstrand> hallyn: I've committed a change to libvirt-aa-secdriver.sh and it seems to be working now
[17:27] <arrrghhh> update-rc.d: /etc/init.d/bot exists during rc.d purge (use -f to force) - i did put a -f, i still get this...?
[17:27] <arrrghhh> oops.
[17:27] <arrrghhh> moved the -f :P
[17:28] <jdstrand> hallyn: I'm not sure how much of your time it is worth investigating... you can look at my changes if you want to help narrow it down if you want
[17:28] <arrrghhh> ssureshot: to do the update-rc.d and put it at 99... how do i do that?
[17:28] <arrrghhh> nvm i think i got it
[17:28] <arrrghhh> defaults 99
[17:29] <arrrghhh> k here goes another reboot!
[17:29] <hallyn> jdstrand: i'm assuming it's fallout from their (ongoing) switch to the new monitor or whatever they're doing
[17:29] <ssureshot> good luck
[17:29] <arrrghhh> thx
[17:29] <Aison> hello, is that a problem of ubuntu 10.10 or is it just mine, that NFS version 4 is not working right? when I connect from one ubuntu server to another ubuntu server then the rights on the client are really strange
[17:29] <jdstrand> hallyn: there is one qrt test left that is failing that I am investigating
[17:30] <jdstrand> (not libvirt-aa-secdriver.sh)
[17:30] <Aison> it looks like this
[17:30] <Aison> drwxr-xr-x  2<PHONE_NUMBER><PHONE_NUMBER>   24 2009-12-03 21:52 ftp
[17:31] <Aison> and files like this
[17:31] <Aison> -rwxr-xr-x  1<PHONE_NUMBER><PHONE_NUMBER>  234 2007-11-19 23:09 store-jukebox-home
[17:33] <arrrghhh> bah
[17:33] <arrrghhh> script still doesn't work
[17:33] <arrrghhh> i'm guessing there's an issue with my screen command.
[17:34] <arrrghhh> is there something special i need to do to get a screen session running in an init.d script?
[17:35] <arrrghhh> my rtorrent init.d script does it, but i'm not following how they do it :P
[17:35] <ssureshot> bummer, I can't help with python though.. what about upstart?
[17:35] <arrrghhh> well the upstart scripts are just symlinks to init.d scripts...
[17:36] <databits> well I found zenoss
[17:36] <databits> I'm going to install that instead
[17:36] <databits> what is the command to remove ntop
[17:36] <arrrghhh> apt-get remove?
[17:36] <databits> sudo aptget remove ntop ?
[17:36] <ssureshot> sudo apt-get purge ntop
[17:36] <arrrghhh> assuming you installed it with apt
[17:36] <ssureshot> or remove
[17:37] <databits> thanks that is what I figured... it has been so long sense I have been doing with all these linux cli commands
[17:37] <ssureshot> arrrghhh:  true
[17:38] <ssureshot> does the script run fine when you run it manually?
[17:40] <arrrghhh> yes
[17:40] <arrrghhh> which is why it's so maddening :P
[17:41] <jdstrand> hallyn: the remaining failure seems to be due to a too low timeout with pexpect
[17:41] <jdstrand> hallyn: so it seems fine functionally at this point (at least for what we test)
[17:42] <jdstrand> hallyn: I'm going to review the merge now
[17:43] <ssureshot> Id try calling it from upstart,, use something like this... http://pastebin.ca/1983061
[17:45] <ssureshot> you can also use .................start on (local-filesystems and net-device-up IFACE=eth0)
[17:45] <ssureshot> so it starts after networking
[17:45] <arrrghhh> i don't know if that's the problem.
[17:46] <hallyn> jdstrand: cool, thanks.  about to head out for some pho, bbl
[17:48] <arrrghhh> ssureshot: when i call it from upstart manually it's fine.
[17:48] <arrrghhh> i think my screen command wasn't quite right.
[17:48] <arrrghhh> trying again...
[17:49] <arrrghhh> works!
[17:49] <arrrghhh> my screen command was not correct :D
[17:52] <ssureshot> good deal arrrghhh sorry I steered you in the wrong direction
[17:54] <hggdh> JamesPage: there?
[17:54] <arrrghhh> ssureshot: no worries you were grabbin at straws ;)
[17:56] <beniwtv> Hi all... I have a strange problem on one of my servers. It seems that none of the locales "LANG" options are set. So, I tried to set a default language via dpkg-reconfigure locales. It generates some locales, but the dialog that used to come up in previous versions of Ubuntu to select the default locale doe snot come up anymore. Any ideas?
[18:30] <jdstrand> hallyn: btw, when putting packages in your ppa, instead of using 0.8.5-0ubuntu1serge1 as the version, use 0.8.5-0ubuntu1~serge1. this way when you upload 0.8.5-0ubuntu1 users of ppa will get the new version. (eg try running "dpkg --compare-versions '0.8.5-0ubuntu1serge1' gt '0.8.5-0ubuntu1' && echo yes")
[19:05] <corecode> hey
[19:05] <corecode> suddenly my machines start mounting /home via nfsv4
[19:05] <corecode> any idea why that might happen?
[19:06] <corecode> the problem is that if the machines are not configured to run idmapd all the permissions are wrong
[19:13] <wiredfool> I've got a packet loss problem across a bridge for KVM on lucid server -- it's a 2 nic server, internal and external nets. One bridge is working fine, one is dropping packets in waves. The packets are getting to the bridge (according to tcpdump), but not getting to the vm inside, according to a fw logging rule as the first input rule. I've checked arp, and it's stable on both ends.
[19:17] <arrrghhh> hey all.  i have multiple versions of java installed on my system, some things require 1.5, some require 1.6.  how can i ensure programs are using the correct version?  i set 1.5 the default as per a guide i was reading, but now a program that requires 1.6 fails...
[19:22] <wiredfool> and even more curiouser, I've got 2 identical hosts with the same set of guests, and they're doing the same thing.
[19:22] <wiredfool> though one loses a lot more packets than the other.
[19:39] <hallyn> jdstrand: but 0.8.5-0ubuntu1~serge1 wouldn't have worked for me, bc i had tried to dput 0.8.5-0ubuntu1 and build had failed, so i had to do something higher next
[19:39] <hallyn> i didn't mean for anyone to use it, only to make sure it would build on the build farm - so i'm about to delete it
[19:40] <hallyn> i suppose what i ought to do is always immediately  *start* with ~serge1 for my tests
[19:40] <jdstrand> hallyn: sure. I recommend ppa packages always use '~' and official ones omit it
[19:40] <jdstrand> hallyn: yes
[19:40] <jdstrand> hallyn: no huge deal, just an fyi
[19:40] <hallyn> thanks.  i need to work on the discipline
[19:43] <jdstrand> hallyn: see, you have to assume that you have fans that are just waiting to try out all your cool stuff :)
[19:44] <jdstrand> if I actually had a fan, he/she would be seriously disappointed in my ppa. but there is always hope
[19:57] <hallyn> jdstrand: but so i have to keep doing it wrong so i can get the 'hate'-mail, so i can know i have fans :)
[19:57] <jdstrand> heh
[20:02] <lieuwe[49ft]> i've been trying to run a ftp server for a while now, but i can't seem to be able to set it up so that it asks for a username/password, any pointers?
[20:07] <lieuwe[49ft]> i've got an smb share, which i can view, but i can't add/change/delete files, what do i need to change to be able to do that>
[20:07] <lieuwe[49ft]> ?
[20:22] <sherr> lieuwe[49ft]: Howtoforge has a lot of pointers for things like FTP and Samba.  Lots of FTP links to scan. Simialr for samba.
[20:30] <guntbert> lieuwe[49ft]: did you see https://help.ubuntu.com/10.04/serverguide/C/ ?
[20:32] <sherr> Which, incidently, is the first google hit for "ubuntu server +ftp"
[20:32] <sherr> :-)
[20:33] <lieuwe[49ft]> currently my first concern is getting this share to work
[20:33] <guntbert> lieuwe[49ft]: the server guide covers that too
[20:37] <lieuwe[49ft]> guntbert: they all asume you use a user structure, this is(should be) a public share, but right now i get acces denied no matter what
[20:37] <lieuwe[49ft]> guntbert: it doesn't accept the password for a local user either
[20:38] <guntbert> lieuwe[49ft]: I have to tell you that I never quite got the hang of windows networking - so I'm familiar with what you experience but cannot help ;-(
[20:39] <lieuwe[49ft]> pfffff
[20:39] <lieuwe[49ft]> guntbert: i've got a temp solution, but its a bit silly to use netcat to write files you my www dir
[20:41] <lieuwe[49ft]> guntbert: oh, the problem seems to be the permisions set on the folder, could you help me with chmod?
[20:41] <guntbert> lieuwe[49ft]: I can try :-)
[20:42] <guntbert> lieuwe[49ft]: and read the server logs
[20:42] <lieuwe[49ft]> guntbert: absolutely *no* idea where the log is
[20:42] <lieuwe[49ft]> lemme find out
[20:42] <guntbert> lieuwe[49ft]: search in /var/log
[20:43] <lieuwe[49ft]> guntbert: doesnt seem to be there
[20:44] <guntbert> lieuwe[49ft]: look in /var/log/samba
[20:45] <guntbert> lieuwe[49ft]: even /var/log/syslog might contain something...
[20:47] <lieuwe[49ft]> guntbert: there are lotsa logs in /var/log/samba what one should i read?
[20:48] <guntbert> lieuwe[49ft]: as I have none I cannot say - please !pastebin the output of ls -l /var/log/samba
[20:48] <lieuwe[49ft]> guntbert: okies
[20:49] <lieuwe[49ft]> guntbert: http://paste.pocoo.org/show/286659/
[20:50] <hallyn> jdstrand: so in a merge request - does it matter at all how many crummy commits are in the tree i'm proposing?  Or do you just squash them all into a signle commit when merging?
[20:50] <hallyn> just curious
[20:51] <hallyn> well, not just curious - i'm wondering whether i should use a new, clean branch for the next request
[20:51] <jdstrand> hallyn: it'll get squashed in the commit, but it possible to see all your small commits in the history
[20:52] <jdstrand> I forget the incantation... bzr log squashes it, there is something else that shows all the little ones
[20:52] <hallyn> --include-merges
[20:52] <hallyn> ok, thx
[20:53] <jdstrand> hallyn: for uber-cleanliness, a separate branch is nice, but not required
[20:53] <guntbert> lieuwe[49ft]: look into log.smbd and maybe log.nmbd.1.gz (you might need zless here)
[20:55] <lieuwe[49ft]> guntbert: log.smbd only contains a copyright notice
[20:56] <guntbert> lieuwe[49ft]: ok, I was only asking because its easier to fix permissions if you know whats wrong
[20:56] <lieuwe[49ft]> guntbert: should i pastebin log.nmbd.1.gz? it doesnt seem to contain anything usefull
[20:57] <guntbert> lieuwe[49ft]: its a compressed file, so I said "use zless"
[20:57] <lieuwe[49ft]> guntbert: i did
[20:57] <lieuwe[49ft]> guntbert: nothing errorlike tho
[20:57] <lieuwe[49ft]> guntbert: just lotsa [server started at x.x.x.x] and [server stopped]
[20:57] <guntbert> lieuwe[49ft]: lets proceed with the permission you want to change
[20:58] <lieuwe[49ft]> guntbert: well, i basicaly want everybody to be able to read and write to /var/www
[20:59] <guntbert> lieuwe[49ft]: please be aware that this in generally a bad idea ™
[20:59] <guntbert> *this is
[21:00] <lieuwe[49ft]> guntbert: the system has only one user, and a share thats within a firewalled network
[21:00] <lieuwe[49ft]> guntbert: i dunno how to otherwise make the share work
[21:01] <lieuwe[49ft]> it get permission denied every time now
[21:01] <lieuwe[49ft]> (before i could at least read)
[21:01] <guntbert> lieuwe[49ft]: what do you get with ls -ld /var/www ?
[21:02] <lieuwe[49ft]> guntbert: d----w--w- 2 user root 4096 2010-10-23 23:01 /var/www
[21:02] <lieuwe[49ft]> odd
[21:02] <lieuwe[49ft]> i chown'ed it to user before
[21:03] <guntbert> lieuwe[49ft]: it should be drwxr-xr-x 2 root root 4096 2010-10-05 11:09 /var/www/
[21:03] <lieuwe[49ft]> guntbert: and how do i do that?
[21:04] <lieuwe[49ft]> guntbert: i don't really get chmod, i'm pretty good at shell stuff, just not chmod
[21:06] <segv`> there a way to make a shared /var/cache/apt/archives?
[21:06] <wiredfool> lieuwe[49ft]: chmod 755
[21:06] <lieuwe[49ft]> guntbert: so how do i chmod it correctly
[21:06] <lieuwe[49ft]> wiredfool: thanks
[21:07] <wiredfool> and chown root:root
[21:07] <lieuwe[49ft]> it works
[21:07] <guntbert> lieuwe[49ft]: when you use chmod -v you get feedback
[21:08] <lieuwe[49ft]> okay, wth, i can browse it now, but i can't read or write
[21:09] <lieuwe[49ft]> wiredfool: do you happen to know anything about smb shares?
[21:09] <wiredfool> I tend to avoid them.
[21:10] <lieuwe[49ft]> wiredfool: :P
[21:10] <lieuwe[49ft]> wiredfool: any idea why i can browse but not read/write files in my share?
[21:10] <wiredfool> I wonder if you mucked up items on the inside of the folder as well?
[21:10] <guntbert> lieuwe[49ft]: one way: create a group (webauthors), assign the directory to that group and chmod it to 775, then make your user a member of that group
[21:11] <lieuwe[49ft]> guntbert: i'm not using users for this share,
[21:13] <guntbert> lieuwe[49ft]: I forgot, but the samba system must act as a user to be able to write there
[21:13] <lieuwe[49ft]> eh
[21:13] <lieuwe[49ft]> there's probably something like a samba group or something
[21:14] <lieuwe[49ft]> guntbert: there's a group called sambashare
[21:15] <guntbert> lieuwe[49ft]: try: chown -v :sambashare /var/www
[21:18] <lieuwe[49ft]> guntbert: still no read acces
[21:19] <guntbert> lieuwe[49ft]: well I told you about my experience with windows networking/samba - sorry
[21:19] <lieuwe[49ft]> indeed
[21:20] <lieuwe[49ft]> fudge it, i'm going to netcat my files over to the server
[21:42] <beav_35> I installed the apache2-suexec package but apache doesn't report that it found suexec in it's logs when it starts. What else do I have to do so that it will find it?
[21:46] <RoyK> beav_35: cd /etc/apache2/mods-enabled; ln -s ../mods-available/suexec* .
[21:47] <RoyK> apache2ctl graceful
[21:47] <lieuwe[49ft]> i forgot my mysql database name, is there any way to get it back?
[21:47] <RoyK> show databases?
[21:49] <lieuwe[49ft]> RoyK: how do i do that exactly? this is the first time i've ever used mysql
[21:49] <RoyK> mysql -uusername -p
[21:49] <RoyK> type password
[21:49] <RoyK> show databases
[21:49] <Eventyret> Morning RoyK
[21:50] <RoyK> Eventyret: morning?
[21:50] <lieuwe[49ft]> RoyK: "ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES)"
[21:50] <RoyK> lieuwe[49ft]: fix your password, tehn
[21:50] <Eventyret> RoyK: evning x:P
[21:50] <beav_35> Royk: thanks I worked
[21:50] <RoyK> god kveld :)
[21:50] <lieuwe[49ft]> RoyK: i tought i knew the login username/password, aperantly not, any way to reset those?
[21:51] <Eventyret> xD
[21:51] <RoyK> lieuwe[49ft]: stop mysqld - start it manually with --skip-grant-tables - login as root - no password - set a new password
[21:52]  * RoyK has just installed 16U worth of storage
[21:52] <lieuwe[49ft]> RoyK: hold on, my shell is spazzing
[21:53] <lieuwe[49ft]> RoyK: stop: Unknown job: mysqld
[21:53] <RoyK> lieuwe[49ft]: /etc/init.d/mysql stop ; mysqld --skip-grant-tables& sleep 10; mysql -uroot mysql
[21:55] <lieuwe[49ft]> RoyK: "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"
[21:55] <lieuwe[49ft]> again
[21:55] <RoyK> try #mysql
[21:56]  * RoyK is too tired for the newbie helpdesk
[21:57] <lieuwe[49ft]> RoyK: i'll go poke someone else about this :P
[21:57] <RoyK> lieuwe[49ft]: no offence, but there's tons on google about the subject
[21:58] <lieuwe[49ft]> RoyK: yeah, i'm probsably too tired to google properly as i couldn't find anything
[21:58] <RoyK> http://forums.mysql.com/read.php?10,130308
[21:59] <RoyK> second hit on google
[21:59]  * RoyK sends lieuwe[49ft] to the Learning The New Internet course
[21:59] <lieuwe[49ft]> RoyK: :P
[22:00] <RoyK> http://www.cyberciti.biz/tips/recover-mysql-root-password.html
[22:06] <demonspork> are there any open source packages meant for managing a webserver hosting multiple websites? as in setting up the site with a webform and a paypal button to get webhosting with FTP/SFTP access?
[22:07] <demonspork> or do I have to write my own software that will configure that type of service
[22:10] <RoyK> demonspork: I'm quite sure there's a lot of free software for that, but I somehow think that google or some other search engine may give better advice than asking in here
[22:16] <ChmEarl> ##linux
[22:55] <bkpc> why sles not ubuntu server????
[23:32] <Acs> hello!
[23:33] <Acs> I have created a new user but did with the useradd and not the adduser
[23:33] <Acs> so there is no home folder for the user
[23:33] <Acs> is there any problem with deleting and create again the user (this time with adduser)
[23:34] <Acs> I ask this because I have already change the mod for some files
[23:34] <Acs> making the owner this user
[23:35] <Acs> so will the files get somehow mixed up or something?
[23:38] <qman__> Acs, only if the user is given a different UID/GID
[23:39] <qman__> you can specify it as an option to adduser, so that that doesn't happen
[23:39] <Acs> aaa ok ok
[23:39] <Acs> and how do I get the user uid?
[23:39] <qman__> grep username /etc/passwd
[23:39] <qman__> gives you something like this:
[23:39] <qman__> ryan:x:1000:1000:ryan,,,:/home/ryan:/bin/bash
[23:40] <qman__> first number is UID, second is GID
[23:41] <Acs> thanks


 Already deep in tests writing, but for the last time of the year :)
[09:18] <didrocks> hey Laney
[09:20] <Laney> \o didrocks
[09:37] <marcustomlinson> hey didrocks
[15:44] <hellsworth> good morning desktoper
[15:44] <hellsworth> s
[15:44] <oSoMoN> morning hellsworth
[15:47] <jibel> Good morning hellsworth
[15:48] <hellsworth> hey guys!
[15:52] <marcustomlinson> hey hellsworth
[15:53]  * hellsworth waves at marcustomlinson across the pond
[16:39] <Laney> big hands
[16:39] <Laney> or small pond