/srv/irclogs.ubuntu.com/2013/11/06/#ubuntu-server.txt

=== airtonix_ is now known as airtonix
=== gary_poster|away is now known as gary_poster
=== gary_poster is now known as gary_poster|away
Level15hi, all. i have 12.04 server up and running. It comes w/ php 5.3, but my app requires php 5.4 or superior. I tried these instructions but they also installed newer apache which broke, among other things, the svn published via apache. Any hints on how to *just* install newer php but no other mods to system? Thanks.02:32
=== Jikan is now known as Jikai
Level15or better, any directions on how to get php 5.4 on ubuntu 12.04?02:35
rbasakLevel15: one of the Debian PHP maintainers also maintains an Ubuntu PPA for various versions of PHP. See https://launchpad.net/~ondrej/+archive/php5 and https://launchpad.net/~ondrej/+archive/php5-oldstable. Of course this is unsupported by Ubuntu for security updates etc; just by the PPA maintainer (but in practice he's great at keeping up).02:42
Level15rbasak: i'm gonna try odstable to see if it works better than the newer one02:43
dannymichelI added my site and configured my virtual host with what you see here. problem is nothing shows up when i visit the address. http://pastie.org/8458722 no mater what kind of file i put in the public_html directory03:00
jkitchendannymichel: what's in your access.log?03:00
jkitchenalso, what are the permissions on /home/danny ?03:01
dannymichelowned by www-data and 755 chmod03:02
jkitchen/home/danny is owned by www-data?03:02
dannymichelone second. let me find out where that access log is supposed to be03:02
dannymichel/home/danny/public_html is owned by www-data03:03
dannymichelthis is ubuntu 13.10 btw03:03
jkitchenno, what's the perms on /home/danny03:03
dannymichelwhere are the access logs again?03:03
jkitchenlikely APACHE_LOG_DIR is /var/log/apache203:03
dannymichelhttp://pastie.org/845872603:05
dannymichelhttp://pastie.org/845872803:06
dannymichelAny ideas?03:11
jkitchenoop, sorry03:21
jkitchencoworker asked me something03:21
jkitchenalso, what's the permissions on /home/danny (NOT /home/danny/public_html)03:21
=== Jikai is now known as Jikan
dannymichelim not sure how to check that jkitchen03:23
=== Jikan is now known as Jikai
jkitchendannymichel: ls -ld /home/danny03:25
dannymicheldrwxr-xr-x03:25
dannymichelim a newbie, but not sure how the containing folder's permissions has anything to do with this jkitchen03:34
=== Jikai is now known as Jikan
dannymichelAnybody have any ideas?03:39
dannymichelI added my site and configured my virtual host with what you see here. problem is nothing shows up when i visit the address. http://pastie.org/8458722 no mater what kind of file i put in the public_html directory03:40
dannymichelhttp://pastie.org/845872803:41
dannymichelhttp://pastie.org/845872603:41
=== freeflying is now known as freeflying_away
=== thumper is now known as thumper-afk
=== Ursinha_ is now known as Ursinha
=== lifeless_ is now known as lifeless
=== Tzunamii_ is now known as Tzunamii
=== Tribaal_ is now known as Tribaal
=== io is now known as IdleOne
photonis gcc 4.9 available in 13.10 backports?04:29
dannymicheljkitchen, any ideas at all?04:37
jkitchendannymichel: one thing I would do is put the error and access log for that domain in a different file04:39
jkitchenlike ${APACHE_LOG_DIR}/dev.dmichel.net.access.log04:39
jkitchenthat way you can know for sure that you're even hitting that vhost (as opposed to some other vhost)04:39
gyre007is it possible to create a bridge without assigning it an IP address and make it permanent ? ie sticking this all into network-interfaces ?04:39
jkitchengyre007: iface brX inet manual04:40
gyre007jkitchen: ah nice one man..04:40
jkitchennow, that may not actually define the bridge04:40
jkitchenI'm not sure04:40
jkitchenthe only time I've used inet manual is when I was using the interface either in a vlan or lacp group (or both)04:41
gyre007auto blah; iface blah inet manual does seem to work04:41
gyre007yeah that's exactly what I need it for04:41
gyre007VLAning04:41
jkitchenyup, then that's what you want04:41
jkitchenbecause you configure the vlanned IPs on blah.<vlanid>04:42
gyre007aaand I got it :)04:42
gyre007thanks to you04:42
gyre007cheers for that04:42
jkitchennp :)04:42
gyre007yeah vlanned IPs are done via tagging04:42
gyre007:)04:42
gyre007cheerios04:42
=== freeflying_away is now known as freeflying
joosseeguys i checked off mail server when doing my install.. how do i configure it or what is the email server it installs?04:51
ScottKjoossee: Your best bet is to read the Ubuntu Server Guide (see the channel topic).  It discusses it.05:02
pplcfI have almost 1:1 proportion of CPU load / IO wait, is bad?05:58
pplcfis it bad?*05:58
mattwj2002anyone here?06:16
sarnoldmattwj2002: it gets quiet this time each day.. but folks are aroud06:17
dannymichelI added my site and configured my virtual host with what you see here. problem is nothing shows up when i visit the address. http://pastie.org/8458722 no mater what kind of file i put in the public_html directory06:18
dannymichelhttp://pastie.org/845872606:18
mattwj2002ok cool :)06:18
dannymichelhttp://pastie.org/845872806:18
pneftalianyone knows how to upgrade/update apache 2.2.x to 2.4.x in an old ubuntu 10.04 ?06:58
dannymichelNo matter what I do, I cant enable htacces in Ubuntu 13.1007:02
dannymichelhttp://pastie.org/845898007:06
sarnolddannymichel: note that <directory> is for directories in the filesystem, and <location> is for URLs07:09
sarnolddannymichel: (I don't think it's related to the problem you're having now, but I thought I'd mention it anyway)07:10
dannymichelok07:11
trupheenixhello. Can anyone here help me with a postfix and dovecot issue I'm facing for virtual users? In my case postfix is not delivering mails to dovecot LDA. I have explained entire problem here https://gist.github.com/anonymous/7332276 with logs and configuration files.07:29
pneftalihm i have an outdated apache (2.2.14) in my ubuntu 10.04 box. updating apache to latest, step 1) sudo apt-get update step 2) sudo apt-get install apache2 ... this correct ?07:53
=== thumper-afk is now known as thumper
Rorypneftali: Yes, but you'd be better off running "sudo apt-get upgrade" to update all your packages, not just apache08:20
Rory!info apache2 raring08:21
ubottuapache2 (source: apache2): Apache HTTP Server metapackage. In component main, is optional. Version 2.2.22-6ubuntu5.1 (raring), package size 1 kB, installed size 29 kB08:21
pneftalicool, thanks Rory08:22
=== Rory is now known as rory
=== rory is now known as Rory
pneftaliRory: but if i want to update just apache2, i should go with "apt-get install apache2", right ?08:26
Rorypneftali: Yes08:26
=== edgggeek_ is now known as edggeek
Datahuntermy ubuntu server 12.04 crash many time. Finally, i setup netconsole to see dead message. How can i troubleshoot this problem.08:45
Datahunteri get msg as below: apache2 invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=008:46
RoryDatahunter: That is an out-of-memory error08:46
Datahunteri sure that i has enough memory to run the system.08:47
DatahunterNov  4 22:44:59 myserver [151773.305429] active_anon:124309 inactive_anon:72595 isolated_anon:008:48
DatahunterNov  4 22:44:59 myserver [151773.305431]  active_file:1807567 inactive_file:622889 isolated_file:008:48
DatahunterNov  4 22:44:59 myserver [151773.305433]  unevictable:0 dirty:58 writeback:0 unstable:008:48
DatahunterNov  4 22:44:59 myserver [151773.305436]  free:813309 slab_reclaimable:541977 slab_unreclaimable:2234308:48
DatahunterNov  4 22:44:59 myserver [151773.305439]  mapped:19484 shmem:152 pagetables:4313 bounce:008:48
DatahunterNov  4 22:44:59 myserver [151773.327346] Node 008:48
DatahunterNov  4 22:44:59 DMA free: 15892kB min:124kB low:152kB high:184kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15652kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:16kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no08:48
DatahunterNov  4 22:44:59 myserver [151773.364482] lowmem_reserve[]:08:48
sgranplease use a pastebin for that08:52
sgranalso, you clearly don't have enough memory :)08:52
RoryDatahunter: How much memory does apache normally consume? What applications are running through apache? Do you have a swap partition/file ?08:53
Datahunterhow can i use "pastebin". i 'm using Pidgin connect irc08:54
sgranhttp://paste.ubuntu.com/08:54
Rory!paste | Datahunter08:55
ubottuDatahunter: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.08:55
DatahunterHere is my crash period   http://203.194.130.59/uptime.png08:58
Datahunteri 'm try to upload dead message to paste.ubuntu.com08:58
RoryDatahunter: How much memory does apache normally consume? What applications are running through apache? Do you have a swap partition/file ?08:59
Datahuntermemory usage: http://203.194.130.59/memusage.png09:00
Datahunteri see i has many "unused"09:00
RoryDatahunter: Is it a 32-bit or 64-bit installation?09:02
pneftaliweird, i'm still getting apache 2.2.22 after apache install09:03
Datahunter@Rory 3.2.0-23-generic x86_6409:04
Rorypneftali: Not weird, 2.2.22 is the latest version on 10.0409:04
Rory!info apache2 raring09:04
ubottuapache2 (source: apache2): Apache HTTP Server metapackage. In component main, is optional. Version 2.2.22-6ubuntu5.1 (raring), package size 1 kB, installed size 29 kB09:04
Datahunter@ubottu,Rory:  full dead msg:  http://paste.ubuntu.com/6369401/09:05
RoryDatahunter: Can you pastebin the file /var/log/apache2/error.log09:06
Datahunter@ubottu,Rory:   I 'm running apache inside LXC (cgroup),  so i un-believe the apache can crash the system.09:08
Datahunter@Rory:  i  double checked the apache error log. I can not find any useful msg. -__-09:17
pneftaliRory: ic. is there a way to install 2.4.6 in ubuntu 10.04 ?09:17
Rorypneftali: Possibly, take a look here https://help.ubuntu.com/community/UbuntuBackports09:19
RoryWell, Datahunter the oom thing means "out of memory"09:20
pneftaliRory: hmm. what about executing "apt-add-repository ppa:ptn107/apache" and then do another update and apache install ?09:22
Rorypneftali: I'm not familiar with that repository, as always, use PPAs at your own risk09:23
Rory!ppa09:23
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge09:23
Rorypneftali: It would be better to check if there's an official backported version09:23
Datahunter@Rory: I know what is OOM.  In addation, I disable the OOM-killer by "echo 1 > memory.oom_control"09:24
Datahunter@Rory: But no help in my situation -__-09:25
RoryDatahunter: You could also try asking in #apache they might know more about diagnosing if it's a memory leak or something09:25
Datahunter@Rory: Are you mean that OOM break the cgroup memory control ?09:30
RoryDatahunter: I don't know much about how to diagnose this problem beyond that fact that apache is eating more and more memory until it uses all your system has09:31
pneftaliRory: thanks :)09:32
Rorypneftali: Bear in mind Ubuntu 10.04 won't be supported for long, so a proper "fix" would be to upgrade to 12.04 :)09:32
=== freeflying is now known as freeflying_away
pneftaliRory: Yep. That's the plan.09:35
Datahunteri can not sleep deeply as this problem happen mayn time @@||09:41
dannymichelNo matter what I do, I cant enable htacces in Ubuntu 13.1009:41
dannymichelhttp://pastie.org/845898009:41
pneftalihi again - is there an update command that only updates the core os ?09:51
Rorypneftali: What do you mean by "core OS" - you can update specific packages with "sudo apt-get install packagename"09:51
pneftaliRory: all patches made to the os itself, not including patches to programs installed...09:53
Rorypneftali: Do you mean just the Linux kernel?09:53
pneftaliyep09:53
pneftaliRory: in my case it's for Ubuntu 10.0409:54
Rorypneftali: If you run the command: "sudo apt-cache search linux-image" you will see which packages are available09:55
Rorypneftali: If you're unsure, put the full output from that command onto http://paste.ubuntu.com and I will tell you which to install09:55
pneftaliRory: it's a long list: http://paste.ubuntu.com/6369613/10:01
Rorypneftali: Can you tell me the output of the command "uname -a"10:02
pneftaliRory: Linux xxx 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux10:04
Rorypneftali: sudo apt-get install linux-image-3.0.0-32-generic10:04
pneftaliRory: do I need to back up files ?10:05
Rorypneftali: No. When you reboot you will see the new kernel version in the Grub menu, it will automatically boot to the most recent10:09
Rorypneftali: If for some reason it doesn't work you can just choose an older kernel version from Grub, and uninstall the new one10:10
pneftalicool. thanks a lot Rory :)10:14
d1bdo you guys even qa ?11:36
d1bhttps://bugs.launchpad.net/ubuntu/+source/apport/+bug/1244176 <-- seriously?11:36
d1bwtf?11:36
Roryd1b: FYI "you guys" includes yourself11:38
d1bRory: BEFORE RELEASE11:38
Rory!attitude11:38
ubottuThe people here are volunteers, your attitude should reflect that. Answers are not always available. See http://wiki.ubuntu.com/IRC/Guidelines11:38
d1bhey look i only hit this problem because ubuntu do-release-upgrade thingy failed and caused my installation to be fried11:38
d1bway to go!11:38
d1bRory: ubuntu has commercial support as well11:39
d1bi don't see how no one at canonical did not hit this problem before release11:39
RoryWhat could I say that would satisfy you right now?11:39
bekksd1b: On a server, I'd use LTS releases only.11:40
RoryIf the answer is "nothing" then you're just here to rant aren't you?11:40
d1bRory: the answer is why hasn't this issue been fixed and what can i do to help11:40
d1bor " how can we make sure this cannot happen again?"11:40
RoryThe bug was filed after the release11:41
d1bbekks: yeah but some of us like to run recent stuff and test it out :-)11:41
d1bRory: i am just so shocked that no on did not hit this problem prior to release11:41
d1bis in the errata?11:41
RoryYes, the bug you listed11:41
bekksd1b: Well, I do not know a single person who actually uses an USB keyboard on a server - - even when not running LTS versions.11:42
d1bbekks: hehehe this is a micro server that doesn't have ps/211:42
bekksNoone of my servers even have a keyboard...11:42
d1bbekks: again micro server for home -- so no netboot install / pxe start up11:42
d1botherwise yeah --> doesn't matter11:43
bekksNo keyboard needed, since the microservers do have an ILOM, too.11:43
d1bmine doesn't, but it does have pxe boot/ could netboot it.11:43
d1bi didn't go for ILOM :-)11:43
d1biirc it doesn't have ipmi either.11:44
bekksThen you have a desktop only :)11:45
akis63hi all. does anyone know why Zeitgeist 'activity log manager' cannot record browsers activity?11:45
=== rvba` is now known as rvba
photonIs there any way I can install gcc 4.9 on 13.10 with backports?12:10
bekksphoton: No, since there are no backports currently from 14.04 :)12:25
photonbekks: ah ok, thanks. any chance there will be gcc 4.9 backports available at some point in the future?12:26
bekksMaybe, if someone puts gcc 4.9 in backports.12:27
photonthat'd be great.12:28
=== Rodge is now known as Rodge_
=== gary_poster|away is now known as gary_poster
=== Rodge_ is now known as recoveryRodge
=== zz_Gurkenmaster is now known as Gurkenmaster
=== LordOfTime is now known as TheLordOfTIme
=== TheLordOfTIme is now known as TheLordOfTime
=== shadeslayer_ is now known as shadeslayer
jcastrogaughen, any objection to me scheduling the sessions today?15:45
Silvio-which sessions?15:48
gaughenjcastro, go for it.15:48
Silvio-are these public?15:48
gaughenSilvio-, for vUDS15:48
jcastroyep15:48
Silvio-what is vUDS15:48
jcastrolet me get you the  URL15:48
gaughenSilvio-, http://uds.ubuntu.com/15:49
gaughenand yes they are public15:49
jcastrohttp://summit.ubuntu.com/uds-1311/track/servercloud/15:49
jcastroSilvio-, it's the developer summit where we plan what's going to happen in ubuntu for that cycle15:49
allaireAny reason why my `locale` is never set when I directly ssh into a user, but it is set if ssh with another user and then do `sudo su myuser`, now `locale` is correctly set to us utf-8 :/15:49
Silvio-oh that is very cool15:49
Silvio-are you an ubuntu developer?15:49
=== chmurifree is now known as chmuri
jcastrome? no I'm the cloud community guy, but I help schedule the event15:50
jcastrobasically, find what you're interested in, and you can listen in on the google hangout, or participate in the IRC chat, etc.15:50
Silvio-thats cool15:51
Silvio-ill be around15:51
joosseeguys im looking at the server guide under mail. is postfix the mail server component?15:56
joosseenm... how can i check if postfix is running on my system?15:57
sk1pperjoossee: sudo netstat -tulpen15:58
joosseeok it seems SMTP and 993 are open16:00
joosseeand the mail ports are managed by dovecot...?16:01
jemurrayjoossee: ps -ef | grep post16:02
joosseeman is it even possible to setup a mail server using dyndns ?16:06
joosseei get the feeling like this is not gonna workout16:07
andoljoossee: Possible yes, adviseble no.16:07
joosseelol16:08
josePHPagodaHello everyone!16:08
joosseeHOWDY!16:08
TheLordOfTimeo/16:09
josePHPagodaI'm wondering if anyone here has found a good mysql client for linux (besides the CLI one)16:09
josePHPagoda(I know this is more of the server aspect of things, but #kubuntu referred me over here)16:09
joosseeis virtualization covered in the server guide?16:10
joosseeman i should just look sorry16:11
TheLordOfTimejosePHPagoda: define "mysql client"16:12
TheLordOfTimejosePHPagoda: i just use the MySQL Workbench from mysql's community downloads, it seems to work OK for me...16:12
TheLordOfTimelink that up to my MySQL instances and i can write SQL scripts, edit tables, create the structure of a DB on MySQL from a ERD, etc.16:12
TheLordOfTimes/structure of/relationships within/16:13
TheLordOfTimebut you're right, josePHPagoda, this would probably be better asked in #ubuntu16:13
TheLordOfTime(i'm not sure if the workbench in the repos works well enough for use...)16:13
josePHPagodaTheLordOfTime: I've had stability issues w/ it.  Maybe it's improved since I last checked though16:13
TheLordOfTimejosePHPagoda: when did you last check :P16:14
josePHPagodaa yearish16:14
TheLordOfTimei use the version *not* in the repositories, because it seems to work better16:14
TheLordOfTimethey redesigned a lot of it in the past year I think...16:14
TheLordOfTimeI personally think it's stable enough for use, with an occasional crash because I broke something, but i think it's still the most *decent* available item out there16:14
TheLordOfTimehttp://dev.mysql.com/downloads/tools/workbench/  <-- 6.0 is new16:15
josePHPagodaok16:15
josePHPagodai'll try that out16:15
josePHPagodadoes it work ok on 13.10?16:15
TheLordOfTimeMySQL has a 13.04 version of the .deb it *should* work, but since all my systems are 12.04 I can't say whether it works OK on 13.10 or not16:16
TheLordOfTimebecause i keep to stability, and grab the cutting edge only for what I need16:16
* TheLordOfTime is poweruser ::16:16
josePHPagodaok16:16
josePHPagodaseems happy16:16
=== recoveryRodge is now known as Rodge
=== Rodge_ is now known as Rodge
blizzowI'm installing a new copy of 13.10 server.  On boot, I have a weird error in /var/log/syslog "whoopsie[908]: Could not get the Network Manager state:"18:34
blizzowI'm concerned that some network manager garbage is interfering with my ldap authentication because whenever I try to authenticate against my ldap server, I get messages in syslog saying "ldap_simple_bind Can't contact LDAP server"18:36
blizzowI'm able to ping and telnet to my ldap server by it's hostname.  :/18:36
jrwrenhow can I see the definition of a purely virtual package?18:43
Roryjrwren: Do you mean to see which packages it will install?18:44
Roryfor example18:44
jrwrenyes18:44
Rory!info kubuntu-desktop18:44
ubottukubuntu-desktop (source: kubuntu-meta): Kubuntu Plasma Desktop/Netbook system. In component universe, is optional. Version 1.291 (saucy), package size 3 kB, installed size 55 kB18:44
jrwren!info nvi18:44
ubottunvi (source: nvi): 4.4BSD re-implementation of vi. In component universe, is optional. Version 1.81.6-10 (saucy), package size 261 kB, installed size 594 kB18:44
RoryOh sorry I thought that had a link18:44
jrwrenthat doesn't look virtual, but in precise it claims to be purely virtual18:44
Roryjrwren: http://packages.ubuntu.com/raring/nvi18:45
Roryjrwren: http://packages.ubuntu.com/precise/nvi18:45
pmatulisblizzow: you have network manager installed?18:46
blizzowpmatulis: The only thing I ticked during the installation is [*]openssh server  I then went in and manually changed /etc/network/interfaces18:47
blizzowthat also brings up another point, is there a way to manually configure the network during installation instead of grabbing a dhcp address?18:48
blizzowI find it strange that if the install process does not get a dhcp assigned address, it will take you through a nice network configuration interface.  If not, you're forced to log into the console or find the ip address in a roundabout way to log in.  Only then can you manually configure /etc/network/interfaces.18:53
eduxdoes ubuntu 13.10 supports xen paravirt ?19:04
eduxi mean, does it work? because i can't kick a virtual machine19:05
eduxpygrub boots, and then after selecting the standar option it crashes19:05
eduxno particular error message19:05
eduxany idea?19:05
eagles0513875hey guys i am noticing something interesting to get apache2 mpm event working with php-fpm and fastcgi i need to have prefork version installed along side it? that doesnt seem to make much sense.19:08
=== chmac is now known as chmac7
=== chmac7 is now known as chmac
=== chmac is now known as chmac7
=== chmac7 is now known as chmac
=== chmac is now known as chmac7
kpettitanybody know how to tell if a client is polling my ntp server?19:44
bekkskpettit: Check wether you configured a ntp client.19:44
kpettitI've got some phones that don't have the right that I've told to use my server for NTP.  but they still have the wrong time.  So I"m trying to verify they are communicating wiht my server19:44
kpettitbekks I have, they are phones with a NTP setting that points to my server19:45
sarnoldkpettit: if this is a one-time issue I'd aim for wireshark or tcpdump.19:45
kpettitsarnold: thanks that was perfect19:50
kpettittcpdump udp port 123    showed me what I need19:50
ycythere's something strange in your neighborhood, who you gonna call?19:56
geniiRay Parker Jr19:57
ycythat's right19:57
=== Screedo_ is now known as Screedo
pjetrhello, I've just received my astalavista scan report, and was wondering if somebody could explain some things to me.20:15
pjetrmaybe first off, http://astalavista.com offers a cloudbased server scan20:16
pjetrand the first one is free20:16
pjetrI've got 3 significant warnings, the first being TCP timestamps: It was detected that the host implements RFC1323. The following timestamps were retrieved with a delay of 1 seconds in-between...20:19
pjetrbut in the manpages, they make it seem like RFC1323 is a good thing, where as astalavista clearly make it seem like it's a bad thing20:20
pjetrhttp://manpages.ubuntu.com/manpages/natty/en/man7/tcp.7.html20:20
pjetranybody who can point me to some information for this layman?20:21
=== wendar_ is now known as wendar
dannymichelNo matter what I do, I cant enable htacces in Ubuntu 13.1021:04
dannymichelhttp://pastie.org/845898021:04
Rorydannymichel: What are you trying to do?21:07
Rorydannymichel: I'm not sure how what you said ties up with your paste21:07
dannymichelim trying to use htaccess Rory . i thought AllowOverride All would do it21:08
Rorydannymichel: You may need to edit that option in the global Apache preferences as well ( /etc/apache2/apache2.conf )21:09
Rorydannymichel: And don't forget to issue "sudo service apache2 reload" to apply those changes you make to config files21:09
dannymichelthis is my apache2.conf Rory http://pastie.org/846088921:10
Rorydannymichel: That's your entire /etc/apache2/apache2.conf ?21:11
RoryYou know what, I'm just going to point you here https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles21:12
dannymichelno, thats just where it mentiones allowoverride Rory21:12
RoryOK 1 sec21:13
dannymichelok http://pastie.org/846089621:13
Rorydannymichel: You need to make a <directory> entry for the folder where the .htaccess file is located, and AllowOverride All there21:14
Rorydannymichel: Also you've referred to it as "htaccess" throughout, just to check you are aware it needs to be named ".htaccess" (with the dot)21:14
RoryWorth asking21:14
dannymichelyes, im aware of htaccess files21:16
josePHPagodaok, so this is very puzzling...  I have told apache to run as my user (joseph) and to run in the group (joseph)21:38
josePHPagodaI have a bind mount that I want apache to serve from21:38
josePHPagodathe mount is there21:38
josePHPagodai can go to /home/joseph/Projects and then pwd and ls and it is all happy21:38
josePHPagodawhen I try to open it via the webbrowser, I get apache's Forbidden message21:38
josePHPagodawhen I restart Apache, it tells me that /home/joseph/Projects doesn't exist21:39
josePHPagodaany ideas what could be happening?21:39
rbasakjosePHPagoda: check /var/log/kern.log. Do you see AppArmor denials?21:39
josePHPagodarbasak: I do not.  The logs there don't say anything about apache at all21:40
josePHPagodai just see something about mysql, postgres and dhclient.21:41
josePHPagodanothing from apache, and when tailing the logs, I don't see any new lines added when I cause the error to occur.21:41
rbasakI don't know then, sorry.21:41
josePHPagodais there an easy way to temporarily disable apparmor just for testing?21:42
jjohansen1josePHPagoda: yes21:42
jjohansen1josePHPagoda: you can use21:43
jjohansen1  sudo /etc/init.d/apparmor teardown21:43
jjohansen1to remove all loaded profiles, or if you need to disable from boot, add the following to the kernel boot cmdline21:43
jjohansen1  apparmor=021:43
josePHPagodaok21:44
rbasakMany options documented here: https://help.ubuntu.com/community/AppArmor21:44
josePHPagodait's not apparmor21:44
josePHPagodajust confirmed that21:44
josePHPagodai'm trying to use a fuse mount21:44
josePHPagodaspecifically, sshfs21:44
josePHPagodacould it be that apache doesn't see the fuse mount somehow?21:44
josePHPagodaah! looks like this is the issue http://ubuntuforums.org/showthread.php?t=133064621:46
rbasakjosePHPagoda: interesting. Thank you for sharing the solution.21:47
josePHPagodait's kind of puzzling21:48
josePHPagodaI've not done much w/ fuse21:48
=== Gurkenmaster is now known as zz_Gurkenmaster
Level15hi, all. I have KVM on a 4 network interfaces server. i want my vms to have bridged network to my lan. should i set up a single bridge with all 4 nics or 1 bridge per nic?22:38
=== bradm_ is now known as bradm
=== freeflying_away is now known as freeflying

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!