[00:10] Hi, what is the best way to backup a web server? (database and files, Daily+3days) === mwhudson_ is now known as mwhudson === Sachiru is now known as Guest35658 === Sachiru_ is now known as Sachiru [01:14] will rsync -a only backup files if they are newer than the ones already backed up? [02:48] guys, any similar option in Ubuntu for "ksdevice=bootif" in rhel/centos ? === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [03:50] 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] 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. === a1berto_ is now known as a1berto [05:48] hallyn, Hm ok, Friday would be better for me as I am till then gate crashing the event in Nürnberg. [05:56] 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] Syria: You'll want PHP as well [05:58] phpmyadmin isnt really required, but I'd recommend it to make managing your mysql server easier. [05:58] Sierra: Is this going to be "sudo apt-get install php" ? [05:58] blech, install php only if you really need it... install mysql only if you really need it. [06:00] I think I need both since I will install osticketing system. === KnownSyntax__ is now known as KnownSyntax [06:41] anyone here successfully used cobbler for ubuntu/debian? [06:41] cobbler? [06:41] cobblerd.org [06:44] well, it has a ubuntu version, so.. i don't see that it would be that difficult.. [06:44] KM0201, how about actually tring it in practice and then commenting? [06:44] boy, testy little asshole aren't you [06:45] ?? [06:45] KM0201, drop the attitude and cease the profanity [06:45] he gave the attitude... i never bother anybody here. [06:46] !guidelines | KM0201, this isn't high school.. follow the guidelines if you wish to use this resource [06:46] KM0201, this isn't high school.. follow the guidelines if you wish to use this resource: The guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IRC/Guidelines [06:56] anyone used esxi before and can help me? [08:18] 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] i have 1 main ip that was issued with the dedicate server, and I just bought another one that says its a failover ip === lordieva1er is now known as lordievader [09:16] Could someone please help me with some MIRs to make pytohn-wsme work> [09:16] ? [09:18] !python | Noskcaj, [09:18] Noskcaj,: python is a popular Object Oriented scripting language included in Ubuntu. For more on Python please see http://www.python.org/ or #python [09:19] cfhowlett, um, i know what pytohn is [09:19] *python [09:19] typing is hard [09:21] transaction and turbogears2 are the two packages needing a MIR [09:23] transaction is not actively maintained in debian, and turbogears use python-support and many universe depends === Lcawte|Away is now known as Lcawte [09:58] 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] Restarting apache did not solve the problem [10:00] I am sure that I am typing folder name of the installation script correctly! [10:02] Sierra: Hello [10:12] Guys would you please consider helping me. [10:12] Syria, might want to ask ##linux or #apache [10:16] cfhowlett: I did it ! I changed the root directory for apache. [10:16] cfhowlett: Thank you/ [10:17] Syria, good work! congratulations! [10:43] how can i mount an ftp servr as a partition using nfs? === quix_ is now known as quix [11:14] did we break libvirt/qemu in utopic ? seeing errors trying to create machines: [11:14] ((null):3909): Spice-ERROR **: reds.c:3213:do_spice_init: statistics shm_open failed, Permission denied [11:17] 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] ok this is because libvirt is defaulting to "Spice" but that is not installed [11:21] hallyn, ^^ is this is a virt-manager bustness or a qemu bustness [11:53] my ubuntu server is no longer booting after upgrade, that means, the kernel itself is booting, but then it stops [11:54] looks like some initramfs or systemd or whatever problem [11:55] 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] 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] TJ-, thx [12:03] TJ-, is grml sufficient? [12:04] Aison: It should be, being Debian based it should have the expected tools [12:04] fine === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte [12:19] 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] 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] zartoosh: set the default in "/etc/default/grub" "GRUB_DEFAULT=" [12:36] TJ- Thanks [12:44] 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] hoose the next boot partition. Any idea greatly appreciated. Thx [12:45] what is the safest way to mount a ftp backup server? i only have cifs, nfs, and ftp [12:48] zartoosh: What efibootmgr command are you using? [12:48] well, considering it's an ftp backup server, only via ftp :) [12:48] TJ-, efibootmgr -n [12:48] .. [12:49] how can i mount it ? [12:49] in a directory [12:50] zartoosh: Assuming the boot entry pointed to is valid and active, that should work for the next boot [12:51] zartoosh: the UEFI itself might be flakey though, so you might have to use --bootorder [12:53] 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] TJ-, it is an option I just saw it thx [13:02] 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] z1haze: explain what you want to actually get done, in simple terms [14:02] 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] 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] http://www.spamhaus.org/zen/ was hot back in the day [14:35] thanks pmatulis - i'll try that now [14:38] hallyn, in that it explodes with that error having selected spice by default [14:44] dbl.spamhaus.org does wonders though [14:44] helps blocks spammy domains on shared mail servers [14:52] apw: so perhaps virt-manager should Depend: on spice? [14:52] hm, it does [14:54] 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] ^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] A deb is the package that apt and friends actually installs [15:13] <^Lestat> A source package right? [15:13] <^Lestat> meaning, requires compilation. === arrrghhh is now known as arrrghhhAWAY [15:14] 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] 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] 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] 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] 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] 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] expect breakage if you do a dist-upgrade in the future [15:28] <^Lestat> why the break? [15:31] 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] 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] dunno.. is there a #fullstack channel? [15:53] arrrghhhAWAY: doh! I forgot about the engineering hangout === kickinz1 is now known as kickinz1|afk [16:06] <^Lestat> nixie pixel is nice. [16:07] that is not at all what I thought it was [16:08] I was expecting a vacuum tube or something === arrrghhhAWAY is now known as arrrghhh [16:15] Nivex, that's today? [16:16] was, yes. [16:17] aw shoot === kickinz1|afk is now known as kickinz1 [17:29] any idea why PHP fsockopen() and some other program requests use a secondary serve rIP and not the primary? [18:06] Anyone around? [18:07] 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] Now I [18:08] am no sysadmin, but given the fact that it is the last line this implies that it was created recently [18:08] should I be worried and am I right? [18:09] They will never be able to login, /usr/sbin/nologin prevents that... [18:10] FrankBlues: but I am correct that it was something that was recently created [18:10] ? [18:13] FrankBlues: am I correct in assuming that the user was created recently? [18:14] Possibly, but I would guess it was created by the sshd daemon. [18:14] DarkStar1: my sshd user is listed after my user account too. I wouldn't worry about it. [18:15] 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] DarkStar1: they may have done an apt-get purge openssh-server ; apt-get install openssh-server [18:18] sarnold: thanks [18:19] likely normal, unless you select, install openssh at install time [18:20] mine is the line RIGHT before my user [18:20] 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] I normally do it, cause it's too annoying to get console access :) [18:22] :) === Lcawte is now known as Lcawte|Away [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? === arrrghhh is now known as arrrghhhAWAY [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] hrmm, my hardy->intrepid upgrade isn't going so hot :P [19:18] <^Lestat> phpinfo has nothin [19:18] rcaskey: Did you expect it to? [19:18] nope :P [19:18] good. [19:18] trying to step through enough stuff to claw my way up the version treadmill [19:19] ive got a cold spare in case I need to pull this off the rack and just rebuild it [19:19] Hardy is an LTS, the best thing to do would have been to upgrade to 12.04 directly. [19:19] tried that [19:19] that's precise rihgt? [19:20] er, not to 12.04. I mean to 10.04 [19:20] But yes, 12 is precise. 10 is lucid. [19:20] *.04 [19:26] bwhaaha, dep chains are comically b0rk, wans to remove e2fspros [19:28] we'll do it [19:28] * rcaskey rolls the dice === Lcawte|Away is now known as Lcawte [19:48] ^rcaskey: how did you try to upgrade? [19:48] <^rcaskey> RoyK, via dist-upgrade [19:48] ^rcaskey: that won't upgrade the distro release - try do-release-upgrade [19:51] 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] ^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] 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] goodie === CripperZ- is now known as cripperz === huats_ is now known as huats [20:46] 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] Depends on your expected load, but for a light one, you can start with 512mb [20:48] jimi_: start with 256MB [20:48] jimi_: monitor the system and give it more if it needs more [20:49] 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] 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] jimi_: if swapping is acceptable, 256mb is enough [20:50] jimi_: as qman__ said - half a gig should do, quarter a gig may also be good [20:50] this is just for developing in, offline site [20:51] And it may even work on 128mb though that usually requires tweaking and has a risk of OOM conditions [20:51] jimi_: it all depends on the traffic - php can be rather heavy on the memory in large traffic scenarias [20:51] literally going from windows host -> vm for web dev stuff when im not at ork or at my desktop. portable dev env [20:51] jimi_: then 256 should do [20:51] jimi_: and even 128 as qman__ said [20:51] ok perfect ty :) [20:51] i gave the install 2gb of ram and its hard to type in host LOL [20:52] jimi_: 2GB for a dev thing like that is overkill [20:52] jimi_: shooting sparrows with artillery [20:52] RoyK, it was just for installer lol im gonna tune it down. [20:53] :) [20:55] 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] jimi_: 256 then [20:56] jimi_: it should do fine [20:56] Yep [20:56] ty guys you rock [20:56] 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] Yeah, with a more exact picture you can tweak it more accurately [20:58] /join #vbox [20:58] whoops [20:58] 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] jimi_: use kvm instead [20:59] virtualbox is oracle-land [20:59] avoid it === Lcawte is now known as Lcawte|Away === cripperz is now known as CripperZ [21:14] 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] RoyK, 256mb is FLYING fast.,.. how crazy fast a system is when you remove the windowing :P [21:20] it's all relative [21:20] it depends on your working set [21:20] if you where using a 1tb db, it likely would be painful slow :) [21:21] 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] Cloud-init is almost as much black magic voodoo as regex! :P [21:30] jimi_ why not look @ vagrant? [21:32] RoyK kvm might not work on a windows host IIRC [21:32] if it was a linux host that is virtualizing linux then kvm would have been fine [21:33] Microsoft actually had their own implimentation of virtual box called virtual pc, I dont know if it still exists [21:33] liquid-silence, virtualpc died long ago [21:34] Patrickdk yeah I have not used windows in a while :) [21:34] hyperv, and yes, it works just fine [21:34] but in order to do kvm, you MUST enable it like anything [21:35] hmmm [21:35] my brain is in a state of activity that will prohibit sleep === arrrghhhZ is now known as arrrghhh [21:38] 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] or graphical interfaces [21:39] that is right [21:39] unless you count xp-mode [21:39] on linux one can use quemu which is great for a light weight vm's [21:39] heh? [21:39] kvm is as light weight as you can make a vm [21:40] otherwise it's not a vm, but openvz or linux container [21:40] yeah sure, but there are options :D [21:40] unless you mean, qemu 32bit mode without kvm support, that would be highly heavyweight though [21:41] nah I was mistaken [21:41] I have to be up @ 6am [21:41] but its now 12pm and I am not remotely tired [21:41] 11:41pm [21:45] * Patrickdk offers a hammer [21:47] hey... I was playing around with bind mounts and I seem to have gotten my system into quite a debacle. [21:48] I can't sudo ... === kickinz1 is now known as kickinz1|away [21:49] '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? :/ === arrrghhhAWAY is now known as arrrghhh [21:52] 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] it must have. oh my... I suppose I need to prep for reinstalll. [23:01] does anyone know if there is a template file or something that determines in what order partitions are created for esxi? [23:02] 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