[01:33] <ubuntuaddicted> hello, i'm trying to get this minecraft launch script to work but i see can not make directory /var/run/screen while the server is booting. how can i fix this? the script is first starting a screen as a certain user and then launching minecraft as a certain user but i guess that user doesn't ahve permission to create a screen session?
[01:34] <mardraum> I think your script is for a different OS/distro?
[01:36] <ubuntuaddicted> mardraum, what do you mean? it's a init script.
[01:36] <teward> ubuntuaddicted: the "script" you've specified is not known to us, and likely is for a different OS / distro... is the code publicly online somewhere?
[01:38] <qman> this is the one you should be using, if you aren't already: https://github.com/sandain/MinecraftServerControlScript
[01:38] <qman> that aside, does screen work normally when you attempt to use it?
[01:38] <ubuntuaddicted> teward, one moment, getting it uploaded to pastebin
[01:39] <ubuntuaddicted> yes, I can issue sudo service minecraft start and the service starts up just fine
[01:40] <qman> that's not what I'm asking; can you run 'screen'?
[01:40] <ubuntuaddicted> it creates a screen session using user minecraft and it then launches minecraft from that screen session
[01:40] <ubuntuaddicted> qman, no, user minecraft can't run screen.
[01:41] <qman> ubuntuaddicted: what's the error message?
[01:41] <ubuntuaddicted> qman, it returns Cannot open your terminal '/dev/pts/4' - please check
[01:41] <LinStatSDR> -_-
[01:41] <ubuntuaddicted> i'm guessing because user minecraft can't write to the /dev/pts folder?
[01:42] <mardraum> somebody else owns pts/4
[01:42] <qman> no, you can't use screen after switching users
[01:42] <teward> what qman said
[01:42] <qman> you have to log in as a user, then run screen
[01:44] <qman> the exception being root since root has all the permission needed
[01:46] <ubuntuaddicted> hmmm, here's the script i'm attempting to use: http://paste.ubuntu.com/9016691/
[01:47] <ubuntuaddicted> qman, how would a script like this work then?
[01:48] <qman> ubuntuaddicted: to be clear, this limitation only applies to the client session portion
[01:48] <qman> ubuntuaddicted: you can launch a detached screen after switching users
[01:48] <qman> you just can't attach to one
[01:49] <ubuntuaddicted> qman, not sure i follow but that's not important. :)  so is this minecraft script ok to use?  do i just need to add the minecraft user to the group root so he has write permissions on /dev/pts?
[01:49] <teward> NEVER add a non-root user to the root group
[01:49] <qman> no, absolutely do not do that
[01:49] <teward> NEVER NEVER NEVER IN A BILLION YEARS
[01:50] <teward> that opens you up to hell
[01:51] <qman> what I need you to check is whether or not you can run screen properly, so log into your server as any user and run 'screen', without switching users via su or sudo
[01:51] <qman> it's not important who, all users that can log in should be able to do it
[01:52] <ubuntuaddicted> qman, i can run screen as my normal user yes.
[01:52] <qman> ok
[01:52] <qman> so the most likely cause of your error is that your init script is running before /var/run is available
[01:52] <ubuntuaddicted> qman, it's only after I switch to the minecraft user and try to run screen that it gives that error from above
[01:54] <ubuntuaddicted> qman, i'm not sure how to fix that
[01:55] <LinStatSDR> Sounds like a frame issue
[01:55] <qman> the 'right' way is to adjust the start event settings to something that happens later or the specific event needed
[01:55] <qman> the hacky way is to make it sleep before starting
[01:56] <LinStatSDR> I dislike that word, "hacky"
[01:57] <qman> another solution would be to have the init script wait until /var/run is available in the start process
[01:57] <LinStatSDR> You mean modification to the code
[01:57] <Patrickdk>    no, fixing the code :)
[01:57] <qman> no, I mean hacky
[01:57] <qman> as in would work, but not well thought out or robust
[01:57] <LinStatSDR> We don't refer to fixing code as hacking qman in here.
[01:57] <qman> I'm not
[01:58] <qman> you clearly misunderstand
[01:58] <LinStatSDR> hacky?
[01:58]  * LinStatSDR scratches head
[01:58] <ubuntuaddicted> it's interesting that the script needs adjusting. i believe others use it with ubuntu so not sure why it doesn't work for me
[01:58] <qman> to put it another way, it's a dirty hack
[01:59] <qman> jury-rigged, etc
[01:59] <LinStatSDR> That's better.
[01:59] <qman> no, they're equally accurate
[01:59] <LinStatSDR> I understand you're simply trying to fix the code you're having a problem with.
[01:59] <LinStatSDR> qman, guidelines thats why
[01:59] <LinStatSDR> Should poke at them
[02:00] <qman> I could not care less; my statement was accurate and has nothing at all to do with "hacking"
[02:00] <LinStatSDR> It's the wording.
[02:00] <Patrickdk> what is wrong with the wording?
[02:00] <qman> nothing
[02:00] <Patrickdk> there is nothing wrong with hacking
[02:00] <Patrickdk> it's perfectly legal
[02:01]  * LinStatSDR pokes his own eye
[02:01] <LinStatSDR> ouch brbn
[02:01] <Patrickdk> or are you confusing hacking with cracking?
[02:01] <LinStatSDR> Neither.
[02:02] <LinStatSDR> Hacking is by nature malicious, where as penetration testing is not.
[02:02] <qman> ubuntuaddicted: regardless of that, the script may work in some cases and not others due to a race condition; upstart is not linear and therefore sometimes things happen in a different order depending on your system and tons of other situational things
[02:02] <LinStatSDR> Same thing with that.
[02:02] <LinStatSDR> I agree qman
[02:02] <Patrickdk> hacking is not malicious
[02:02] <qman> hacking isn ot malicious
[02:02] <LinStatSDR> It's called penetration testing if it isn't
[02:02] <Patrickdk> no
[02:03] <Patrickdk> you can hack on your car, projects
[02:03] <qman> ubuntuaddicted: all that means is, the script's start requirements are not completely accurate to what the script actually needs in order to function
[02:03] <Patrickdk> nothign to do with computers
[02:03] <LinStatSDR> anyway
[02:03] <qman> ubuntuaddicted: the fix is adjusting that properly, I'm not sure what specific upstart event is going to work best here
[02:03] <ubuntuaddicted> qman, ok, what's the easiast solution? lol
[02:04] <Patrickdk> and do tell me that hackathons are penetration tests, and are malicious
[02:05] <LinStatSDR> That's under different conditions
[02:06] <Patrickdk> heh? no it's not
[02:06] <qman> ubuntuaddicted: I'm going to suggest adding $network to Required-Start and Required-Stop, and removing the Should-Start and Should-Stop lines, like this: http://paste.ubuntu.com/9016881/
[02:06] <ubuntuaddicted> isn't there an off topic channel? :)
[02:06] <LinStatSDR> can we change subjects
[02:06] <LinStatSDR> I'm in that channel...
[02:06] <LinStatSDR> already
[02:07] <qman> ubuntuaddicted: $network is one of the slower to start events in most cases so it may fix it, if not, you'll have to find another event to base your start condition upon
[02:08] <LinStatSDR> does this support java, could spin up a socket json rq
[02:09] <LinStatSDR> may be quicker if it's sluggish starting
[02:09] <ubuntuaddicted> qman, ok, i made those adjustments and will restart the server. hopefully minecraft starts this time
[02:10] <LinStatSDR> I hope so :D
[02:12] <ubuntuaddicted> qman, ok, i briefly saw soemthing about permission denied
[02:12] <qman> ubuntuaddicted: less /var/log/syslog
[02:13] <ubuntuaddicted> the screen session isn't there and minecraft isn't running
[02:13] <qman> ubuntuaddicted: then press shift+G to go to the end, and scroll up until you see it
[02:16] <ubuntuaddicted> qman, hmmm, looking at syslog i only see this: dbus[1084]: [system] Activated service 'org.freedesktop.login1' failed: Cannot launch daemon, file not found or permissions invalid
[02:16] <qman> ok, that shouldn't have anything to do with this
[02:16] <ubuntuaddicted> where else would it get logged to? in dmesg?
[02:17] <qman> ubuntuaddicted: within less, type /minecraft
[02:17] <qman> see if it finds anything
[02:17] <qman> the forward slash is the search command
[02:17] <ubuntuaddicted> nothing
[02:18] <qman> when you installed this, did you update-rc.d?
[02:18] <ubuntuaddicted> qman, yes
[02:20] <qman> sudo update-rc.d minecraft defaults; sudo update-rc.d minecraft enable
[02:20] <qman> if you did, it should have put something into syslog
[02:21] <ubuntuaddicted> qman, ok defaults said it already existed but when I ran enable it returned a bunch of stuff. i just restarted again. we'll see
[02:21] <qman> ok
[02:22] <ubuntuaddicted> cannot make directory /var/run/screen permission denied
[02:25] <ubuntuaddicted> qman, is this solution acceptable? https://github.com/superjamie/minecraft-init-script/issues/26
[02:25] <qman> ubuntuaddicted: I found bug 574773
[02:27] <ubuntuaddicted> qman, looks like we both found similar solutions/bugs
[02:28] <qman> try this modification: http://paste.ubuntu.com/9017190/  note line 8
[02:28] <ubuntuaddicted> qman, so the one link at github suggests one thing while the bug you linked to i am not sure what to do to get my script to work. can you help me understand
[02:28] <ubuntuaddicted> qman, ok, thank you. will incorporate and try
[02:29] <ubuntuaddicted> qman, wait, doesn't it say something about BEFORE the cd \"$MCPATH\
[02:29] <qman> ubuntuaddicted: before or after should not matter in this case
[02:29] <ubuntuaddicted> qman, looks like you added something to the script after that line instead of before it
[02:29] <ubuntuaddicted> qman, oh ok
[02:29] <qman> ubuntuaddicted: the key here is that before it tries to run screen, it runs the screen-cleanup
[02:30] <ubuntuaddicted> qman, so line 8 is the only addition?
[02:30] <qman> yes
[02:38] <ubuntuaddicted> qman, THANK YOU! that did it
[02:39] <ubuntuaddicted> qman, i can't believe it's been a bug since back in 2010
[02:40] <qman> glad it worked
[02:40] <ubuntuaddicted> qman, onto the next issue. :)
[02:40] <qman> race conditions like this are the biggest problem with modern init systems
[02:41] <ubuntuaddicted> qman, i have a custom compiled nginx server installed and the init script for that isn't working. so my ubuntu doesn't think it's installed since i compiled and installed it myself
[02:42] <qman> stick to distribution packages whenever possible
[02:42] <ubuntuaddicted> qman, the reason i compiled it myself is because it needed to be compiled with the rtmp module. so how to get it to auto-run when the server starts?
[02:45] <nunizacu> isnt it easier to apt-get source and then repackage? just asking, i just screen -r
[02:46] <ubuntuaddicted> here's the init script http://paste.ubuntu.com/9017449/
[02:46] <ubuntuaddicted> nunizacu, sorry, are you talking to me?
[02:47] <nunizacu> i just trying to get what what are you talking bout
[02:47] <nunizacu> dont take it offensife
[02:48] <nunizacu> i didnt sleep for 24h, im talking 7'th antibiotics in 2 months and barely think
[02:49] <nunizacu> and yet for last 24h i'm fighting to fully ipv6ize openstack
[02:49] <ubuntuaddicted> nunizacu, we were trying to get a script to start that was launching screen but it couldn't due to a bug in screen cleanup or something like that BUT qman fixed my script for me
[02:49] <nunizacu> brb
[02:50] <nunizacu> well, to get to the point i would need more data, and thou im couirours im happy you did it
[02:51] <nunizacu> btw. you guys use ubuntu all the time, im forced becouse of raid+lvm
[02:51] <nunizacu> is there a way to recompile whole packages with own flags?
[02:52] <nunizacu> i need it for quite big project
[02:52] <nunizacu> and i'm sick of kpartx on pdc to get unknown partitions and integrate it into ininitrd
[02:53] <nunizacu> enough i made openstack gentoo and bsd 9 and 10 cloud img
[02:53] <nunizacu> just brb ok
[02:53] <LinStatSDR> oookay
[02:54] <nunizacu> i need to change host
[02:54] <ubuntuaddicted> so looking at the nginx script, i don't see where the definition of the command's location is?
[02:55] <LinStatSDR> man -
[02:55] <LinStatSDR> oh read that wrong
[02:55] <LinStatSDR> my fault wow
[02:55] <LinStatSDR> Forgive me ubuntuaddicted
[03:03] <ubuntuaddicted> how do i get nginx to launch when the server starts IF i had to compile and install nginx myself? the guide I followed installed it to /usr/local/bin/nginx
[03:10] <teward> ubuntuaddicted: using some third-party plugins not included in nginx-extras or something?
[03:11] <ubuntuaddicted> teward, i believe so correct. i don't think the nginx-extras has the rtmp module does it?
[03:12] <teward> right.
[03:12] <teward> just checking :)
[03:27] <nunizacu> man, changeing revs takes a while
[03:28] <nunizacu> and add sasl auth
[03:28] <nunizacu> i tought about ssl cert + rsa but i have 8192 rsa
[03:29] <ubuntuaddicted> teward, does it include rtmp module or no?
[03:29] <nunizacu> ubuntuaddicted: what troubles you?
[03:29] <nunizacu> ubuntuaddicted: i did many wierd hacks on ubuntu
[03:29] <cryptodan> ubuntuaddicted: https://packages.debian.org/sid/nginx-extras
[03:30] <ubuntuaddicted> cryptodan, nope, rtmp is not there
[03:31] <nunizacu> w8 few minutes ill cook something for you
[03:34] <ubuntuaddicted> if anyone can help me get the nginx init script to start my nginx install properly i would appreciate it.  here's the init script http://paste.ubuntu.com/9017449/
[03:35] <nunizacu> you want script, module or whole package ?
[03:35] <cryptodan> https://github.com/arut/nginx-rtmp-module/wiki/Installing-on-Ubuntu-using-PPAs
[03:36] <nunizacu> thats what im doing
[03:36] <nunizacu> give a link when compiles
[03:37] <cryptodan> I found this one https://launchpad.net/~mcfletch/+archive/ubuntu/nginx-rtmp
[03:38] <ubuntuaddicted> cryptodan, that's only available for 12.04.
[03:39] <ubuntuaddicted> cryptodan, thank you for trying though. i just want to know how to edit the init script so it looks in /usr/local/bin/nginx instead of the normal nginx location
[03:39] <nunizacu> you want all modules or only thios?
[03:39] <nunizacu> paste the script while i bake your new nginx
[03:40] <nunizacu> and tell me what modules you want, all, rwhatever or everything
[03:40] <ubuntuaddicted> nunizacu, i already have nginx compiled and installed, thanks though
[03:40] <ubuntuaddicted> i've linked the init script several times
[03:41] <nunizacu> but not with everyting
[03:41] <nunizacu> and i have to recompile so you have what you want
[03:41] <nunizacu> and i was away when you posted your iniit
[03:42] <nunizacu> but hey, if you dont want help i got enoguth to do
[03:42] <nunizacu> even being kind is wierd on irc
[03:44] <cryptodan> id try the module from 12.04 but thats just me
[03:49] <ubuntuaddicted> nunizacu, i don't want you to compile me nginx, i already haev it installed
[03:50] <ubuntuaddicted> nunizacu, thanks anyway
[03:52] <nunizacu> whatever i just finishing it with every module + one you wanted
[03:54] <nunizacu> nginx in apt-get doesnt have every module enabled
[03:54] <ubuntuaddicted> nunizacu, exactly why i'm not using that nginx
[03:55] <nunizacu> that's why i was asking what modules except that missing you need
[03:55] <nunizacu> you cant add that module without recomompile
[03:57] <nunizacu> i dont understand you, you want some module, someone is making it for you then you dont need it, just wasting time
[03:57] <nunizacu> but as i started i'll fininish
[03:58] <nunizacu> omg, i didnt slept for 30 hours
[03:59] <nunizacu> and if you have problem with init screen paste it or do it yourself, i wont ask you for helping you
[04:04] <nunizacu> http://[2001:5c0:1508:c800::1]nginx_1.4.6-1ubuntu3.1_all.deb
[04:06] <ubuntuaddicted> nunizacu, i didn't say i needed nginx with the rtmp module, you clearly didn't read what I asked for.
[04:07] <ubuntuaddicted> nunizacu, the only person wasting their time is you because you failed to read what I wrote several time
[04:07] <nunizacu> i said i didint slept 30h straight
[04:07] <nunizacu> and i could get any kind of communication
[04:08] <nunizacu> man, i kindly asked whats the problem
[04:08] <nunizacu> now i know why came to irc one every few years
[04:09] <ubuntuaddicted> nunizacu, for the 4th time, i would like nginx to start when the server starts. i have an init script that i linked which is not auto starting when the server starts. how do i get nginx to start when I launch the server
[04:09] <nunizacu> so just drop it to /etc/init.d ?
[04:11] <nunizacu> then set what runlevel should it start and stop
[04:11] <nunizacu> init.d scripts are quite easy, you can just copy any and fit to your needs
[04:12] <nunizacu> or maybe w8
[04:12] <ubuntuaddicted> nunizacu, it's already in /etc/init.d/
[04:13] <ubuntuaddicted> nunizacu, as i've stated already, it's an init script. how do i get it to find my nginx installation which is in /usr/local/bin/nginx
[04:13] <nunizacu> edit the script?
[04:14] <nunizacu> replace DAEMON=/usr/sbin/nginx with DAEMON=/usr/local/bin/nginx
[04:17] <nunizacu> then sudo restart nginx
[04:18] <nunizacu> should start at bootup
[04:26] <ubuntuaddicted> nunizacu, i don't see that DAEMON line within my script. hmmm
[04:31] <nunizacu> i just installed nginx on my ubu box and i had it in my script
[04:31] <nunizacu> maybe paste me that script, i will change it so it works and paste it back
[04:34] <ubuntuaddicted> nunizacu, http://paste.ubuntu.com/9017449/
[04:36] <ubuntuaddicted> nunizacu, i guess i'm not sure why it's not starting by default. i used update-rc.d defaults OHHHHH but maybe I didn't enable it
[04:38] <cryptodan> update-rc.d requires 2 things the service name and the action you want
[04:38] <ubuntuaddicted> nunizacu, and I jsut realized that sudo service nginx stop says it's already stopped BUT it's still running. hmmmm. it's like the nginx scripts I have in /etc/init.d/  aren't linked to the nginx i have installed at /usr/local/bin  and /usr/local/nginx/
[04:39] <nunizacu> replace DAEMON="${DAEMON##* }" with DAEMON=/usr/local/bin/nginx
[04:39] <nunizacu> line 88
[04:40] <ubuntuaddicted> nunizacu, will that fix it also for stopping the service?
[04:41] <nunizacu> yes
[04:43] <nunizacu> but messing with update-rc.d wasnt brightest idea
[04:45] <nunizacu> for init.d user /etc/init.d/ngnix stop
[04:45] <nunizacu> or sudo stop ngnix
[04:45] <cryptodan> ubuntuaddicted: whats the result of ps auxww | grep ngnix
[04:46] <nunizacu> pgrep ngnix is faster
[04:49] <nunizacu> first pgrep ngnix, killall -9 every number , then start, then stop, then pgrep again
[04:50] <nunizacu> you will see if stop is working
[04:50] <nunizacu> it should
[04:50] <nunizacu> maybe you just started more than one instance
[04:56] <ubuntuaddicted> nunizacu, ok, sudo service nginx start seems to work. it starts up BUT sudo service nginx stop does not stop it.
[04:57] <ubuntuaddicted> nunizacu, it returns * nginx already stopped  BUT ps aux | grep nginx still shows it running.  So the init script I linked which we edited is still not working correctly apparently
[04:57] <cryptodan> ubuntuaddicted: whats the path?
[04:58] <ubuntuaddicted> cryptodan, path to what?  if i type in which nginx it returns /usr/local/bin/nginx
[04:58] <ubuntuaddicted> cryptodan, i need reboot the system i'm on. i'll be right back
[04:58] <cryptodan> whats the path via ps command
[04:59] <ubuntuaddicted> cryptodan, same thing
[04:59] <nunizacu> it may not stop i said try sudo /etc/init.d/ngnix stop
[04:59] <ubuntuaddicted> cryptodan, ps shows nginx: master process /usr/local/bin/nginx
[05:00] <cryptodan> is that the correct spelling?
[05:00] <ubuntuaddicted> cryptodan, that's by user root and there's another process running as user nobody which is just nginx: worker process
[05:00] <nunizacu> it would be better to rewrite it to start-stop-daemon
[05:01] <ubuntuaddicted> nunizacu, the script i linked is suppose to do that. ;)
[05:01] <ubuntuaddicted> i'll be right back
[05:02] <nunizacu> why i'm so unlucky today
[05:02] <nunizacu> guy with nick ubu the tech guru who dont know bash
[05:04] <linuxmint> Hello, I'm setting up RAID MDADM for the 1st time. I believe I need to add Terminal commands, so should I install a Linux OS, as my blank HDDs are not betting yet. Just the BIOS.
[05:05] <nunizacu> run ubuntu install and do it during install
[05:05] <ubuntuaddicted> nunizacu, cryptodan i'm back
[05:05] <nunizacu> 14.04 even recognizes fakeraid
[05:07] <cryptodan> linuxmint: are you running linuxmint?
[05:07] <linuxmint> cryptodan, I haven't installed an OS yet. I'm going to run Proxmox, so I thought I'd try the best RAID, RAID10?
[05:08] <nunizacu> promox is fakeraid
[05:08] <nunizacu> configure in bios and install on it anything
[05:09] <LinStatSDR> I prefer non-software raid but.
[05:09] <nunizacu> like 14.04 if you dont want to mess with kpartx
[05:09] <nunizacu> dunno if mint also has it already
[05:10] <nunizacu> before that i had to manualy do scripts to recognize fakeraid and lvm on it
[05:10] <linuxmint> nunizacu, I think the MOBO BIOS has a RAID option, so I'll try that then.
[05:11] <LinStatSDR> yeah, bad script could hose the system
[05:11] <nunizacu> well, its not that bad
[05:11] <nunizacu> you can always boot from recovery cd and fix it
[05:12] <nunizacu> most of the time
[05:12] <nunizacu> if it is proxmox bios almost for sure has raid option
[05:12] <nunizacu> but how you set it up is mobo dependend
[05:13] <nunizacu> i have mobo where it takes 20 minutes to open fakeraid menu
[05:15] <ubuntuaddicted> can someone help me get this script working with nginx that's installed within /usr/local/bin/nginx please? http://paste.ubuntu.com/9017449/
[05:15] <nunizacu> you messed up update-rc.d
[05:15] <nunizacu> it may not start automagicly
[05:16] <nunizacu> tried sudo start ngnix ?
[05:16] <cryptodan> look at the spelling
[05:16] <ubuntuaddicted> nunizacu, not sure what you mean by messed update-rc.d. all I did was sudo update-rc.d nginx defaults and sudo update-rc.d nginx enable
[05:16] <cryptodan> nginx
[05:17] <nunizacu> i have 11 terminals open and more than 30 hours on foot, i can mess words
[05:17] <ubuntuaddicted> cryptodan, that's what I have, earlier when I put ngnix that was the typo.
[05:17] <cryptodan> no in the script
[05:19] <ubuntuaddicted> cryptodan, here's the script http://paste.ubuntu.com/9019140/
[05:19] <cryptodan> NAME="nginx"
[05:20] <cryptodan> oh it is spelled right
[05:20] <ubuntuaddicted> cryptodan, right
[05:21] <cryptodan> wait its not unless you misspelled it?
[05:21] <ubuntuaddicted> cryptodan, i dont' follow what you're saying
[05:22] <cryptodan> nevermind
[05:23] <nunizacu> maybe change name of original nginx and add your installed patho to PATH
[05:24] <nunizacu> type should find it
[05:26] <nunizacu> PATH in script, not systemwide
[05:27] <ubuntuaddicted> nunizacu, i'm sorry, i don't know what any of that means
[05:27] <cryptodan> where did you get this script in the first place?
[05:28] <ubuntuaddicted> cryptodan, i'm not sure to be honest
[05:29] <cryptodan> so you openly run a script from which you do not know where you got it from?
[05:29] <ubuntuaddicted> cryptodan, if you have another nginx script that will work with my installed nginx that's in /usr/local/nginx than I would really appreciate that
[05:29] <cryptodan> ubuntuaddicted: usually when you complie something like that it wouldcome with its own script
[05:29] <cryptodan> I dont openly go out on the web looking for scripts to run my services if I compiled them
[05:30] <ubuntuaddicted> cryptodan, apparently so.  looking at this one looks promising http://wiki.nginx.org/Nginx-init-ubuntu
[05:30] <cryptodan> ubuntuaddicted: look in the source package from which you compiled it from
[05:31] <cryptodan> otherwise I would highly recommend that you stop trying to mess around servers and services in general if you do not know what you are doing
[05:31] <ubuntuaddicted> cryptodan, hmm, i followed this guide for compiling nginx here: https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/
[05:31] <ubuntuaddicted> cryptodan, i can only learn if i try
[05:32] <cryptodan> there is no script there
[05:32] <ubuntuaddicted> cryptodan, and i have not really learned init scripts or upstart. i normally just install packages using the default repo's BUT minecraft and nginx aren't in the default repo's (well you know why I had to compile nginx-because i needed the rtmp module)
[05:33] <ubuntuaddicted> cryptodan, i realize that but it appears like it has a $PATH variable in it that I can set
[05:36] <ubuntuaddicted> cryptodan, it appears as though I got my current script from https://wiki.debian.org/LSBInitScripts
[05:36] <cryptodan> this is how you start and stop the script based upon the quide you sent $ sudo /usr/local/nginx/sbin/nginx -s stop $ sudo /usr/local/nginx/sbin/nginx
[05:37] <ubuntuaddicted> cryptodan, i know how to stop and start nginx manually. i am trying to get it to auto-start when the server starts
[05:37] <cryptodan> put /usr/local/nginx/sbin/nginx in rc.local
[05:41] <ubuntuaddicted> cryptodan, that wouldn't be using upstart then right?
[05:41] <ubuntuaddicted> cryptodan, because that new script I linked to even has the default conf directory correct being NGINX_CONF_FILE="/usr/local/nginx/conf/nginx.conf"
[05:41] <cryptodan> nope but it would allow you to do what you want
[05:45] <cryptodan> ubuntuaddicted: here you go http://wiki.nginx.org/Upstart
[05:47] <ubuntuaddicted> cryptodan, but i'm not familar with initctl. with that upstart job would I be able to manage the service with sudo service or no?
[05:47] <ubuntuaddicted> cryptodan, so this script woudln't work? http://wiki.nginx.org/Nginx-init-ubuntu
[05:48] <cryptodan> ubuntuaddicted: also this http://wiki.nginx.org/Nginx-init-ubuntu
[05:49] <ubuntuaddicted> cryptodan, lol, that's what i linked like 15 minutes ago
[05:49] <cryptodan> that wasnt your pastebin
[05:59] <ubuntuaddicted> cryptodan, actually this script looks the most promising. https://raw.githubusercontent.com/JasonGiedymin/nginx-init-ubuntu/master/nginx
[06:00] <cryptodan> the one posted from the nginx wiki is the one you should use
[06:00] <ubuntuaddicted> cryptodan, linked from this guide here: https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04
[06:02] <ubuntuaddicted> cryptodan, do i need to do anything writh update-rc.d?
[06:03] <cryptodan> update-rc.d nginx enable I believe
[06:03] <ubuntuaddicted> cryptodan, i don't need to remove or disable the current one?
[06:04] <cryptodan> yes and then renable the other one
[06:04] <ubuntuaddicted> cryptodan, i did sudo update-rc.d nginx disable
[06:05] <ubuntuaddicted> cryptodan, installed the new nginx file. now i just run sudo update-rc.d nginx defaults && sudo update-rc.d nginx enable?
[06:05] <cryptodan> defaults should be all that is required
[06:07] <ubuntuaddicted> cryptodan, sudo update-rc.d nginx defaults returned System start/stop links for /etc/init.d/nginx already exist
[06:08] <ubuntuaddicted> cryptodan, so i did sudo update-rc.d nginx enable and it removed all them and then re-added them scripts in each of the /etc/rc0.d/K20nginx
[06:10] <ubuntuaddicted> cryptodan, hmmm, so now sudo service nginx start doesn't work. it says nginx: unrecognized service
[06:11] <ubuntuaddicted> cryptodan, ahhhh, it was because i didn't chmod +x the /etc/init.d/nginx file. it's working now.
[06:13] <cryptodan> reboot and see if it starts
[06:14] <ubuntuaddicted> cryptodan, i would if no one was on the server but there is so i have to wait until they get off. i run a minecraft server. :)
[06:14] <cryptodan> internet issues
[06:15] <ubuntuaddicted> cryptodan, but sudo service nginx start works. and sudo service nginx stop works.   so i believe we got it working. :)  I really appreciate your help and patience
[06:15] <cryptodan> you are welcome, and to learn serving I would highly recommend using a VM till you get the hang of it
[06:17] <ubuntuaddicted> cryptodan, thanks. i just need to do some learning of init i guess or upstart or whatever it's referred as in xubuntu 14.04.1
[06:18] <cryptodan> so that way you dont open yourself up for exploit
[06:22] <ubuntuaddicted> cryptodan, i have a hardware firewall protecting me but i see what you're saying
[06:22] <cryptodan> if it is made by man it can be broken by man
[06:23] <ubuntuaddicted> cryptodan, :)
[07:01] <linuxmint> So, setting up RAID on new computer and BIOS says RAID can be setup with BIOS if using Windows. I'm using Linux (Proxmox on Centos), so do I need to build a different type of RAID like mdadm?
[07:23] <ubuntuaddicted> ok, i'm back. apparently despite us fixing that minecraft startup script which is supposed to start a screen session that I can attach to, there's no screens running under user minecraft or under my user. can anyone help again?
[07:26] <cryptodan> ubuntuaddicted: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-minecraft-server-on-linux
[07:26] <dominic1134> www.openas.org - an open-source Anti-Spam appliance - We're still looking for contributers, volunteers and supporters. Check it out!
[07:31] <ubuntuaddicted> cryptodan, thanks but i'm not using those instructions. according to ps aux | grep minecraft both screen and minecraft are running
[07:31] <ubuntuaddicted> cryptodan, http://pastebin.com/yJacZVzY
[07:31] <cryptodan> screen -R
[07:32] <ubuntuaddicted> cryptodan, that just brings up a new screen session
[07:32] <nunizacu> screen -r
[07:33] <ubuntuaddicted> actually, it returns this Cannot open your terminal '/dev/pts/19' - please check.
[07:33] <ubuntuaddicted> when i run screen -R with user minecraft
[07:35] <ubuntuaddicted> if i chown /dev/pts/19 so it's owned by user and group minecraft screen -R results in a new screen session and screen -r results in There is no screen to be resumed
[07:37] <nunizacu> do it as user who did screen
[07:37] <ubuntuaddicted> not sure if what user juboobbleton did was an acceptable workaround  in this post https://github.com/superjamie/minecraft-init-script/issues/26
[07:37] <nunizacu> login as user whitch you did screen and then screen -l
[07:38] <nunizacu> or if you dont like login sudo -u USER screen -l
[07:38] <ubuntuaddicted> nunizacu, if i ssh into the server as user minecraft and try screen -r it says there is no screen to be resumed
[07:39] <ubuntuaddicted> and screen -ls returns this No Sockets found in /var/run/screen/S-minecraft.
[07:39] <nunizacu> sudo ls /var/run/screen
[07:40] <ubuntuaddicted> so i don't believe adding /etc/init.d/screen-cleanup start  to my minecraft start script was the correct workable solution.
[07:40] <ubuntuaddicted> nunizacu, that returns this    S-minecraft  S-ubu
[07:41] <nunizacu> sudo -u minecraft screen -l
[07:41] <nunizacu> sudo -u ubu screen -l
[07:41] <nunizacu> if you see some - sudo -u user screen -r
[07:42] <ubuntuaddicted> typing in    sudo -u ubu screen -l    just takes me into a new screen session as user minecraft. what do i do once i'm in htere?
[07:44] <ubuntuaddicted> nunizacu, i don't believe it's setup correctlly. that script is suppose to start a screen session, run as a daemon as user minecraft and then start the minecraft server. i should be able to reattach to screen which is named surivial-mc and see the minecraft server console but so far i can't find the running screen session
[07:47] <ubuntuaddicted> nunizacu, according to screen -list  No Sockets found in /var/run/screen/S-minecraft.
[07:48] <nunizacu> so you have no screen running
[07:49] <nunizacu> but man you do web servver, minecraft server or what?
[07:49] <Ben64> ubuntuaddicted: why must you use a script?
[07:49] <Ben64> ssh in, run screen, run minecraft server
[07:49] <ubuntuaddicted> nunizacu, apparently not under user minecraft. but what i'm confused about is ps aux | grep minecraft shows SCREEN running http://pastebin.com/yJacZVzY
[07:49] <ubuntuaddicted> Ben64, so that if the power goes out it auto-restarts
[07:50] <nunizacu> you can do it with start-stop-daemon
[07:50] <nunizacu> assign pid, loop test
[07:50] <nunizacu> and restart when needed
[07:50] <Ben64> ubuntuaddicted: you're overcomplicating it
[07:50] <nunizacu> learn something about linux, bash and anything man
[07:50] <ubuntuaddicted> nunizacu, if there's some other way to have it autostart when the server boots up please let me know
[07:51] <Ben64> your server shouldn't be dying often enough that you need to do that
[07:51] <ubuntuaddicted> so what sucks right now is i can't safely stop the minecraft server
[07:51] <nunizacu> man, if it wasnt your nick i would do it long time ago (i can survive overgrovn ego to this extent only)
[07:52] <Ben64> my server == 02:51:45 up 78 days, 23:11,  4 users,  load average: 0.00, 0.01, 0.05
[07:52] <Ben64> and that reboot was planned
[07:52] <ubuntuaddicted> Ben64, you run a minecraft server?
[07:52] <Ben64> i have
[07:53] <ubuntuaddicted> if i can't reattach to the screeen it's running in, what's the safest way to stop it?
[07:53] <Ben64> should be able to do that from within the server
[07:53] <ubuntuaddicted> Ben64, i can't get to the server console.
[07:54] <Ben64> i mean, in game
[07:54] <ubuntuaddicted> Ben64, someone helped me earlier thinking they fixed it for me but it turns out it didn't fix the problem, it just made it so the minecraft server started when the server booted up BUT i can't get to the screen session to manage the minecraft from it's console
[07:55] <Ben64> yeah, stop relying on scripts and stuff
[07:56] <cryptodan> I would follow this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-a-minecraft-server-on-linux
[07:56] <ubuntuaddicted> Ben64, i need some automated way for the minecraft server to start and it's all over the web as far as guides showing people how to use the init script to start screen and then start minecraft
[07:56] <Ben64> you really don't need an automated way
[07:56] <Ben64> you start it, and it runs forever-ish
[07:57] <ubuntuaddicted> Ben64, as I said, if for whatever reason the server is restarted i'd like it to auto-start but i see your point.  but solving my current dillema, i'm on the server thru my minecraft client. what's would i type in to stop it safely?
[07:57] <cryptodan> ubuntuaddicted: or this one http://minecraft.gamepedia.com/Tutorials/Ubuntu_startup_script
[07:57] <nunizacu> at last
[07:58] <nunizacu> i was about to write one for him
[07:58] <nunizacu> i man guru
[07:58] <nunizacu> i have only 17 years of expirience
[07:58] <Ben64> maybe you shouldn't be running a minecraft server
[07:58] <Ben64> if you can't figure out how to start/stop it
[07:58] <nunizacu> and dont have enought bandwidth
[07:58] <cryptodan> or any type of server for that matter
[07:58] <Ben64> or running java on startup by using random scripts you find online and root and all kinds of stuff
[07:58] <Ben64> red flags everywhere
[07:59] <ubuntuaddicted> cryptodan, that doesn't use screen so that wouldn't allow me to admin the server thru the minecraft server console
[07:59] <nunizacu> you can run screen inside start-stop-daemon
[07:59] <nunizacu> you can redirect fd's
[07:59] <nunizacu> or do many fancy things
[08:00] <ubuntuaddicted> nunizacu, i'm sure you can, i was merely stating what cryptodan linked to did not have screen incorporated.
[08:00] <cryptodan> simple google https://www.google.com/?gws_rd=ssl#q=minecraft+server+admin+console
[08:00] <nunizacu> man, screen is one of first thing irc guy learns
[08:00] <nunizacu> and bash is first thing linux guy learns
[08:00] <nunizacu> start with that
[08:01] <ubuntuaddicted> Ben64, so it's safe to just type in stop from my minecraft client? i've never used server commands in the client before
[08:02] <cryptodan> http://minecraft.gamepedia.com/Commands
[08:02] <Ben64> really, maybe you shouldn't be running a server
[08:02] <cryptodan> I told him to practice in a VM first
[08:02] <Ben64> good idea
[08:03] <nunizacu> well i offer vm's but for guys who do some cool stuff
[08:03] <ubuntuaddicted> cryptodan, i was already looking at that. it doesn't state it's safe to do from the client
[08:04] <ubuntuaddicted> Ben64, i can't learn if i don't do. i'm attempting to do. asking for help, if you're unwilling to help and can only belittle me than i was mistaken that this was a support irc channel for ubuntu-server
[08:04] <cryptodan> there is a proper way to learn server hosting, and being inexperienced and hosting public facing servers is not the way
[08:05] <Ben64> ubuntuaddicted: you're doing less doing and more copying scripts you find online
[08:05] <nunizacu> man learn basics first
[08:05] <Ben64> i'm suggesting you actually DO and run screen yourself
[08:05] <cryptodan> Its all we need is another exploited server out there hosting malware such as cryptolocker
[08:06] <nunizacu> when i was starting i had to manualy hunt for sources to build anything couse slack had not apt-get or so
[08:06] <cryptodan> I was handed a Debian 2.0 Disk and was told have fun and good luck
[08:06] <nunizacu> it was just hunting for some program and then hunting for dependencies, and dependecies of depenencies
[08:07] <nunizacu> so you remember how cool it was when mandrake came out
[08:07] <Ben64> i compiled 2.6 kernel when it came out, had to update pretty much everything in order for that to work
[08:07] <Ben64> i didn't follow any guide or anything, just tried stuff till it worked
[08:07] <nunizacu> man, kernel compiling become daily stuff
[08:07] <cryptodan> I removed /etc once
[08:08] <Ben64> the upgrade from 2.4 to 2.6 was huge though :)
[08:08] <nunizacu> man, worst nightmares was gcc updates
[08:08] <nunizacu> or glibc
[08:08] <cryptodan> tried removing postfix manually and well lets just say I typed in rm -rf /etc and thought I hit tab but then hit * and well hit enter
[08:09] <nunizacu> rm -rf / is oldest joke ever
[08:09] <Ben64> and thats how you learn to quintuple check before hitting enter
[08:09] <ubuntuaddicted> i had the server working just fine previously but had to manually start the server. screen was launched and minecraft launched within that. it was working. i came here to get help to automate it during a bootup. someone in here gave me a command to add to my minecraft init script which i had thought made the minecraft server start at system boot BUT it didn't make a reattachabel screen so the solutiuon given to me was incorrec
[08:09] <ubuntuaddicted> t.
[08:09] <nunizacu> man LEARN HOW INIT SCRIPTS WORK FIRST
[08:09] <nunizacu> sorry for caps
[08:09] <nunizacu> im sick for 2 months
[08:10] <ubuntuaddicted> i've never entered commands for the server in a client before.
[08:10] <nunizacu> and after 6 or 7 antibiotics
[08:10] <nunizacu> well, its good we have sudo
[08:10] <ubuntuaddicted> it's a bug in screen, in ubuntu's provided screen package since 4 years ago
[08:11] <nunizacu> yeah, im using screen right now
[08:11] <nunizacu> on ubuntu
[08:11] <ubuntuaddicted> at least i got my server back to running the way it was before I came here.
[08:11] <ubuntuaddicted> screen is running for user minecraft, and I can reattach to it just fine.
[08:11] <nunizacu> screen somprogram, control-a-d, screen -r
[08:12] <nunizacu> whole philosophy
[08:12] <ubuntuaddicted> and see the minecraft server console so all is well
[08:12] <nunizacu> man, you are just toxic
[08:12] <nunizacu> learn basics
[08:12] <ubuntuaddicted> now to figure out how to autostart it when the server boots up. that's for another day cause i'm exhausted. worked 13 hours at my normal job and then messed with minecraft and nginx all night.
[08:13] <Ben64> alternatively, don't autostart it
[08:13] <nunizacu> and i work over 35 hours now
[08:13] <ubuntuaddicted> thanks for everyones help. goodnight
[08:13] <nunizacu> beat that
[08:13] <nunizacu> if you are netadmin they dont ask if you can or can do it, or if you have time, you have to get it done
[08:14] <ubuntuaddicted> easily, my longest shift was 31 hours without leaving :)
[08:14] <nunizacu> if i have a problem i google and try thus learn
[08:14] <nunizacu> well, my shift ends maybe tommorow
[08:14] <ubuntuaddicted> excuse me, 39
[08:14] <ubuntuaddicted> anyway...... night
[08:15] <nunizacu> sleep looong
[08:15] <nunizacu> where such guys come from
[08:15] <nunizacu> he acts like fifteen years old egoovergrown kiddo
[08:16] <nunizacu> 39 shift... i have 35 and i have more coffeine inozytol and taurine than blood
[08:17] <nunizacu> and alive just becouse i slept last 30 hours
[08:17] <nunizacu> i thought ubuntu-server would be channel for some guys who knows at least basics
[08:18] <nunizacu> i know its not lfs but anyway
[08:18] <nunizacu> i had to run from networking channel becouse they didnt know why fd80 adresses work and others dont
[08:19] <nunizacu> it's good i have my ovn irc server
[08:55] <nunizacu> ehh, #gentoo is no better
[08:55] <nunizacu> 'how can i do this'? ansawer 'dont'
[10:39] <lordievader> Good morning.
[12:03] <Nafetsch> hi there
[12:03] <Nafetsch> i have a short question
[12:03] <Nafetsch> i have two php versions on my server
[12:04] <Nafetsch> i try to install apc
[12:04] <Nafetsch> but after install php5-dev i sill get sh: 1: phpize5514: not found
[12:04] <Nafetsch> i think i have to link phpize to phpize5514... but how?
[12:07] <ikonia> which repo did that come from ?
[12:08] <Nafetsch> puh. donk know
[12:08] <Nafetsch> sorry i am a noob
[12:08] <Nafetsch> my other php is php5514
[12:09] <Nafetsch> i just need to figure out why phpize dont like it
[12:09] <Nafetsch> what i try is pecl install apc
[12:10] <lordievader> Nafetsch: What is the output of 'apt-cache policy php5-dev'?
[12:11] <Nafetsch> php5-dev:
[12:11] <Nafetsch>   Installiert: 5.3.10-1ubuntu3.15
[12:11] <Nafetsch>   Kandidat:    5.3.10-1ubuntu3.15
[12:11] <Nafetsch>   Versionstabelle:
[12:11] <Nafetsch>  *** 5.3.10-1ubuntu3.15 0
[12:11] <Nafetsch>         500 http://ubuntu.mirror.serverloft.de/ubuntu/ precise-updates/main amd64 Packages
[12:11] <Nafetsch>         500 http://ubuntu.mirror.serverloft.com/ubuntu/ precise-security/main amd64 Packages
[12:11] <Nafetsch>         100 /var/lib/dpkg/status
[12:11] <Nafetsch>      5.3.10-1ubuntu3 0
[12:11] <Nafetsch>         500 http://ubuntu.mirror.serverloft.de/ubuntu/ precise/main amd64 Packages
[12:11] <lordievader> !paste | Nafetsch
[12:11] <Nafetsch> SORRY
[12:12] <Nafetsch> I will do that next time
[12:12] <lordievader> !info apc
[12:12] <Nafetsch> I think php5-dev is installed for my 5.3.10
[12:13] <Nafetsch> but i have also 5.5.14
[12:13] <Nafetsch> I think my problem is that when I installed the php-dev it is not for the 5.5.14 ... is that possible?
[12:13] <lordievader> Nafetsch: Is it the 'php5-apcu' what you are trying to install?
[12:14] <Nafetsch> ACP YES
[12:14] <Nafetsch> pecl install apc
[12:14] <lordievader> Nafetsch: Why not take the package?
[12:15] <Nafetsch> how?
[12:15] <lordievader> Nafetsch: apt-get install php5-apcu
[12:15] <lordievader> I actually hope to learn something...
[12:15] <lordievader> Whoops..
[12:15] <mardraum> you shouldn't be using apc anymore in recent php
[12:16] <mardraum> use opcache.
[12:16] <ikonia> this looks like a PPA
[12:17] <Nafetsch> i want to use it for own cloud
[12:17] <mardraum> apc is dead.
[12:17] <Nafetsch> PHP module apc OR PHP module apcu OR PHP module xcache
[12:17] <Nafetsch> the docu of owncloud says:
[12:17] <mardraum> that's nice. use an older php then.
[12:18] <Nafetsch> apt-get install php5-apcu SAYS: package not found !
[12:18] <mardraum> apc is dead, jim
[12:18] <mardraum> apc - it's dead. jim.
[12:19] <lordievader> Nope.
[12:19] <lordievader> Ugh, irssi history and high latenc don't mix...
[12:20] <Nafetsch> when I try to install APCu I get the same error
[12:21] <mardraum> who knew.
[12:21] <Nafetsch> running: phpize5514           sh: 1: phpize5514: not found          ERROR: `phpize' failed
[12:21] <lordievader> 15-13:15 < mardraum> you shouldn't be using apc anymore in recent php
[12:21] <lordievader> 15-13:16 < mardraum> use opcache.
[12:21] <lordievader> ^
[12:25] <Nafetsch> OK GUYS general question about apt-get install
[12:26] <Nafetsch> HOW can i tell apt get install which PHP I WANT TO USE
[12:26] <Nafetsch> because it installs everything for the old one
[12:26] <ikonia> I'd be more interested in why you have 2 versions
[12:26] <ikonia> and where those 2 versions are coming from
[12:26] <Nafetsch> i have plesk and i can choose
[12:26] <Nafetsch> but that doesnt matter
[12:27] <ikonia> it does matter
[12:27] <ikonia> as it defines how your system is configured
[12:27] <Nafetsch> when i write which PHP
[12:27] <Nafetsch> i get the old one
[12:27] <Nafetsch> "/usr/bin/php"
[12:28] <ikonia> again - I'm more interested in where your different versions are coming from before suggesting any course of action
[12:28] <Nafetsch> is that where apt get install does the stuff for ?
[12:28] <Nafetsch> i compiled it
[12:28] <ikonia> that seems unlikley
[12:28] <ikonia> as apt-get would not show your compiled version
[12:29] <Nafetsch> and It performs very well
[12:29]  * mardraum giggle
[12:29] <Nafetsch> but i dont know how to add modules to it or change it with apt get install
[12:29] <ikonia> you don't
[12:29] <ikonia> assuming you are correct i that you compiled it
[12:29] <Nafetsch> ah ok
[12:29] <ikonia> apt-get will not interact with your compiled version
[12:30] <Nafetsch> is that possible?
[12:30] <Nafetsch> the it will interact?
[12:30] <Nafetsch> or do i have to recompile it?
[12:30] <ikonia> no
[12:30] <ikonia> apt knows nothing about your compiled version
[12:30] <Nafetsch> how to tell it about
[12:30] <lordievader> Unless you package your compiled code and install it through dpkg.
[12:30] <Nafetsch> my compiled version
[12:31] <Nafetsch> ah ok
[12:31] <Nafetsch> is that complex?
[12:31] <lordievader> But all of that is not supported here.
[12:31] <Nafetsch> ok thank you
[12:31] <Nafetsch> but if I need apcu now
[12:32] <Nafetsch> i can just recompile my php and put that in
[12:32] <Nafetsch> right?
[12:32] <ikonia> thats up to you - it's your compile
[12:33] <Nafetsch> :D
[12:34] <Nafetsch> actually that is what I tried before but I have problems to add new stuff to my compile config
[12:35] <Nafetsch> what i do is for example:   apt-get install php5-dev
[12:36] <Nafetsch> but how add it to my compile: ./configure ----with-php5-dev
[12:36] <Nafetsch> that dont work :(
[12:36] <ikonia> Nafetsch: that won't work
[12:37] <Nafetsch> mhhmhm
[12:37] <ikonia> installing php5-dev won't do anything magic, your source tree is what needs to be aware of it
[12:37] <Nafetsch> i know :D
[12:37] <lordievader> Nafetsch: You said you had it compiled yourself, then why do you use the headers from the repo?
[12:37] <ikonia> if you know why are you telling us pointless information
[12:38] <Nafetsch> I dont know where to read more about it...
[12:38] <ikonia> about what ?
[12:38] <lordievader> Nafetsch: Why did you compile php in the first place?
[12:38] <ikonia> I don't understand
[12:38] <ikonia> you state you're doing it wrong (by showing us examples)
[12:39] <ikonia> then when I explain how it's wrong you say "I know"
[12:39] <Nafetsch> I did a tutorial for the compiling. because I need a new PHP version.
[12:39] <ikonia> so whats the issue ?
[12:40] <Nafetsch> where can i read something about Configuring my compile... how can I compile apcu into my new PHP
[12:40] <Nafetsch> lordievader ... Sorry I dont know what you want to say with headers of repo
[12:41] <lordievader> -dev packages usually contain headers for when you want to compile stuff that has those dependencies.
[12:42] <lordievader> For example php5-dev would be installed if you want to compile a custom module against the install php version.
[12:42] <lordievader> *the installed php versin  == the version from the repo.
[12:43] <ikonia> Nafetsch: ##php is the php support channel, they have some very skilled people
[12:43] <Nafetsch> ok. thank you lordievader and ikonia
[20:44] <hikenboot> hi! I have a ubuntu server that is in a microsoft virtual hard drive that is 300GB 220GB is empty space (after shrinking) I tried using clonezilla to clone the vm to a smaller virtual drive but it fails unreacognized sda format...
[20:45] <hikenboot> my question is this
[20:46] <hikenboot> can I create a new vm that is 60GB (2GB for /boot) 58 for system using the ubuntu installer then boot from a live cd the original vm and the new one and rsync the install to new drive
[20:46] <hikenboot> after removing the fresh install from the new drive (just leaving the partitions)?
[20:46] <qman__> yes
[20:47] <qman__> you can simply rsync the files, then install grub on the new disk
[20:47] <hikenboot> if so what rsync switches would i need I would have to preserve all the special files and symlinks
[20:47] <qman__> you will have to update fstab for the UUID
[20:47] <qman__> rsync -aH
[20:48] <hikenboot> i would just copy the data to the new install but its a rather complicated install with lots of customized configs everywhere