[00:30] how can I fix this? http://pastebin.com/rsPsg49i [00:35] cacti and phpmyadmin insert configuration in /etc/apache2/conf.d and thus become part of every virtualhost. That should not be === dendro-afk is now known as dendrobates [00:44] MTecknology: nice looks good :) === dendrobates is now known as dendro-afk [01:01] hi there, i just changed my domain controler to another subject but the machines that where already joined can't see the domain any more. the firewall is open. What coudl be the problem?. they can see the DC if they are just in the same subnet but no different. === dendro-afk is now known as dendrobates [02:07] ScottK: should be fixed now === dendrobates is now known as dendro-afk === DanYoSon_ is now known as DanYoSon [02:27] I am doing combined work on various USERDir accounts on Ubuntu, but my files are getting written by apache as www-data rather than as those userdir accounts. How do I get file access for the UserDir accounts through those accounts rather than www-data? [02:29] I am doing combined work on various USERDir accounts on Ubuntu, but my files are getting written by apache as www-data rather than as those userdir accounts. How do I get file access for the UserDir accounts through those accounts rather than www-data? [02:30] ri_: look into suexec or some such [02:32] ri_: sounds dangerous anyways [02:32] * zash goes to sleep === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [03:16] whats the best way to go about cleaning up a server (temp, bulky log files etc) my root drive seems to be filled up a bit more then it should be [03:22] heh, shove /var on it's own drive :) [03:22] apt-get clean, helps too [03:22] Thanks [03:24] do i have to symlink to the new /var location? [03:25] heh [03:25] how large is your root? [03:25] 31GB [03:25] should be more than enough, what are you doing? :) [03:25] I only normally do 5gigs [03:26] not sure were all the space is being used at, all of my media are on seperate drives [03:26] guess it's time to use du to find out [03:26] but I am 71% right now [03:26] du -sxc * | sort -n -k1 [03:26] I would start at / [03:26] zash: I don't even have to worry about this on CentOS. It just works. [03:26] and work my way into each large dir [03:27] ri_, that is cause it used suexec by default :) [03:27] When I use userdir, it naturally is configured to think in terms of that user and do all work for that user and not the general apache user on CentOS, but now with this latest Ubuntu server, that aspect is broken. [03:27] not sure about ubuntu, I don't use apache much [03:28] patdk-lap: Thanks for that, was not aware of that command. That was exatcly what i needed [03:28] Well, I have been looking at suexec stuff for about an hour, and nothing shows me how to do it except an apparent daemon specific command line switch. [03:29] It mentions doing something in the virtual host, but doesn't show you what. [03:30] well, I wouldn't know about userdir's, as I never use them [03:30] but using it in virtual host is easy, just add a user and group command, and it's good [03:32] patdk-lap: Okay, sorry. I'm sorry if I'm impatient here. [03:32] got it down to 5.4GB used =D [03:32] where did it all go? :) [03:34] I must have put in a few bad directory lines when i was transfering from one server to another, I had a few movies hiding in the home folder [03:34] heh [03:34] I normally put /home and /var on their own drives [03:35] yeah i normaly have /home on its own. for some reason i skipped it this time around [03:35] This has no syntax chart for the User directive: http://httpd.apache.org/docs/2.0/mod/core.html [03:35] I have 4 other drives for differnt media so i figured i would really need to use /home much [03:36] ri_, it's not part of core [03:36] Is it possible to find it? [03:37] http://httpd.apache.org/docs/2.0/mod/mod_suexec.html [03:38] heh, my suexec and apache's suexec look nothing alike :) [03:38] I've so twisted it over the years [03:39] patdk-lap: I appreciate it. I'll look at that too. Thank you. [03:40] I dunno about that helping userdir's but [03:40] that is what does it for cgi's [03:44] Okay, I have many directories specified for one virtual host, where one stanza corresponds to a UserDir area. That's also what I have on CentOs, ...may I just put int he suexecusergroup thing to each directory stanza? === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [04:18] mdadm --auto-detect creates my array minus one drive. When I manually try to add the drive to the array (mdadm --add /dev/md0 /dev/sdd1), it returns 'mdadm: Cannot open /dev/sdd1: Device or resource busy' and syslog contains 'could not bd_claim sdd1'. I don't see the drive as being in use when looking at the output of 'mount' or 'lsof'. Any pointers? [04:19] You've booted off sdd1 [04:20] You should look at /proc/mounts; "mount" returns the contents of /etc/mtab, which isn't accurate. [04:20] hehe :) === dendro-afk is now known as dendrobates [04:24] twb: My boot drive shows up as /dev/sda when I run either 'mount' or 'fdisk -l'. /proc/mounts shows me the root volume id. What's the new replacement for the 'vol_id' command that was present in 9.04? [04:26] (Also, I should say that fdisk correctly shows that /dev/sdd has one partition that is of the type 'Linux Raid Autodetect' and /dev/sda has my standard linux and swap partitions. [04:31] Urk. [04:31] What does the UUID resolve to in /dev/disk/by-uuid/, then? [04:32] Fuck it, just pastebin the contents of /proc/mounts, /proc/mdstat, /etc/fstab and "ls -lids /dev/disk/by-*/*" [04:37] It resolves to /dev/sda. [04:39] Weird--found it. [04:40] I didn't think to look at mdstat. It shows /dev/md0 and /dev/md_d0. /dev/md_d0 contains /dev/sdd1. mdadm --detail /dev/md_d0 says it isn't active. mdadm --stop /dev/md_d0 returns successfully and I can now add /dev/sdd1 into /dev/md0. Odd. [04:40] Thanks for the pointer twb. [04:41] Oh, it's *that*. [04:41] What happens is: you configure a two-disk system with two partitions each, then RAID /dev/sd[ab]1 and /dev/sd[ab]2 as separate RAID1 arrays -- right? [04:42] Then you reboot and find that the idiotic mdadm -A --scan has decided that you ACTUALLY have a whole-disk RAID1 array which contains two partitions, but boot fails because the second RAID1 array fails to assemble [04:42] ...I got that when I tried to install lucid on a server, and I couldn't fix it, so I gave up and installed 8.04. [04:44] The system has a single SSD which is root, and then 5 SATA WD 1 TB drives which I put into a RAID6. The system doesn't auto-detect the RAID on startup (probably because I haven't told it to), so I just run 'mdadm --auto-discover'. That's what it came up with. [04:46] I've always has weird issues like this with mdadm. I ended up switching one of my other servers over to Debian stable and I haven't had a single problem with the array since. With Ubuntu I seem to run into problems every other upgrade or so. === ri is now known as Guest21883 === Psi-Jack is now known as Pingfloyd_v2 === Pingfloyd_v2 is now known as Psi-Jack [06:28] This is irritating. I have a cron job that runs sudo. I keep getting these errors "cd: 22: can't cd to /root" Everything else in the script works perfect so I don't understand where those errors are coming from.. [06:30] MTecknology: cron runs using the default shell of the user running the cron job... [06:30] MTecknology: unless you set SHELL=xxx [06:31] SpamapS: so I should just toss set SHELL=/bin/bash in there? [06:31] err... s/set/export/ [06:32] What's the difference between set and export anyway? [06:32] And what makes that different from just foo="bar" [06:32] not export [06:32] its a crontab, so actually precede the cron jobs with [06:32] SHELL=/bin/bash [06:33] oh [06:33] set only sets the variable in the current shell.. sub-shells and executed programs won't get that variable [06:33] export will put it into the actual process environment, so fork() will retain it. [06:35] With "SHELL=/bin/bash /usr/local/sbin/site-drush cron" I still get "cd: 22: can't cd to /root" [06:37] SpamapS: any other ideas? :) [06:41] SpamapS: Oh - the command looks like this -> sudo -n -H -u USFCWQG.s -s yes y | /usr/local/sbin/drush/drush -r /jail/home/USFCWQG.s/pressflow -l profarius.com cron [06:45] MTecknology: why would you pass the entire script path into SHELL= ? [06:46] MTecknology: SHELL= tells it which shell to run, the actual cron line gives it the script to pass to the shell [06:46] MTecknology: I'd have to guess though, that your script is trying to chdir into /root and cannot, given the error message. [06:46] SpamapS: oh.. I did it because of echo $SHELL [06:49] SpamapS: same thing happens though [06:54] SpamapS: I keep looking through man sudo without luck [06:57] SpamapS: The -H is supposed to read $HOME from /etc/passwd... but I think the jail is mucking with that.. so it defaults back to the $HOME of root (/root) [07:04] MTecknology: indeed it does. [07:04] MTecknology: but.. you shouldn't be running a login shell.. so its fairly confusing. [07:05] MTecknology: its not sudo that defaults back, its the shell trying to start from $HOME... [07:06] MTecknology: you might actually try setting HOME=/tmp in the crontab as well. I don't know if that works though [07:11] New bug: #614225 in postfix (main) "package postfix 2.7.0-1 failed to install status 75 setgid_group Local only" [Undecided,New] https://launchpad.net/bugs/614225 [07:11] lo all, was wondering how I get a 10.04 system to create a config.new file for the automatic security updates rather than blatting my configuration ? [07:12] SpamapS: we'll try that too :) [07:14] SpamapS: nope.. [07:14] SpamapS: I also tried sudo -s HOME=/tmp command [07:15] SpamapS: It's irritating because it's a completely meaningless error to me. The user doesn't need HOME set at all.. If I run this outside of CRON (as root) it'll work fine. === Pupuser402 is now known as mysteriousdarren [07:15] mase_wk: configuration of what? [07:19] twb: well today base-files was updated [07:19] a security update, so it's fine that it did it automagically [07:19] but it overwrote my /etc/motd.d/ changes [07:20] which i wouldn't have minded so much if it had at least created a .old file or something [07:21] If it did so without prompting you, that's a bug [07:21] SpamapS: I'm considering chmod +rx /root [07:23] twb: well it was an automated upgrade i believe [07:23] so there was nothing to prompt [07:23] unattended [07:23] I don't know, then [07:23] I'd have expected it to create a .dpkg-old or .dpkg-new [07:23] ok thats what i was expecting. [07:23] SpamapS: Sounds like a crappy enough solution? [07:24] Hm... except base-files is special in some ways, because it has to do that sort of thing before most of the system is installed [07:24] I'd still report it as a bug [07:25] SpamapS: I guess it'll work until I can actually figure out how to make it work right.. HOME=/tmp sounds great if I could set it. Maybe a feature request for sudo? :P [07:25] I guess I should go sleepy now [07:26] SpamapS: thanks [07:35] MTecknology: I meant HOME=/tmp in the crontab. [07:36] mase_wk: anything in /etc should be treated as a conffile .. [07:36] twb: agreed that base-files is a bit special.. so it may not be so cut and dry [07:37] What is the best web control panel now days? [07:37] chrislabeard: landscape! oh wait.. no pimping the company products.. bad.. bad SpamapS [07:38] SpamapS: yeh i think i'll add a bug report and see what people say. i think even if it has a good reason for overwriting them it should still leave me a copy of the old ones [07:38] uhh yeah so a free one [07:39] chrislabeard: do you want a Free one or a $free one ? [07:39] good question [07:39] chrislabeard: also do you mean for one server, or for a larger environment? [07:39] one server [07:40] At one time webmin was not supported so I got crap for using it [07:40] I want to do it right now, Which once should i use. [07:40] webmin ? what kind of control panel are you after ? [07:40] kinda like cpanel [07:40] manage virtual hosts, dns [07:40] users [07:40] ah k. [07:41] I tried ehcp back in the day and hated it, has it gotten any better? [07:41] I've heard good things about ebox [07:42] and a friend of mine is the author of gnu hosting helper [07:42] I guess its just hostinghelper now [07:42] http://hostingsoftware.net/ [07:43] is this a panel ? [07:43] wow its ugly [07:44] what was this made in 1998 [07:44] probably. i think the majority of people who knew what they were doing gave up on shared hosting long ago [07:45] you can get such cheap virtual machines now it's hardly worth it [07:45] Except its fun [07:45] each to their own [07:45] I'm running Mac OS X server right now and I hate it [07:45] i'm not surprised [07:45] its supposed to make it all easy but it just ends up being retarded hard [07:46] i think thats because a server != desktop === Tohuw1 is now known as Tohuw [08:00] chrislabeard: if you don't like mac os x server why would you want a web control panel for linux? just get really good with vi ;) [08:01] Well i do some on the command line and some with webmin its just a tool to manage things with a gui [08:03] there is a reason why linux/bsd/solaris etc.. don't have a gui by default on the server :) [08:06] !webmin [08:06] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [08:08] !mailbox [08:08] hi, anyone online? [08:09] wow my computer sounds like its trying to take off [08:09] Anyone else every had that problem with a computer [08:10] chrislabeard: Usually a fan. Or worse, a disc [08:10] disk [08:10] My computer has 8 fans in it [08:10] can ubuntu not manage those or something [08:11] That depends on your motherboard, I think. [08:12] well its a mac [08:13] No clue if that's supported. Why don't you ask Steve what's wrong with it? [08:13] He can probably sell you a condom to put around it and filter the annoying noise ;) [08:13] yeah hey steve I'm installing ubuntu on my computer and its like really loud [08:13] Jeeves_: more like earmuffs [08:13] OH and its a PPC [08:13] But, the good news is, the condom will only cost you $3498 ! [08:14] But it's a shiny one! :) [08:14] ok, I'll stop Apple-bashing now. ;P [08:14] chrislabeard: most rackmount kit I see is SUPPOSED to sound like a jet taking off when it boots [08:14] I have a rack mount it sounds like this [08:14] chrislabeard: it's also supposed to reduce the fan speed once the BIOS finished loading [08:15] It was fine till it started installing [08:15] that reminds me http://bash.org/?285255 [08:16] :) [08:16] Heh. Britain has C-cup, we have 4RU [08:16] =) [08:20] So I guess I'm just SOL [08:20] chrislabeard: No [08:20] Finish the installation and install acpid [08:20] k [08:20] That might help [08:21] its weird it didn't ask me what I wanted on my server [08:21] or is that after it installs the base system [08:21] I can't remember [08:21] anyone had problem with 64bit chromium not having flash? [08:21] xampart: i've experienced it but i saw it as a feature :P [08:22] =) [08:23] the only problem with that is my consumption of y-tube [08:23] xampart: install youtube-dl, clive, or some other equivalent [08:23] xampart: or use a webkit-based browser, which will just use HTML5 instead of flash [08:24] twb: Isn't chromium webkit? [08:24] xampart: good one, but http://bash.org/?925050 is better. :) [08:24] No idea [08:24] I try not to endorse evil empires [08:25] twb: Google is not evil! The rest of the world is just paranoid! [08:26] SpamapS: :D [sic] [08:27] pft [08:27] hi, I'm trying to configure an email server in ubuntu server 10.04 but I having some problems, can anyone help me please? :) [08:27] alcuadrado: sure [08:27] just let us know what problem your having [08:28] I mannaged to configure postfix and dovecot following the ubuntu official (i think it's official) guide [08:28] and that worked fine [08:28] but I can't realize how to manage multiple domains and accounts [08:28] twb: by communicating on the internet, you're most certainly supporting AT&T, Savvis, or Level3 ... maybe not evil empires, but certainly terrorist states when it comes to ripping people off and misusing personal data. [08:29] twb: after changing my 10.04 servers 2 1TB hdd's to 2TB. i did "mdadm --grow /dev/md0 --size=max". it's now syncing nicely. maybe the best feeling as a admin yet [08:29] as everything seems to be center in the unix users of the system [08:29] SpamapS: I did say "TRY not to" [08:29] twb: maybe you could try a little harder, and start digging "Free Trenches" for the "Free Fiber" ;) [08:30] SpamapS: wouldn't help, because the USEFUL parts of Inter-net are in .us, which requires undersea cabling. [08:31] twb: not to mention supporting our *actual* evil empire. ;-) [08:31] Nod [08:31] * SpamapS imagines a very concerned and upstanding twb weighing options ... fun... principles.. tweets.. principles.. farm ville.. oh sod the principles! [08:31] I have high hopes for the mesh networking drafts [08:32] I don't "tweet" or "blog" [08:33] anyone? [08:33] My internet doesn't include pointless bandwidth-wasting shite like images, but it *does* include .edu and .net and .org [08:36] alcuadrado: the postfix documentation has a lot of information on managing virtual domains [08:36] http://www.postfix.org/VIRTUAL_README.html [08:37] great, that will help... i didn't know if it was a postfix or dovecot issue :$ [08:37] alcuadrado: http://wiki.dovecot.org/VirtualUsers [08:37] look at that it fixed it self [08:38] thanks, I'll read that now :) [08:40] Alright ready for the noob questions, How can I enable ssh [08:42] well look at that [08:42] I am an idiot [08:43] 'apt-get install ssh'? :) [08:45] it was already installed [09:01] So just to be clear webmin is no longer supported [09:16] anyone get "uc_update: Value too old: name" -type of messages with logcheck + collectd? i found the problem there: http://collectd.org/faq.shtml , but no solution [09:34] SpamapS, I've been reading the postfix documentation, and I have a doubt again :p [10:12] i created a preseed file, how can i load this file from a webserver using the standard alternate-installer-cdrom - i discovered https://help.ubuntu.com/10.04/installation-guide/powerpc/preseed-using.html.... [10:13] do i really need to add preseed/url/checksum=... [10:13] ? [10:13] i have ubuntu server installed on one 500 Gb hdd, so now i have 2 new HDD disks .... what are my options, to migrate all system to new two disks with RAID 1 ? [10:13] scoopex: your nick is inspired by ScoopeX Amiga Demo Group? ;) [10:14] what should i exactly enter on the installer-boot-prompt to load the preseed file... [10:14] binBASH: sure ;-) [10:14] nice ;) [10:21] can someone point me to a page with the diferences in ubuntu kernels [10:25] a_ok: install them and diff /boot/config-* [10:26] twb: i just waned to see the features page to see the major diffenences between server and generic [10:26] and I thought there was one for virtual guests too [10:27] I'm not stopping you [10:27] page has been removed... [10:27] at least all references I can find of it end up in a 404 [10:28] If apt-get is giving you 404, you have bigger issues than picking a kernel [10:47] twb: erm not talking about apt [10:49] I know there was a page stating the differences in the kernels and all available kernels but simply can't find it anymore === lifeless_ is now known as lifeless [11:10] need help with collectd http://efwsupport.com/index.php?action=printpage;topic=988.0 -type errors. plugin ntpd is *not* enabled === Barre_ is now known as Barre [11:52] what is GB in the installer by the way? the SI or GiB? === shade__ is now known as shade\ [12:40] i need a help - i have installed UBuntu on single HDD, now i want to migrate to RAID 1 [12:40] i have prepared new 2 hard disks [12:40] with the same size [12:40] 500 Gb [12:42] can i do it from my existing system or i have to use live cd ? [12:42] why would i be seeing a different time in my /var/log/messages log versus the time showing when i type in 'date' [12:43] wieshka, if I recall, ubuntu installs by default onto a degraded RAID1. [12:44] its almost as if my logs are in UTC [12:44] so i just need to enable RAID 1? [12:44] how can i check it out ? [12:46] wieshka: I'm trying to find information where it says that, I might be wrong. [12:46] fuck, why i didnt seted up raid on installation [12:46] i have already installed plenty of system software on existing system [12:47] heh, what will be faster - setting up RAID 1 on existing system or reinstall with RAID ? [12:53] Hmmmm. [12:56] any ideas ? [13:01] so i need reinstall system with degraded RAID 1 ? [13:01] now i am running just lvm, so it looksl ike for me [13:05] cloakable: still here ? [13:05] wieshka: Yeah [13:05] any ideas ? [13:05] hmmm, full reinstall with already RAID 1 enabled will take me aprox 4 hours [13:06] Mmmm [13:06] maybe it is better way ? :( [13:10] wieshka: 4 hours to install, why? [13:10] pmatulis: 5 virtual hosts ...... on the system [13:10] already installed [13:11] wieshka: what kind of virtual host? [13:11] kvm [13:11] wieshka: so 5 virtual machines [13:12] phhh, i am confused now - what to do [13:12] wieshka: are they using image files as their disks? [13:12] no - LVM partitions [13:12] wieshka: so LVM logical volumes [13:12] aha [13:13] wieshka: so copy them over the network, reinstall, and copy them back [13:13] wieshka: how large are they? [13:13] i have one HDD with my system already installed - now i have extra 2 HDD the same size - and i need RAID [13:13] maybe i can just migrate [13:14] pmatulis: they are allocated on more then a half HDD [13:14] 500 Gb [13:14] aprox 270 Gb [13:14] wieshka: yeah, that's a bit large [13:14] wieshka: what do you want to RAID? [13:15] i want to setup RAID 1 [13:15] wieshka: yeah, but apply that to what? [13:15] simple one disk installation [13:15] wieshka: the whole disk? [13:15] migrate from single HDD to RAID 1 [13:15] yeah, he whole disk [13:15] the [13:17] wieshka: i would install on the 2 new RAIDed disks and then copy the machines over from the 1st disk [13:17] you mean - put in new two disks, boot live cd, setup a RAID 1 on this 2 disks and then copy data ? [13:18] wieshka: yes [13:18] what abaout partitiong ? [13:18] hmm, i havent ever done something like that [13:18] wieshka: yes, what about it? [13:18] but looks like i have to [13:19] firs of all i have to copy exact partitioning table on disks ? [13:19] i am correct ? [13:20] wieshka: no [13:20] brrr, my brain is not working anymore .... [13:21] wieshka: just install normally on the 2 new disks [13:21] just install RAID on two disks, that all [13:21] ? [13:21] wieshka: install Ubuntu on the 2 new disks, specify RAID 1 in the installer [13:22] after that, mount old one HDD ? [13:22] and copy old data ? [13:23] wieshka: yes [13:25] ok - now i removed old HDD, puted in two new HDD disks, waiting for boot ..... than i install new fresh installation of ubuntu [13:25] on RAID 1 [13:25] via install menu [13:25] in partitioning step [13:26] has anyone successfully bridged to a br0 device from a wlan device? Just bought a new i7 laptop and would love to test KVM on my machine but I don't always have it wired. Any suggestions? [13:28] could I bridge eth0 to br0 and use iptables to forward traffic to wlan? hmmm...just trying to think how I could get kvm testing done on my laptop when it is wireless. [13:30] wieshka: make sure you reserve a lot of space on the LVM physical volumes for your old volume group(s) [13:31] wieshka: recall that you will need to export them [13:36] New bug: #614320 in bacula "bacula awk script for sqlite catalog backup broken" [Undecided,New] https://launchpad.net/bugs/614320 [13:53] If I install UEC in my office, does that give me fault tolerance on storage or services? [13:59] smoser, hggdh: ping [14:02] Hey guys, please help me, i desperately need help. [14:03] My domain is not working on my server, and i have no idea why [14:03] FDX: It might help if you say what your problem is :) [14:03] ttx: here [14:03] I already have my main domain working [14:03] Ah, I've got no clue about that. [14:04] hggdh: you still have 2 work items marked TODO/INPROGRESS for alpha3 in https://blueprints.launchpad.net/ubuntu/+spec/server-maverick-uec-testing [14:04] hell [14:04] hggdh: could you mark them DONE or POSTPONED (and potentially copied to beta if they apply there ?) [14:04] looking it up & correcting as needed [14:04] ttx: sorry [14:04] oh god. Jeeves_ you know how to set a secondary domain on an apache server? [14:05] I have webmin. [14:05] hggdh: no problem, just a cleanup :) [14:05] Ah, Apache. [14:05] And webmin [14:05] There's your problem... [14:05] Ah, Webmin. [14:05] ?? i'm lost [14:05] Anyway, have a look at /etc/apache2/sites-enabled/ [14:05] There is nothing there. [14:06] Hmmm [14:06] /etc/apache2/conf.d ? [14:06] Yes, my domains are set there, want it pastebinned? [14:06] FDX: do you have any /etc/apache2/sites-available? [14:07] FDX: Sure. [14:07] SpamapS: Ya, I tried HOME=/tmp in the command and the cron [14:07] I'll check it. [14:07] ttx: done, I think. spineau's vol testing postponed, A3 tests done [14:07] ok, thx [14:08] jdstrand: ping i just noticed this on maverick: http://pastebin.ubuntu.com/474030/ [14:09] oh damn, now i cant ssh. i'm getting wrong password but i'm damn sure its right [14:09] FDX: language [14:11] zul: that is very odd. can you give the file DpkgTerminal output? [14:11] sure gimme a sec [14:12] actually that was the dpkgterminal output [14:12] zul: all of it? [14:12] hold on [14:13] jdstrand: http://pastebin.ubuntu.com/474032/ [14:14] Guys, this is my apache2 config: http://pastebin.com/JL8rGJZZ [14:16] jimcooncat, there is only "default-ssl" on sites-available folder [14:17] zul: I'll have to look into it [14:17] zul: thanks === ND-movie is now known as NightDragon [14:17] jdstrand: no thank you [14:18] FDX: I miss some statements in that config [14:18] stuff [14:18] Did the pastebin break that? Or is it really not there? [14:19] Its really not there [14:19] I configged it with webmin [14:19] Oh dear. [14:19] that counts me out :-( [14:19] !webmin [14:19] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [14:20] z0mg [14:20] FDX: http://pastebin.com/wHEvm8BN [14:20] What happens if you change it to that [14:23] perhaps starting over would be best? apache2 is dead simple now. [14:24] i'll try that [14:24] Many thanx Jeeves_ === jjohansen is now known as jj-afk [14:36] I was FDX, my net went down [14:36] Jeeves_: could you please give-me that pastebin again? [14:37] 15:20 < Jeeves_> FDX: http://pastebin.com/wHEvm8BN [14:37] thanx [14:37] yw [14:39] when installing ebox, it asks me for a Dynamic DNS provider [14:39] What should i do about that? [14:39] And from what i see, ebox cant manage apache, postfix and other servers [14:39] Am i wrong? [14:40] Ehm, I think that correct. [14:41] I really don't use that kind of stuff. [14:41] hmm... you do everything with ssh and vi? [14:41] Since it usually makes sure you've got no clue what you're doing and they usually do it wrong. [14:41] And when they do, you don't know why. Because you've got no clue what you're doing :) [14:42] ssh+vim is the best combination ever [14:42] don't forget screen! [14:43] I use ssh+screen+mcedit myself [14:43] screen? [14:43] Whats screen? [14:44] fidelix: if you're in the middle of something on your remote box, and your ssh connection drops, you can get right back to where you left off [14:44] thats... excelent. [14:45] jimcooncat: know why ebox is asking me for a Dynamic DNS provider? [14:45] fidelix: I don't use things like ebox. sorry [14:46] well, i'll remove it too [14:46] Help! SSHd keeps dying on my remote server. And now commands like ls and find don't work anymore. what happened? [14:46] grante, check if there's enough free memory [14:46] sshd says this after I try to login: *** invalid open64 call: O_CREAT without mode ***: /usr/sbin/sshd terminated [14:47] free -m shows 311mb free, 3290 free w/o buffers [14:47] the only reason i'm still able to access the server is because i had an ssh session open from yesterday. [14:48] i keep getting emails from cron jobs saying scary things like "/bin/sh: find: not found" [14:48] although find is actually there. I'm guessing something it depends on isn't. [14:49] the only thing I can think of is maybe an automatic security update broke something. [14:50] grante: what does dmesg say? [14:52] the command or the file? the command just shows firewall logs, nothing else. the file doesn't show anything out of the ordinary afaict. [14:53] Any idea how I can install Firebird1.5-super? [14:53] grante: what does the command say after you filter out the firewall stuff? [14:53] qbitza: Try #ubuntu [14:53] It used to be distributed with Hardy, but I think it was dropped in Lucid [14:53] grante: so 'dmesg | grep -v firewallstuffthatmatches' [14:53] qbitza: Try #ubuntu [14:54] Jeeves_, Tx, but no answer there, so I thought I'd ask here [14:54] Jeeves_: try accessing www.felipefidelix.com and see what happens [14:55] Jeeves_: http://pastebin.com/T4ZyCW6j ... the 3w-9xxx errors are from my attempt at using smartctl. But there's also a message about mysqld. [14:55] How do I install a package from a previous distribution? === martin___ is now known as martin- [14:57] fidelix: Host www.felipefidelix.com not found: 3(NXDOMAIN) [14:58] That might cause you some issues : [14:58] :) [14:58] Daviey: good morning. May I be just a bit of a bother, and ask you where is the current bzr branch for Euca upstream? [14:58] what? [14:58] grante: Hmm. [14:58] I'd say your fs is fsckt [15:00] any ideas on a lamp server hosting virtual hosts. how do you handle user permissions so apache can read the files but the end-user still has permission to add / remove delete? [15:00] Jeeves_: well that's not good. I have backups...but that's going to make my day very stressful. [15:01] idlemind: mod-itk [15:01] jeeves_: thanks. off 2 google on that [15:01] grante: If you dare, i'd try a reboot [15:02] *if* the filesystem is broken, keeping it running will only make things worse in the end [15:02] zomg ... mpm-tik = allowing each vhost to run under a seperate gid / uid ... <3 [15:02] Jeeves_: I've considered it. But that means if it doesn't come back up perfectly, I lose all access. And the datacenter it's at is super slow responding to issues. [15:02] grante: It's either that, or waiting for it to happen when you're asleep :) [15:02] Jeeves_: and no ip kvm's, despite my repeated requests they get some of them. [15:03] -bash : fork : not possible to alocate memory. [15:03] Jeeves_: Yeah, I know. But this is a voip server running a bunch of client's phones. They are not going to be happy today. [15:04] grante: It's up to you. I just say what I would do [15:04] how do i set apache not to use 100% of system memory? [15:04] fidelix: :) [15:04] It shouldn't really :) [15:04] Jeeves_: ya. thanks for the help. [15:04] well, the system has no memory even to run "top" [15:04] or list a folder. [15:04] fidelix: how much ram is in the system? [15:05] 1g [15:09] any tips, grante? [15:10] google apache2 low memory system, you'll find a few guides to tweaking apache to use less ram [15:10] thanx man [15:12] Hey guys. I set eth1 as a static interface in my /etc/network/interfaces file and yet it's still being configured by dhcp (which runs on this same host). Did I miss something? http://pastebin.org/451001 [15:12] fidelix: Why not using an alternative Webserver? [15:12] like? [15:13] I can suggest Cherokee Webserver [15:13] Is it easy to setup? [15:13] fidelix: lighttpd works well too. [15:13] nginx [15:13] yup, it has Webinterface Admin tool as well :) [15:13] nginx @ fidelix @ alternate web server [15:13] google uses nginx a lot [15:13] Well, there are people saying on the internet that apache2 is faster than lighthttpd [15:13] At least for dynamic content. [15:14] possibly [15:14] fidelix: It's true when using mod_php for example [15:14] What about compatibility binBASH? [15:14] mod_rewrite is 100% needed. [15:14] I run joomla and drupal sites. [15:15] Cherokee supports rewrites [15:15] fidelix: look at nginx [15:15] fidelix: also here is a list of module comparison (this includes apache, lighttpd and nginx): http://wiki.nginx.org/NginxModuleComparisonMatrix [15:16] I'm more worried about how my systems will behave with different servers. [15:16] oh neat. I didn't know nginx had a memcached module [15:16] binBASH: I don't suppose you could do a quick double check of my /etc/network/interfaces file (http://pastebin.org/451001) ? [15:17] or anyone else? [15:18] fidelix: as per server, I don't know what you mean on how it will behave differently but it's a different web server. nginx though (pronounced engine X) is used a lot by google, almost exclusively [15:18] jetole: What is your exact problem with the file? [15:18] jetole: i'm worried if joomla/drupal will work well with nginx [15:18] binBASH: eth1 is being set by dhcp when I call ifup on it [15:19] Passenger 2.0.3 installed from the repo on Ubuntu Server 9.10 crashes whenever a rails app is called. Unexpected error in Passenger: The ApplicationPool server exited unexpectedly." in apache error.log. Any troubleshooting ideas? [15:19] fidelix: they will both work with php. They don't care nor do they talk to the web server [15:19] binBASH: Hey guys. I set eth1 as a static interface in my /etc/network/interfaces file and yet it's still being configured by dhcp (which runs on this same host). Did I miss something? http://pastebin.org/451001 [15:19] Yes, but what about rewrites and caching? [15:19] binBASH: that was the original question [15:19] does nginx have APC? [15:19] rewrites have to be configured [15:19] caching I don't think will make a difference [15:20] fidelix: you load apc in php [15:20] has nothing to do with nginx ;) [15:20] true... [15:20] OK. I will adventure. [15:20] fidelix: You need php-cgi for having php via fcgi [15:20] fidelix: http://wiki.nginx.org/NginxHttpRewriteModule [15:21] http://wiki.nginx.org/NginxHttpFcgiModule [15:21] jetole: Google doesn't use nginx, at least not that I know:) [15:21] They're using custom patches with apache servers. [15:22] binBASH: I read about a year ago that they moved to nginx [15:23] binBASH: you may be correct [15:24] So, i just have to apt-get install nginx? Or should i compile something? [15:24] fidelix: http://www.cherokee-project.com/doc/modules_handlers_redir.html [15:24] btw. :) [15:24] binBASH: you think Cherokee is lighter than nginx? [15:24] binBASH: so no idea about the interfaces file eh? [15:25] fidelix: Well, personally I'm using cherokee. [15:25] it's a bit faster for static files [15:25] jetole: Let me have a look ;) [15:26] binBASH: http://pastebin.org/451001 [15:26] binBASH: what about dynamic files? [15:27] fidelix: "Apache is like Microsoft Word, it has a million options but you only need six. Nginx does those six things, and it does five of them 50 times faster than Apache." http://wiki.nginx.org/NginxWhyUseIt [15:27] I am already convinced by nginx [15:27] I even apt-getted it [15:28] But i want to know about cherokee [15:28] It seems really good too [15:28] wordpress.com uses nginx too I just noticed [15:28] fidelix: it should be the same for both servers about fcgi;) [15:29] nginx has a bit more features I think though [15:30] ok, i'll go with nginx because it seems more mature [15:33] fidelix: enjoy ;) [15:33] binBASH: don't worry. I just rebooted this machine and it doesn't seem to be an issue anymore [15:34] i created a preseed file, how can i load this file from a webserver using the standard alternate-installer-cdrom - i discovered https://help.ubuntu.com/10.04/installation-guide/powerpc/preseed-using.html.... [15:34] what should i exactly enter on the installer-boot-prompt to load the preseed file...? [15:35] do i need the checksum? [15:35] no you don't need the checksum [15:36] one sec while I ssh to my preseed server and look [15:36] jetole: can i boot a alternate installer cd and fetch the preseed file by a url? [15:37] scoopex: url=http://preseed.url [15:37] start the CD, go to the section where you apply advanced options [15:37] er, more options [15:37] jetole: do i need some ip-configuration? [15:37] it's at the start when it asks you to install ubuntu, run memcheck, oem install etc, right after you select a language [15:38] scoopex: yes but if you have dhcp then no [15:38] I also use locale=en_US console-setup/layoutcode=us netcfg/get_hostname= [15:38] jetole: It will be an issue again, if there are a lot of apache workers :D [15:38] huh? [15:38] oh [15:38] wait what? [15:39] apache memory footprint with php module is usually huge;) [15:39] do you run a vserver? [15:40] binBASH: I didn't ask any questions about apache or a server [15:40] although I run many if you must know [15:40] jetole: hhe, I'm currently thinking about your file [15:40] from apache to nginx to IIS 7 (yes I just said IIS 7) [15:40] I think the problem maybe doesn't rely on that file [15:41] binBASH: my file was an /etc/network/interfaces file [15:41] * jetole is confused [15:41] can you paste /etc/udev/rules.d/70-persistent-net.rules [15:41] no [15:41] 10:33 < jetole> binBASH: don't worry. I just rebooted this machine and it doesn't seem to be an issue anymore [15:42] ahh ok :D [15:42] lol [15:42] Nice. I installed nginx and now i have bad gateway [15:42] jetole: I didn't read right, thought it's fidelix [15:42] lol. It's cool [15:42] fidelix: that sounds odd [15:42] jetole: I'm currently very busy with evaluating alternative Storage Engines for mysql ;) [15:43] binBASH: oh really [15:43] like what? [15:43] XtraDB [15:43] * jetole wants to try the maria engine when I get time [15:43] I have to google that one [15:44] If I had my way, we'd move to an oracle / cassandra mix using memcached and varnish with nginx as the server [15:44] jetole: http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.47-11.2/deb/lucid/x86_64/ [15:44] that one I'm evaluating currently ;) [15:45] MariaDB has XtraDB as well. [15:45] Could you people please help me with this error? [15:45] http://www.anbient.net/ [15:45] blazing fast is a catch word though, blazing fast usually means not ACID compliant since it often removes transactions [15:46] fidelix: Sorry, don't speak spanish? [15:47] binBASH: ah it's based on InnoDB [15:47] I like InnoDB [15:47] Well using MyISAM atm [15:47] yeah MyISAM is not ACID [15:47] Best practices/opinion question for an Ubuntu webserver: /etc/adduser.conf: USERGROUPS=yes or no? [15:47] but table sizes is an issue now ;) [15:47] what size tables? [15:48] How do i redirect everything under anbient.net* to http://anbient.net/ ? [15:48] jetole: We have tables with 4,1 Mio rows [15:48] no wrong [15:48] :D [15:49] 280 Mio. Rows [15:49] thats a lot [15:49] Joins and Group By are becomming show stopper........ [15:49] our largest is 29 mil [15:49] binBASH: what about partitions [15:50] Does nginx have an Admin Interface? [15:50] fidelix: no [15:50] hmm.. ok. === ri is now known as Guest54693 [15:50] binBASH: partitions can help but still, I would advise against MyISAM for large scale corporate sites [15:51] jetole: Going to shard the data in future, but atm we need a solution to not change the application a lot. [15:51] binBASH: also, make sure you have disk space, InnoDB can use a lot more for the same files and XtraDB is based on InnoDB so probably the same [15:51] I am trying to find something on suexecusergroup. I have looked at the basic document page, but I cannot figure out the context of where it is used. I put together a bunch of virtualhost stanzas to replace my old directory stanzas, but I am getting a cgi exec privilege problem now. [15:51] binBASH: I meant mysql vertical partitions [15:52] Guest54693: you should fix that then [15:52] Best practices/opinion question for an Ubuntu webserver: /etc/adduser.conf: USERGROUPS=yes or no? (In other words, should I force new user john to belong to a group called john. Is there any compelling reason why I can't have him just be added to the standard users group?) It's probably worth noting that I use UserDir public_html [15:52] I am talking about apache2 specific cfg specific to Ubuntu server. [15:52] we are running lucid server on sun fire x2250 .. is there a way to find out, short from installing ubuntu, if ubuntu server will run on x2270 m2? it is not listed in certified hardware list here http://webapps.ubuntu.com/certification/make/Sun/servers/ [15:53] jetole: We're currently changing App so it can horizontally scale out [15:53] however it will be a lot work for db things. [15:55] tohuw: Is that something I should look up? I just emailed the not to myself so I can do so at work...? [15:55] Tohuw: Is that something I should look up? I just emailed the not to myself so I can do so at work...? [15:56] Guest54693: I more or less got the answer I was looking for in #httpd, but thanks === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [15:57] Tohuw: Okay, I was trying there too last night. Thanks. I gotta quit and I'll start again on #httpd at work. Thank you. [15:58] jetole: we expect more than 1 Bio Rows / Table [16:01] mathiaz: o/ [16:06] hi, anyone who has used sogo here? [16:06] New bug: #614393 in antlr3 (main) "[maverick] antlr3 3.2-4 FTBFS due to missing deps in main" [Undecided,Confirmed] https://launchpad.net/bugs/614393 [16:07] ttx: hi [16:07] ttx: I've switched networks and haven't any questions [16:08] mathiaz: you still have 1 TODO and 2 INPROGRESS against alpha3 [16:08] mathiaz: could you review them , mark DONE or POSTPONED ? [16:08] ttx: yop [16:10] Hi, when I have dovecot running, its address will be localhost:143 ?? [16:13] is the pwd for adduser.local automatically the user's home directory, or do you have to set it as so? And if it has to be set, how do you tell it to change to that users homedir? [16:14] Anyone knows why one could get white pages with nginx and php-fpm? [16:18] hey hggdh, Are you alive? [16:27] ttx: WI updated [16:28] mathiaz: cool, thanks ! [16:28] and happy start of beta subcycle ! [16:28] ttx: hein - what? already?? [16:29] We are late already ! http://people.canonical.com/~pitti/workitems/maverick/canonical-server-ubuntu-10.10-beta.html [16:29] ttx: feeling better? [16:30] ttx: don't blame me, I'm at 14%! [16:35] Does anyone know a good long-running bandwidth monitor with an HTTP frontend for creating graphs of usage for, say, over a month for an Ubuntu router? I was looking at vnstat but it looks like it needs a PHP-based webserver also running. I was hoping for something self-contained that contains its own built-in webserver for the HTTP frontend. [16:35] catci, munin, mrtg [16:35] Thanks, I'll look at those one by one. [16:35] Ganymede, pretty much anything you choose is going to require a separate web server [16:36] I think I'll skip cacti though, it looks heavyweight. [16:36] I'm trying to do this -> start-stop-daemon --start --chuid "kalliki.com" --exec /usr/bin/env -- - USER="kalliki.com" PATH=/usr/bin PHP_FCGI_CHILDREN=0 PHP_FCGI_MAX_REQUESTS=500 php-cgi -b /tmp/phpcgi-kalliki.com.socket [16:36] I'm getting the error -> start-stop-daemon: Unable to start /usr/bin/env: Permission denied (Permission denied) [16:36] I use vnstat with the PHP frontend [16:37] This works perfect in my dev box - any idea why it won't on my production box? [16:38] MTecknology: thank you, for doing crazy stuff, so we can all learn. ;) [16:39] Ganymede: munin is light weight, but it won't scale past 100 or so devices to query [16:39] Daviey: sorry, was sort of off for a while [16:40] zul: server team should subscribe to rrdtool bugs, shouldn't we? [16:40] SpamapS: Thanks, I was leaning towards munin currently. I only have about five devices though. [16:40] SpamapS: learn what? [16:40] SpamapS: probably yes do we maintain it? [16:46] zul: no.. "Ubuntu Development" maintains it. But seeing as it is a cornerstone of munin.. which we do maintain.. [16:46] SpamapS: yeah go ahead and add it [16:46] actually I guess technicall Ubuntu Development handles munin [16:46] zul: I cannot [16:46] SpamapS: gah [16:47] It does have 3 untriaged bugs.. [16:47] and today is my triage day.. [16:47] so maybe we can add it Monday? ;-) [16:47] Hello People. I run Ubu_Server_10.04 and installed PostgreSQL 8.4 with apt-get. PostgreSQL installation seems OK, since I can login locally as "postgres" and change my password, and log in later with the new password. I disabled the Ubu_Server_10.04 firewall with "sudo ufw disable". I can ping my Ubuntu Server from my desktop machine. But I can't make PgAdmin III on my desktop machine, connect to my PostgreSQL on my Ubuntu S [16:48] When I run "nmap ip_of_ubuntu_server -p 5432" then nmap tells me "5432/tcp closed postgresql". So nmap tells me the 5432-port on my server is closed, but the firewall of the server isn't enabled ?! I think that blocks PgAdmin III on my desktop to connect to my server. Any idea's ? (I'm not super technical.) [16:48] SpamapS: my web browser says done, but all the new bugs will show up on monday anyways so yeah thanks [16:48] SpamapS: bitch ;) [16:49] ;-) [16:49] Enrique2010: postgresql only listens to localhost by default so you will have to check the postgresql documenation to make it listen to an ip address as well [16:50] zul: I did adapt the setting "listen_addresses = '*' " so he should listen to all ip-adresses [16:51] Enrique2010: did you restart postgresql [16:51] zul: I did [16:51] zul: with " sudo /etc/init.d/postgresql-8.4 restart " [16:51] Enrique2010: you might want to check the postgresql channel [16:52] zul: good idea ! will do, thx ! [16:57] hggdh: Hey! Just to let you know, if you are planning to do some UEC testing, my devel PPA has the latest upstream snapshot [17:01] Daviey: I sent you a merge proposal with munin capabilities for eucalyptus... I think we'll still need to have munin build an html page special just for eucalyptus, but thats easy. [17:05] can somebody please do a noop rebuild of pgadmin3 bug #610975 [17:05] Launchpad bug 610975 in server-papercuts "Can not start pgadmin3" [High,Confirmed] https://launchpad.net/bugs/610975 [17:05] bonus, its a server papercut, so you can use it as a shield for ttx's lazer stare. [17:06] NEED HELP: after install of ubuntu-server 10.04 i got HDIO_GET_IDENTITY failed fro '/dev/sda' also for sdb .... installed RAID 1 + LVM [17:06] Something is really screwed up :( [17:06] SpamapS: did you confirm it was happening in maverick ? [17:06] for lucid it's slightly more complex as we need to coordinate with the fate of wxwidgets2.8 in -proposed [17:07] ttx: I've never been able to reproduce it. [17:07] looking at the bugs that sent it to -proposed it might not solve the issue there [17:07] $if it's reverted, then we should NOT do a noop rebuild :) [17:07] New bug: #286592 in rrdtool "No graph with a stream of constant negative numbers" [Low,Fix released] https://launchpad.net/bugs/286592 [17:07] We could do the noop rebuild for the mavreick package though. I'm just unsure it applies to that one as well. [17:08] anybody ? NEED HELP: after install of ubuntu-server 10.04 i got HDIO_GET_IDENTITY failed fro '/dev/sda' also for sdb .... installed RAID 1 + LVM [17:08] I linked that bug from the wxwidgets2.8 bugs, so that theur fates are linked in -proposed [17:08] ttx: right, so there are people out there running lucid-proposed ? [17:08] apparently most of the commenters on that bug [17:09] I wish they'd just say that. ;) [17:09] SpamapS: they apparently prefer rto say "could someone just upload the deb to the sever" [17:09] ok, time to eow [17:18] Daviey: great! I will update the packages and get on it [17:22] hggdh: super! [17:23] hggdh: I'm gonna try to go afk for a bit.. If you have some news, it might be good to email it directly to the mailing list :) [17:24] hmmmm after install of ubuntu-server 10.04 i got HDIO_GET_IDENTITY failed fro '/dev/sda' also for sdb .... installed RAID 1 + LVM [17:24] any ideas ? [17:26] If I install UEC in my office, does that give me fault tolerance on storage or services? [17:28] wieshka: does the machine boot ok? [17:29] jimcooncat: UEC doesn't reall address "fault tolerance" [17:29] I have no minimal install option (under f4) on the iso I just downloaded. Do I need a specific version? [17:29] pmatulis: it is while booting [17:29] booting hangs up [17:29] so - no - it isnt booting correctly [17:29] I installed Eclipse in my ubuntu and am trying to create a new "project", but I can't browse to my windows shares on the server from the New Project wizard. [17:29] jimcooncat: UEC provides a way to spawn virtual hosts, but the machine they run on must use traditional methods to achieve fault tolerance. [17:29] In a File Browser I can go to the windows shares. [17:30] pmatulis: i have to reinstall ? [17:31] or i can do something from rescue mode to fix this problen [17:31] SpamapS: thanks. I was hoping it was a simple way to avoid drbd/heartbeat/etc. [17:32] wieshka: many people, including myself, see such a msg on bootup. your boot fails however. so the failure may be due to something else [17:32] SpamapS: Are there any use cases for in-house UEC setups? I love to read about what it CAN do for people [17:32] New bug: #344096 in rrdtool (main) "library for rrd develop" [Undecided,Fix released] https://launchpad.net/bugs/344096 [17:33] i've got an ubuntu server running apache. if I wanted to be able to make my own zone files, so that I could take mydomain.com and point it to ns1.myserver.com or so, would I use BIND9 for that? [17:33] ... other than being able to say, "I got a cloud in my basement". ) [17:33] wieshka: enter GRUB2 menu and remove 'splash, quiet' from the kernel boot options [17:33] wieshka: you can also put in 'debug' to get more information [17:34] i will give a try [17:34] wieshka: where are you from anyway? [17:34] latvia [17:34] wieshka: ok [17:34] wieshka: my name is Lithuanian [17:35] :) [17:35] wieshka: but i don't speak the language [17:35] jimcooncat: I know a previous employer of mine is currently evaluating it for use to spawn automated testing clusters. [17:35] brother :) [17:35] wieshka: canada here [17:35] Tohuw: it's a possibility. Most people I know use third-party name servers, such as those provided by their registrar or ZoneEdit [17:36] jimcooncat: so their QA people can spawn a cluster with one of every type of server they need, deploy their latest features/fixes/etc. to it, then run automated tests, then tear the whole thing down again. [17:36] jimcooncat: yeah, I just like centralizing that management, so I can quickly add mx and A records and such [17:36] pmatulis: - the same again [17:37] maybe try recovery mode ? [17:37] SpamapS: Thanks. I've been trying to figure out why anyone would want it for a while [17:37] Daviey: new dependency for Eucalyptus: tgt (in main) [17:38] jimcooncat: its especially attractive in that sense if you are already using Amazon EC2, as the API is the same. [17:38] root@li35-54:~# chroot /jail /bin/bash [17:38] /bin/bash: relocation error: /bin/bash: symbol memset, version GLIBC_2.0 not defined in file libc.so.6 with link time reference [17:38] Any ideas what I can do to fix that? [17:38] I just wiped my whole system [17:39] MTecknology: how did you build /jail ? [17:40] SpamapS: ya [17:41] Tohuw: I believe you may need to have two static IP's to do proper nameservers, but I'll defer to those here who know more about it [17:41] looks like something is really wrong with my software RAID [17:41] Daviey: weird. tgt *is* installed, and still I got a failure to start. I wonder if, on upgrade, we are starting the components at the right time [17:41] ... going to resintall [17:41] jimcooncat: yes, I have two. I'm perusing https://help.ubuntu.com/9.10/serverguide/C/dns-configuration.html, this seems to be what I want [17:41] New bug: #388700 in rrdtool (main) "rrdgraph: filename in imginfo param is incorrect" [Low,Fix released] https://launchpad.net/bugs/388700 [17:42] wieshka: were you asked to activate raid during the install? [17:42] yes [17:42] i pressed yes [17:42] wieshka: it could be that there is some fakeraid metadata residing on your drives [17:43] hmmmm hardware RAID i already disabled [17:43] pmatulis: can i fully format HDD's with busybox ? [17:43] like from factory - with no any data [17:43] so then split in two parts [17:44] set up raid 1 [17:44] and then set up LVM [17:44] wieshka: enter BIOS, enable RAID, then delete all RAID array info [17:45] wieshka: right now it's disabled but the metadata remains, installer gets confused [17:45] so then i will have a hardware RAID [17:45] ? [17:45] hggdh: interesting... [17:45] hggdh: That Depends was also in Maverick A3... so i'm sorta confused. [17:45] pmatulis: ok - now i am really confused [17:45] :D [17:45] wieshka: I'd guess the answer is no, it's a software raid [17:45] Daviey: I was wrong, it is a different error [17:46] it is a 'sudo' error. Rebooting now [17:46] so - i have to enable hardware raid in bios [17:46] and delete software array data ? [17:47] SpamapS: if a bug is fixed released then you dont have to set the priority....one extra step you dont have to do :) [17:47] wieshka: am I understanding you want to RAID 1 two partitions of the same drive? [17:48] aha [17:48] one as swap [17:48] seond as LVM [17:48] and then LVM partition tables === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [17:49] .... i splited both HDD in two partition, 20 Gb as swap, 400+ as data [17:49] zul: I like to be complete. ;) [17:49] both paired as RAID 1 [17:50] then on RAID interface i setted up LVM [17:50] and then in one volume group added 8 partitions [17:50] 6 ext4 [17:50] 2 xfs [17:50] so whats wrong ?\ [17:51] correction - in volume group i added 8 logical volumes [17:51] so where is the problem/whats wrong ? [17:51] wieshka: you disable the fakeraid after deleting all arrays [17:52] eem, what is fakeraid ? :) [17:52] sorry, unslept night so my brain is already fucked up [17:52] but i have to finish server today :) [17:53] wieshka: it's the raid you are configuring in BIOS, however you may have real h/w raid which i doubt since you are originally using s/w raid [17:53] so now i have to do what ? stay disabled hardware raid [17:53] or enable it ? [17:54] wieshka: again, enter BIOS, enable RAID, delete RAID array/info, disable RAID [17:54] and the s/w raid will work for me ? [17:54] ok i will give a try [17:54] wieshka: right, give it a try [17:56] pmatulis: i have SATA 1 & Sata 2 each has primary and secondary chanell (in BIOS) - what i have to enable ? [17:56] New bug: #327920 in rrdtool (main) "Wrong "last updated time" with option "--start 0" on 64bit Ubuntu Hardy" [Low,Fix released] https://launchpad.net/bugs/327920 [17:57] wieshka: there should be a central RAID config somewhere. it could be that you do not have fakeraid RAID at all. this is just an idea [17:58] option in BIOS [17:58] is nVidai RAID [17:58] wieshka: bingo [17:58] what exactly is bingo ? :) [17:59] wieshka: "loto" [17:59] nvidia RAID sounds like a nightmare [17:59] why ? [17:59] jpds: it's extremely common fakeraid [18:00] pmatulis: so what to do now ? [18:01] wieshka: was there an existing array? [18:01] question: if i will fully format hdd and reinstall my OS i will have the same problem ? [18:01] pmatulis: i cant still boot [18:01] with h/w raid enabled also [18:01] New bug: #414010 in rrdtool "rrdtool .pot template is missing, existing .po files not imported" [Low,Confirmed] https://launchpad.net/bugs/414010 [18:01] only rescue mode from cd [18:02] wieshka: i said you need to disable it === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [18:02] it was all the time disabled [18:02] wieshka: was there an existing array? [18:02] no there wasnt [18:02] wieshka: you enabled it and looked? [18:02] i enebled and tried to boot [18:03] sigh [18:03] the same error [18:03] wieshka: disable it i said! [18:03] ia have it disabled it! [18:03] :) [18:04] and error is back [18:04] wieshka: when you enabled it and looked, there was no array defined? [18:04] correction - there is still error [18:04] aha [18:06] . Now eucalyptus runs 'sudo'. [18:06] when i do 'apt-get -f install' i get no actions suggested (good) but when i do the same with aptitude the suggested action is to install libjs-jquery. this is fresh karmic vm that has been immediately upgraded to lucid [18:15] pmatulis: I believe aptitude uses different rules to try and resolve dependencies. [18:21] SpamapS, can you do me a favor? can you fix #564920 for maverick and do the SRU for lucid please? [18:21] GAH! [18:21] Now I can't start mysql [18:22] I'm rebuilding the server and trying to restore from backups [18:22] uvirtbot: hey he said #564920 [18:22] SpamapS: Error: "hey" is not a valid command. [18:22] bug 564920 [18:22] Launchpad bug 564920 in php5 "PHP5 under Apache2 on 64 bit system is not completely 64 bit " [Low,Confirmed] https://launchpad.net/bugs/564920 [18:23] woohoo, it's running :S [18:23] kinda [18:23] no errors from start mysql [18:23] zul: I already fixed that one. Last night, right before I launched my space ship that took me to school where I forgot my homework and my pants.. oh wait.. [18:23] also not listed in top [18:24] SpamapS: dude layoff the crack :) [18:26] zul: I can't.. its .. so.. good [18:29] who is in charge of the uvirtbot? soren? [18:31] disregard [18:31] pmatulis: yes. (according to https://wiki.ubuntu.com/IRC/Bots) [18:31] Pici: k [18:33] You guys have any idea how I could fix this error? http://dpaste.com/225691/ [18:33] It's on a fresh system [18:34] It works fine in my development environment - but not in my new system === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [18:39] was wondering if someone could help me with an interesting problem, i also need a good tool like windows7 resource monitor which might help a lot [18:40] i'm using wine on ubuntu server with XFCE and tightvnc as a viewer, but if i close the viewer my windows programs are no longer able to access any files on a truecrypted encrypted drive [18:43] any advice would be appreciated [18:47] :q [18:47] haha [18:47] vi strikes again [18:47] Daviey: for your joy, we now have bug 614488 (which is no big deal, but we will have to fix it) [18:47] Launchpad bug 614488 in eucalyptus "Eucalyptus should not run 'sudo'" [Undecided,New] https://launchpad.net/bugs/614488 [19:01] hi, I want to configure dav_svn module to allow only https access, allow anonymous read-only access on some dirs and require login for others. anyone can help? [19:05] anyone can help? [19:06] i think most are afk, i asked a question about 20mins ago [19:14] hi every1 [19:14] How/where do I add rules to iptables to allow DNS? [19:14] can an ubuntu enterprise cloud used as a HPC? [19:15] Carleas: only using iptables? [19:15] and DNS in input or output? [19:15] Well, using bind, but letting the DNS requests through. [19:16] I'm not sure about input or output. I'm setting up a primary, and I'll need to do zone transfers [19:16] New bug: #614488 in eucalyptus "Eucalyptus should not run 'sudo'" [Undecided,New] https://launchpad.net/bugs/614488 [19:16] Carleas: you can use a program like Firewall Builder or FireStarter to help make rules [19:17] i've messed with both firestarter is pretty basic and fwbuilder is pretty robust [19:18] can an ubuntu enterprise cloud host a HPC cluster? [19:20] I've already got iptables installed, but it's set up to deny everything that isn't ssh and www. It's also integrated with fail2ban, so I'd rather not install a different firewall setup. I know I need to allow requests to or from port 53, and using both tcp and udp, but I don't know how to do that. [19:21] Carleas: Same way you allowed ssh except on a different port. [19:23] ScottK: do u mean sth like this: euca-authorize default -P tcp -p 22 -s 0.0.0.0/0 [19:24] I'm not familiar with that tool, but it sounds likely. Just port 53 and do both UDP and TCP. [19:32] thesheff17: Help :( [19:35] So I installed UEC, and completly Borked my system, currently running via live disk and chrooted into my drive, ... what is the best method of reversing what eucalyptus and UEC have done to make my machine unbootable... not even in recovery mode, [19:39] Thanks ScottK, that put me on the right track for INPUT. I added it with "sudo iptables -I INPUT 7 -p udp --dport 53 -j ACCEPT". But I probably need and OUTPUT rule too, right? will the same rule work on a different chain? [19:40] I don't recall and don't have time to check. Probably not. You will want to allow TCP too. [19:50] can anybody help me with my wine problem? [19:51] i'm using wine on ubuntu server with XFCE and tightvnc as a viewer, but if i close the viewer my windows programs are no longer able to access any files on a truecrypted encrypted drive [19:56] MTecknology: whats up? [19:56] thesheff17: I tried mvoing this jail to production [19:56] thesheff17: http://dpaste.com/225726/ [19:57] thesheff17: I'm hoping I don't get fired - but basically all auth winds up like that - nothing is working right [19:59] thesheff17: I'm kinda in deep doo doo right now and if you can please possible help me, I'd love you for life [19:59] so all the users are like that? do the permissions of bin/bash match the permissions of bin/bash [19:59] inside the chroot? [19:59] basically it looked like that user ins't able to execute bin/bash [20:00] thesheff17: I'm trying to ssh in as a user that shouldn't be jailed [20:00] MTecknology: so the users not in the chroot are also having the same problem? [20:01] thesheff17: yup [20:01] even root? [20:01] my bin bash looks like this: -rwxr-xr-x 1 root root 934336 2010-04-18 21:16 /bin/bash [20:02] try to use a different shell like /bin/sh [20:03] and see what happens. [20:03] thesheff17: root is the ONLY user that works [20:04] also I would check your /etc/passwd and /home/jail/etc/passwd files and make sure everything looks ok [20:04] it does look ok [20:04] /bin/bash looks ok too [20:05] so /home/michael in side the chroot or no. I would check ls -la /home/michael [20:05] no, it's not [20:05] it shouldn't be either [20:06] drwxr-xr-x 2 michael michael 4096 2010-08-06 18:48 [20:06] ok as root do chown -R michael:michael /home/michael [20:06] root@insto:/home# su - michael [20:06] Unable to cd to '/home/michael' [20:06] I did that too [20:06] hmm... [20:07] root@insto:/home# su - kalliki.com [20:07] Unable to cd to '/jail/./home/kalliki.com' [20:07] I'm getting 404 how do i clean nginx's cache? [20:07] sorry, i'll write again [20:07] How do i clean nginx's cache? [20:09] it says /jail/ isn't it should be /home/jail/ or no? [20:09] thesheff17: no [20:09] hggdh: Whilst you are testing Depends vs Recommends, can you try removing open-iscsi please? [20:09] thesheff17: this is working perfect in my dev box - I can't see anything different [20:10] MTecknology: adding a new user have the same problem? I'm not sure if it is bin/bash giving the problems or permissions. [20:10] Daviey: give me 10 min, a test is finishing [20:10] hggdh: no hurry :) [20:10] thesheff17: it's not bash that's the issue [20:10] MTecknology: the error is mis leading [20:10] Daviey: lovely... new revision, new issues. But perhaps I am getting cynical [20:11] hggdh: We are at the peak of the hill :) [20:11] Daviey: *now* am I worried [20:11] hggdh: Nah.. we can ski down the other side... easy going :) [20:12] you aren't running selinux are you? [20:12] no [20:13] thesheff17: Could not chdir to home directory /home/michael: Permission denied <-- this is the part that's muffed - but I have no idea how [20:14] MTecknology: how about creating a new user...same problem? [20:14] thesheff17: yup [20:15] I see tons of stuff pointing to selinux [20:16] libselinux1 is the only selinux package installed [20:16] that's a default package === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [20:17] thesheff17: wanna join me? [20:17] sure [20:19] Daviey: oooh, cool, 'stop eucalyptus now seems to stop the -publication also [20:22] Daviey: OTOH, 'start eucalyptus' did *not* start the -publication :-( [20:25] whats the best way to visually manage Bind? [20:25] Daviey: I purged open-iscsi and open-iscsi-utis, then restarted the beast. Comes up nicely (except the - publications) [20:30] i have grails in a folder, and it doesnt install like everything else, where is the logical place to put it in the filesystem? /bin, /usr/bin? [20:33] CppIsWeird: /usr/local/bin or /opt/grails/bin [20:34] thesheff17: you still around? [20:37] and when it asks me to "Set GRAILS_HOME environment, it means $GRAILS_HOME = /path/to/grails, EXPORT GRAILS_HOME in my profile file right? [20:46] weird i can't connect to my tftpd server [20:46] i wonder if its an apparmour thing [20:49] Guys, for the love of god, help me with my site, its not accessible by some [20:50] what do you think we can do for you? [20:50] I dont understand very well how dns's and stuff works. [20:50] well get reading [20:51] Well, i already did that. [20:51] I set my ns1.mydomain.net and ns2.mydomain.net [20:51] And i can access it from my pc [20:51] But some others cant [20:51] what is your domain name [20:52] www.anbient.net [20:52] hggdh: ok, thanks for your awesome testing [20:54] fidelix, seems ok to me, i don't see a www record [20:54] but you have an MX record [20:54] Can you access the site? [20:55] anbient.net has address 184.82.3.64 [20:55] Exactly. [20:55] so if http://anbient.net/ is the site then yes [20:55] however the site looks a little broke [20:55] how so? [20:56] its trying to use http://www.anbient.net/plugins/system/pc_includes/ajax_1.3.js [20:56] and like i said there is no www entry [20:56] so make one [20:58] How do i make one? In alternative addresses? [20:59] or is a new A record? [20:59] yes an A record [20:59] clearly you haven't read anything [20:59] done. [21:00] I need help with the newest version of UbuntuServer's Apache2 behavior, as it is precluding me from doing certain kinds of file accesses nicely. I tried setting it up with suexec to get access to SUExecUserGroup, but the Directory usage of the latter directive is not in the standard install. [21:02] damn you tftp [21:11] New bug: #614550 in postfix (main) "Invalid warning do not list domain domain.com in BOTH mydestination and virtual_mailbox_domains" [Undecided,New] https://launchpad.net/bugs/614550 [21:17] lamont: hey. in the interest of time I uploaded the following debdiff to Ubuntu http://people.canonical.com/~jamie/bind9_9.7.1.dfsg.P2-2ubuntu1.debdiff === dendrobates is now known as dendro-afk [21:17] lamont: that can be merged into 1:9.7.1.dfsg.P2-3 (or later) whenever you want [21:18] lamont: it updates the apparmor profile to pull in a local include (that is not a conffile), makes sure to remove some stuff on purge and cleaned out all the old apparmor bind9.preinst upgrade logic (no longer required) === dendro-afk is now known as dendrobates [21:19] lamont: now, I did upload a new debhelper today with dh_apparmor that could clean it up even more, but you won't be able to use that in Debian until they get apparmor and I push that change there [21:20] lamont: if you are interested in a patch using that, let me know [21:21] Guys, check if you can access www.anbient.net [21:22] i can't get to it [21:22] heh.. I just typed 'ack awk' [21:22] elms, you get a white page or what? [21:23] jdstrand: curious, is there a reason you aren't documenting these things in bug reports? [21:25] SpamapS: it is in a blueprint and we aren't frozen so I wasn't thinking about bugs [21:25] I suppose I could have... [21:25] if i stop apparmor will that remove any security it might have put in place? [21:26] incorrect: it will unload the profiles, yes [21:26] hmm well that can't be why i am getting tftp transfer problems [21:27] incorrect: check dmesg and 'sudo aa-status' to see if AppArmor is blocking it. that said, tftp doesn't ship with a profile by default, so it shouldn't be aa anyway [21:28] i couldn't see one so i am sure its not that [21:28] my files are owned as root so that is ok too [21:28] i don't really want to have to do a tcpdump [21:29] * incorrect goes to beat his head against the wall [21:29] doh [21:30] rule 1, do not try and pxe install on a friday at 9pm [21:30] because you will waste time with the wrong ip address [21:35] jdstrand: Really just curious, as I tend to look at everything as bugs or merge proposals. :) [21:48] jdstrand: less forked is better, imo. one source to rule them all [21:48] and sounds good [21:49] cool [21:57] hi guys..is normal that i'm downloading from de.archive.ubuntu.com at 70kbyte/s? [21:58] alex88: try another mirror - maybe its your ISP? [22:00] i'm on a vps with 100mbit line..i download normally at 10-15mbyte/s, and it's in germany..but it's from days that's like now.. [22:13] like I said, try another mirror -- if I remember correctly the *.archive.ubuntu.com are not always located in the respective country [22:14] O.o...oh...well i'll use archive.ubuntu instead..now i've a problem, i'm following this guide https://help.ubuntu.com/community/Postfix [22:15] it goes everything as expected, but in the testing part, when i telnet localhost 25 i get connection close, second time it doesn't respond..any clue? [22:23] alex88: look into the logs of postfix [22:23] guntbert: sorry, i've re-started using the https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto that's exactly what i wnat.. [22:24] btw, using archive.ubuntu.com still 70k, maybe hoster limit it.. [22:24] in this candidate it says to install mailx, should i use mailutils? mailx has no candidate [22:25] alex88: visit http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors and pick a german one [22:26] guntbert: i'll do it [22:26] what about mailx [22:28] "mailx" is a virtual package provided by: mailutils heirloom-mailx bsd-mailx. You must choose one to install. [22:30] ok, i'll install mailutils :) [22:32] btw, that's the list of mirror where download cd, not updates [22:38] in mail command, after typed the letter...to exit? [22:39] ok, ctrl-d [22:48] just for a sanity check, i ran diff -rqd /dir1 /dir2, and it didnt report anything, this means that those directories are EXACTLY the same byte for byte, bit for bit, content and structure? === [IA]Zealot_ is now known as [IA]Zealot [23:11] im confused, i ran the .bin for the java jdk and it just dumped everything in a folder in that current directory. where do i put this and how do i get the system to use it as the default and all that stuff? [23:14] !java | CppIsWeird [23:14] CppIsWeird: To install a Java runtime on Ubuntu, see https://help.ubuntu.com/community/Java. For the Sun Java products and browser plugin, search for the sun-java6- packages in the !partner repository on Lucid (which must be enabled), or !multiverse repository on older releases. [23:14] yeah, thats not a java question. [23:14] because you could remove java and replace it with any other program and it would be the same question. [23:16] oh, sorry, thought you were crucifying me for asking a java question in a ubuntu channel. [23:16] forgot for a minute i wasn't in ##java :P [23:18] where's Apache's config files stored? [23:20] EvilPhoenix: Under /etc/apache2/ [23:20] okay [23:20] hmm, i don't see the sun java under the alternatives [23:20] seems someone who is another admin on my system messed up apache not letting it redir right [23:20] so i'm probly going to need help fixing it [23:20] where can I get that? [23:21] That depends on how messed up it is... can you not restore the relevant configs from backups? This is a server, so you do make backups, right? [23:21] jmarsden|work: yeah weekly [23:21] and i restored [23:21] but it s not working ... [23:22] whats the command to restart apache [23:22] sudo service apache2 restart # just like you restart any other service :) [23:24] jmarsden|work: can you get to trekweb.org without errors? [23:24] and without redirs [23:24] thats my site [23:24] the one which wasnt working [23:25] so lets say i want to change whatever update-alternatives changes myself, how would i do this? [23:25] EvilPhoenix: Seems to work fine, although the page does say "Please excuse our appearance, as we are under maintenance at this time." :) [23:25] yeah that's true [23:25] i have been busy [23:25] ;) [23:26] jmarsden|work: it used to redir to a different location and deny connections [23:26] OK, looks like you fixed it then. [23:27] CppIsWeird: Use sudo update-java-alternavives # for java alternatives :) [23:27] CppIsWeird: Use sudo update-alternatives # for non-java ones [23:28] it doesnt list the java i just installed [23:28] so im guessing it wont if i dont install it from a package [23:28] so since i didnt how can i manually edit the things that update-alternatives does? [23:28] CppIsWeird: Correct. The Sun JDK is packaged for Ubuntu, so why would you install it from anything else? [23:28] call me stubborn [23:29] You can manually muck around with symlinks if you really want to, look under /etc/alternatives for some ideas... [23:29] But don't ask for any support of anything related to alternatives if you are that "stubborn" [23:30] It is *always* preferable to work with your chosen OS, not against it. [23:35] how do i find where a symlink points to? symlink command is not found [23:37] CppIsWeird: ls -l /path/to/the/symlink [23:39] Hi, I was having some trouble getting munin-node to start up. Here is the message in /var/log/munin/munin-node.log: 2010/08/06-18:33:44 Unsecure host "2001:470:1f07:767::1" at line 359 in file /usr/share/perl5/Net/Server.pm [23:39] I found that message particularly uninformative and Google didn't have much to say about it either. [23:39] Can vmbuilder target a device instead of a file? [23:41] Insyte: Not sure, try asking in #ubuntu-virt [23:42] 10-4 [23:46] any way that i can get the update-java-alternatives to see the java installation? i moved it in with the others and created a symbolic link, etc. [23:49] CppIsWeird: No idea. Easier and faster and safer to just install Java from a package than to figure that out :) [23:51] thesheff17: You around as much as me? [23:51] jmarsden: Where are you? [23:51] At my desk :) [23:52] Southern California [23:52] jmarsden: any special nome for that place? [23:52] :P [23:52] sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.6.0_21/bin/java" 1 ;-) [23:52] A name for my desk? "work"? WHich is why I am using a nick of jmarsden|work :) [23:53] jmarsden: You're a super awesome security guy.. [23:53] right? [23:53] jmarsden|work: * [23:53] ut-oh. statements like that usually follow with complicated questions [23:53] CppIsWeird: easy question [23:53] complicated answer [23:53] I [23:54] MTecknology: If you already know the answer, no need to ask the question :) === EAS_ is now known as EAS [23:58] I'm doing web hosting. My company is anyway. I toasted a server. I need to rebuild it. The trick here is how I'm going to rebuild it. I want to host a lot of websites but I need to do it on pretty limited resources. This means Apache isn't going to work. I want to make sure no website can touch another website at all. One option here is to run each php process (all php sites) as a separate user. I can do this easily. In de [23:58] heh.. where did that cut off at? [23:58] MTecknology: "I can do this easily. In de" [23:59] I can do this easily. In development I also jail those users so they can't directly access PHP. I don't know if this is the best or not but it takes no extra resources. It breaks my linode though. What I can't figure out though - is how do you limit resources available for a website and/or user and keep them from touching anything else.