[00:00] <cliluw> KFKG_: Type something like "xclock &".
[00:00] <KFKG_> heh i see the clock
[00:00] <KFKG_> how will this launch the gui viewable via vnc
[00:01] <KFKG_> I am looking for a full-time gui btw
[00:01] <cliluw> KFKG_: Haha, the clock is just to test if the connection is there. To see the full GUI, type "gnome-session" or "startkde".
[00:01] <KFKG_> ok
[00:02] <sarnold> the downside is that if the connection between your windows box and the linux box does down, the clients you start there are almost certainly going to die too
[00:03] <KFKG_> Right so if i have the radio program running and I disconnect I will shut that off, I want ot so it will run no matter what
[00:03] <KFKG_> can we work on the steps for that
[00:03] <KFKG_> I see the kde desktop and a hard drive icon but nothing else
[00:04] <KFKG_> there are a bunch of icons, kind of like a mac bar showing up
[00:04] <KFKG_> nothing is clickable
[00:05] <KFKG_> I want this server to allow us to leave things running and login remotely to the gui
[00:05] <cliluw> KFKG_: It might take a while since you're loading the full desktop. I don't think I've ever loaded the full desktop through X11 forwarding. I usually launch just the app that I'm interested in using like Firefox.
[00:05] <sarnold> how fast is the link / what kind of latency do you have? it might be pretty slow, especially compared to e.g. vnc..
[00:05] <KFKG_> like remote desktop
[00:05] <sarnold> yeah, I think x11 forwarding would only work for you  guys if the application was written to make it easy
[00:05] <KFKG_> the link is 300 mbps
[00:05] <KFKG_> roughly
[00:05] <sarnold> it's hard to tell if it is written that way
[00:05] <KFKG_> sarnold
[00:06] <sarnold> then it oughto be snappy :) hehe
[00:06] <KFKG_> no the radio app must be run full time, thats why vnc is the way we need to go
[00:07] <KFKG_> I see the clock and half the desktop now
[00:08] <KFKG_> Is there another way so that I can login via teamviewer/vnc to control the desktop via a gui
[00:08] <cliluw> KFKG_: I don't know anything about this program but it sounds like x11vnc fits your needs.
[00:08] <sarnold> KFKG_: I think x11vnc is probably the way to go; this guide looks tolerable, https://www.lxtreme.nl/blog/headless-x11/
[00:08] <KFKG_> I tried to install that through apt and it said no such package
[00:09] <KFKG_> i am familiar with x11vnc from back in the debian days
[00:09] <cliluw> KFKG_: Also, try asking in #ubuntu. In #ubuntu-server, people only use command-line interfaces.
[00:09] <sarnold> x11vnc is in universe; perhaps if you only enabled main, it might not be there..
[00:09] <KFKG_> #ubuntu sent me here lol
[00:10] <sarnold> hehe
[00:11] <KFKG_> this guide is written in debian will it work for ubuntu
[00:11] <JanC> if you run a GNOME based desktop, it has a built-in VNC server called 'vino'
[00:12] <KFKG_> JanC
[00:12] <KFKG_> let me see whats going on with Gnome
[00:12] <JanC> you might have to configure it to start listening
[00:12] <sarnold> KFKG_: it looks like it's decent, skip the bit about gdm3, and I have no idea about 'light-locker', that doesn't sound familiar
[00:12] <JanC> maybe KDE has something similar too
[00:13] <sarnold> JanC: any idea how to get it to start from an upstart script or sysv-init script?
[00:13] <cliluw> JanC: I think he/she has both GNOME and KDE installed.
[00:13] <KFKG_> the key is I am on the command line now which i an entirely unfamiliar with
[00:13] <KFKG_> cliluw, there are a total of 4 desktop guis that I installed
[00:13] <KFKG_> I was sort of just grasping at straws
[00:13] <cliluw> KFKG_: Wow, that's hardcore. :-)
[00:14] <JanC> sarnold: vino is started when the GNOME session starts, I think
[00:14] <sarnold> KFKG_: hey, check this out :) a guide just for ubuntu stuff https://help.ubuntu.com/community/VNC/Servers#x11vnc
[00:14] <JanC> started by /etc/xdg/autostart/vino-server.desktop I guess
[00:15] <KFKG_> root@u18018703:~# gnome-session-check-accelerated: Helper exited with code 256 gnome-session-check-accelerated:: command not found root@u18018703:~# gnome-session-is-accelerated: No composite extension. gnome-session-is-accelerated:: command not found root@u18018703:~# gnome-session-check-accelerated: Helper exited with code 256 gnome-session-check-accelerated:: command not found root@u18018703:~# gnome-session[26158]: WARNING: software acc
[00:15] <KFKG_> it didnt like gnome
[00:19] <JanC> I wonder if it likes mate or some other ancient desktop then  :)
[00:19] <JanC> or maybe xfce
[00:20] <JanC> for less ancient
[00:20] <sarnold> probably those errors are coming from the X11 forwarding
[00:20] <sarnold> I'm not shocked that ming x11 doesn't have composite extension ;)
[00:21] <KFKG_> so do I open port 5900 on the server to connect to the x11vnc?
[00:22] <sarnold> yes, but be sure to restrict it to only the IP ranges that shuold be allowed
[00:22] <KFKG_> ok be back in a few
[00:22] <JanC> sarnold: 3D acceleration doesn't real work well over the internet anyway  :)
[00:23] <sarnold> JanC: dunno, 300mbps it might work out alright.. ;)
[00:24] <JanC> and maybe better not open that port publicly but connect using ssh and forward it
[00:24] <sarnold> yeah, I trust ssh a lot further than vnc
[00:24] <sarnold> good idea
[00:25] <cliluw> I assumed this was all over a LAN so it wouldn't matter than VNC sends passwords in plaintext.
[00:25] <cliluw> that*
[00:26] <JanC> cliluw: <KFKG_> the server has no display, its in a network center
[00:27] <cliluw> JanC: Haha, I assumed he was in the network center too.
[00:31] <KFKG_> ok I connected through the firewall to the server, i am looking at an all black screen inside realvnc
[00:34] <sarnold> KFKG_: that sounds like real progress; this looks like the next step http://www.karlrunge.com/x11vnc/faq.html#faq-headless
[00:36] <KFKG_> sarnold, now I am really llost
[00:38] <sarnold> KFKG_: you need to create an x11 server on the machine for x11vnc to export; the karlrunge.com link shows some small configuration sections for an xorg.conf file that will create the X11 server
[00:39] <KFKG_> ok when I try to run the x11vnc its failing now
[00:39] <sarnold> with what error message?
[00:40] <KFKG_> xopen_display failed
[00:40] <KFKG_> and they say windoze is complicated lol
[00:42] <KFKG_> in the old days we just used remote desktop/vnc to connect and we could see kde fine
[00:42] <sarnold> it'd probably be easier if someone around here had done this recently; the handful of times I've run programs remotely, the usual x11 forwarding over ssh worked perfectly, but it was for things like netscape navigator or mozilla that I didn't care if they died if the link went dead..
[00:42] <sarnold> but doing the whole gui session, and for an x11 server that has no hardware, it's a bit more complicated :)
[00:46] <KFKG_> sarnold, would you advise to go back to windows server?
[00:46] <KFKG_> thats what we are migrating from
[00:46] <sarnold> KFKG_: the last windows server I used was NT 4.0. It bluescreened every thursday and we never figured out why.
[00:47] <sarnold> so my advice on windows issues may not be entirely up to date with modern things :)
[00:47] <KFKG_> sarnold lol
[00:47] <KFKG_> We were running a cloud server with windows 2008 server dedicated datacenter r2
[00:48] <KFKG_> we thought we could migrate to linux to save on license fees
[00:48] <KFKG_> but if we cannot even get a gui thats not showing promises
[00:48] <KFKG_> it took a week to get the windows server running and all setup
[00:48] <KFKG_> I have no issue with linux, to be very fair
[00:48] <KFKG_> when I can see it....
[00:48] <sarnold> hehe
[00:50] <KFKG_> we have just completed a plesk config with 11 websites, we had just gotten the ftp / email servers running
[00:51] <KFKG_> I have no issue with debian or suse or even ubuntu, when I can configure and install the programs
[00:51] <KFKG_> when they turned on this box they gave us a blinking cursor and that was it
[00:51] <sarnold> please tell me the plesk server is firewalled agressively
[00:51] <KFKG_> on windows it is yes
[00:52] <KFKG_> we have rules setup like you would not believe
[00:52] <KFKG_> only ports open on that server are the ones we need to communicate with the outside world
[00:52] <KFKG_> I personally hate plesk
[00:52] <KFKG_> we uninstalled the mail and ftp clients and only used it for the websites, plesk is just a cover window dressing for IIS
[00:53] <sarnold> those sorts of web management frontends are the cause of most hacked linux boxes. or maybe they're number two, right behind guessed ssh passwords.
[00:53] <KFKG_> hacked linux?
[00:53] <KFKG_> our plesk was in windows
[00:53] <KFKG_> lol
[00:53] <sarnold> I suspect their windows versions are no better ;)
[00:53] <KFKG_> they wanted us to do a managed linux with plesk but said we would have no gui
[00:54] <sarnold> not to crap on plesk specifically, I further expect it's parity with all the others
[00:56] <KFKG_> not that I need to confer with my partner the licensing fees are not looking so bad now
[00:56] <KFKG_> doh i meant now
[01:01] <sarnold> KFKG_: skimming the rivendell wiki it looks like it ought to be possible to run the rivendell server on one machine and use other workstations as clients
[01:02] <KFKG_> sarnold riv is very powerful
[01:02] <KFKG_> but it needs a gui
[01:02] <sarnold> KFKG_: it might be worth trying to figure out if you actuyally need a gui on the server at all; if you can just connect to it with rivendell clients on your other computers, that'd feel a lot esier to me than managing a vnc server..
[01:02] <KFKG_> we are only running one riv host
[01:03] <KFKG_> the riv client is the riv server
[01:03] <KFKG_> same machine
[01:03] <sarnold> ow :/
[01:03] <sarnold> dang
[01:03] <KFKG_> mysql qwill be installed as well for the wordpress sites so we will just add a database
[01:04] <KFKG_> but honestly getting to rivendell may prove challenging and honestly I am not seeing the benefits
[01:05] <KFKG_> the goals of moving to linux box were to use rivendell and run the server like a normal gui server
[01:13] <sarnold> I think that's still possible, I just hoped there was an easier way :)
[01:13] <KFKG_> sarnold
[01:13] <KFKG_> its been a day now and still no gui
[01:13] <KFKG_> care to login and take a crack at it ;)
[01:13] <sarnold> KFKG_: sure, you got one, all black, but you got one :)
[01:13] <KFKG_> LMAO
[01:16] <sarnold> hah, figures, karl's got a script to run to set the whole thing up! http://www.karlrunge.com/x11vnc/Xdummy
[01:31] <KFKG_> sarnold its not a package on any source
[01:31] <sarnold> KFKG_?
[01:32] <KFKG_> I tried to apt the pacakge
[01:35] <sarnold> KFKG_: hmm, funny, now that I read a bit more of http://www.karlrunge.com/x11vnc/ I start to think there might be something easier, perhaps vnc4server or tightvncserver would do better
[01:35] <sarnold> KFKG_: (that Xdummy script you could just download with wget or curl, chmod 755 the thing, and run it if you trust the author..)
[01:36] <sarnold> I have no idea which would be easier..
[01:36] <KFKG_> sarnold the issue still remains that for whatever reason these things do not want to work for me
[01:36] <KFKG_> I remember tightvnc for windows that is
[01:36] <KFKG_> I just need a gui so I can config this box
[01:52] <Contigi> errmagawd
[01:53] <Contigi> so I just use a command to manually move files from a download to my media folder but I did sudo cp download/* media/*
[01:53] <Contigi> instead of the mv command .. erased everything that was in there
[01:54] <Contigi> any good way to go about getting this restored back to before it was cp
[01:56] <sarnold> Contigi: so, you want to take e.g. half the stuff from media/ and move them back to download/  ?
[01:57] <Contigi> well the files in media were far more important. I guess im looking for a way to get the media folder back rather than the download
[01:58] <sarnold> hmm, I guess I'm confused then.. can you pastebin the actual commands you ran, from history?
[01:59] <Contigi> sudo cp -r Downloads/* Media/*
[02:00] <Contigi> I then ctrl+c out of that command as I releaized I just wanted to do sudo mv Downloads/* Media/*
[02:00] <Contigi> not I find that the entire directoy in Media/ is empty
[02:00] <Contigi> excpet the 3 files that got moved into there from Downloads/
[02:02] <sarnold> are there any directories in Media? it could be all the Media stuff got moved into that subdirectory
[02:04] <Contigi> well how the hell did that happen
[02:04] <Contigi> lol thanks sarnold
[02:04] <sarnold> cp assumes the finaly argument is the directory to move multiple  things into
[02:05] <sarnold> foo/* bar/* tells the shell to glob both those directories...
[02:05] <Contigi> so it takes the last directory in bar/* and places it all in there than?
[02:05] <sarnold> if the last argument on the command line, e.g. Media/zz  just happens to be a directory, cp will shove everything that you listed into the named directory
[02:06] <sarnold> now, of course, 'last' is funny, some shells sort it, some shells don't, etc. but IFF the last argument is a directory, cp will start doing what it was told to do :)
[02:06] <Contigi> ahh, i'm ok with that - just glad I didn't lose that directory
[02:06] <sarnold> if the last thing isn't a directory it bitches:
[02:06] <sarnold> cp: target ‘b/4’ is not a directory
[02:07] <Contigi> interesting. I will have to go read some more on this mystical cp command I thought was simple. Thanks so much sarnold, I really appreciate your help here
[02:08] <Contigi> I thought I lost all my porn there for a minute...
[02:08] <Contigi> lol jk
[08:05] <jonah> hi is any body any good with cups and could please help? I've tried in the cups channel but no replies. I'm running ubuntu server and cups was working great with shared printer to local network but not to outside world. Now all of a sudden I can no longer connect to cups and just get "unable to connect" error when i visit 192.168.0.100:631 which used to work?
[08:05] <jonah> any help to get this working again would be really appreciated
[09:55] <lordievader> Good morning.
[10:51] <pmatulis> morning
[10:53] <lordievader> Hey pmatulis
[12:15] <mborges> morning
[12:15] <mborges> :-)
[12:48] <teward> good morning all
[12:48] <teward> :)
[12:49] <rbasak> o/
[12:49] <teward> hiya rbasak
[14:55] <thebwt> morning folks
[14:59] <RoyK> localtime();
[15:13] <guga> thebwt: good evening )
[15:13] <thebwt> :)
[16:54] <wehde> does anyone know of some good open source linux management tools like puppet or landscape that are free?
[16:55] <wehde> looking to manage 70+ ubuntu machines and landscape is a bit expensive for our blood
[16:55] <maswan> like puppet or quattor?
[16:56] <jpds> wehde: puppet/ansible/chef/...
[16:56] <wehde> jpds, puppet has a pretty big price tag. ill look into ansible
[16:57] <maswan> my collegues are deploying puppet right now and are def not paying anything
[16:57] <jpds> wehde: puppet enterprise has a price tag
[16:57] <thebwt> wehde: what kind of management?
[16:57] <jpds> wehde: puppet itself doesn't
[16:58] <jpds> wehde: sudo apt-get install puppetmaster on the server, sudo apt-get install puppet on the clients
[16:58] <RoyK> wehde: puppet is OSS
[16:58] <RoyK> we're looking at ansible atm
[16:58] <jpds> ansible is all the rage these days
[16:58]  * RoyK gets a headache even thinking about Ruby
[16:58]  * thebwt prefers saltstack, though some people may hold past silly things against them.
[16:58] <RoyK> cfengine is another
[16:58] <wehde> basically i'm looking at basic operations such as managing upgrades and packages
[16:59] <RoyK> wehde: all of them can do that
[16:59] <wehde> but i would also like some at a glance info and be able to copy down files to groups of machines
[16:59] <RoyK> wehde: all of them can do that too
[16:59] <wehde> is ansible OSS?
[17:00] <jpds> wehde: Yes
[17:00] <RoyK> even pssh should work
[17:00] <RoyK> wehde: all mentioned tools are OSS
[17:00] <thebwt> wehde: https://docs.saltstack.com/en/getstarted/fundamentals/index.html
[17:00] <thebwt> for what you're doing, any of these will work
[17:01] <jpds> wehde: At this point, it's literally a matter of preference
[17:01] <wehde> i'll check out puppet's community edition and ansible
[17:01] <thebwt> my specific case, and the reasons I'm looking at spacewalk, is that I can't necessarily keep an agent on each of the client machines like that.
[17:01] <RoyK> wehde: are all machines linux, or is it a mixed environment?
[17:01] <RoyK> thebwt: you don't need that with ansible, it uses ssh
[17:01] <wehde> i currently use cssh and webmin for servers but i'm looking at up to 150 clients that need to be managed
[17:02] <RoyK> !webmin
[17:02] <thebwt> RoyK: still problematic :( we need rhel style repo channels
[17:02] <thebwt> for compliance BS
[17:02] <RoyK> ouch
[17:02] <RoyK> not my cup of tea
[17:02] <wehde> its a mixed environment but we are slowly going all linux
[17:03] <wehde> front office is windows but our production floor is purely linux now
[17:03] <wehde> eventually i'll convince front office to dump M$
[17:04] <wehde> *eventually win10 will convince them to dump M$
[17:04] <wehde> RoyK, do you prefer ansible over puppet?
[17:06] <jpds> wehde: Do you prefer vim or emacs?
[17:06] <RoyK> wehde: I do, although I haven't implementet neither. I don't really like Ruby, the language of choice in Puppet. Ansible is rather easy https://www.youtube.com/watch?v=xew7CMkL7jY
[17:07] <RoyK> jpds: https://xkcd.com/378/
[17:07] <jpds> Puppet doesn't completely use Ruby, it has its own thing kind of based off it
[17:07] <jpds> And actually, Puppet is alright once you have it all up and running
[17:09] <wehde> ill just try puppet and ansible both
[17:09] <wehde> thanks for the suggestions
[17:12] <RoyK> jpds: sure, but ansible is alright after an apt-get install on the central server, no agents needed ;)
[17:12] <jpds> RoyK: Sometimes, agents are nice
[17:12] <RoyK> jpds: sometimes, but usually not needed
[17:13] <wehde> checking out ansible after lunch
[17:13] <wehde> thanks
[17:13] <jpds> RoyK: I do a change on my puppetmaster, test on one machine, walk away and let the others do it
[17:13] <wehde> i prefer nano btw
[17:13] <RoyK> haha :)
[17:13] <wehde> or the butterfly
[17:13]  * patdk-wk sticks to wordstar
[17:13] <RoyK> :)
[17:37] <pmatulis> i remember wordstar, just barely
[18:46] <catphish> i just upgraded a host with software RAID + LVM from 12.04 to 14.04, the result is that grub can't find its modules at boot and drops me to a rescue prompt, is there an obvious reason for this, and something i can do to prevent it?
[18:47] <bekks> Whats the actual error message you get?
[18:48] <catphish> i'll reboot and paste it
[18:49] <catphish> "error: file not found." http://i.imgur.com/AS8RGIM.png
[18:57] <catphish> interesting, booting from my second drive fixed it, i guess grub was updated but only installed to sda
[18:58] <catphish> i guess now it's booted, a grub-install to both drives will sort it
[19:01] <catphish> boot is now being interrupted with a warning "diskfilter writes are not supported" but it boots
[19:03] <teknomega> hi all
[19:03] <teknomega> if i installed postfix using apt-get install postfix
[19:03] <teknomega> how do i reconfigure it
[19:03] <teknomega> when i first installed it.. it asked me how i wanted to set it up
[19:03] <teknomega> i want to rerun that initial setup application that apt-get gave me
[19:03] <teknomega> nvm i figured it
[19:04] <teknomega> dpkg-reconfigure
[19:04] <catphish> try dpkg-reconfigure
[19:04] <catphish> ^^ :)
[19:23] <KFKG_> Hey everyone, day 3 of this madness, I am trying to install and run a GUI on Ubuntu server 14, I want to be able to remotely login and view the desktop like we can in windows RDP, can someone help me? I have installed KDE and X11vnc and i can login via X11vnc but the screen just shows a few icons and the desktop is completely frozen
[19:23] <jrwren> is there a way to configure apt http proxy to NOT use the Acquire::http::Proxy value for localhost
[19:24] <sarnold> jrwren: Acquire::http::proxy::192.168.122.1 DIRECT;
[19:24] <sarnold> sigh I didn't mean to get the newline, too..
[19:24] <sarnold> jrwren: replace the 192.168.122.1 with 127.0.0.1
[19:24] <jrwren> sarnold: thank you!
[19:24] <jrwren> I've used that before and had forgotten!
[19:25] <sarnold> :)
[19:26] <sarnold> KFKG_: I wonder if the kde windowmanager is going to want to do too many graphics-hungry things while decorating windows and so forth; try a simple stupid window manager without a desktop environment, perhaps? openbox or fluxbox or twm or fvwm or i3 or notion or evilwm or something else that's just simple..
[19:50] <thebwt> modern kde hasn't worked well with vnc for me. Any desktop that uses 3d accell could be like that I imagine
[19:50] <thebwt> have you tried the xubuntu-desktop ?
[19:51] <thebwt> and how fast is your pipe?
[19:51]  * thebwt grins
[19:51] <thebwt> In college I'd run crazy crazy stuff over "ssh -X"
[19:52] <thebwt> so, depending on what you need the "desktop" for,  you may not need all that
[19:52] <thebwt> just get in with ssh w/ x forwarding and start x
[19:54] <jrwren> I occasionally miss the LBX exension
[19:54] <sarnold> thebwt: he does have a Fast Enough pipe, but ssh -X won't work because he needs the application to continue running when clients disconnect :(
[19:56] <thebwt> oh, got it
[20:02] <|TheWolf|> Hi! I'm not sure this is the right channel, if it's not, feel free to point me to a better suited one :-) I have a (Debian) server on which I run a Ubuntu virtual machine whose virtual disk I want to increase. I guess after doing so I need to adjust the root partition of the Ubuntu installation. How do I do that without any kind of graphical interface? Every solution I can find on the net requires me to either sit in front of th
[20:02] <|TheWolf|> e host machine or at least have some kind of graphical interface to it...
[20:02] <thebwt> so is the physical disk bigger, but the partition hasn't grown?
[20:03] <thebwt> sorry, the 'virtual block device'
[20:04] <|TheWolf|> Well, the physical size of the host machine is still the same. But I am going to adjust the size of the virtual disk ("the .img file").
[20:04] <|TheWolf|> yes
[20:04] <thebwt> I think this is what you're looking for: http://linux.die.net/man/8/resize2fs
[20:04] <|TheWolf|> Haven't done that, but I guess the Ubuntu root partition won't auto-adjust to it. If it did, that would be perfect, of course...
[20:04] <thebwt> it may, depends on the virt system
[20:05] <|TheWolf|> I use kvm
[20:06] <thebwt> i've not touched anything but xen in a while (which doesn't), so I can't say
[20:06] <|TheWolf|> Okay, that looks pretty good. So the introductory sentence of --> http://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/ about not being able to resize Ubuntu partitions without a kind of live CD is not true?
[20:06] <thebwt> but I'm mostly sure that's what you need
[20:06] <RoyK> |TheWolf|: virt-manager is rather useful for that
[20:06] <RoyK> |TheWolf|: just use it over remote X
[20:06] <RoyK> |TheWolf|: add a new storage device and add it to your LVM setup
[20:07] <RoyK> |TheWolf|: increasing a storage device should be possible as well, but I've never done that
[20:07] <|TheWolf|> RoyK : unfortunately, there is no LVM in the VM -.- that would make my life so much easier
[20:07] <thebwt> |TheWolf|:  yea, you don't need a live cd, thats crazy talk
[20:07] <thebwt> well, no I get it
[20:07] <RoyK> |TheWolf|: try to ask on #virt @ irc.oftc.net
[20:07] <thebwt> they're assuming single disk
[20:08] <thebwt> resize2fs should handle what you need
[20:08] <RoyK> thebwt: partitions need to be changed as well
[20:08] <thebwt> ohoh
[20:08] <thebwt> derp
[20:08]  * RoyK never sets up anything without LVM
[20:08] <thebwt> that's the catch
[20:08] <thebwt> now, I am betting kvm grows the partition
[20:08] <thebwt> though
[20:09] <shauno> yeah.  if you've formatted a raw device, resize2fs will work.  if it's partitioned, you need to grow the partition, then the filesystem
[20:09] <thebwt> I'm a terrible gambler
[20:09] <|TheWolf|> RoyK : I don't, either. Unfortunately, though, I wasn't the responsible for that server until a week ago...
[20:09] <shauno> the easiest way I know of to grow the partition is simple to delete it and create a new one that starts in exactly the same place.  of course, backup is step 0 there.
[20:09] <jrwren> |TheWolf|: once the img is rezized, resize2fs will work, or maybe you have partitions in the VM on that img. you'd need to expand the partition and then run resize2fs
[20:09] <RoyK> |TheWolf|: try named channel
[20:10] <|TheWolf|> jrwren : yep, of course there's partitions in there. Everything else would be too easy...
[20:10] <jrwren> |TheWolf|: hehe. just root and swap or even more partitions?
[20:11] <jrwren> |TheWolf|: on plus side, now is a great opportunity to simplify :)
[20:11] <|TheWolf|> just root and swap
[20:12] <|TheWolf|> 4GB of both, actually. No idea why anyone would create such a small root partition on a host that has >1TB of free storage...
[20:12] <jrwren> |TheWolf|: I would deactivate the swap, delete that partition and expand root partition to fill block, run resize2fs and then apt-get install swapspace for my swap.
[20:12]  * RoyK would reinstall the PoS with LVM
[20:13] <|TheWolf|> ok guys, thanks for the suggestions. I'll try my best tomorrow ;-)
[20:13] <|TheWolf|> thanks a lot!
[20:13] <jrwren> good luck, have fun
[20:13] <|TheWolf|> yeah, I have been thinking about reinstalling the whole thing too
[20:13] <|TheWolf|> I'll see if I can sell that to the customer
[20:14] <RoyK> |TheWolf|: probably worth the effort so you don't have to spend hours on this next time
[20:14] <|TheWolf|> RoyK : yep, but according to customers there will never be a next time ;-)
[20:14] <|TheWolf|> we'll see
[20:14] <|TheWolf|> cu
[22:26] <pauljw> !I
[22:40] <jak2016> hi all
[22:40] <jak2016> i want get the date in this format   YYYY_MM_DD_HH_SS i try: http://pastie.org/10517007    but not work any advice?
[22:43] <sarnold> jak2016: bash is very different from dos command.com or cmd.exe scripting; if you're going to be doing a lot of it, it might be worth a day or two at http://mywiki.wooledge.org/BashFAQ
[22:44] <sarnold> jak2016: try this:  DATE=`date +"%y-%m-%d-%H-%M-%S"`   echo $DATE
[22:46] <jak2016> ok thanks
[22:57] <ponyofdeath> hi, anyone know how I can mount a read only iso, then modify files i need added to it then repackage it. with something like aufs? or overlayfs?
[23:06] <sarnold> ponyofdeath: the bsdtar program may be able to help, http://www.libarchive.org/
[23:07] <sarnold> ponyofdeath: if that doesn't, then xorriso probably can, but I have a vague feeling that that's work
[23:07] <ponyofdeath> sarnold: thanks
[23:12] <jak2000> thanks
[23:12] <jak2000> for copy a file from server1 to server2(remote servers) wich is better? scp or rsync?
[23:13] <sarnold> I choose between scp and rsync depending upon the size of the file, whether or not the file on the other system is "close" to the file I'm sending, etc
[23:13] <sarnold> .. and the network between the two systems
[23:16] <jak2000> 450Kb
[23:16] <jak2000> scp /home/user/table.csv jane@host.example.com:/home/jane/mytable1.csv   ?
[23:17] <sarnold> yeah that should work; for one smallish file, scp is probably fine
[23:17] <jak2000> and with rsync?
[23:18] <sarnold> I'd start with rsync -avzP /home/user/table.csv jane@host.example.com:/home/jane/mytable1.csv
[23:26] <jak2000> man you know about mysqldump command?
[23:28] <sarnold> I know it exists but that's it..
[23:29] <sturmflut> Good evening! I happen to be in Austin, Texas in about two weeks and if you would like to hang out, please just contact me in private.
[23:29] <jak2000> i not want put the password on my backup script: http://pastie.org/10517069
[23:31] <sarnold> jak2000: put the "> /backup/$MYDATE2" part at the end of the line
[23:32] <jak2000> in wich line?
[23:32] <sarnold> the mysqldump line
[23:34] <jak2000> like this: mysqldump --opt dbtarimas tmtarima ttarcprod ttarclote > /backup/$MYDATE2
[23:34] <jak2000> and user and password?
[23:34] <jak2000> i want automate the task
[23:35] <sarnold> I'd move the user and password stuff to be immediately after "mysqldump" -- maybe you can specify a file to use instead of command line, that'd be better if it is an option
[23:35] <jak2000> yes
[23:35] <jak2000> but i down want specify the user and password in this file
[23:35] <jak2000> ok i am reading someting
[23:36] <jak2000> man when execute this line:
[23:36] <jak2000>  rsync -avzP /home/user/table.csv jane@host.example.com:/home/jane/mytable1.csv   ask me a password
[23:36] <jak2000> where put the password for my cron job take the password and execute the task??
[23:37] <sarnold> create an ssh key for that, ssh keys are great things
[23:37] <jak2000> sarnold have a link for follow?
[23:37] <jak2000> for read/learn?
[23:39] <sarnold> jak2000: this is a decent short guide. https://help.ubuntu.com/community/SSH/OpenSSH/Keys  -- this one is a lot more detailed and covers a lot of stuff that's less likely to be useful, https://wiki.archlinux.org/index.php/SSH_keys
[23:39] <jak2000> ok i am reading thanks
[23:40] <jak2000> other question (last of the day i think) with crontab, how to execute a script all days exept Sunday?
[23:40] <sarnold> jak2000: "1-6" for the day-of-week field should do it
[23:40] <jak2000> ok
[23:41] <sarnold> jak2000: see crontab(5) for full syntax
[23:41] <jak2000> and: every 10 minutes from 8am to 8pm ?
[23:41] <jak2000> ok
[23:42] <sarnold> 8-20 in the hour field, 0,10,20,30,40,50  in the minute field
[23:42] <jak2000> 0,10,20,30,40,50 * * * 1-6 /usr/scripts/respsql.sh
[23:42] <jak2000> ?
[23:43] <jak2000> error
[23:43] <jak2000> 0,10,20,30,40,50 8-20 * * 1-6 /usr/scripts/respsql.sh
[23:44] <sarnold> that looks right
[23:44] <jak2000> sarnold you worked with certificates? (forget the last question of the day :)   ?
[23:44] <sarnold> jak2000: not much
[23:45] <jak2000> my dude, is, i need pay for generate a .cer?   (f course i can generate it without paying but is invalid)
[23:45] <jak2000> ?
[23:45] <sarnold> jak2000: https://letsencrypt.org/
[23:46] <sarnold> jak2000: https://www.startssl.com/
[23:46] <jak2000> interesting the first
[23:47] <jak2000> ooooo goood
[23:47] <jak2000> thanks
[23:47] <jak2000> much to read.... thanks friend
[23:48] <sarnold> note that startssl charges for revocation
[23:48] <sarnold> I don't know how letsencrypt does revocation..
[23:48] <jak2000> charges is $$$$ ?
[23:49] <teward> sarnold: i didn't know letsencrypt was open for business yet?
[23:50] <sarnold> teward: I think I saw a third-party site with a letsencrypt cert the other day
[23:50] <teward> sarnold: i know they've got beta and such for some sponsors
[23:50] <teward> but we're talking sums of money there
[23:50] <teward> "In Limited Beta"
[23:51] <teward> so, not 'public beta'
[23:53] <jak2000> scp /backup/tari.sql jak:mypaas@mydomain.noip.me:/home/jak/sql/    <--- not work :(
[23:53] <jak2000> ssh: Could not resolve hostname jak: Name or service not known
[23:53] <sarnold> jak2000: probably user:pass won't work
[23:54] <sarnold> user@host should work
[23:54] <jak2000> and the pass?
[23:54] <sarnold> ssh keys :)
[23:54] <jak2000> only ?
[23:54] <sarnold> I think so
[23:54] <jak2000> same as rsync
[23:55] <sarnold> yeah, rsync just runs over ssh, so it expects the same things
[23:55] <sarnold> and ssh keys are easiest to use
[23:55] <jak2000> then reading https://help.ubuntu.com/community/SSH/OpenSSH/Keys     https://wiki.archlinux.org/index.php/SSH_keys