[00:10] <ahmadgbg> Hi, what is the best way to backup a web server? (database and files, Daily+3days)
[01:14] <z1haze> will rsync -a only backup files if they are newer than the ones already backed up?
[02:48] <gambol> guys, any similar option in Ubuntu for "ksdevice=bootif" in rhel/centos ?
[03:50] <WACOMalt> Hey guys. I apparently borked my sources.list file. http://i.imgur.com/12evAyA.png (at least I think so, what's the 3rd character? O_o  )  can anyone tell me whoch repos are enabled in a initial install of ubuntu-server 14.04 so I can select them on this page and generate a new one? http://repogen.simplylinux.ch/index.php
[03:55] <WACOMalt> figured it out, thanks. Main, Restricted, Universe, Multiverse, Security, and updates. Are apparently what was originally in my sources. in case anyone else ever needs a stock list.
[05:48] <smb> hallyn, Hm ok, Friday would be better for me as I am till then gate crashing the event in Nürnberg.
[05:56] <Syria> Hi guys, I have hired a new VPS and I want to make a web server of, I have to install apache, phpmyadmin and mysql right?
[05:57] <Sierra> Syria: You'll want PHP as well
[05:58] <Sierra> phpmyadmin isnt really required, but I'd recommend it to make managing your mysql server easier.
[05:58] <Syria> Sierra: Is this going to be "sudo apt-get install php" ?
[05:58] <sarnold> blech, install php only if you really need it... install mysql only if you really need it.
[06:00] <Syria> I think I need both since I will install osticketing system.
[06:41] <Abhijit> anyone here successfully used cobbler for ubuntu/debian?
[06:41] <KM0201> cobbler?
[06:41] <Abhijit> cobblerd.org
[06:44] <KM0201> well, it has a ubuntu version, so.. i don't see that it would be that difficult..
[06:44] <Abhijit> KM0201, how about actually tring it in practice and then commenting?
[06:44] <KM0201> boy, testy little asshole aren't you
[06:45] <Abhijit> ??
[06:45] <cfhowlett> KM0201, drop the attitude and cease the profanity
[06:45] <KM0201> he gave the attitude... i never bother anybody here.
[06:46] <cfhowlett> !guidelines | KM0201, this isn't high school..  follow the guidelines if you wish to use this resource
[06:56] <z1haze> anyone used esxi before and can help me?
[08:18] <z1haze> hi, i have a fresh installation of esxi on my dedicated server, i created a vm and am installing debian on it, but im having network errors, it wont configure the network during installation, I think I just dont know how I'm supposed to set it up
[08:18] <z1haze> i have 1 main ip that was issued with the dedicate server, and I just bought another one that says its a failover ip
[09:16] <Noskcaj> Could someone please help me with some MIRs to make pytohn-wsme work>
[09:16] <Noskcaj> ?
[09:18] <cfhowlett> !python | Noskcaj,
[09:19] <Noskcaj> cfhowlett, um, i know what pytohn is
[09:19] <Noskcaj> *python
[09:19] <Noskcaj> typing is hard
[09:21] <Noskcaj> transaction and turbogears2 are the two packages needing a MIR
[09:23] <Noskcaj> transaction is not actively maintained in debian, and turbogears use python-support and many universe depends
[09:58] <Syria> Hello there, I have just installed mysql apache2 and php5 but when i try to navigate to folders in my webserver i can only go the it works page! any another folders "The requested URL /q was not found on this server. Apache/2.4.7 (Ubuntu) Server at 0"
[09:58] <Syria> Restarting apache did not solve the problem
[10:00] <Syria> I am sure that I am typing folder name of the installation script correctly!
[10:02] <Syria> Sierra: Hello
[10:12] <Syria> Guys would you please consider helping me.
[10:12] <cfhowlett> Syria, might want to ask ##linux or #apache
[10:16] <Syria> cfhowlett: I did it ! I changed the root directory for apache.
[10:16] <Syria> cfhowlett: Thank you/
[10:17] <cfhowlett> Syria, good work!  congratulations!
[10:43] <z1haze> how can i mount an ftp servr as a partition using nfs?
[11:14] <apw> did we break libvirt/qemu in utopic ?  seeing errors trying to create machines:
[11:14] <apw> ((null):3909): Spice-ERROR **: reds.c:3213:do_spice_init: statistics shm_open failed, Permission denied
[11:17] <hackeron> hey, I have a Ubuntu 14.04 machine that keeps running out of ram, I can't figure out where the ram is going, can anyone help? - details here: http://superuser.com/questions/793192/what-is-using-up-all-my-memory-ubuntu-14-04-lts-server
[11:18] <apw> ok this is because libvirt is defaulting to "Spice" but that is not installed
[11:21] <apw> hallyn, ^^ is this is a virt-manager bustness or a qemu bustness
[11:53] <Aison> my ubuntu server is no longer booting after upgrade, that means, the kernel itself is booting, but then it stops
[11:54] <Aison> looks like some initramfs or systemd or whatever problem
[11:55] <Aison> is there a solution to boot with an usb linux, changeroot into the system and try to fix the problem? eg. updating grub or whatever?
[11:56] <TJ-> Aison: Yes, if you can boot from another source, such as Live ISO. I wrote a script I can run once I'm in a recovery environment that auto-create and tears-down a chroot environment for the failed install, to make repair quicker: https://iam.tj/projects/misc/chroot-auto.bash
[12:01] <Aison> TJ-, thx
[12:03] <Aison> TJ-, is grml sufficient?
[12:04] <TJ-> Aison: It should be, being Debian based it should have the expected tools
[12:04] <Aison> fine
[12:19] <zartoosh> Hi as i update my system, I get new entries on my grub.cfg due to newer version of kernel and on the next reboot my system boots to newer version of kernel. How could I make sure my system boots into specific kernel version and not the newer version? thx
[12:35] <hackeron> hey, I have a Ubuntu 14.04 machine that keeps running out of ram, I can't figure out where the ram is going, can anyone help? - details here: http://superuser.com/questions/793192/what-is-using-up-all-my-memory-ubuntu-14-04-lts-server
[12:35] <TJ-> zartoosh: set the default in "/etc/default/grub" "GRUB_DEFAULT="
[12:36] <zartoosh> TJ- Thanks
[12:44] <zartoosh> HI I have installed ubuntu 14.04 on two partitions of my disk. I boot into UEFI mode. The EFI partition is installed on a USB stick which gets mounted on each disks in this path /boot/efi/EFI. There are two entries in EFI directories ubuntu and ubuntu1 for each disk partition.  I have enabled grub so it can detect OS on different partition so I can boot to other partition if  I choose too. Using efibootmgr does not work for me to c
[12:44] <zartoosh> hoose the next boot partition. Any idea greatly appreciated. Thx
[12:45] <z1haze> what is the safest way to mount a ftp backup server? i only have cifs, nfs, and ftp
[12:48] <TJ-> zartoosh: What efibootmgr command are you using?
[12:48] <patdk-wk> well, considering it's an ftp backup server, only via ftp :)
[12:48] <zartoosh> TJ-,  efibootmgr -n <boot order number>
[12:48] <z1haze> ..
[12:49] <z1haze> how can i mount it ?
[12:49] <z1haze> in a directory
[12:50] <TJ-> zartoosh: Assuming the boot entry pointed to is valid and active, that should work for the next boot
[12:51] <TJ-> zartoosh: the UEFI itself might be flakey though, so you might have to use --bootorder
[12:53] <zartoosh> TJ- sorry I am not familiar with --bootorder, is that an option to efibootmgr, I just checked the man page and I do not see that.
[12:54] <zartoosh> TJ-,  it is an option I just saw it thx
[13:02] <z1haze> im having such a hard time on how to mount a ftp server filesystem on my server.. acn anyone hint on what to search for?
[13:47] <pmatulis> z1haze: explain what you want to actually get done, in simple terms
[14:02] <hallyn> apw: what do you mean by spice is not installed?  'kvm-spice'?  spice libs?  Anywya I think it is a virt-manager bug, and I think we're waiting on the merge of new virt-manager to fix all manner of issues
[14:05] <fridaynext> i have my spamassassin required score set to something like 3.2 - is there some sort of 'spam list' I can import into my spamassassin config to better filter spam?  I'm still getting way too much.
[14:33] <pmatulis> http://www.spamhaus.org/zen/ was hot back in the day
[14:35] <fridayne_> thanks pmatulis - i'll try that now
[14:38] <apw> hallyn, in that it explodes with that error having selected spice by default
[14:44] <patdk-wk> dbl.spamhaus.org does wonders though
[14:44] <patdk-wk> helps blocks spammy domains on shared mail servers
[14:52] <hallyn> apw: so perhaps virt-manager should Depend: on spice?
[14:52] <hallyn> hm, it does
[14:54] <hallyn> oh i see you opened a bug, very good - thanks
[14:56] <^Lestat> Yesterday I had done a bunch of configure/make/mak install of a pdf lib. It turns out this is the light version and I would like to uninstall it so I can install the full version.
[14:57] <^Lestat> Is tehre a proper way to uninsall and unregister all the .so files etc?
[14:57] <^Lestat> uninstall even
[14:59] <^Lestat> Im not even sure where all the parts went to really. I think some are in /usr/local/src
[15:10] <rberg> ^Lestat: tip: in the future you should use 'checkinstall' instead of 'make install' this will create a basic deb that can be installed and uninstalled.
[15:11] <^Lestat> Im bouncing about on the www reading about this
[15:12] <^Lestat> basic 'deb'? Whats a deb?
[15:12] <rberg> A deb is the package that apt and friends actually installs
[15:13] <^Lestat> A source package right?
[15:13] <^Lestat> meaning, requires compilation.
[15:14] <rberg> not exactly... the source is usually a tarball that generates the .deb files
[15:14] <^Lestat> so checkinstall compiles the source and includes an uninstaller?
[15:15] <rberg> checkinstall replaces 'make install' and installs to a fakeroot then makes a deb package out of that
[15:15] <^Lestat> fakeroot. Here I go again. Drinking water from a firehose.
[15:16] <^Lestat> Im just reading through this
[15:16] <^Lestat> https://help.ubuntu.com/community/CompilingEasyHowTo
[15:16] <^Lestat> grasping terminology
[15:16] <^Lestat> Now that my emergency is over I have time to learn more.
[15:17] <rberg> that looks right to me.. re Resolving Dependencies you can often use 'apt-get build-dep package' to get build dependencies
[15:18] <^Lestat> For the most part apt-get install whatever installs all dependencies I need.
[15:18] <^Lestat> from what I can tell.
[15:19] <rberg> yes it does install runtime deps but not build deps.. thats if you are trying to compile something
[15:20] <^Lestat> Yea thats what Ive been doing lately. The PDFlib
[15:20] <^Lestat> That was a freaking mess.
[15:20] <rberg> heh compiling software on production servers usually is :)
[15:21] <^Lestat> This is my local dev box so it's ok. I had my host install it on my production box
[15:21] <^Lestat> This is why it's worth the extra $ to have someone handle the server for me.
[15:21] <^Lestat> for now anyways.
[15:22] <^Lestat> is /usr/local/src the typical area for "users messing around" area?
[15:26] <rberg> yeah thats fine.. build in /usr/local/src anf install to /usr/local.. that will ensure that apt wont step on your toes
[15:26] <rberg> expect breakage if you do a dist-upgrade in the future
[15:28] <^Lestat> why the break?
[15:31] <rberg> if you upgrade system libs that the self compiled software uses you should expect it not to work anymore.. and will have to recompile it
[15:33] <^Lestat> why not compile in /tmp ?
[15:34] <^Lestat> I guess for the most part, does it really matter where I do the compiling?
[15:35] <rberg> tmp gets cleared on reboot.. you may want to keep it around.. other then that its fine too
[15:36] <^Lestat> I haven't touched anything. Still reading up on it.
[15:37] <^Lestat> Do you think there would be a better channel for my questions, or am I in the right place?
[15:38] <rberg> dunno.. is there a #fullstack channel?
[15:53] <Nivex> arrrghhhAWAY: doh! I forgot about the engineering hangout
[16:06] <^Lestat> nixie pixel is nice.
[16:07] <rberg> that is not at all what I thought it was
[16:08] <rberg> I was expecting a vacuum tube or something
[16:15] <arrrghhh> Nivex, that's today?
[16:16] <Nivex> was, yes.
[16:17] <arrrghhh> aw shoot
[17:29] <dw1> any idea why PHP fsockopen() and some other program requests use a secondary serve rIP and not the primary?
[18:06] <DarkStar1> Anyone around?
[18:07] <DarkStar1> I logged into my machine and noticed this line at the end of /etc/passwd : sshd:x:104:65534::/var/run/sshd:/usr/sbin/nologin
[18:07] <DarkStar1> Now I
[18:08] <DarkStar1> am no sysadmin, but given the fact that it is the last line this implies that it was created recently
[18:08] <DarkStar1> should I be worried and am I right?
[18:09] <FrankBlues> They will never be able to login, /usr/sbin/nologin prevents that...
[18:10] <DarkStar1> FrankBlues: but I am correct that it was something that was recently created
[18:10] <DarkStar1> ?
[18:13] <DarkStar1> FrankBlues: am I correct in assuming that the user was created recently?
[18:14] <FrankBlues> Possibly, but I would guess it was created by the sshd daemon.
[18:14] <sarnold> DarkStar1: my sshd user is listed after my user account too. I wouldn't worry about it.
[18:15] <DarkStar1> sarnold: thanks. It's just that this comes after having my provider reset ssh settings and so that I could gain access to the server again. after mysteriously loging access a few days back
[18:16] <sarnold> DarkStar1: they may have done an apt-get purge openssh-server ; apt-get install openssh-server
[18:18] <DarkStar1> sarnold: thanks
[18:19] <patdk-wk> likely normal, unless you select, install openssh at install time
[18:20] <patdk-wk> mine is the line RIGHT before my user
[18:20] <sarnold> patdk-wk: heh, I just try to get through the installer as fast as possible, I didn't realize that was an option :)
[18:21] <patdk-wk> I normally do it, cause it's too annoying to get console access :)
[18:22] <sarnold> :)
[18:32] <^Lestat> ok sweet. I found a binary of the pdf lib. Can I just plop a copy of the .so file into /usr/local/lib and add its extension=pdflib_php to my .ini?
[18:33] <^Lestat> or is there some kind of voodoo I need to do?
[19:18] <^Lestat> So I dropped the binary into /usr/lib/php5/20090626+lfs/pdflib_php.so and added extension="pdflib_php.so" to my /etc/php5/apache2/php.ini and reloaded the server
[19:18] <rcaskey> hrmm, my hardy->intrepid upgrade isn't going so hot :P
[19:18] <^Lestat> phpinfo has nothin
[19:18] <Pici> rcaskey: Did you expect it to?
[19:18] <rcaskey> nope :P
[19:18] <Pici> good.
[19:18] <rcaskey> trying to step through enough stuff to claw my way up the version treadmill
[19:19] <rcaskey> ive got a cold spare in case I need to pull this off the rack and just rebuild it
[19:19] <Pici> Hardy is an LTS, the best thing to do would have been to upgrade to 12.04 directly.
[19:19] <rcaskey> tried that
[19:19] <rcaskey> that's precise rihgt?
[19:20] <Pici> er, not to 12.04.  I mean to 10.04
[19:20] <Pici> But yes, 12 is precise. 10 is lucid.
[19:20] <Pici> *.04
[19:26] <rcaskey> bwhaaha, dep chains are comically b0rk, wans to remove e2fspros
[19:28] <rcaskey> we'll do it
[19:28]  * rcaskey rolls the dice
[19:48] <RoyK> ^rcaskey: how did you try to upgrade?
[19:48] <^rcaskey> RoyK, via dist-upgrade
[19:48] <RoyK> ^rcaskey: that won't upgrade the distro release - try do-release-upgrade
[19:51] <qman__> Why upgrading to intrepid? You should upgrade to lucid, then precise
[19:52] <^rcaskey> yeah I think at this point it's probably easier just to do a fresh install
[19:55] <RoyK> ^rcaskey: if you're on 10.04, the default will be to upgrade to the next lts
[19:55] <^rcaskey> now I've got a foot in both worlds I think and I got a glibc error when doing do-release-upgrade
[19:56] <RoyK> perhaps a fresh install, then :P
[20:01] <^rcaskey> so anyway, I made a dumb mistake, on the other hand I have a spare machine :)
[20:02] <RoyK> goodie
[20:46] <jimi_> I am installing ubuntu server in a vm. It will be lamp stack and mail server. No X windowing at all. How much ram should I allocate for this given that it wont be using graphical?
[20:48] <qman__> Depends on your expected load, but for a light one, you can start with 512mb
[20:48] <RoyK> jimi_: start with 256MB
[20:48] <RoyK> jimi_: monitor the system and give it more if it needs more
[20:49] <jimi_> qman__, my laptop only has 4GB of ram (brand new) and can't be expanded. Its a light laptop from lenovo yoga series.
[20:49] <RoyK> jimi_: and, preferably, move the database to a dedicated box if possible, that is, if performance is important - if it's just a wordpress thing or something like that - anything would do
[20:50] <qman__> jimi_: if swapping is acceptable, 256mb is enough
[20:50] <RoyK> jimi_: as qman__ said - half a gig should do, quarter a gig may also be good
[20:50] <jimi_> this is just for developing in, offline site
[20:51] <qman__> And it may even work on 128mb though that usually requires tweaking and has a risk of OOM conditions
[20:51] <RoyK> jimi_: it all depends on the traffic - php can be rather heavy on the memory in large traffic scenarias
[20:51] <jimi_> literally going from windows host -> vm  for web dev stuff when im not at ork or at my desktop. portable dev env
[20:51] <RoyK> jimi_: then 256 should do
[20:51] <RoyK> jimi_: and even 128 as qman__ said
[20:51] <jimi_> ok perfect ty :)
[20:51] <jimi_> i gave the install 2gb of ram and its hard to type in host LOL
[20:52] <RoyK> jimi_: 2GB for a dev thing like that is overkill
[20:52] <RoyK> jimi_: shooting sparrows with artillery
[20:52] <jimi_> RoyK, it was just for installer lol im gonna tune it down.
[20:53] <RoyK> :)
[20:55] <jimi_> RoyK, just need a lamp stack + git so i can work from my windows laptop on the road, etc. I am in a graduate school program that resumes in 3 weeks and requires some Windows apps.. too many for this laptop to have host linux and windows guest
[20:56] <RoyK> jimi_: 256 then
[20:56] <RoyK> jimi_: it should do fine
[20:56] <qman__> Yep
[20:56] <jimi_> ty guys you rock
[20:56] <RoyK> jimi_: you may want to monitor it to check how much memory it uses - apt-get install sysstat (and enable it) or install munin
[20:57] <qman__> Yeah, with a more exact picture you can tweak it more accurately
[20:58] <jimi_> /join #vbox
[20:58] <jimi_> whoops
[20:58] <RoyK> jimi_: we've all been young jerks trying to find out about things - some grow old and try to behave like gurus not liking the young ones - some try to help out
[20:58] <RoyK> jimi_: use kvm instead
[20:59] <RoyK> virtualbox is oracle-land
[20:59] <RoyK> avoid it
[21:14] <Gargoyle> Any cloud-init guru's around to help me get ephmeral0 storage setup as swap space... I'm kind of bumping from one google result to the next with a bit of trial and error - info seems to be a bit thin.
[21:18] <jimi_> RoyK, 256mb is FLYING fast.,.. how crazy fast a system is when you remove the windowing :P
[21:20] <Patrickdk> it's all relative
[21:20] <Patrickdk> it depends on your working set
[21:20] <Patrickdk> if you where using a 1tb db, it likely would be painful slow :)
[21:21] <Patrickdk> had a webserver vm this week, that was set to 256megs, I just upgraded it to 4gigs cause they expanded it, running a bunch more stuff than it used to
[21:28] <Gargoyle> Cloud-init is almost as much black magic voodoo as regex! :P
[21:30] <liquid-silence> jimi_ why not look @ vagrant?
[21:32] <liquid-silence> RoyK kvm might not work on a windows host IIRC
[21:32] <liquid-silence> if it was a linux host that is virtualizing linux then kvm would have been fine
[21:33] <liquid-silence> Microsoft actually had their own implimentation of virtual box called virtual pc, I dont know if it still exists
[21:33] <Patrickdk> liquid-silence, virtualpc died long ago
[21:34] <liquid-silence> Patrickdk yeah I have not used windows in a while :)
[21:34] <Patrickdk> hyperv, and yes, it works just fine
[21:34] <Patrickdk> but in order to do kvm, you MUST enable it like anything
[21:35] <liquid-silence> hmmm
[21:35] <liquid-silence> my brain is in a state of activity that will prohibit sleep
[21:38] <liquid-silence> Patrickdk I think what I mean is, in windows (non server edititions) there is no way to create virtual machines without 3rd party software
[21:38] <liquid-silence> or graphical interfaces
[21:39] <Patrickdk> that is right
[21:39] <Patrickdk> unless you count xp-mode
[21:39] <liquid-silence> on linux one can use quemu which is great for a light weight vm's
[21:39] <Patrickdk> heh?
[21:39] <Patrickdk> kvm is as light weight as you can make a vm
[21:40] <Patrickdk> otherwise it's not a vm, but openvz or linux container
[21:40] <liquid-silence> yeah sure, but there are options :D
[21:40] <Patrickdk> unless you mean, qemu 32bit mode without kvm support, that would be highly heavyweight though
[21:41] <liquid-silence> nah I was mistaken
[21:41] <liquid-silence> I have to be up @ 6am
[21:41] <liquid-silence> but its now 12pm and I am not remotely tired
[21:41] <liquid-silence> 11:41pm
[21:45]  * Patrickdk offers a hammer
[21:47] <arrrghhhAWAY> hey... I was playing around with bind mounts and I seem to have gotten my system into quite a debacle.
[21:48] <arrrghhhAWAY> I can't sudo ...
[21:49] <arrrghhhAWAY> 'sudo: must be setuid root' - I didn't put any entries in fstab, I thought rebooting would fix it.  But it seems bind mounting changed all the permissions?  :/
[21:52] <arrrghhh> looking at ls -la of /usr/bin... everything is now 777.  I know I didn't chmod everything, could a bind mount muckup do this!?
[22:41] <arrrghhh> it must have.  oh my... I suppose I need to prep for reinstalll.
[23:01] <z1haze> does anyone know if there is a template file or something that determines in what order partitions are created for esxi?
[23:02] <z1haze> afaik, all the default installation creates the swap partition after root, which is stupid imo because if the person wants to increase the size of their root they cant without risk of corruption moving partitions around