[01:16] HI I am using 12.04 LTS there is no /etc/apt/apt.conf, ?? [01:17] make one [01:17] or use apt.conf.d [01:17] rostam: feel free to put what you need into one, or a file under /etc/apt/apt.conf.d/ [01:18] This is for apt-cacher-ng configuration .. [01:18] rostam: yikes [01:18] sarnold, why? [01:19] rostam: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1234946 [01:19] Launchpad bug 1234946 in apt-cacher-ng ""Size mismatch" caused by writing wrong data" [Undecided,Confirmed] [01:19] rostam: strongly recommend you use squid-deb-proxy instead [01:19] (it's faster, too :) [01:19] sarnold, thank you so much I will use that then [01:20] have fun :) === peter is now known as Guest9618 [02:59] 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] 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] 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. :) === wickedpuppy2 is now known as wickedpuppy [05:49] 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] 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] Hello all - [06:11] I am trying to build php5.4.23 [06:11] and I am getting a really strange error I dont understand [06:11] collect2: ld returned 1 exit status [06:11] make: *** [libphp5.la] Error 1 [06:11] any of you seen this? [06:12] here is the complete error [06:12] http://pastebin.com/jXWgZ1bz [06:45] !php [06:45] PHP is an HTML-embedded scripting language. A command-line only version can be installed in Ubuntu with the "php5-cli" package. See also !lamp for integrated server PHP. The Ubuntu server PHP5 guide is found at https://help.ubuntu.com/12.04/serverguide/C/php5.html [08:36] 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] 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] 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] what means that the system is confused ? what can I do to "fix" it ? [08:49] 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] yes [08:50] Have you checked you have the latest version of "do-release-upgrade", which is in the package "ubuntu-release-upgrader-core" [08:51] I checked now, it tells me it is already the newest version [08:53] 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] 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] in the sources.lst there are four entries that specify the release name "quantal" [08:56] OK ... how about in /etc/apt/sources.list.d/* [08:58] hi [08:58] what is the best (or easier configure) imap server? [08:59] 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] 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] OK, that looks good then... it doesn't look like it is too confused! [09:01] 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] and deb-src http://ppa.launchpad.net/izx/ovz-libc/ubuntu precise main # disabled on upgrade to quantal [09:01] I think they have to do with OpenVZ [09:01] and libc6 (I read something about it on the web) [09:02] to mention that after the first upgrade (from 12.04 to 12.10) these lines were commented [09:02] 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] TJ-: after I did the first upgrade, indeed, the deb lines were commented out [09:03] but I uncommented them thinking that perhas that was the problem [09:03] misterjinx: Well, those references in that file to "precise" are wrong for starters, so they ought to be disabled [09:03] turned out that even I uncommented them the upgrade still fails [09:04] ok, I will disable them again [09:05] TJ-: thanks for your time, btw [09:05] 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] 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] Redirect it to a log-file "do-release-upgrade 2>&1 | tee /tmp/dru-01.log" [09:11] ok, in a minute [09:23] 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] and that output is lost :( [09:24] I'll fix yours... if you can fix mine ... 2 runs of md5sum on the same 1TB backup gave different results :O [09:25] Grrrr... OK, we'll have to look at the log-file d-r-u created in /var/log/dist-upgrade/ [09:26] in a minute, I have there a file screnlog.0 that has the output [09:27] misterjinx: OK :) [09:36] TJ-: here it is, sorry for waiting http://pastebin.com/BR7pB1JA [09:51] misterjinx: "E:Unable to correct problems, you have held broken packages" [09:51] misterjinx: So what does "apt-get -f install" say/do ? [10:01] TJ-: apt-get -f install doesn't do anything: '0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded' [10:02] misterjinx: how about "apt-get dist-upgrade" ? [10:03] TJ-: the response is the same [10:10] misterjinx: take a look in /var/log/dist-upgrade/ in case there are more detailed logs available [10:10] misterjinx: it has got itself confused somehow [10:14] 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] misterjinx: If there were any package issues, apt-get should show them [10:17] yes, you're right [10:19] 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] 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] could be, don't knnw exactly [10:20] *know [10:26] hello [10:38] can someone help me a little with ssl on apache2 [10:39] xnc: That depends on your problem. [10:39] i have installed ssl and trying to make it work on my webpage [10:39] "installed ssl" - what exactly does that mean? [10:39] made certificate and using ssl on apache2 [10:40] on port 443 [10:40] but its not encrypted [10:40] i have also configured enabled page in apache2/sites-enabled [10:40] to use ssl [10:40] as domain im using ip [10:41] seems like its running ok but it yet doesnt use ssl its something thats missing [10:41] [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] [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] [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] [Sat Jan 18 10:29:22.922507 2014] [core:notice] [pid 7012:tid 140247411410816] AH00094: Command line: '/usr/sbin/apache2' [10:42] !pastebin [10:42] 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. [10:55] xnc "BasicConstraints: CA == TRUE !?" ... says you've installed a CA cert, not a server cert [10:55] hm [10:55] what's the difference? [10:55] xnc: To test a TLS/SSL connection, use "openssl s_client -connect host:port" [10:56] did it [10:56] what should i look for [10:56] xnc: you need to do some basic research if you don't know that, for your own safety. CAs are root authorities. [10:57] but im trying to learn:P [10:57] xnc: "s_client" will give you details of the connection and the certificate(s) being presented by the server [10:57] okey [10:58] xnc: see http://httpd.apache.org/docs/2.2/ssl/ssl_intro.html [10:59] seems like it a well informed page [10:59] but i cant just read all the time [10:59] but thanks man [10:59] for the help [11:04] 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] 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] Diegonat: check with Google, it is their server refusing the connection [11:11] TJ i dont know how === fire is now known as ffio === freeflying is now known as freeflying_away [13:53] I upgraded kernel from 3.8.0-31-generic to 3.11.0-14-generic, then some modules are missing [13:55] from this https://gist.github.com/anonymous/b3932f7a9939c911b23d to this https://gist.github.com/anonymous/2507fe12abc12fa4eb98 [13:56] Im tried to enable them using modprobe but it's say can't find those modules [15:45] 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] 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] shadeslayer: the livecd would be better for diagnostics [16:19] Shapeshifter: ^ [16:20] or just check the manifest [16:40] I need to install vnc on my ubuntu server, I really cant get it to work somehow, is vnc even compilable with ubuntu server ? === bitnumus is now known as Guest29255 [16:54] shadeslayer: openssh-server is an option at install-time, otherwise you have to install it later yourself [16:55] Meistarin: vnc is for X-windows ... if the server isn't running an X server you would use an ssh client [17:20] 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] 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] aegis: using postfix you can configure it for that, one forwarding all mail to the other [18:41] TJ-: So, as a quick fix, I just got the localhost to use 'sendmail' and it seems to be working fine now... === aarcane_ is now known as aarcane [18:41] 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] joshu: is 8.04 still suported? [18:42] TJ- no idea...this is an old mail server running zimbra [18:42] The packages will have been removed from archive.ubuntu.com [18:42] TJ- OH shit.. [18:42] joshu: you'll need to change the /etc/apt/sources.list to point instead to "old-releases.ubuntu.com" [18:43] TJ- so 8.04 no longer gets security updates? [18:43] joshu: https://wiki.ubuntu.com/LTS [18:44] TJ- thanks [18:44] hello im geting this error anybody know why? [18:45] ln -s /usr/lib/openssh/sftp-server /home/lighting/yourwebsite/ [18:45] ln: target `/home/lighting/yourwebsite/' is not a directory: No such file or directory [19:06] ExoFlame: What on earth are you trying to accomplish? [19:10] looks like break his server security [19:10] and probably attempting to do chroot [19:13] hello [19:13] ls [19:13] cd [19:14] 1 === fire is now known as ffio [19:56] "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] heya guys, can someone help me out setting up a weekly backup for my ubuntu server by any chance? [22:40] !backup | g0tcha [22:40] g0tcha: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup and !cloning [22:40] thanks bekks.. what do you suggest? [22:41] g0tcha: I suggest reading the links given. [22:41] bekks, ok.. do all of these methods support backing up the machine while its running? [22:41] g0tcha: No, thats why it is required to read them. [22:42] bekks, if none of them supports backing up a system while its running, whats the point of reading them? [22:42] im asking out of curiousity, not to be mean or anything [22:42] backup is for cowards - real men know their data never dies :D [22:43] I did not say "none are supporting online backups", I said "no, not every solution supports it". [22:43] RoyK, strange world youre living in [22:43] bekks, can you at least specify which one? [22:43] g0tcha: ever heard the word "irony"? ;) [22:44] g0tcha: Well, I dont know your backup requirements and constraints, so you have to choose the solution that fits best. [22:45] Ubuntu 12.04 lts server. Fdisk says 4TB, I mount it from fstab -> but then df -h says 2TB ??? mistery. any help? [22:45] bekks, thanks for the links, but i really dont need to read each one of them if 90% i do not need [22:45] g0tcha: It's your choice then. [22:45] ddsss: what sort of fs? [22:45] ops, i had my window scrolled up [22:45] ignore what i wrote [22:45] RoyK, here's the commands output: http://paste.ubuntu.com/6776851/ [22:45] RoyK, ext4 [22:46] bekks, whati need is simply to backup the whole system and not just the home directory of the user [22:46] ddsss: ubuntu 32bit by anychance? [22:46] g0tcha: Then read the links. [22:46] lol [22:46] ddsss: some partition tables don't support >2TB [22:46] ddsss: better don't use partitions [22:46] why dont you just point the one that fits me the most since you already know them all? [22:47] ddsss: MBR partitions tables do not support partitions > 2TB. Use GPT. [22:47] hitsujiTMO, stan@linsrv:~$ uname -a [22:47] 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 === yctn is now known as ws2k3 [22:47] g0tcha: Because I am not the one who will read the links given for you. [22:47] bekks, why dont you just point the one that fits me the most since you already know them all? [22:47] ddsss: just don't use partitions with LVM [22:47] bekks, ah ok, i guess i assumed you knew about each method in those links [22:47] ddsss: just use the whole drive [22:47] anyone else that might shine more details for a noob? [22:48] g0tcha: Why dont you start reading the links? [22:48] ddsss: pastebin the output of: sudo gdisk -l /dev/sdX [22:48] bekks, so the poblem is in MBR partition type. Can I also jsut use the whole drive as RoyK says? [22:48] ddsss: Sure. [22:49] bekks, i already read 2 of those links before coming here to ask and they seemed complicated [22:49] i rather focus my reading on a method that i know would work for me and learn that [22:49] g0tcha: There is no "easy" full backup. [22:49] bekks, uh, trust me, from the search ive been doing, i know that for a fact [22:49] that there is no easy way of doing it [22:49] hitsujiTMO, http://paste.ubuntu.com/6776882/ [22:50] 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] g0tcha: for whole-system online you need snapshots... so maybe LVM-based system ? [22:50] ddsss: if the plan is to use a 4TB drive with LVM, just create a new PV on that drive [22:50] ddsss: there's your problem, mbr partition instead of gpt [22:51] hitsujiTMO, daaamn. do u know by any chance if there is a way to change it in-place? [22:51] TJ-, this is for the server i have here at home and not for a remote system though [22:51] bekki, i didnt ask for a copy/paste way of doing it [22:51] g0tcha: Anyways, you have been given the starting points for further research. [22:52] 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] RoyK, i only use lvm on OS drive there. (there are 4 hdds in the system, others 3 are just mounted) [22:52] ddsss: I use lvm for all sorts [22:52] that is, lvm for the root and var and so on [22:53] and lvm on top of the md raid [22:54] 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] g0tcha: I'd create a full backup with my tool of choice, based on my particular requirements, constraints knowledge. [22:55] bekks, i have to ask, what is your tool of choice? [22:56] "based on my particular requirements, constraints and knowledge". [22:57] heheh to be honest, i dont understand why youre being so cryptic about this [23:01] !wfm | g0tcha this would be why [23:01] g0tcha this would be why: Common Sense: Just because you can, does not mean you should (and especially recommend to others). Think before you do. "Works for me" does not mean it is ok. The latest version of everything is not always useful if you aim for stability. Please see http://geekosophical.net/random/worksforme/ [23:01] hey guys i'm going an install and i'm wondering if it is hung or working [23:01] got a good signature from Ubuntu Archive [23:02] now it says ini: starting pid 390. tty '/dev/tty2' " -/bin/sh' [23:04] strike that it's moving along [23:16] thanks for all the help