`Fibz | I could use some help with https://bugs.launchpad.net/ubuntu/+source/php-mcrypt/+bug/1243568 Trying to install a PHP script and i'm getting this: http://xroads.x10.bz/xroads-network/file/pic/photo/2014/07/Spike-634pm.png | 01:40 |
---|---|---|
uvirtbot | Launchpad bug 1243568 in php-tokyo-tyrant "put ini in correct path" [Undecided,Confirmed] | 01:40 |
`Fibz | i have mcrypt, curl and gd installed | 01:40 |
Sachiru | Query: To get around the 15-connections-per-client limit of GMail, would you advise me to build an IMAP caching server for our department's use (department email, thunderbird clients connect to imap cache, imap cache connects to google)? | 02:11 |
=== thumper-afk is now known as thumper | ||
Phibs | so I install 14.04, apt update and reboot, and it sits at grub forever (headless server) | 03:27 |
Phibs | https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/797544 | 03:29 |
uvirtbot | Launchpad bug 797544 in grub2 "grub2 waits forever for keystroke before booting default OS. headless server. hang." [High,Fix released] | 03:29 |
Phibs | ffs still a bug | 03:29 |
Phibs | "GRUB_RECORDFAIL_TIMEOUT=5" in /etc/default/grub | 03:36 |
Phibs | lol how do you ship a broke ass LTS | 03:36 |
Phibs | that was the same bug fixed in 12.04 | 03:36 |
histo | Phibs: not broken when I test | 03:44 |
Phibs | histo: weird, broken for me | 03:44 |
Phibs | adding GRUB_RECORDFAIL_TIMEOUT=5 to /etc/default/grub fixed it | 03:45 |
histo | where's is the fix released? | 03:49 |
histo | Why is that assigned to nobody? | 03:49 |
histo | silliness | 03:50 |
Phibs | its an old ticket but still seems to apply to 14.04 :( | 03:55 |
Phibs | cause it applied to 12.04 too | 03:56 |
Phibs | I dunno that whole grub setup ubuntu has for newer versions is horribad | 03:56 |
Phibs | esp for servers | 03:56 |
histo | yeah | 04:13 |
histo | appears that way.. how sad | 04:13 |
zartoosh | hi is it possible to install two instances of trusty (dual boot) on a disk in EFI mode? | 05:00 |
kaitanya | zartoosh: i can google. i have time :) | 05:31 |
kaitanya | zartoosh: dont even know what is EFI-mode | 05:31 |
kaitanya | :) | 05:31 |
kaitanya | zartoosh: okay. too hard for me because EFI is unknow for me | 05:34 |
kaitanya | zartoosh: u may wanna ask this also in #ubuntu | 05:34 |
histo | zartoosh: yes | 05:56 |
hgl | after i install dnsmasq, /etc/resolv.conf keeps pointing to 127.0.0.1. i wonder what might cause the link and how could i break it. | 05:57 |
ruben23 | hi guys i got a ubuntu server - is there any application where i can do snapshot for the whole system on a daily basis somehow..? | 05:57 |
histo | hgl: also try ##linux | 06:00 |
hgl | histo, k, thanks. | 06:00 |
frogblue | ruben23 you could do that with LVM | 06:01 |
frogblue | if you have set up LVM | 06:01 |
Voyage | Why do I see this after an upgrade: Forbidden You don't have permission to access / on this server. Apache/2.4.6 (Ubuntu) Server at localhost Port 80 | 06:02 |
ruben23 | can you give some guide how to do it..? | 06:03 |
frogblue | google for that, plenty of stuff available. start with LVM page | 06:04 |
frogblue | voyage is it a "simple" apache2 setting? | 06:04 |
Voyage | frogblue, simple? | 06:05 |
frogblue | nothing fancy you did after setting up aapache in the first place? | 06:05 |
Voyage | no, I had it working, just upgraded my ubuntu system. apache might have upgraded too. now it dont work | 06:05 |
frogblue | check if you need to reboot the server | 06:06 |
frogblue | cat /var/run/reboot-required.pkgs | 06:06 |
frogblue | or restart apache | 06:06 |
frogblue | sry not restart as it works | 06:07 |
frogblue | but no permission. have a look at the apache log | 06:07 |
Voyage | frogblue, did did the reboot. | 06:07 |
Voyage | frogblue, my site config. http://pastie.org/9349100 | 06:07 |
frogblue | /var/log/apache2/error.log and access.log | 06:07 |
frogblue | oh userdir | 06:08 |
frogblue | am not familiar with that | 06:08 |
frogblue | oh no sry no userdir, correct | 06:08 |
Voyage | 27.0.0.1 - - [03/Jul/2014:10:55:39 +0500] "GET / HTTP/1.1" 403 492 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0" | 06:09 |
Voyage | [Thu Jul 03 11:01:18.323257 2014] [authz_core:error] [pid 4136] [client 127.0.0.1:56387] AH01630: client denied by server configuration: /home/user1/www/apache/ | 06:09 |
Voyage | frogblue, no user dir? | 06:09 |
frogblue | forget userdir, you are not using them | 06:10 |
Voyage | you mean I should not user a user dir? | 06:10 |
frogblue | correct the documentroot to default and sse if it works | 06:10 |
frogblue | s/sse/see | 06:11 |
Voyage | well, it was working fine before. | 06:11 |
Voyage | ok | 06:11 |
frogblue | DocumentRoot /var/www/html | 06:11 |
frogblue | sudo service apache2 reload | 06:11 |
Voyage | can I just change the server configuration? | 06:12 |
frogblue | was working, all is in was :) | 06:12 |
frogblue | server config, if you tweaked it in anyway yes. my point is go back to basic then redo things to pinpoint where you are stuck | 06:12 |
frogblue | during the upgrade did it ask you if you wanted to overwrite some apache2 files? | 06:13 |
Voyage | i didnt override and kept the old ones | 06:15 |
frogblue | might be the probel then | 06:15 |
frogblue | problem | 06:15 |
frogblue | back up your /etc/apache2 folder and do a reinstall of apache2 and accept the change | 06:16 |
Voyage | hm. | 06:16 |
frogblue | cause obviously the upgrade can't have changed permissions on you user/folder | 06:16 |
frogblue | how do access (URL wise) your site? | 06:17 |
frogblue | http://localhost i presume | 06:17 |
Voyage | reinstall works | 06:21 |
frogblue | you accepted a change that time? | 06:21 |
Voyage | yes. localhost | 06:21 |
Voyage | yes | 06:21 |
Voyage | well, I purge removed and reinstalled. | 06:21 |
Voyage | nothing was asked any way | 06:21 |
frogblue | glad it is working now | 06:21 |
Voyage | well, it does not lets me make the dir as home//.. | 06:25 |
frogblue | huh? | 06:25 |
frogblue | leave 000-default untouched and make a vhost | 06:26 |
frogblue | then enable the new site | 06:26 |
frogblue | no hang on | 06:27 |
frogblue | it is working with 000-default. then you the default with new documentroot? | 06:27 |
frogblue | you tweak with... | 06:28 |
frogblue | you do a reload and it says what? | 06:28 |
frogblue | no bitching when it reloads? | 06:29 |
Voyage | yes | 06:31 |
Voyage | no errirs | 06:32 |
Voyage | errors | 06:32 |
frogblue | the http://localhost and still a permission problem? | 06:32 |
frogblue | s/the/then | 06:32 |
Voyage | hm. let me see | 06:32 |
frogblue | also apache2.4 directive are changing from apache2;2 | 06:33 |
frogblue | Order allow,deny | 06:34 |
frogblue | allow from all | 06:34 |
frogblue | is now Require all granted | 06:34 |
Voyage | so where should I put those lines? | 06:35 |
frogblue | first thing first. still a permission problem? | 06:36 |
Voyage | ya | 06:36 |
frogblue | check the permission of your dir | 06:36 |
Voyage | i cant make it in home dir | 06:36 |
Voyage | the default location works | 06:36 |
frogblue | revert 00-default to the default state. | 06:37 |
Voyage | then? | 06:38 |
frogblue | then sudo ln -s /home/user1/www/apache /var/www/html/test | 06:38 |
frogblue | sudo service reload to activate the change back in 000-default | 06:38 |
frogblue | http://localhost/test | 06:39 |
Voyage | ya but my site is hard linked to /home/user1/... | 06:39 |
Voyage | localhost/test will work. | 06:39 |
Voyage | but I cant | 06:39 |
Voyage | move files | 06:39 |
frogblue | man I don't understand what you are telling me, sry | 06:40 |
frogblue | but form what I hear, permission problems then look in the permission of your dir | 06:40 |
Voyage | permissions is 777 | 06:41 |
frogblue | that's a bit too much :) | 06:41 |
frogblue | well the only advice I can give you is to restart from the beginning and avance one step at a time until it doesn't work then you know what's wrong | 06:42 |
frogblue | get rid of hard links and whatsoever | 06:42 |
frogblue | ln -s is quite enough | 06:43 |
frogblue | http://httpd.apache.org/docs/2.4/upgrading.html | 06:44 |
Voyage | http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration | 06:46 |
Voyage | where should these configs go into? apache2.conf or 000-default.conf ? | 06:46 |
frogblue | you don't read what I write... | 06:46 |
Voyage | sorry. did I missed any thing? | 06:48 |
jpds | Voyage: /etc/apache2/sites-enabled/* | 06:49 |
frogblue | this also is changin in apache2 2.4 Options Indexes FollowSymLinks MultiViews | 06:49 |
frogblue | you need plus sign | 06:49 |
frogblue | Options -Indexes +FollowSymLinks +MultiViews | 06:49 |
Voyage | + sig for what? | 06:49 |
Voyage | where | 06:49 |
frogblue | well +Indexes in you case | 06:49 |
Voyage | wher do I need to put this | 06:49 |
frogblue | revert to default, read http://httpd.apache.org/docs/2.4/upgrading.html, make small changes at a time and you'll get there | 06:50 |
frogblue | and use vhost instead of 000-default | 06:51 |
frogblue | gotta split now | 06:51 |
Voyage | frogblue, can you please tell where to put this config lines? Order deny,allow | 06:52 |
Voyage | Deny from all | 06:52 |
Voyage | or what ever lines | 06:52 |
Voyage | in which config file/ | 06:52 |
jpds | Voyage: I already said: /etc/apache2/sites-enabled/* | 06:55 |
jpds | Voyage: Look for the <Location> or <Directory> options in there. | 06:55 |
Voyage | jpds, frogblue can you please tell where to put this config lines? Order deny,allow | 07:00 |
Voyage | <Voyage> Deny from all | 07:00 |
Voyage | <Voyage> or what ever lines | 07:00 |
Voyage | <Voyage> in which config file/ | 07:00 |
jpds | Voyage: ... | 07:02 |
Voyage | jpds, frogblue http://pastie.org/9349216 | 07:03 |
Voyage | jpds, that correct? | 07:24 |
Voyage | frogblue, jpds by the way, now I cant open .php pages. it just shows the php script.... despite i have installed php5. | 07:24 |
Voyage | jpds, frogblue | 07:37 |
Voyage | the forbidden dir case is solved though | 07:37 |
Voyage | I cant see apache 2.4 to see / recognise or even include php5 in its mods-available. I upgraded from 12.04 to 13.10. I have php5 installed. the apache guys referred me to this channel | 07:41 |
frogblue | well i assumed wrongly cause I ddin't ask that you were on 14.04. i should know better though... upgrade to 14.04 you have nothing to do with 13.10, it will only bring you problems | 07:43 |
=== vila_ is now known as vila | ||
=== ronator_ is now known as ronator | ||
=== IdleOne is now known as io | ||
pmatulis | morning | 11:10 |
zartoosh | histo you said yes to my answer, have you done it please? | 11:20 |
histo | zartoosh: yes it's trivial | 11:26 |
zartoosh | histo, thanks for getting back to me. I had done installation of 12.04 in non uefi mode. My main issue is the efi partition (fat32) gets corrupted, how did you manage that please? thx | 11:30 |
zartoosh | histo, the efi partition gets corrupted when I install the second instance of the trusty. | 11:30 |
histo | zartoosh: so you want one bios mode and one efi mode? | 11:33 |
zartoosh | histo: no I want both instantances to boot in efi mode. | 11:34 |
histo | zartoosh: okay install one, leave space on the drive, install two | 11:36 |
zartoosh | histo, yes but the both instance should share the same efi partition which mount on /boot/efi am I right? | 11:37 |
=== liam_ is now known as Guest45753 | ||
=== psivaa is now known as psivaa-lunch | ||
histo | zartoosh: yes | 12:12 |
histo | zartoosh: you only need one efi partition | 12:12 |
histo | zartoosh: What is the reason you want to dualboot ubuntu with ubuntu by the way? | 12:12 |
zartoosh | histo, thanks, we need to have a backup filesystem in our embedded system in case of filesystem corrutpion. | 12:35 |
zartoosh | histo, I will try this shorlty, then hopefully the grub.cfg will be populated correctly also. | 12:36 |
patdk-wk | normally, doing dual boot, or dual filesystems is easy | 12:48 |
patdk-wk | the hard part, is detecting when you need to use it | 12:48 |
=== psivaa-lunch is now known as psivaa | ||
jrwren | is there a way to tell which version cloudimg I'm running from within the image? | 13:26 |
hazmat | can an app armor profile for a process be modified during the process runtime? | 13:26 |
patdk-wk | hazmat, sure | 13:37 |
patdk-wk | they are loaded into the kernel, not the app | 13:37 |
patdk-wk | the app/fork/... just selects what profile it's running under | 13:37 |
actionparsnip | hey guys | 13:38 |
actionparsnip | got a server where users are reporting "slowness", is an iowait of 10% ok in a virtual server? | 13:38 |
YamakasY | this is strange, my servers don't get their nameserver anymore from dhcp | 13:47 |
gnuoy | jamespage, with the neutronclient I want to update, should I be trying to get that updated in debian and then pull it into ubuntu ? | 13:55 |
=== a1berto_ is now known as a1berto | ||
jamespage | gnuoy, direct in ubuntu | 14:08 |
actionparsnip | YamakasY: what if you rerequest DHCP manually? | 14:13 |
gnuoy | jamespage, two of the updates I'm after are stuck in proposed due to build failures caused by missing dependencies with seem to me to be resolved now. Is there a process for getting those builds retried ? | 14:31 |
=== ToBeFree is now known as ToBeAFK | ||
=== ToBeAFK is now known as ToBeFree | ||
=== hallyn_ is now known as hallyn | ||
lordievader | Good afternoon. | 15:42 |
tcarrondo | hi, lordievader | 15:50 |
=== Lcawte|Away is now known as Lcawte | ||
lordievader | Hey tcarrondo, how are you? | 15:51 |
tcarrondo | fine, you? | 15:52 |
lordievader | Doing good :) | 15:54 |
=== psivaa is now known as psivaa-afk | ||
aandy | hi, sorry if this is the wrong place to ask, but: i have an "embedded" linux i386 with no toolchain, so i'm looking for a dns daemon to run - which can be compiled static, and supports record types besides A. dnsd seemlingly only supports A, bind(named)/powerdns can not drop glibc dependencies (even with musl), and dnsmasq is promising but limited record types. any alternatives i'm not thinking of? thanks | 17:57 |
sarnold | aandy: djbdns, knot | 18:01 |
sarnold | aandy: (sorry, no idea if one or the other would be easier to install statically linked) | 18:01 |
aandy | sarnold: that's fine, i was just looking for names. thanks a lot :) | 18:02 |
sarnold | aandy: oh yes! nsd also :) | 18:02 |
ThKo | Hi guys, I’ve got an Ubuntu Server with 14.04 … Installed node.js , now looking for a way to install android sdk without eclipse… If I install only the SDK tools, my Server returns bei command „android“ only that SWT is missing…Any hints for me? | 18:33 |
=== alexisb is now known as alexisb_vac | ||
digs | I am running 14.04 on AWS and have php5 installed from the standard repos. I need to downgrade to 5.3.x (I would prefer .27) I have tried to target it with a version by doing apt-get install php5=5.3.27-1ubuntu4.2 but I get Version '5.3.27-1ubuntu4.2' for 'php5' was not found | 20:47 |
digs | [14:43] <digs> What do I need to do? | 20:47 |
digs | (I was in the wrong channel.) | 20:48 |
pmatulis | digs: wrong channel? | 21:01 |
Patrickdk | digs, well, if your using 14.04, only the one version is going be available | 21:02 |
digs | Patrickdk - I thought that may be the case. | 21:05 |
shinobi_one | I'm using AWS 14.04 Server AMI, I've logged in as the default ubuntu user, but I want to move his home directory to a different share, I created the directory, gave him the ownership, created a new user with sudo priviledges, logged in as the new user and tried to `usermod -dm /new/home ubuntu`, but i get "usermod: no changes" | 21:08 |
digs | So, my options are to use fastcgi and run two php versions or to start from scratch and setup a 13.10 from a community AIM. | 21:08 |
shinobi_one | Anyone know what might cause this? | 21:08 |
Patrickdk | digs, why would you use 13.10? that goes unsupported soon | 21:09 |
digs | I don't see any other choice available except to fight a source install of 5.3.x and run two versions. | 21:09 |
Patrickdk | your just going have to loose support, and either live with 12.04, or use 14.04 and install php yourself from source | 21:09 |
Patrickdk | well, yes, if you want to pinpoint versions | 21:10 |
Patrickdk | there is no way ubuntu can support every version of software on ever release | 21:10 |
digs | I wouldn't expect them to. | 21:10 |
Patrickdk | 5.3 is so old though | 21:11 |
digs | It's not anyones fault we have drupal6 running but our own. | 21:11 |
Patrickdk | not sure why you would want to install something new today using it | 21:11 |
digs | I don't want to... I loath the idea. | 21:11 |
Patrickdk | well, use 12.04 then | 21:12 |
digs | But I am forced to do so by constraints out of my control. | 21:12 |
shinobi_one | I will specify that `usermod -d /path/to/new/home -m ubuntu` also gives the same response. | 21:12 |
Patrickdk | you will get 3more years support | 21:12 |
Patrickdk | that is your best bet | 21:12 |
digs | okay. | 21:12 |
digs | Thanks for the info Patrickdk | 21:12 |
Patrickdk | I think 13.10 has 6more months left | 21:12 |
digs | I guess I get to get better at setting these up heh. I had it all running smooth with varnish, memcache and backup scripts. ahh well. | 21:13 |
digs | it's my fault. | 21:13 |
Patrickdk | I personally wonder what breaks in drupal 6 :) | 21:14 |
shinobi_one | Is there anyone around that uses Ubuntu on AWS? | 21:16 |
Patrickdk | !poll | 21:17 |
Patrickdk | stupid bot | 21:18 |
shinobi_one | Better question, has anyone tried moving the first created user's home directory in Ubuntu? lol | 21:18 |
jhobbs | :q | 21:19 |
jhobbs | doh | 21:19 |
Patrickdk | what is a first created users home directory? | 21:19 |
shinobi_one | The first account created's home directory on the server | 21:19 |
shinobi_one | so let's say account name is ubunt it would be /home/ubuntu | 21:20 |
shinobi_one | ubuntu* | 21:20 |
Patrickdk | rm -rf /home/ubuntu works well :) | 21:20 |
shinobi_one | uh | 21:20 |
shinobi_one | i'm trying ot move it not remove it lol | 21:20 |
Patrickdk | then move it | 21:20 |
shinobi_one | uh | 21:20 |
Patrickdk | mv /home/ubuntu /.... | 21:20 |
shinobi_one | it doesn't quite work that way | 21:20 |
Patrickdk | since when? | 21:21 |
Patrickdk | it does on my ubuntu servers | 21:21 |
Patrickdk | and aws has nothign to do with it | 21:21 |
shinobi_one | isn't there information about where the home directory for the user is stored in places? | 21:21 |
Patrickdk | why do you think this is an aws question? | 21:21 |
shinobi_one | it's not i dropped the AWS thing | 21:21 |
Patrickdk | yes, in /etc/passwd | 21:21 |
shinobi_one | so you're saying since usermod apparently hates me, i should move it by hand and edit /etc/passwd by hand? | 21:22 |
Patrickdk | why does usermod hate you? | 21:22 |
shinobi_one | because although it changed /etc/passwd to the new home directory | 21:22 |
Patrickdk | and I thought usermod would only update the passwd file not move the user directory | 21:22 |
Patrickdk | but I dunno | 21:22 |
shinobi_one | it's not moving over the files in /home/ubuntu to /new/home/ubuntu | 21:22 |
shinobi_one | it does with the -m option | 21:23 |
shinobi_one | If the -m option is given, the contents of the current home directory will be moved to the new home | 21:23 |
shinobi_one | directory, which is created if it does not already exist. | 21:23 |
shinobi_one | therefore, `usermod -d /new/home/ubuntu -m ubuntu` should move it all over | 21:23 |
shinobi_one | i realize i can move it by hand, i'm just curious if other's have run into this as well | 21:24 |
shinobi_one | Okay, apparently it will work if the directory doesn't already exist. | 21:27 |
shinobi_one | Which it does not say in the man page, oh well. | 21:27 |
RoyK | 22:36 | |
=== esde is now known as Guest23543 | ||
=== Lcawte is now known as Lcawte|Away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!