[00:03] apologies...i must go offline...i may need to ask my question again in the morning === Tombar_ is now known as Tombar [00:27] 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:27] Launchpad bug 671163 in qemu-kvm "win2k3 guest has blank screen and high cpu on first boot" [Undecided,New] [00:41] erichammond, yeah, you made a good argument. it *is* a change, though, there is no ignoring that. [00:41] if it was done in a package, it would have to go through SRU. [00:41] smoser: And I'm often on the other side arguing against change :) [00:41] if the installer wanted to change the default filesystem, there would need to be a decision officially ack'd [00:42] i think that is basically the same thing as here. there is good reason, but it needs to be considered. [00:42] smoser: I'm happy with the file system matching what you would get with the standard Ubuntu server. I like consistency. [00:43] right. i'm just saying, this change is basically a change to the defaults in an installer. [00:43] 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] (architecture 32-bit vs. 64-bit, and root disk size) [00:45] smoser: I guess AMIs can also affect what other disk devices are available, too: ephemeral storage, other EBS volumes created from snapshots. [00:47] 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] but other than that, I think its the right decision [00:47] and it will be acked by TB === _Techie_ is now known as _TechAway_ [01:24] 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] i'm sorry 10.04 [01:25] vraa: ask dpkg? [01:25] Usually it will be worker unless PHP has forced the use of prefork [01:26] 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] how, um, what does it mean to ask dpkg [01:27] Sounds like you're not sufficiently familiar with the Debian apache setup to safely "optimize" it [01:27] haha im not, i am going from googling [01:27] vraa: google is full of people who don't know anything, too. [01:28] yeah that sucks a lot :( [01:28] i installed mod_pagespeed today [01:28] vraa: re dpkg, something like "dpkg -l apache2-mpm-*" should indicate which of the (mutually exclusive) mpm implementations is installed. [01:28] gotcha, i was doing dpkg -S, wrong one [01:29] sweet i think i have prefork installed [01:30] i do have php installed, :( is that bad [01:30] Well, I don't like it. [01:34] any reasons you dont like it [01:36] Because it's a language made for newbies by newbies. [01:39] ouch [01:40] ouch [01:40] what is a good language to write a webapp in? [01:40] My opinion of web "apps" is about the same [01:41] But I suppose if I was forced to, I'd be looking at Python in preference to perl, php or java [01:44] python > perl > java|php ? [01:44] so you can have a python and mysql and apache2 app/ [01:44] or i guess, since mysql no longer has innodb, might be wise to move to postgresql === _TechAway_ is now known as _Techie_ [01:49] I've never met a DBA would liked mysql [02:07] kirkland: re Andre Dawson - awesome [02:12] 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] new systems? [02:16] you mean new installs? [02:16] well [02:16] i access my server from my laptop at home [02:16] in win7 and ubuntu [02:16] i access it at work [02:16] i sometimes like to access the server from my phone... [02:17] you'll have to add ssh keys for all those devices [02:17] so just add 'em all at once then eh [02:17] let's say i go to a friends house... i'm sol? lol [02:17] twb, thanks for your help, i've really been able to get my stuff faster now [02:18] arrrghhh: not if you have your laptop or phone with you ☺ [02:18] lol [02:18] crap... [02:18] makes me not want to get rid of password-based logons... [02:19] well, the alternative is less security, it's your choice [02:19] yea [02:19] denyhosts, i'm assuming that would work in either situation? [02:19] password or passwordless logins? [02:21] you could also carry an ssh key on an USB stick and use that [02:21] oic [02:22] the server's key yea? [02:22] That assumes you trust the machine you're putting the USB stick into [02:22] lol [02:22] i shouldn't be connecting to my server on a machine i don't trust ;) [02:22] arrrghhh: not the server's host key. Your user's private ssh key. [02:22] arrrghhh: correct. [02:22] a private key with a strong password preferably [02:23] and when you lose the usb key, you want to remove the public counterpart from the server ☺ [02:23] ah [02:23] i will read more on it. [02:23] concept always confused me, and i keep revisiting it. [02:24] but as twb says, usign an untrusted computer is always bad for security [02:24] indeed. [02:24] keyloggers, etc. [02:27] cool guys, thanks for the help [02:29] hi, my resolution is 1280 - 800 how do i make it higher? [02:29] thats the max it shows [02:43] * twb grumbles about plymouth [02:45] 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] (Native resolution on the framebuffer, that is -- no X.) [03:14] 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? === FireCrotch is now known as nickmoeck [03:49] 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] 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] So I asked for quotes of 1TB and 2TB HDDs, and they've given me numbers for a 7200 1TB and a 5900 2TB. [03:55] Am I old fashioned for thinking "WTF is the point of sub-7200rpm in a server"? [03:57] twb: Do you expect high I/O, or do you just want massive storage? [03:58] Both :P [03:58] I mean, surely you can *get* 7200 2TBs [04:00] 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] 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] Oh, and add slapd/krb/ssh/openswan to that list. [04:56] 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] I *really* don't want to deploy Zimbra, because it insists on its own custom versions of everything from slapd to postfix [04:57] twb: Kolab has been gaining traction.. not sure if the maverick stuff has been backported to lucid. [04:58] In my ideal world, there is that is implemented on top of stock postfix and slapd, using a commodity interchange format, say emails with iCalendar MIME attachments. [04:59] It'd need to work with at least thunderbird and mutt, or (worse) some kind of web UI. [05:00] I wanted that 10 years ago. [05:00] I think they call it "google calendar" now. ;) === rgreening_ is now known as rgreening [05:16] twb: I'm with you on Zimbra though. Rather than provide a good route to integration, they just provide a product. :-/ [05:18] There *was* a couple of guys looking into fixing ZCS to use stock ubuntu packages, but last I heard they gave up [05:29] twb: Kolab I believe was a bit simpler... [05:31] why must every new server package land with 45 unpackaged dependencies?! [05:31] * SpamapS eyes mod_pagespeed [05:45] At least kolabd is in sid [05:45] I've asked a flunky to try installing it onto a scratch box and see how far he gets [06:45] hey guys what the easiest configuration for dovecot + postfix when it comes to adding users etc [06:52] New bug: #671289 in openssh (main) "package openssh-server 1:5.5p1-4ubuntu4 failed to install/upgrade: underproces installed post-installation script returnerede afslutningsstatus 1" [Undecided,New] https://launchpad.net/bugs/671289 === _Techie_ is now known as _TechAway_ === _TechAway_ is now known as _Techie_ [08:16] Hey [08:17] Does anyone how to specify which domain names can access my ubuntu-server via port number? [08:17] 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] hey guys how do i run the smart hdd tests via cli [08:27] <_ruben> !smartmontools [08:27] <_ruben> !info smartmontools [08:27] smartmontools (source: smartmontools): control and monitor storage systems using S.M.A.R.T.. In component main, is optional. Version 5.39.1+svn3077-1ubuntu1 (maverick), package size 422 kB, installed size 1016 kB [08:28] _ruben: fair point actually i might have to purchase some more ip addresses then [08:29] does anyone know how tools that you can use to check the security of a server? [08:29] i.e. from a network point of view - what ports are open etc [08:29] <_ruben> !info nmap [08:29] nmap (source: nmap): The Network Mapper. In component main, is extra. Version 5.21-1~build1 (maverick), package size 1737 kB, installed size 7052 kB [08:30] <_ruben> !info nessus [08:30] Package nessus does not exist in maverick [08:30] aa nmap! [08:30] good call! [08:30] 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] i see [08:30] thank you :) [08:37] New bug: #671304 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1 [modified: usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/671304 === nijaba` is now known as nijaba === Cyber_Rock is now known as b00tilicious === b00tilicious is now known as Cyber_Rock [12:02] hello [12:02] is it a bad idea try to install gnome in an ubuntu server? [12:02] or, simply apt-get install gnome-core could be fair enough? [12:02] Depends on why you're doing it. [12:03] i only need a dhcp and samba server [12:03] i just wanted to know if gnome could networkmanager could break my dhcp [12:04] If you only need dhcp and samba, why install a desktop? [12:04] personal reasons [12:05] I can't advice on your personal reasons, sorry. [12:08] HackeMate: in #ubuntu-server we advocate learning to administer servers from the CLI. [12:09] HackeMate: we don't recommend installing a GUI on a server. [12:10] 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] it just requires graphic enviroment because im not the only preson who will touch it [12:12] they need an user, and, i can't force them to learn linux [12:13] indeed i just can make his life easier with X [12:17] twb: thanks [12:17] I guess it will be better if I create some kind of frontend for his routines [12:17] It is better not to mix server and desktop roles [12:17] One of my customers had about eight FreeBSD workstations, with daemons spread across them all. It was insane to maintain. [12:18] Give them a headless box that is "the server", and a bunch of workstations. [12:19] you could put all the services in a kvm vm :) [12:20] would be an interesting approach [12:21] aha, right [12:22] thanks, for real [12:22] I was very lost at this point [13:14] 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:14] Launchpad bug 579276 in linux "Lost network in KVM VM / virtio_net page allocation failure" [Medium,Triaged] === _Techie_ is now known as _TechAway_ [13:28] Ug. [13:28] Hey does anyone use dcron? [13:38] hi [13:39] i'm trying to install x11 on a 10.04 server and it hangs while Unpacking libxfixes3 [13:41] 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] root@joah:~# do-release-upgrade Checking for a new ubuntu release [13:41] No new release found [13:41] annyone an idea [13:42] didnt found anything on the net [13:42] or shouold i manualy change apt sources file [13:43] mich: You should follow the "upgrade notes" link and then 10.04 upgrade notes link. :) [13:43] mich: /etc/update-manager/release-upgrades might be interesting to look at. [13:45] zul: time for a few Qs on SRU? [13:46] well, actually Q & A, just the Qs will not carry me long... [13:46] ok i did set Prompt=normal former [13:47] mich: d-r-u defaults to LTS->LTS when you're already ON an LTS release. [13:47] mich: there should be an option to d-r-u that says "non LTS releases matter" or so [13:58] soren, ping [13:58] ok is do it the debian way [13:59] didnt find anything else [13:59] 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] https://blueprints.launchpad.net/sprints/ods-b i don't see anything htere [13:59] man d-r-u didnt take me top such a option [13:59] d-r-u = do-release-upgrade [14:00] jea i did that [14:00] but man do-release-upgrade didnt popiunt me to a a "non LTS releases matter" or so [14:02] why would the installation of the libxfixes3 package hang, sha1 and md5 sums are ok [14:04] mich: dunno, then [14:05] dunno ? [14:05] mich: I do not know. I can not help you further. [14:05] ok thanks [14:06] mexx: please pastebin the output of "ps auxf" [14:08] http://paste.ubuntu.com/526325/ === MrWise is now known as Wise_ [14:20] does ruby or rails run as like deamons or anything when I have an apache with passenger running? [14:21] 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] like with ps -whatever [14:21] I think it runs as like a guy falling out of an exploding plane, without a chute [14:21] twb: For d-r-u there's a config file to change if one wants non-LTS releases. [14:22] twb; why wouldnt he have a parachute? [14:22] smoser: 'sup? [14:23] i asked in above and in #openstack [14:23] regarding loader and openstack [14:23] smoser: thanks; I couldn't be bothered looking it up :-) [14:23] Er, that was for ScottK. [14:24] You're welcome. [14:24] Wise_: because I'm a design bigot. In that I think systems should, you know, have one. [14:29] 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] !RUTE [14:32] documentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com [14:32] New bug: #671427 in cloud-init (main) "grub-legacy-ec2 should not use UUID" [Undecided,New] https://launchpad.net/bugs/671427 [14:32] !smart questions [14:32] !smart-questions [14:32] noname_: read those URLs, and http://linuxmafia.com/faq/Essays/smart-questions.html [14:33] twb: ok thx i'll :) [14:33] And https://help.ubuntu.com/10.04/serverguide/C/index.html [14:36] New bug: #671431 in drbd8 (main) "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/671431 [15:01] Daviey, are you around? [15:02] if/when you do get 'round, would you mind having a look at bug 579276 and giving me your impression? [15:02] Launchpad bug 579276 in linux "Lost network in KVM VM / virtio_net page allocation failure" [Medium,Triaged] https://launchpad.net/bugs/579276 [15:07] Daviey: o/ [15:08] Daviey: you asked about openldap yesterday? [15:20] i'm stupid; how does one boot virtio disk from libvirt? [15:21] disk is a file [15:22] ivoks: what is the file format? qcow2,raw, etc... [15:22] qcow2 [15:23] * SpamapS wades into the bug triage list.. [15:23] did you build the machine with KVM and are now trying to use libvirt? [15:23] i used kvm trough libvirt, booted from Cd and installed the system [15:23] installed grub into mbr and now it can't find bootable device on disk [15:23] ivoks: Can I see your libvirt xml? [15:24] hmm... sounds like you need to update the boot order [15:24] sure [15:24] http://pastebin.com/t5ryMzQW [15:25] looks sane [15:26] i know :) [15:26] that's why i'm stupid [15:26] :) [15:26] ivoks: Can you show me the resulting kvm cmdline? [15:26] have you tried it without libvirt wrapper? [15:26] soren: it's missing boot=on, i've noticed that [15:27] ivoks: Then you're screwed. [15:27] It needs boot=on for virtio. [15:27] http://pastebin.com/eNNbWkFh [15:27] i know [15:27] Which libvirt version is this? [15:27] lucid's [15:28] :( [15:29] i was looking how to add boot=on to xml [15:29] didn't find anything [15:29] It should happen automatically. [15:29] does this boot it? http://pastebin.com/v7YdqKtv [15:29] Based on [15:30] [15:30] hm [15:30] Ninjix: that's how it should look like, yes [15:30] Ninjix: boot=on [15:30] I also don't get why it says if=none. that's just weird. [15:30] ..but maybe that's due to the new -device thing. [15:30] I've sort of lost track of this stuff. [15:31] yeah... libvirt on debian/ubuntu is a little too far behind upstream [15:31] Ninjix: Uh.... We're following upstream /quite/ closely. [15:31] I stopped using libvirt and just started working with direct kvm [15:32] yes we are [15:32] i had problems with boot=on in qemu [15:32] qemu doesn't work with it [15:32] ah... ok. I was speaking without having checked :) [15:32] couple of months passed before redhat acknowledged there's a bug :) [15:37] i'll start all over [15:37] disk image was created by vmbuilder [15:39] ivoks: pastebin your ps aux | grep kvm > foo.txt [15:40] i've pasted the command on pastebin [15:40] it's missing boot=on [15:40] that's the problem [15:41] didn't see the past for the libvirt generated kvm command [15:41] only the xml [15:42] 16:27 < ivoks> http://pastebin.com/eNNbWkFh [15:43] yeah... no doubt about it [15:45] maybe give the PPA a whirl? [15:46] if reinstall doesn't work, i will [15:46] :) [15:46] reinstall of VM [15:56] New bug: #668400 in cloud-init "Adding RightScale support to cloud-init" [Undecided,New] https://launchpad.net/bugs/668400 [16:05] 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] hi again === HackeMate is now known as hxm [16:08] 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] 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] the fact is doesn't work at the moment [16:10] oh, maybe /etc/rsyslog.d/ [16:14] solved [16:20] Ninjix: you know where that libvirt ppa is? [16:28] Ninjix: \sh oh, just ignore me [16:28] Ninjix: soren i was actually using my own libvirt, in which i disabled boot=on :D [16:28] fr... retard [16:32] SpamapS: o/ [16:32] SpamapS: do you have some time to mumble about the installation service? [16:32] SpamapS: https://wiki.ubuntu.com/ServerTeam/Specs/Natty/InstallService [16:33] mathiaz: certainly. [16:33] mathiaz: give me a couple of minutes to read that. [16:42] zul: still want to ask you some Qs about SRU ;-) [16:43] 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] ? [16:45] databits: I don't know if you want full feature or not but I'd look into zenoss [16:45] it can monitor just about anythying you want [16:48] maybe munin ? [16:48] damn they charge :( [16:48] I need something freeware [16:48] Munin is free and open source. [16:48] Cacti is as well. [16:48] I thought it was open source,, zenoss also has a company that will support it that might be what ur looking at [16:49] nessuss [16:49] 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] i like munin more than cacti, but that's just my preference [16:49] 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] jdstrand: hm [16:50] well basicly I just wanna have something running on my ubutu server where I can have a gui for the bandwidth monitor [16:50] that's kind of weird. why would you not want to allow quotes... [16:50] *shrug* [16:50] * hallyn looks through git log [16:51] databits: ntop might do this too, it has been a while since I've played with it though. [16:51] ok sweet thnx alot [16:52] I just don't feel like doing work today [16:53] * jdstrand really needs to convert libvirt-aa-secdriver.sh to python... === NG_ is now known as ng_ [16:59] ok I got ntop up and running [16:59] it is telling me that I have to go to http://localhost:3000 [16:59] I allready have a webserver running on the server [16:59] yeah thats how it works [16:59] port 3000 will not interfere with 80 [16:59] so I should be able to hit http://datait.dyndns.org:3000 [17:00] how can I check whether curl is properly installed on my server or not ? [17:00] that dns is pointing to that machine [17:01] hggdh: umm....swap day today :P [17:04] AnirbanHazra, try using it; i.e. 'curl http://google.com' [17:05] ssureshot, take the day off and work tomorrow instead? [17:09] patdk-wk: interesting thought but I think I'd rather finish today and not work tomorrow lol [17:09] newborn kept me up all last night so I'm a little unmotivated [17:10] newborn-congrats! [17:10] ssureshot: That's a sign you lack coffee. [17:10] thank you sir [17:10] Speaking of which ... [17:10] Scottk: ha right on, you may be right [17:12] mine is 3, and keeps me up all night watching movies [17:12] mine is 15, and her guitar keeps me up. [17:12] I'd enjoy that,, right now all he does is scream at me [17:13] I can only hope he picks up the guitar, I'd love to jam with family [17:13] ...just like I punished my parents when I was 15... [17:14] they say what goes around comes around.. so I think I'm just screwed [17:14] lol [17:14] karma [17:14] right lol [17:14] does anyone in here have any experience with ntop ? [17:14] I'm trying to figure out how to bring up the web interface [17:15] not familiar with that, sorry. [17:15] I do not, but the man page might .. try this howto http://www.howtoforge.com/network_monitoring_with_ntop === oubiwann is now known as oubiwann-away === jenkinbr is now known as fullgrowncat [17:16] 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? === oubiwann-away is now known as oubiwann [17:19] I would have to look around Webmin to find what script it is... [17:19] was that to me? what does webmin have to do with it? [17:20] I use webmin to look at my logs. [17:21] i use ssh :P [17:21] i just don't know what log to look at [17:21] message? [17:21] er [17:21] messages [17:21] i don't see it in there... [17:21] maybe syslog? [17:21] I am looking at my syslog now to see if I can find anyting about init.d === fullgrowncat is now known as jenkinbr [17:22] i can run the init.d script by hand [17:22] i wonder if it doesn't like the screen command in there... [17:23] 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] rtorrent runs in a screen session. maybe i have to pass a command so the session is immediately daemonized [17:23] ssureshot: well it's just one i wrote. [17:23] real simple, just designed to start a screen session w/ a python script. [17:23] i can run it by hand no problem. just wondering why it failed on boot. [17:24] ah,, you could try to send stdout and stderr to a log file [17:24] so in the command do a > fileanme [17:24] s/fileanme/filename [17:24] > /var/log/file 2&>1 or something like that [17:25] kk [17:25] going to look at how rtorrent does it [17:25] i may just be doing something silly :P [17:26] 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] yes it would need to be up for networking [17:26] ok [17:27] hallyn: I've committed a change to libvirt-aa-secdriver.sh and it seems to be working now [17:27] 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] oops. [17:27] moved the -f :P [17:28] 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] ssureshot: to do the update-rc.d and put it at 99... how do i do that? [17:28] nvm i think i got it [17:28] defaults 99 [17:29] k here goes another reboot! [17:29] jdstrand: i'm assuming it's fallout from their (ongoing) switch to the new monitor or whatever they're doing [17:29] good luck [17:29] thx [17:29] 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] hallyn: there is one qrt test left that is failing that I am investigating [17:30] (not libvirt-aa-secdriver.sh) [17:30] it looks like this [17:30] drwxr-xr-x 2 4294967294 4294967294 24 2009-12-03 21:52 ftp [17:31] and files like this [17:31] -rwxr-xr-x 1 4294967294 4294967294 234 2007-11-19 23:09 store-jukebox-home [17:33] bah [17:33] script still doesn't work [17:33] i'm guessing there's an issue with my screen command. [17:34] is there something special i need to do to get a screen session running in an init.d script? [17:35] my rtorrent init.d script does it, but i'm not following how they do it :P [17:35] bummer, I can't help with python though.. what about upstart? [17:35] well the upstart scripts are just symlinks to init.d scripts... [17:36] well I found zenoss [17:36] I'm going to install that instead [17:36] what is the command to remove ntop [17:36] apt-get remove? [17:36] sudo aptget remove ntop ? [17:36] sudo apt-get purge ntop [17:36] assuming you installed it with apt [17:36] or remove [17:37] thanks that is what I figured... it has been so long sense I have been doing with all these linux cli commands [17:37] arrrghhh: true [17:38] does the script run fine when you run it manually? [17:40] yes [17:40] which is why it's so maddening :P [17:41] hallyn: the remaining failure seems to be due to a too low timeout with pexpect [17:41] hallyn: so it seems fine functionally at this point (at least for what we test) [17:42] hallyn: I'm going to review the merge now [17:43] Id try calling it from upstart,, use something like this... http://pastebin.ca/1983061 [17:45] you can also use .................start on (local-filesystems and net-device-up IFACE=eth0) [17:45] so it starts after networking [17:45] i don't know if that's the problem. [17:46] jdstrand: cool, thanks. about to head out for some pho, bbl [17:48] ssureshot: when i call it from upstart manually it's fine. [17:48] i think my screen command wasn't quite right. [17:48] trying again... [17:49] works! [17:49] my screen command was not correct :D [17:52] good deal arrrghhh sorry I steered you in the wrong direction [17:54] JamesPage: there? [17:54] ssureshot: no worries you were grabbin at straws ;) [17:56] 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? === todd_ is now known as Todd === ng_ is now known as NG_ === SirFiChi is now known as ihCiFriS [18:30] 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") [18:31] New bug: #671552 in autofs5 (main) "package autofs5 5.0.4-3.1ubuntu5.1 failed to install/upgrade: trying to overwrite '/usr/sbin/automount', which is also in package autofs 0:4.1.4 debian-2.1ubuntu2" [Undecided,New] https://launchpad.net/bugs/671552 [19:05] hey [19:05] suddenly my machines start mounting /home via nfsv4 [19:05] any idea why that might happen? [19:06] the problem is that if the machines are not configured to run idmapd all the permissions are wrong === NG_ is now known as ng_ [19:13] 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] 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] 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] though one loses a lot more packets than the other. [19:39] 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] 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] i suppose what i ought to do is always immediately *start* with ~serge1 for my tests [19:40] hallyn: sure. I recommend ppa packages always use '~' and official ones omit it [19:40] hallyn: yes [19:40] hallyn: no huge deal, just an fyi [19:40] thanks. i need to work on the discipline [19:43] hallyn: see, you have to assume that you have fans that are just waiting to try out all your cool stuff :) [19:44] if I actually had a fan, he/she would be seriously disappointed in my ppa. but there is always hope === ng_ is now known as NG_ [19:57] 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] heh [20:02] 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] 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] ? [20:22] lieuwe[49ft]: Howtoforge has a lot of pointers for things like FTP and Samba. Have a look there. [20:24] sherr: in the meantime, i fucked things up :P i should really learn to not touch shit XD [20:26] sherr: i cannot find anything related on howtoforge, [20:27] !language | lieuwe[49ft] [20:27] lieuwe[49ft]: Please watch your language and topic to help keep this channel family friendly. [20:29] guntbert: sorry [20:29] lieuwe[49ft]: google search - "howtoforge +ftp" and try the first link. Lots of FTP links to scan. Simialr for samba. [20:30] lieuwe[49ft]: did you see https://help.ubuntu.com/10.04/serverguide/C/ ? [20:32] Which, incidently, is the first google hit for "ubuntu server +ftp" [20:32] :-) [20:33] currently my first concern is getting this share to work [20:33] lieuwe[49ft]: the server guide covers that too [20:37] 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] guntbert: it doesn't accept the password for a local user either [20:38] 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] pfffff [20:39] guntbert: i've got a temp solution, but its a bit silly to use netcat to write files you my www dir [20:41] guntbert: oh, the problem seems to be the permisions set on the folder, could you help me with chmod? [20:41] lieuwe[49ft]: I can try :-) [20:42] lieuwe[49ft]: and read the server logs [20:42] guntbert: absolutely *no* idea where the log is [20:42] lemme find out [20:42] lieuwe[49ft]: search in /var/log [20:43] guntbert: doesnt seem to be there [20:44] lieuwe[49ft]: look in /var/log/samba [20:45] lieuwe[49ft]: even /var/log/syslog might contain something... [20:47] guntbert: there are lotsa logs in /var/log/samba what one should i read? [20:48] lieuwe[49ft]: as I have none I cannot say - please !pastebin the output of ls -l /var/log/samba [20:48] guntbert: okies [20:49] guntbert: http://paste.pocoo.org/show/286659/ [20:50] 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] just curious [20:51] well, not just curious - i'm wondering whether i should use a new, clean branch for the next request [20:51] hallyn: it'll get squashed in the commit, but it possible to see all your small commits in the history [20:52] I forget the incantation... bzr log squashes it, there is something else that shows all the little ones [20:52] --include-merges [20:52] ok, thx [20:53] hallyn: for uber-cleanliness, a separate branch is nice, but not required [20:53] lieuwe[49ft]: look into log.smbd and maybe log.nmbd.1.gz (you might need zless here) [20:55] guntbert: log.smbd only contains a copyright notice [20:56] lieuwe[49ft]: ok, I was only asking because its easier to fix permissions if you know whats wrong [20:56] guntbert: should i pastebin log.nmbd.1.gz? it doesnt seem to contain anything usefull [20:57] lieuwe[49ft]: its a compressed file, so I said "use zless" [20:57] guntbert: i did [20:57] guntbert: nothing errorlike tho [20:57] guntbert: just lotsa [server started at x.x.x.x] and [server stopped] [20:57] lieuwe[49ft]: lets proceed with the permission you want to change === _TechAway_ is now known as _Techie_ [20:58] guntbert: well, i basicaly want everybody to be able to read and write to /var/www [20:59] lieuwe[49ft]: please be aware that this in generally a bad idea ™ [20:59] *this is [21:00] guntbert: the system has only one user, and a share thats within a firewalled network [21:00] guntbert: i dunno how to otherwise make the share work [21:01] it get permission denied every time now [21:01] (before i could at least read) [21:01] lieuwe[49ft]: what do you get with ls -ld /var/www ? [21:02] guntbert: d----w--w- 2 user root 4096 2010-10-23 23:01 /var/www [21:02] odd [21:02] i chown'ed it to user before [21:03] lieuwe[49ft]: it should be drwxr-xr-x 2 root root 4096 2010-10-05 11:09 /var/www/ [21:03] guntbert: and how do i do that? [21:04] guntbert: i don't really get chmod, i'm pretty good at shell stuff, just not chmod [21:06] there a way to make a shared /var/cache/apt/archives? [21:06] lieuwe[49ft]: chmod 755 [21:06] guntbert: so how do i chmod it correctly [21:06] wiredfool: thanks [21:07] and chown root:root [21:07] it works [21:07] lieuwe[49ft]: when you use chmod -v you get feedback [21:08] okay, wth, i can browse it now, but i can't read or write [21:09] wiredfool: do you happen to know anything about smb shares? [21:09] I tend to avoid them. [21:10] wiredfool: :P [21:10] wiredfool: any idea why i can browse but not read/write files in my share? [21:10] I wonder if you mucked up items on the inside of the folder as well? [21:10] 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] guntbert: i'm not using users for this share, [21:13] lieuwe[49ft]: I forgot, but the samba system must act as a user to be able to write there [21:13] eh [21:13] there's probably something like a samba group or something [21:14] guntbert: there's a group called sambashare [21:15] lieuwe[49ft]: try: chown -v :sambashare /var/www [21:18] guntbert: still no read acces [21:19] lieuwe[49ft]: well I told you about my experience with windows networking/samba - sorry [21:19] indeed [21:20] fudge it, i'm going to netcat my files over to the server [21:26] New bug: #671637 in irqbalance (main) "Not stoppable/restartable via initctl" [Undecided,New] https://launchpad.net/bugs/671637 === JanC_ is now known as JanC [21:42] 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] beav_35: cd /etc/apache2/mods-enabled; ln -s ../mods-available/suexec* . [21:47] apache2ctl graceful [21:47] i forgot my mysql database name, is there any way to get it back? [21:47] show databases? [21:49] RoyK: how do i do that exactly? this is the first time i've ever used mysql [21:49] mysql -uusername -p [21:49] type password [21:49] show databases [21:49] Morning RoyK [21:50] Eventyret: morning? [21:50] RoyK: "ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES)" [21:50] lieuwe[49ft]: fix your password, tehn [21:50] RoyK: evning x:P [21:50] Royk: thanks I worked [21:50] god kveld :) [21:50] RoyK: i tought i knew the login username/password, aperantly not, any way to reset those? [21:51] xD [21:51] 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] RoyK: hold on, my shell is spazzing [21:53] RoyK: stop: Unknown job: mysqld [21:53] lieuwe[49ft]: /etc/init.d/mysql stop ; mysqld --skip-grant-tables& sleep 10; mysql -uroot mysql [21:55] RoyK: "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)" [21:55] again [21:55] try #mysql [21:56] * RoyK is too tired for the newbie helpdesk [21:57] RoyK: i'll go poke someone else about this :P [21:57] lieuwe[49ft]: no offence, but there's tons on google about the subject [21:58] RoyK: yeah, i'm probsably too tired to google properly as i couldn't find anything [21:58] http://forums.mysql.com/read.php?10,130308 [21:59] second hit on google [21:59] * RoyK sends lieuwe[49ft] to the Learning The New Internet course [21:59] RoyK: :P [22:00] http://www.cyberciti.biz/tips/recover-mysql-root-password.html [22:06] 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] or do I have to write my own software that will configure that type of service [22:10] 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] ##linux [22:55] why sles not ubuntu server???? [23:32] hello! [23:33] I have created a new user but did with the useradd and not the adduser [23:33] so there is no home folder for the user [23:33] is there any problem with deleting and create again the user (this time with adduser) [23:34] I ask this because I have already change the mod for some files [23:34] making the owner this user [23:35] so will the files get somehow mixed up or something? [23:38] Acs, only if the user is given a different UID/GID [23:39] you can specify it as an option to adduser, so that that doesn't happen [23:39] aaa ok ok [23:39] and how do I get the user uid? [23:39] grep username /etc/passwd [23:39] gives you something like this: [23:39] ryan:x:1000:1000:ryan,,,:/home/ryan:/bin/bash [23:40] first number is UID, second is GID [23:41] thanks [23:46] New bug: #671672 in krb5 (main) "Sync krb5 1.8.3+dfsg-2 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/671672 === Tombar_ is now known as Tombar