[01:16] <rostam> HI I am using 12.04 LTS there is no /etc/apt/apt.conf, ??
[01:17] <jkitchen> make one
[01:17] <jkitchen> or use apt.conf.d
[01:17] <sarnold> rostam: feel free to put what you need into one, or a file under /etc/apt/apt.conf.d/
[01:18] <rostam> This is for apt-cacher-ng configuration ..
[01:18] <sarnold> rostam: yikes
[01:18] <rostam> sarnold,  why?
[01:19] <sarnold> rostam: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1234946
[01:19] <sarnold> rostam: strongly recommend you use squid-deb-proxy instead
[01:19] <sarnold> (it's faster, too :)
[01:19] <rostam> sarnold,  thank you  so much I will use that then
[01:20] <sarnold> have fun :)
[02:59] <embiopterid> sarnold: jeeze I was about to use apt-cacher, cuz I have 3 ubuntu vms and 3 debian vms just right now, and I'm sure I'm not the only one annoyed by the waste of bandwidth.  Thx dude.
[03:49] <sarnold> embiopterid: amen; I've got piles of VMs and schroots for building packages; having a local cache or local archive mirror is the only way I can get things done, so when apt-cacher-ng suddenly stopped working for me, it was -miserable-
[03:50] <sarnold> embiopterid: .. and you can guess how horrible it was to figure out that a cache that had worked fine for three or four releases was suddenly corrupting files.. *sigh* oh well, squid-deb-proxy works better, and though I miss the awesome apt-cacher-ng stats page, squid Just Works. So hooray. :)
[05:49] <embiopterid> I guess I'll just throw that in another vm so I don't have to reconfigure anything that's working already.  I usually try do do it that way, but I just set this thing up.  Some of this new hardware has some serious issues, what a pain.  I'm still waiting for the kernel dev team to get iommu working along with my stupid marvel sata card and my dual pcie dual-port ethernet card but at least I'm not having spontaneos reboots any
[05:49] <embiopterid> more.  I'f it wasn't mine I'd just scrap it and start over with new hardware but I'm cheap and don't have that kind of money :\
[06:10] <SiliconG> Hello all -
[06:11] <SiliconG> I am trying to build php5.4.23
[06:11] <SiliconG> and I am getting a really strange error I dont understand
[06:11] <SiliconG> collect2: ld returned 1 exit status
[06:11] <SiliconG> make: *** [libphp5.la] Error 1
[06:11] <SiliconG> any of you seen this?
[06:12] <SiliconG> here is the complete error
[06:12] <SiliconG> http://pastebin.com/jXWgZ1bz
[06:45] <cfhowlett> !php
[08:36] <misterjinx> hello, has this happened to anyone before http://serverfault.com/q/568125/39795 ? I don't know what to do to solve the problem.
[08:46] <TJ-> misterjinx: Obviously you need to find out if the "Broken" entries in the upgrade-log are current or historic, and if they are current, to look at a specimen package from that log and see what its installed version is, and what the current Ubuntu archive version is (see packages.ubuntu.com) to identify if that system is behind the times or otherwise confused
[08:47] <misterjinx> TJ-: I tried to update some of the packages from there but on each one I get that it is up to date, that it is already the newest version
[08:48] <misterjinx> what means that the system is confused ? what can I do to "fix" it ?
[08:49] <TJ-> OK.... so is that log file a result of the latest "do-release-upgrade" - when it is attempting to go from 12.10 to 13.04 ?
[08:49] <misterjinx> yes
[08:50] <TJ-> Have you checked you have the latest version of "do-release-upgrade", which is in the package "ubuntu-release-upgrader-core"
[08:51] <misterjinx> I checked now, it tells me it is already the newest version
[08:53] <TJ-> OK.. so when you run "sudo do-release-upgrade" what does it say it is going to do? because the 2 screenshots you've posted show it trying to fetch package lists for both raring and quantal? if it does that then you've got some out-of-date entries in the APT sources lists
[08:54] <TJ-> if do-release-upgrade breaks it can sometimes have replaced the "current" release name with the "target" release name in the sources lists, and you have to manually edit those back to the current release name
[08:55] <misterjinx> in the sources.lst there are four entries that specify the release name "quantal"
[08:56] <TJ-> OK ... how about in /etc/apt/sources.list.d/*
[08:58] <hXm> hi
[08:58] <hXm> what is the best (or easier configure) imap server?
[08:59] <misterjinx> TJ-: to answer your first question, when I run do-release-upgrade it starts with "Checking for a new Ubuntu release; Get:1 Upgrade tool signature; Get2: Upgrade tool; Fetched ...; authenticate 'raring.tar.gz' against 'raring.tar.gz.gpg'; extracting 'raring.tar.gz' and then it switches to a new screen when it starts to fetch repositories and so on
[09:00] <misterjinx> TJ-: and inside /etc/apt/sources.list.d/ there are 2 files: izx-ovz-libc-precise.list and izx-ovz-libc-precise.list.distUpgrade
[09:00] <TJ-> OK, that looks good then... it doesn't look like it is too confused!
[09:01] <misterjinx> inside first file there are two lines: 'deb http://ppa.launchpad.net/izx/ovz-libc/ubuntu precise main # disabled on upgrade to quantal
[09:01] <misterjinx> and deb-src http://ppa.launchpad.net/izx/ovz-libc/ubuntu precise main # disabled on upgrade to quantal
[09:01] <misterjinx> I think they have to do with OpenVZ
[09:01] <misterjinx> and libc6 (I read something about it on the web)
[09:02] <misterjinx> to mention that after the first upgrade (from 12.04 to 12.10) these lines were commented
[09:02] <TJ-> misterjinx: Check that "izx-ovz-libc-precise.list" make sure any "deb" lines are commented out.... That "ovz" suggests to me that the VPS is a Virtuosso/OpenVZ based system... and I'd hazard a guess your ISP has its own custom Ubuntu repositories, and is somehow interfering with the HTTP fetch to the ubuntu servers, possibly using a transparent proxy
[09:02] <misterjinx> TJ-: after I did the first upgrade, indeed, the deb lines were commented out
[09:03] <misterjinx> but I uncommented them thinking that perhas that was the problem
[09:03] <TJ-> misterjinx: Well, those references in that file to "precise" are wrong for starters, so they ought to be disabled
[09:03] <misterjinx> turned out that even I uncommented them the upgrade still fails
[09:04] <misterjinx> ok, I will disable them again
[09:05] <misterjinx> TJ-: thanks for your time, btw
[09:05] <TJ-> That system does have full Internet access doesn't it? If so, rerun do-release-upgrade and capture its output to a pastebin so we can read it
[09:07] <misterjinx> when I ping google.com, for instance, I receive back responses. I'll try to capture the output, but don't know if I will be able to catch it all since it is kinda long
[09:11] <TJ-> Redirect it to a log-file "do-release-upgrade 2>&1 | tee /tmp/dru-01.log"
[09:11] <misterjinx> ok, in a minute
[09:23] <misterjinx> TJ-: I cannot capture the correct output. when I run the do-release-upgrade command it outputs four lines (http://pastebin.com/fQrz5Uad) and then switches to another screen, whos output I cannot capture; to get back to the command line I have to press 'x' when the upgrade finishes (in order to detach the window)
[09:24] <misterjinx> and that output is lost :(
[09:24] <TJ-> I'll fix yours... if you can fix mine ... 2 runs of md5sum on the same 1TB backup gave different results :O
[09:25] <TJ-> Grrrr... OK, we'll have to look at the log-file d-r-u created in /var/log/dist-upgrade/
[09:26] <misterjinx> in a minute, I have there a file screnlog.0 that has the output
[09:27] <TJ-> misterjinx: OK :)
[09:36] <misterjinx> TJ-: here it is, sorry for waiting http://pastebin.com/BR7pB1JA
[09:51] <TJ-> misterjinx: "E:Unable to correct problems, you have held broken packages"
[09:51] <TJ-> misterjinx: So what does "apt-get -f install" say/do ?
[10:01] <misterjinx> TJ-: apt-get -f install doesn't do anything: '0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded'
[10:02] <TJ-> misterjinx: how about "apt-get dist-upgrade" ?
[10:03] <misterjinx> TJ-: the response is the same
[10:10] <TJ-> misterjinx: take a look in /var/log/dist-upgrade/  in case there are more detailed logs available
[10:10] <TJ-> misterjinx: it has got itself confused somehow
[10:14] <misterjinx> TJ-: now I was thinkinh, could this problem be related to some dhcp6client (or something like that) package ? I remember that during the first upgrade this was the only package that asked me something, the interface to use, and I left the field blank (didn't know the interface). I think it disabled something because of this. could this be causing the upgrade error by any chance ?
[10:17] <TJ-> misterjinx: If there were any package issues, apt-get should show them
[10:17] <misterjinx> yes, you're right
[10:19] <misterjinx> TJ-: well, unfortunately I don't know if there is a solution to my problem. I now see myself forced to reinstall the machine :(. thanks again for your support
[10:19] <TJ-> misterjinx: the only time I've seen something like this is when there is a local (network) cache or proxy repository held by the ISP where the packages aren't the versions in the Ubuntu archives.
[10:20] <misterjinx> could be, don't knnw exactly
[10:20] <misterjinx> *know
[10:26] <ExoFlame> hello
[10:38] <xnc> can someone help me a little with ssl on apache2
[10:39] <bekks> xnc: That depends on your problem.
[10:39] <xnc> i have installed ssl and trying to make it work on my webpage
[10:39] <bekks> "installed ssl" - what exactly does that mean?
[10:39] <xnc> made certificate and using ssl on apache2
[10:40] <xnc> on port 443
[10:40] <xnc> but its not encrypted
[10:40] <xnc> i have also configured enabled page in apache2/sites-enabled
[10:40] <xnc> to use ssl
[10:40] <xnc> as domain im using ip
[10:41] <xnc> seems like its running ok but it yet doesnt use ssl its something thats missing
[10:41] <xnc> [Sat Jan 18 10:29:22.802313 2014] [ssl:warn] [pid 7011:tid 140247411410816] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[10:41] <xnc> [Sat Jan 18 10:29:22.918665 2014] [ssl:warn] [pid 7012:tid 140247411410816] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[10:42] <xnc> [Sat Jan 18 10:29:22.922304 2014] [mpm_event:notice] [pid 7012:tid 140247411410816] AH00489: Apache/2.4.6 (Ubuntu) OpenSSL/1.0.1e configured -- resuming normal operations
[10:42] <xnc> [Sat Jan 18 10:29:22.922507 2014] [core:notice] [pid 7012:tid 140247411410816] AH00094: Command line: '/usr/sbin/apache2'
[10:42] <bekks> !pastebin
[10:55] <TJ-> xnc "BasicConstraints: CA == TRUE !?" ... says you've installed a CA cert, not a server cert
[10:55] <xnc> hm
[10:55] <xnc> what's the difference?
[10:55] <TJ-> xnc: To test a TLS/SSL connection, use "openssl s_client -connect host:port"
[10:56] <xnc> did it
[10:56] <xnc> what should i look for
[10:56] <TJ-> xnc: you need to do some basic research if you don't know that, for your own safety. CAs are root authorities.
[10:57] <xnc> but im trying to learn:P
[10:57] <TJ-> xnc: "s_client" will give you details of the connection and the certificate(s) being presented by the server
[10:57] <xnc> okey
[10:58] <TJ-> xnc: see http://httpd.apache.org/docs/2.2/ssl/ssl_intro.html
[10:59] <xnc> seems like it a well informed page
[10:59] <xnc> but i cant just read all the time
[10:59] <xnc> but thanks man
[10:59] <xnc> for the help
[11:04] <Diegonat> hello guys... I have a problem with my email server. I hope you can help me. Whenever I try to send an email trough my email server to a gmail account I receive this error message: The IP you're using to send mail is not
[11:04] <Diegonat>     authorized to 550-5.7.1 send email directly to our servers.     <-- However, I think that my dns config is fine. What can I do to fix it?? Can you help me?
[11:08] <TJ-> Diegonat: check with Google, it is their server refusing the connection
[11:11] <Diegonat> TJ i dont know how
[13:53] <LongCatTH> I upgraded kernel from 3.8.0-31-generic to 3.11.0-14-generic, then some modules are missing
[13:55] <LongCatTH> from this https://gist.github.com/anonymous/b3932f7a9939c911b23d to this https://gist.github.com/anonymous/2507fe12abc12fa4eb98
[13:56] <LongCatTH> Im tried to enable them using modprobe but it's say can't find those modules
[15:45] <James_Epp> In my server I SSH'd as root. (I have earlier done a 'sudo passwd') After this I edited crontab and appended the line “0 2 * * * exec ‘/root/updates.sh’”. The contents of updates.sh are found here (http://pastebin.com/fjLdcLqy). However, after a week I SSH'd back into the box and it said there were required updates. I performed them by doing exec /root/updates.sh and it worked perfectly. Why isn't my schedule working?
[16:09] <Shapeshifter> Hi. Is there really no ssh client available on the ubuntu server install medium? I went to TTY2, looking around, but there's really not much there to do diagnostics etc.
[16:19] <hitsujiTMO> shadeslayer: the livecd would be better for diagnostics
[16:19] <hitsujiTMO> Shapeshifter: ^
[16:20] <shadeslayer> or just check the manifest
[16:40] <Meistarin> I need to install vnc on my ubuntu server, I really cant get it to work somehow, is vnc even compilable with ubuntu server ?
[16:54] <TJ-> shadeslayer: openssh-server is an option at install-time, otherwise you have to install it later yourself
[16:55] <TJ-> Meistarin: vnc is for X-windows ... if the server isn't running an X server you would use an ssh client
[17:20] <Shapeshifter> hitsujiTMO: thanks. honestly I find it odd that the install medium doesn't ship with basic diagnostic tools and does not offer to install them ad-hoc.
[18:19] <aegis> Hi all, any ideas on how I can get a local machine to be able to send mail via another local machine running postfix (with an outside connection to my ISP smtp server)?
[18:39] <TJ-> aegis: using postfix you can configure it for that, one forwarding all mail to the other
[18:41] <aegis> TJ-: So, as a quick fix, I just got the localhost to use 'sendmail' and it seems to be working fine now...
[18:41] <joshu> hi when I try to run sudo apt-get update on 8.04 I get a lot of 404 not found. I haven't made any manual changes to the source.list. Any reason for this?
[18:41] <TJ-> joshu: is 8.04 still suported?
[18:42] <joshu> TJ- no idea...this is an old mail server running zimbra
[18:42] <TJ-> The packages will have been removed from archive.ubuntu.com
[18:42] <joshu> TJ- OH shit..
[18:42] <TJ-> joshu: you'll need to change the /etc/apt/sources.list to point instead to "old-releases.ubuntu.com"
[18:43] <joshu> TJ- so 8.04 no longer gets security updates?
[18:43] <TJ-> joshu: https://wiki.ubuntu.com/LTS
[18:44] <joshu> TJ- thanks
[18:44] <ExoFlame> hello im geting this error anybody know why?
[18:45] <ExoFlame> ln -s /usr/lib/openssh/sftp-server /home/lighting/yourwebsite/
[18:45] <ExoFlame> ln: target `/home/lighting/yourwebsite/' is not a directory: No such file or directory
[19:06] <andol> ExoFlame: What on earth are you trying to accomplish?
[19:10] <Patrickdk> looks like break his server security
[19:10] <Patrickdk> and probably attempting to do chroot
[19:13] <mmpresti_> hello
[19:13] <mmpresti_> ls
[19:13] <mmpresti_> cd
[19:14] <mmpresti_> 1
[19:56] <miseria> "charlando con un arbol pregunte: porque tenia el cerebro enterrado? responde: la mision es proteger la tierra" bienvenidos: http://castroruben.com *temo_a_un_ser_sin_rival*
[22:39] <g0tcha> heya guys, can someone help me out setting up a weekly backup for my ubuntu server by any chance?
[22:40] <bekks> !backup | g0tcha
[22:40] <g0tcha> thanks bekks.. what do you suggest?
[22:41] <bekks> g0tcha: I suggest reading the links given.
[22:41] <g0tcha> bekks, ok.. do all of these methods support backing up the machine while its running?
[22:41] <bekks> g0tcha: No, thats why it is required to read them.
[22:42] <g0tcha> bekks, if none of them supports backing up a system while its running, whats the point of reading them?
[22:42] <g0tcha> im asking out of curiousity, not to be mean or anything
[22:42] <RoyK> backup is for cowards - real men know their data never dies :D
[22:43] <bekks> I did not say "none are supporting online backups", I said "no, not every solution supports it".
[22:43] <g0tcha> RoyK, strange world youre living in
[22:43] <g0tcha> bekks, can you at least specify which one?
[22:43] <RoyK> g0tcha: ever heard the word "irony"? ;)
[22:44] <bekks> g0tcha: Well, I dont know your backup requirements and constraints, so you have to choose the solution that fits best.
[22:45] <ddsss> Ubuntu 12.04 lts server. Fdisk says 4TB, I mount it  from fstab -> but then df -h says 2TB ???  mistery. any help?
[22:45] <g0tcha> bekks, thanks for the links, but i really dont need to read each one of them if 90% i do not need
[22:45] <bekks> g0tcha: It's your choice then.
[22:45] <RoyK> ddsss: what sort of fs?
[22:45] <g0tcha> ops, i had my window scrolled up
[22:45] <g0tcha> ignore what i wrote
[22:45] <ddsss> RoyK, here's the commands output: http://paste.ubuntu.com/6776851/
[22:45] <ddsss> RoyK, ext4
[22:46] <g0tcha> bekks, whati need is simply to backup the whole system and not just the home directory of the user
[22:46] <hitsujiTMO> ddsss: ubuntu 32bit by anychance?
[22:46] <bekks> g0tcha: Then read the links.
[22:46] <g0tcha> lol
[22:46] <RoyK> ddsss: some partition tables don't support >2TB
[22:46] <RoyK> ddsss: better don't use partitions
[22:46] <g0tcha> why dont you just point the one that fits me the most since you already know them all?
[22:47] <bekks> ddsss: MBR partitions tables do not support partitions > 2TB. Use GPT.
[22:47] <ddsss> hitsujiTMO,   stan@linsrv:~$ uname -a
[22:47] <ddsss> Linux linsrv 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[22:47] <bekks> g0tcha: Because I am not the one who will read the links given for you.
[22:47] <g0tcha> bekks, why dont you just point the one that fits me the most since you already know them all?
[22:47] <RoyK> ddsss: just don't use partitions with LVM
[22:47] <g0tcha> bekks, ah ok, i guess i assumed you knew about each method in those links
[22:47] <RoyK> ddsss: just use the whole drive
[22:47] <g0tcha> anyone else that might shine more details for a noob?
[22:48] <bekks> g0tcha: Why dont you start reading the links?
[22:48] <hitsujiTMO> ddsss: pastebin the output of: sudo gdisk -l /dev/sdX
[22:48] <ddsss> bekks, so the poblem is in MBR partition type. Can I also jsut use the whole drive as RoyK  says?
[22:48] <bekks> ddsss: Sure.
[22:49] <g0tcha> bekks, i already read 2 of those links before coming here to ask and they seemed complicated
[22:49] <g0tcha> i rather focus my reading on a method that i know would work for me and learn that
[22:49] <bekks> g0tcha: There is no "easy" full backup.
[22:49] <g0tcha> bekks, uh, trust me, from the search ive been doing, i know that for a fact
[22:49] <g0tcha> that there is no easy way of doing it
[22:49] <ddsss> hitsujiTMO, http://paste.ubuntu.com/6776882/
[22:50] <bekks> g0tcha: Then start reading, as a fact. Start to get into the issue of "a full backup" instead of searching for a copy&paste method.
[22:50] <TJ-> g0tcha: for whole-system online you need snapshots... so maybe LVM-based system ?
[22:50] <RoyK> ddsss: if the plan is to use a 4TB drive with LVM, just create a new PV on that drive
[22:50] <hitsujiTMO> ddsss: there's your problem, mbr partition instead of gpt
[22:51] <ddsss> hitsujiTMO, daaamn.   do u know by any chance if there is a way to change it in-place?
[22:51] <g0tcha> TJ-, this is for the server i have here at home and not for a remote system though
[22:51] <g0tcha> bekki, i didnt ask for a copy/paste way of doing it
[22:51] <bekks> g0tcha: Anyways, you have been given the starting points for further research.
[22:52] <hitsujiTMO> ddsss: http://askubuntu.com/questions/84501/how-can-i-change-convert-a-ubuntu-mbr-drive-to-a-gpt-and-make-ubuntu-boot-from
[22:52] <ddsss> RoyK, i only use lvm on OS drive there. (there are 4 hdds in the system, others 3 are just mounted)
[22:52] <RoyK> ddsss: I use lvm for all sorts
[22:52] <RoyK> that is, lvm for the root and var and so on
[22:53] <RoyK> and lvm on top of the md raid
[22:54] <g0tcha> bekks, one last question then, in your opinion, to run a full backup of a running system, what would you do? just generally speaking, not a 1.2.3 steps
[22:55] <bekks> g0tcha: I'd create a full backup with my tool of choice, based on my particular requirements, constraints knowledge.
[22:55] <g0tcha> bekks, i have to ask, what is your tool of choice?
[22:56] <bekks> "based on my particular requirements, constraints and knowledge".
[22:57] <g0tcha> heheh to be honest, i dont understand why youre being so cryptic about this
[23:01] <hitsujiTMO> !wfm | g0tcha this would be why
[23:01] <androidbruce> hey guys i'm going an install and i'm wondering if it is hung or working
[23:01] <androidbruce> got a good signature from Ubuntu Archive
[23:02] <androidbruce> now it says ini: starting pid 390. tty '/dev/tty2' " -/bin/sh'
[23:04] <androidbruce> strike that it's moving along
[23:16] <g0tcha> thanks for all the help