[00:02] Hi all, following this guide (https://help.ubuntu.com/community/ApacheMySQLPHP) I have setup a lamp server on my Ubuntu Desktop. Unfortunately when running "index.php" Firefox asks me to download the file. I have followed the basic troubleshooting suggestions in the guide with no luck. Ideas? [00:07] somethinginteres: check the section titled: "Checking PHP 5 installation" [00:09] somethinginteres: woops missed the last part you said, ok check the apache config and provide a link to a paste binned copy in here [00:11] l0n: thanks for your offer to help. It seems restarting apache may have fixed it. I am brand new to using servers and such so I had no idea how to do that. [00:11] l0n: yep all working. Phew [00:12] somethinginteres: good stuff :) [00:13] l0n: while I am here may I ask how I can make it so my non root user account can add and remove files from /var/www? [00:14] somethinginteres: well you can change the permissions of the directory but I would suspect that it's not good practice to do so [00:15] l0n: understood. So how do people usually add and remove files from their test servers just running their editors as root? === dendro-afk is now known as dendrobates [00:17] somethinginteres: I am by no means an expert on these sorts of things but this guy sounds like he's onto something: http://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache2s-user-www-data-in-var [00:18] l0n: sounds good for just a local testbed. Thanks. === bladernr_ is now known as bladernr_afk === nonotza_ is now known as nonotza [00:43] I did a plain Ubuntu install on a system which contains a RAID, the OS is on a non RAID HDD now the system does not boot when any of the raid hdds are installed it marks the raid degraded and breaks the init nevertheless there is nothing needed on there and the system boots just fine when the RAID hdds are disconnected wtf is wrong? natty booted just fine [00:48] so there is no way to boot my system as long a a degraded raid is connected? [00:48] this must be a bug === bkerensa_ is now known as bkerensa === funkyHat_ is now known as funkyHat [01:14] I am sshed into a system at my datacenter... I was there earlier and realized I left myself logged in that the terminal befor disconnecting the crash cart. Is there a way I can kick myself off tty1? [01:15] druonysus: pkill -u druonysus ? [01:16] and if I am logged in on ssh with that same user will I lose that connection too? [01:16] I mean, that's not a big deal I just want to know what to expect really [01:17] Regarding RAID, there is an option "bootdegraded" that determines whether the system will pivot_root from ramdisk to upstart -- if bootdegraded is not set, booting will drop to a shell at that step if the array is degraded. [01:17] twb: no that only killed the ssh session and not the tty1 session [01:17] I *believe* bootdegraded is off by default; you can simply pass it on the boot: prompt [01:18] druonysus: then you're logged in as someone else, or pkill is racing the wrong way :-/ [01:18] druonysus: in any case, killing off the appropriate process should suffice [01:19] twb: hehe that would be toooo easy [01:20] the raid won't mount with that option [01:20] it seems broken since there is only 1/10 disks [01:20] twb: thank you, I just killed the bash session that was on tty1 [01:20] thanks [01:22] You lost 9 out of ten disks? [01:23] yes [01:23] :) [01:23] anyways the raid is broken and thusly the os wont boot!!? [01:24] that is not rally a good solution [01:24] doommaster: um, in a RAID 5? [01:24] raid6 [01:24] You're fucked [01:24] I know the other disks are just not avail atm [01:24] they will be back soon ;) [01:24] RAID6 only has two parity drives, if you lose more than two drives your array is GONE [01:24] no worry about the data [01:24] Oh, I see. [01:24] I know about that [01:25] it is just the fact, that the OS will not boot anymore because it somewhat assumes the RAID is needed to boot [01:25] which is BS [01:25] OK, do this: [01:25] doommaster: boot with "break" in boot:. That will drop you to the ramdisk [01:26] doommaster: now, manually assemble only the arrays you need. Likewise LVM. [01:26] hmm yhea it boots into busybox atm [01:26] but since the box is unattended [01:26] doommaster: finally, mount the root filesystem on /root and hit ^D to log out [01:26] no option [01:26] That should drop you into a working system with the least hassle [01:26] doommaster: no physical access? [01:26] I can only rtemotly access the machine [01:26] jepp [01:26] I need a working sshd [01:26] so the system must boot first [01:27] Then you're buggered unless you have ILO or a really clever monkey [01:27] and it did in older versions of Ubuntu [01:27] it is just since 11.10 that it won't [01:27] Once it's back up, there is an mdadm boot-time option along the lines of "try to assemble all arrays" or "only the following arrays <...>" [01:27] I can't remember the details exactly, but that's where I'd be looking [01:28] once it is back up all 10/10 disk will be there and it will work fine for the moment [01:28] but it is no condition that a broken raid will brak the bootup [01:29] the assumption that md0 is needed is just plain wrong [01:29] if it was on fstab ok, then it would be needed [01:30] fstab can't be read at that tmie [01:30] the data is coded into the ramdisk's mdadm.conf [01:31] That in turn is the contents of mdadm.conf as at the last time the ramdisk was compiled; if you messed with mdadm since then it will be wrong [01:31] And as I said, it is probably in the default "assemble everything up front" mode [01:47] twb: the mdadmconf is empty [01:47] I never put anything in there [01:47] I already did an uptate initramfs [01:48] Hum [01:49] If there is nothing in mdadm.conf it shouldn't try to assemble anything [01:49] By which I specifically mean /etc/mdadm/mdadm.conf within the ramdisk (*not* the root filesystem). [01:51] http://paste.debian.net/152097/ <-- example [01:52] Caveat -- I suppose ubuntu may have fucked it up since 10.04; if so I wouldn't know [02:29] twb: it does an mdadm examine and autmatically builds raids now [02:29] not only based on mdadm.conf [02:30] Well that is bullshit [02:30] which also is the mechanism which fails then -.- [02:30] twb: seems so -.- [02:30] I bet that was added by ubuntu, not debian [02:30] hmm dunno but it seems debian too ;) === nonotza_ is now known as nonotza === vagocpp is now known as vagothcpp [04:22] how can you enable a ubuntu server to use a gui while connecting via ssh? [04:23] currently its only running through bash [04:23] China_Jobs, are you wanting a gui on your server [04:24] now yes [04:24] China_Jobs, Is the server internet connected? [04:25] yes, Im able to connect with putty [04:25] in short, it requires installing a lot of software and is generally a bad idea [04:25] the better question is _why_ do you want a gui [04:25] China_Jobs, Read https://help.ubuntu.com/community/ServerGUI [04:26] it won't make administering your server any easier, since all the tools you administer it with are command-line utilities anyway [04:26] China_Jobs: are both ends of the SSH connection running ubuntu? [04:27] there are good reasons to do it, but the vast majority of people who ask that question don't have a good reason [04:28] right now im using an opensuse box in city A and the server is ubuntu in city B. An issue has come up, staff can't load files to a database, which besides pissing me off is also stopping work. [04:28] and even beyond that, you shouldn't do it unless you fully grasp the security implications and know how to write a good firewall [04:30] vagothcpp: that is an excellent article; pity I can't add it as an infobot entry to ubottu [04:30] having chosen to use kde on my box, I know zip about ubuntu except for using it 4 years ago [04:31] indeed it is [04:31] twb, and why is that? [04:31] "may introduce unwanted DNS conflicts with a .local domain." -- while strictly correct, the .local domain is reserved for mDNS/DNS-SD use, so anyone already using it outside avahi gets what they deserve. [04:31] vagothcpp: AFAIK ubottu restricts write operations to privileged users [04:31] yeah, except that microsoft has been using .local as a standard internal domain name since windows 2000 [04:32] Well that is fucking stupid [04:32] Thanks for warning me [04:32] it's what windows servers default to and what all microsoft documentation says to use [04:32] twb, how very annoying [04:32] I don't know which came first [04:32] but it's very, very annoying [04:32] 2000 I think [04:34] in any case, I still don't know what you're trying to accomplish with a GUI [04:34] He left [04:34] ah [04:35] screen-profiles = byobu? === vagocpp is now known as vagothcpp === sixstringsg|away is now known as sixstringsg [05:24] mtaylor: howdy pardner (he said, 10 hours later) [05:24] SpamapS: hehe [05:24] SpamapS: I was pinging to see if you wanted to hang out - I'm in LA [05:24] SpamapS: You going to SCALE next week? [05:26] mtaylor: I'm in Budapest. :-P [05:26] Darkwing: definitely! [05:26] mtaylor: aren't you headed to LCA? [05:26] SpamapS: oh, so you get to go to budapest but UDS has to be in Oakland? [05:26] SpamapS: Sweet, I'm working as staff this year. You still have that Oneiric T-shirt? :P:P [05:26] SpamapS: yup [05:26] mtaylor: haha yeah, Oaktown up in the hizzy [05:27] Yeah... Oakland vice San Fran? Really? [05:27] Darkwing: sadly I do, it sits on my bookshelf mocking my forgetfulness [05:27] i am trying to installed pop/imap using nginx on ubuntu 10.04 when i use [05:27] mtaylor: at least its not Santa Clara... [05:27] SpamapS: I'll be in LA on thursday. :) [05:27] SpamapS: yup. leaving for Oz tomorrow [05:27] For the weekend. [05:27] wget http://ppa.launchpad.net/nginx//ubuntu/dists/lucid/main/binary-i386/Packages.gz [05:28] SpamapS: well, sure. it's also not in Detroit... but isn't this the European turn for UDS? [05:28] it give error but when i use nightly it download file [05:28] * mtaylor grumbles and bitches [05:28] wget http://ppa.launchpad.net/nginx/nightly/ubuntu/dists/lucid/main/binary-i386/Packages.gz [05:29] It's spring in Silicon Valley... Whos who is there every spring. [05:29] mtaylor: I think the desire was to give silicon valley a chance to show up. [05:30] SpamapS: sigh. silicon valley can come to the fall one - OR - they can fly somewhere which isn't f-ing Bay Area like the rest of us [05:30] mtaylor: also with the whole TV/tablet/etc. thing, this will allow Japanese and Taiwanese mfgr's easier access. [05:30] oh great [05:30] that makes me so happy [05:30] mtaylor: I was pushing for San Diego :P [05:30] San Diego was very close. [05:30] Darkwing: honestly, I would have been more on board for that [05:30] Apparently they just wouldn't budge on the cost of hotel rooms. [05:30] mtaylor: So would I... I live here :D [05:31] mtaylor: also I think there's an interest to change the order a bit so we are in Europe in the fall for a few years. [05:31] SpamapS: AH - ok, I was afraid we were going to do Oakland and then go back to Orlando [05:31] Part of the reason its always somewhere different is so it is convenient for different people each time. [05:32] mtaylor: jesus god no please [05:32] mtaylor: I don't think we've done anything to deserve Orlando... ever again. [05:32] I don't like Orlando either. [05:33] SpamapS: yeah. that was my concern. I thought we'd all of a sudden become all-US or even all-bay-area and I was going to cry [05:35] Darkwing: Orlando's mother doesn't even like Orlando. [05:36] SpamapS: Yeah... It's too humid and very very expensive. [05:37] and a **** hole [05:37] Heck, Riverside would be better. [05:38] Um, no [05:38] almost, but no. ;) [05:38] ;) I grew up there. :P:P [05:38] * Darkwing still votes for San Diego [05:41] !ubottu [05:41] Hi! I'm #ubuntu-server's favorite infobot, you can search my brain yourself at http://ubottu.com/factoids.cgi | Usage info: http://ubottu.com/devel/wiki/Plugins | Bot channels and general info: https://wiki.ubuntu.com/IRC/Bots === sixstringsg is now known as sixstringsg|away === nonotza_ is now known as nonotza [07:25] New bug: #915832 in php5 (main) "package php-pear 5.3.5-1ubuntu7.3 failed to install/upgrade" [Undecided,New] https://launchpad.net/bugs/915832 === bdmurray_ is now known as bdmurray [09:18] stgraber: jjohansen: is there anything we should be talking about today? === ENOSLEEP is now known as greppy === cjwatson_ is now known as cjwatson [09:31] New bug: #879666 in nova "chown error for console.fifo when launching vm" [Undecided,New] https://launchpad.net/bugs/879666 [09:38] how to i check which application is been monitor by apparmor === smoser` is now known as smoser === masACC is now known as maswan [10:13] New bug: #904216 in glance (main) "glance package should include logrotate configs" [Low,Fix released] https://launchpad.net/bugs/904216 [10:14] hi [10:21] if i setup a kerrighed cluster, would i be able to setup apache and mysql on it and have it be able to use the cpu and memory on each node as if its one big smp machine? === RoyK^ is now known as RoyK [10:54] hallyn: http://paste.ubuntu.com/802799/ [11:23] New bug: #915941 in lxc "overlayfs does not honor lxc-related permissions" [Undecided,New] https://launchpad.net/bugs/915941 === lool- is now known as lool [12:02] New bug: #915977 in nova (main) "Add policy.json to packages" [Undecided,New] https://launchpad.net/bugs/915977 [12:03] New bug: #915971 in nova (main) "New command "guestmount"" [Undecided,New] https://launchpad.net/bugs/915971 [12:23] New bug: #915985 in nut (main) "usbhid-ups regression (APC BE525-RS)" [Undecided,New] https://launchpad.net/bugs/915985 [12:36] i tryed to start apache2 but it give me errror [12:36] Could not open config directory /etc/apache2/mods-enabled: Permission denied [12:43] samba35: how did you try to start it? [12:44] command line [12:44] samba35: please be more specific [12:45] SpamapS, sorry , /etc/init.d/apache2 restart [12:45] when i run this command i am getting this error [12:46] <_ruben> sudo [12:46] samba35: Run 'ls -al /etc/apache2/mods-enabled/' and pastebin the output? [12:46] ok [12:46] Oh, sudo, good one :) [12:48] http://pastebin.com/zZ8ePN54 [12:48] please check [12:49] apache was working but with synaptic i try to installed some more packages after that i mess it [12:51] hi all, i did setup a local ubuntu server (for the first time) with a software raid1. 1 of the 2 harddrives gets repeatedly removed from my raid1. So it seems that this disc is faulty. but can someone tell me if these smart information look fine or bad: http://pastebin.com/1Txby5WG [12:52] samba35: did you run it with sudo ? [12:53] yes [12:56] noone familiar with reading the hdd smart information? [12:56] sam/win 7 [12:56] doh === lx-berlin is now known as lxx [13:05] this is a sad channel. no help no nothing. even though there are 280 user in here [13:09] lxx: you did not even ask a question :P [13:14] stgraber: thx === bladernr_afk is now known as bladernr_ [14:53] is there an option for apt-get to not overwrite existing config files for a package without prompting? I can see the --assume-yes option, but not the opposite [15:11] if i have to setup a reverse proxy on apache2 which file i suppose to edit/configure [15:22] http://pastebin.com/L0CwypZ2 [15:31] Anyone ever use the alternateCD to install via a USB stick? I'm getting errors when doing F6 and trying to specifiy my own seed file. it doesn't like to USB media and keeps looking for a CDROM drive. any ideas? [15:35] New bug: #916065 in php5 (main) "php5 sessionmanagement ignores values in custom ini files" [Undecided,New] https://launchpad.net/bugs/916065 [15:50] zul: http://people.canonical.com/~serge/netcf-merge [15:53] zul: http://people.canonical.com/~serge/debdiff === dendrobates is now known as dendro-afk [16:19] in redhat there is option with rpm -c to check config files of pack is there any command with dpkg or apt ? === dendro-afk is now known as dendrobates [16:29] samba35: you mean what files does a deb package has? [16:29] samba35: dpkg -c blablabla.deb [16:32] when we install any package with apt-get install then do we install .deb? [16:32] sorry very basic question [16:53] samba35: yes, you install a package when you install a package. see /var/cache/apt/archives [16:54] ok [16:56] samba35: btw, doing 'sudo apt-get clean' should empty that directory [16:57] ic [16:57] pmatulis, do you have any idea on apache reverse proxy [16:59] samba35: I use squid for that [17:00] i have 2 systems @ home 1 is ubuntu server 10 and 1 box is utm [17:01] utm is unified threat managment i use ubuntu as a dmz and i want to setup reverse proxy so i can add another layer of security to web server and content security to web pages [17:02] RoyK, do you have time to tell me what i should do to configure squid [17:10] I am stuck here after upgrading the kernel from 2.6.32-36 to 2.6.32-37 on lucid 64bit [17:10] http://pastebin.com/MGWYZfvd [17:10] any idea how to fix it? [17:14] booting back to 2.6.32-36 works fine [17:28] axisys: please open a bug [17:29] pmatulis: need help with that [17:29] pmatulis: in the meantime I posted it in ubuntu mailing list as well [17:29] axisys: what m/l? [17:30] ubuntu-users [17:31] axisys: try https://lists.ubuntu.com/mailman/listinfo/kernel-team [17:31] pmatulis: ok [17:31] axisys: actually, that's not the right place [17:32] so kernel-team is not the right place? [17:32] nah [17:33] axisys: try ubuntu-server i guess [17:34] k [17:35] axisys: but most importantly, file a bug [17:35] axisys: command line only environment? [17:36] pmatulis: lucid server [17:36] pmatulis: so yes [17:37] apport-bug --save /tmp/report.bug linux [17:37] transfer report.bug to a desktop system [17:38] then 'apport-bug report.bug' [17:38] pmatulis: ok [17:38] pmatulis: thanks a lot [17:38] np, hope it leads to something good [17:39] axisys: if that method falls to pieces then: https://bugs.launchpad.net/ubuntu/+source/linux/+filebug [17:40] pmatulis: hehe.. thanks [18:13] pmatulis: apport bug asking question.. [18:13] *** How would you categorize this issue? [18:14] is it kernel config [18:14] i am not sure.. [18:14] so just say I don't know ? [18:14] pmatulis: http://pastebin.com/J6QKpKKZ [18:15] axisys: sure, kernel config [18:15] pmatulis: ok [18:17] appport-bug crashed [18:17] http://pastebin.com/WiNbtezd [18:17] I guess I will do it in that ur [18:17] url [18:18] axisys: i've seen this error before [18:19] hmm, supposed to be fixed, https://bugs.launchpad.net/ubuntu/+source/apport/+bug/626215 [18:19] Launchpad bug 626215 in apport "IOError: [Errno 2] No such file or directory: '/proc/asound/cards'" [Low,Fix released] [18:20] ah, in natty only [18:20] axisys: the last comment proposes a w/a [18:27] how do I comment attach_alsa(report) in python? does it honor # or should I do '''...''' ? [18:28] '''..''' did it [18:29] worked [18:29] pmatulis: thanks [18:31] pmatulis: apport-bug report.bug did not work.. Package report.bug does not exist === CasmoNL_ is now known as CasmoNL [18:33] I scp'd the report.bug file into my laptop running ubuntu oneric and then ran that command [19:05] submitted bug Bug #916175 [19:05] Launchpad bug 916175 in linux "new kernel failed to boot the system" [Undecided,New] https://launchpad.net/bugs/916175 [19:08] hm wired [19:08] why is openssl so slow on my new FX-6100 with AES-NI? [19:08] only about 766MB/s on a 6Core machine (-multi 6) [19:09] hey guys how can i reset my cobbler's password? [19:12] !cobbler [19:13] ahhrg -evp braucht man für die engine :P [19:13] dann schaufelt er 2,3GB/s [19:13] O_O [19:22] pmatulis: looks like type exit at (initramfs) boots to the OS fine [19:22] odd! [19:28] axisys: add to bug for sure [19:28] pmatulis: yep. add that to the bug https://launchpad.net/bugs/916175 [19:28] Launchpad bug 916175 in linux "new kernel failed to boot the system" [Undecided,New] [19:32] doommaster, try again with perl , Math::BigInt::GMP and gmp libs [19:37] axisys: you are being asked for more info on the bug [19:37] pmatulis: ok [19:38] ChmEarl: as saod -evp is needed and bumps the speed up to 2,3GB/s [19:38] pmatulis: run that from server? [19:39] pmatulis: or can I run it just from my laptop ? [19:43] put some comment. also changed the status to confirmed [19:49] FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-37-generic/kernel/drivers/char/ipmi/ipmi_si.ko): No such device [19:49] where can I get that module [19:49] can't run ipmitool w/o it [19:55] submitted a bug Bug #916200 [19:55] Launchpad bug 916200 in ipmitool "missing kernel module ipmi_si module" [Undecided,New] https://launchpad.net/bugs/916200 [19:59] previous kernel has this module [19:59] /lib/modules/2.6.32-36-generic/kernel/drivers/char/ipmi/ipmi_si.ko [20:00] axisys: should be confirmed when *other* users see the same issue [20:00] ok [20:02] wait! modinfo ipmi_si gives lots of output [20:02] hmm.. [20:02] how do I load a module? [20:02] using modprobe [20:02] isn't it modprobe module_name? [20:03] http://manpages.ubuntu.com/manpages/lucid/en/man8/modprobe.8.html [20:03] find /lib/modules -type f -name "ipmi_si.ko" finds it [20:03] /lib/modules/2.6.32-37-generic/kernel/drivers/char/ipmi/ipmi_si.ko [20:03] so it is there === sixstringsg|away is now known as sixstringsg [20:13] New bug: #916200 in ipmitool (universe) "missing kernel module ipmi_si module" [Undecided,New] https://launchpad.net/bugs/916200 [20:23] 2.6.32-37-server's ipmi_si works fine but 2.6.32-37-generic's ipmi_si fails to load [20:26] axisys: asking for info again... [20:26] pmatulis: i have two bugs now .. hehe === bladernr_ is now known as bladernr_afk [20:35] axisys: you're a lucky man [20:35] lol === sixstringsg is now known as sixstringsg|away === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === koolhead17 is now known as koolhead17|zzZZ === StepNjump is now known as ve2hs === ve2hs is now known as stepnjump [21:57] is there a command I can run the check to temperature of my servers? [22:02] sensors [22:02] druonysuse: ^ [22:17] axisys: that is the command I can use? [22:17] yep [22:17] as long as the lm-sensors pkg is installed [22:18] it is not installed [22:18] I dont think I should try to install it on this old 8.04 box [22:18] hello, I have a peculiar problem, possibly a bug.. with server 11.10 it boots to a black screen with a single blinking cursor in the top left corner. No login prompt nothing, sits there for hours. now if I hit ctrl+alt+f1 it takes me to tty1 and everything seems normal [22:18] druonysuse: https://help.ubuntu.com/community/SensorInstallHowto [22:19] I just don't want to introduce another variable when we are already haveing issues with it [22:19] does it with both, 64bit pxe install and 32bit iso install [22:19] if someone could just point me in the right direction, perhaps a bug report I was unable to find... [22:20] dvance: may be you are doing console=ttyS0 during boot ? [22:21] dvance: can you pastebin /etc/default/grub ? [22:21] one moment, thank you for the help [22:21] install pastebinit pkg and then cat /etc/default/grub | pastebinit [22:23] dvance: I am sorry but I have run or I will miss my bus .. I am sure someone here will help you sooner or later === dendrobates is now known as dendro-afk [22:23] well thank you.. it's a place to start === dendro-afk is now known as dendrobates [22:26] http://paste.ubuntu.com/803510/ === bicranial__ is now known as bicranial [22:57] ChmEarl: https://docs.google.com/spreadsheet/ccc?key=0AoZ-nhkm1T8ndDFPNjJUNGtqTkVLdnQ0dEJPalR2eXc [22:58] those are my results on aesni [22:58] about 4GB/s of md5 hashing :P [22:58] and 2-3GB/s aes-cbc === stepnjump is now known as ve2hs [23:07] figured it out [23:09] grub.cfg had 'vt.handoff=7' boot option, which would explain the blank screen with blinking cursor since this is a server and doesn't have X11 installed [23:09] thanks for the help axisys [23:09] I'll file bug if one isn't already === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === ve2hs is now known as stepnjump === CasmoNL_ is now known as CasmoNL