[00:00] <grendal_prime> cause im crazy like that and i got time falling out my ass for this sort of stuff...boom!
[00:01] <grendal_prime> and thats a big fat nope
[00:07] <grendal_prime> oh shit figured it out
[00:08] <grendal_prime> I needed to put put in the ~ so that it would be run by the user itself at log on.
[00:08] <grendal_prime> that seems to have done the trick..also it means whatever user logs on they will have access...wich is a good thing.
[00:09] <grendal_prime> however i wonder if i have two users logs on..well i dont think that will happen on this machine
[00:29] <bekks> use the autostart mechanisms of your guest OS.
[00:41] <sarnold> grendal_prime: the which program and the type shell builtin are useful for finding out where a program lives
[00:42] <sarnold> grendal_prime: 'which ln' reports /bin/ln -- type is really useful if it might be a shell builtin or shell alias, e.g. note the difference between 'which echo' and 'type echo'
[01:07] <spyridonas> Hello , i have the following problem : PHP can't write to filesystem but /var/www and all of the subfolders are 777 and part of www-data group/user. Apache runs as www-data. what do i need to look for ?
[01:08] <spyridonas> the script tha fails is module installation for Prestashop (im sure the php code is correct)
[01:09] <spyridonas> user and permissions are correct
[01:10] <spyridonas> for example   move_uploaded_file(): failed to open stream: Permission denied and   ZipArchive::extractTo(): Permission denied, anything that writes to fs...
[01:13] <spyridonas> #PHP
[01:46] <Mortix> hi everyone, i'm having an annoying problem(KVM), i'm creating a machine and when i'm trying to connect to the machine it keep prompting password request(openssh) and black screen on the graphical console... i guess it's permission problem?
[01:55] <sarnold> Mortix: are you trying to use libvirt or using qemu/kvm directly from the command line?
[01:55] <sarnold> Mortix: what guest os are you trying to use? are you confident the guest ought to work with the selected bios/cpu/etc?
[01:56] <sarnold> Mortix: how did you find an IP address to use for openssh? did the console have any output, ever? or was it always blank?
[01:56] <Mortix> i'm getting like 20 openssh password prompt when i'm trying to open the virtual console
[01:57] <Mortix> ubuntu server, connecting from different machine on the network
[01:57] <Mortix> also ubuntu
[01:57] <Mortix> using virt-manager
[01:58] <Mortix> i couldn't create a vms before so i uncomment the #root in the /etc/libvirt/qemu.conf for user and group
[01:59] <Mortix> sarnold, ?
[02:00] <sarnold> Mortix: can you use virt-manager from the host to connect to the console?
[02:00] <Mortix> it's ubuntu server
[02:00] <Mortix> no gui
[02:01] <sarnold> install virt-manager on the server, then connect with ssh -X -Y to enable X11 forwarding
[02:01] <sarnold> then virt-manager should forward to your workstation
[02:03] <Mortix> what it has to do with the virtual machine console? oO
[02:04] <sarnold> Mortix: you can then click on the VM in question, hit the "open" button, and see the guest's console
[02:04] <sarnold> it might be stuck at a grub prompt
[02:04] <sarnold> or it might be stuck at a "filesystem unhealthy, fscking" screen
[02:05] <Mortix> when i click open it prompt password
[02:05] <Mortix> none stop
[02:05] <sarnold> or if you're lucky, it's sitting at a getty login: prompt and you can log in and diagnose :)
[02:06] <sarnold> what is prompting for your password? the host? the guest? what is the prompt? can you tell which program is asking?
[02:06] <Mortix> virt-manager
[02:06] <Mortix> also tried with virt-watcher
[02:07] <Mortix> connection to the host work fine
[02:07] <Mortix> prompt for password and move on
[02:07] <Mortix> but when i'm trying to open a VM
[02:08] <Mortix> it stuck in some loop for password
[02:09] <Mortix> virt-viewer*
[02:09] <sarnold> hmm. I forgot virt-manager can manage vms on other computers, too..
[02:09] <sarnold> is it prompting for ssh credentials to do libvirt things on the remote host?
[02:11] <sarnold> Mortix: do you have any firewal rules on the host, guests, or your workstation that might prevent the vnc or spice connections from working?
[02:11] <Mortix> nop
[02:14] <sarnold> Mortix: do you use a different username to connect to some hosts? perhaps your ~/.ssh/config needs some new host-specific sections to change username or key or something similar/
[02:49] <Mortix> sarnold, only root and my user
[02:52] <sarnold> Mortix: dang. I liked that idea. :)
[02:53] <Mortix> what do you mean
[02:53] <sarnold> I had hopes that it was just a wrong username somewhere..
[02:55] <Mortix> i guess no leads..
[03:34] <MichaelHabib1> hi
[03:34] <MichaelHabib1> Q : if I created an A record (mypc.server.com -> 192.168.0.100) which points to a different address to the server.com (server.com is at 192.168.0.200). shouln't I be able to ping mypc.server.com  & ssh into it ?
[06:29] <fathi> anybody can help me ? wanna learn about ubuntu server
[08:33] <lordievader> Good morning.
[09:21] <StathisA_> i got this on a sudo cron tab but it does not seem to work...the command works perfectly in cli.:     20 12 1 * * sudo cp /home/username/rsnapshot.log /home/username/old_logs/rsnapshot_$(date --date="last month" +%m_%Y).log
[09:21] <StathisA_> any ideas?
[09:21] <lordievader> User sudo?
[09:21] <lordievader> Make that root ;)
[09:22] <StathisA_> oh its root
[09:22] <StathisA_> i've edited after i pasted
[09:22] <StathisA_> is there any log to check?
[09:22] <lordievader> Syslog.
[09:24] <StathisA_> well it seems to "stop" ath the "+"
[09:25] <StathisA_> i'll escape it with \
[09:25] <lordievader> Ah, yes. Those things need to be escaped.
[09:26] <StathisA_> duh..:-(
[09:26] <StathisA_> i always seem to miss it...
[09:27] <StathisA_> it works fine now
[11:34] <devster31> is anyone using gosu as a sudo replacement?
[11:35] <lordievader> devster31: Are there benefits?
[11:38] <devster31> process is not involved when executing the command and it's a clean way to execute single lines, much easier when used to switch to users other than root
[11:40] <bekks> And whats the benefit over sudo?
[11:42] <devster31> 1 process instead of 2
[11:42] <bekks> So you have gosu and the process you want to execute. That are two processes.
[11:42] <bekks> Same applies for sudo.
[11:46] <devster31> not exactly, let's say you give tail -f, sudo process keeps running for as long as you continue tailing the file, gosu exits immediately after tail starts
[11:47] <devster31> which means you have effectively 1 process running
[11:47] <bekks> And whats the benefit at that point?
[11:47] <bekks> Honestly, I dont see the benefit, since sudo isnt a full blown java monster hogging resources :)
[12:04] <jlbhshluekg> .
[12:04] <jlbhshluekg> did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars?
[12:04] <jlbhshluekg> did usa excute the creative mess in the middle east like they said they will, does the creative mess include explosions with uncertain responsibles to create wars?
[12:04] <jlbhshluekg> plz, send my qs to help limiting usa & israel aggression against others& may then lessen number of people killed in the middle east.
[12:04] <jlbhshluekg> .did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars?
[12:47] <Agent86> hi ubuntu-server
[12:48] <Agent86> got a question question about servers in general if you set the server up as a domain controller can you still access via local login ? I've heard windows-servers have not user/admin local users when used as a domain controller etc ???
[12:49] <Agent86> I don't recall ever reading about linux servers losing local access as a domain controller. What about it ?
[12:50] <Matsy> Your assumption is right: you don't lose local access
[12:50] <Agent86> whew great
[12:50] <Agent86> and am I correct in reading that windows servers lose local access as domain controllers ?
[13:09] <teward> Agent86: no.  Case in point: at one place I worked two IT staff had admin privileges network wide.  Those users were AD-controlled, and both had administrative access to domain controllers.
[13:09] <teward> Agent86: as well, there's localadmin on the domain controllers, which in an emergency could be accessed, but it was rare to do so
[13:10] <teward> Agent86: I believe the general argument of "lose local access as domain controllers" is not valid because with the right setup you can still have a local administrator
[13:10] <teward> who would in turn have access.
[13:10] <teward> (another case in point: the virtual Windows SErver domain that it controlled in a separate segment of a VLAN on a virtual lab environment isolated from existence.
[13:10] <teward> (which i set up)
[13:11] <teward> Agent86: however, Windows servers tend to turn control over to Active Directory.  With the right changes to boot, or with actual access to the server itself physically, you can likely login as the local admin, but in practice the AD users with admin rights have access
[13:11] <teward> that's offtopic here, thoguh
[13:12] <teward> so i'm gonna stop talking, and return to beating nginx 1.8.x with a stick
[13:47] <designbybeck> I have a basic server, that doesn't have much of anything running on it, but I'm getting these errors while trying to update and then trying to dpkg --configure -a
[13:47] <designbybeck> http://paste.ubuntu.com/10962077/
[13:47] <designbybeck> Any ideas?
[13:52] <bekks> designbybeck: read only filesystem. Fix the filesystem errors before.
[13:54] <designbybeck> bekks, not sure how to do that bekks
[13:55] <dmsimard> Has anyone done an upgrade of a corosync cluster from 12.04 to 14.04 ? Corosync went from 1.4.2 to 2.3.3 and they can't exactly talk to each other very well - complaining about different crypto.
[13:55] <bekks> designbybeck: you need to run fsck from a livecd.
[13:55] <designbybeck> this is a http://cloudatcost.com server. I got it hoping to learn more about Linux servers, and just play around with stuff, but their service isn't that great
[13:55] <designbybeck> bekks, ^
[14:12] <patdk-wk> designbybeck, just reboot that instance
[14:12] <patdk-wk> it's probably just their horrible disks timing out
[14:13] <designbybeck> ..ah ok thanks patdk-wk let me try that
[14:19] <Agent86> @teward thanks I was afk for a long while, but thanks for the update
[14:50] <Onionnion> Can anyone recommend an upgrade path for a production 10.04 server to 14.04? Or perhaps documentation on this?
[14:51] <mdeslaur> Onionnion: you need to do 10.04 -> 12.04 -> 14.04
[14:52] <Onionnion> That's what I was thinking it'd be
[14:52] <rattking> I got bit by this bug last night.. good job on the turnaround time!  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1450442
[14:52] <mdeslaur> Onionnion: the 10.04 end of life notice had some links in it: https://lists.ubuntu.com/archives/ubuntu-security-announce/2015-April/002931.html
[14:52] <Onionnion> Precise is 12 and Trusty is 14, correct?
[14:53] <mdeslaur> Onionnion: yes, that is correct
[14:53] <Onionnion> thank you
[14:54] <Onionnion> gotta get mail server up to date this weekend..wish I did it sooner
[14:54] <mfisch> jamespage: do you have any estimates on when we'll see Juno.3 packages?
[15:26] <rattking> I am having a issue with openstack booting 12.04 where udev is not generating /dev/disk/by-id unless I attach the volume after boot. does anyone know how to make /dev/disk/by-id more reliable?
[15:27] <rattking> udevadm trigger use to cause this to be generated after boot, but stopped sometime recently
[15:37] <grendal_prime> sarnold thanks
[15:37] <grendal_prime> turns out just putting it into the rc.local file worked fine
[15:38] <grendal_prime> sarnold,  werid part. the first time i run the process on the application that access the com port. it fails, second time it works werid..but whatever.
[15:39] <grendal_prime> my understanding was that rc.local gets fired off when a user logs in. (thats the way the verbage in the file itself explains it)
[15:40] <OpenTokix> grendal_prime: rc.local is executed when you boot up - as last item, not when someone logs in
[15:40] <grendal_prime> it works with minor discomfort...like a suppository
[15:40] <patdk-wk> not sure what verbage your talking about
[15:40] <grendal_prime> werid part is.
[15:41] <grendal_prime> "This script is executed at the end of each multiuser runlevel."
[15:41] <genii> Yes, so 2 through 5
[15:41] <grendal_prime> ok
[15:42] <patdk-wk> so, system runlevels, not user logins
[15:43] <grendal_prime> question is how would it know to create the com1 in /home/myuser/.wine/...  if it didnt run after my user loged in.
[15:44] <grendal_prime> i dont specify the username specifically in the rc.local file..it will not work if i do that.
[15:44] <grendal_prime> thats not an assumption ive tested it. it does not work.
[15:45] <patdk-wk> it runs as root, not as a user
[15:46] <patdk-wk> and it's not terminal attached
[15:46] <patdk-wk> maybe you mean to use a cron job? @reboot
[15:46] <grendal_prime> however if i use the ~ "home dir of the user" it works
[15:47] <grendal_prime> ok i dont know obviously why its working that way...ill confess to that...what i do know is that it works if i dont specify the user account i want the link created in but instead make it a refrence to the loged in user.
[15:47] <grendal_prime> then it works..(with minor discomfort)
[15:48] <grendal_prime> also, if i suspend the system (its  a netbook) it works fine when its resumed.
[15:49] <grendal_prime> And thanks by the way.  It got me out and the work done yesterday so today..i get to do the gardening at home.
[17:35] <diegoaguilar> Hello I got an issue with  ssh server, I cant connect at all and I checked whole details .. Ive posted a question on overflow http://serverfault.com/questions/687019
[17:35] <diegoaguilar> its a brand new 14.04 server
[17:37] <devster31> is the daemon running?
[17:38] <diegoaguilar> yep
[17:38] <diegoaguilar> daemon is running
[17:38] <devster31> and it worked with port 22?
[17:38] <genii> Redirect udp as well
[17:39] <diegoaguilar> genii, really really?
[17:39] <devster31> also if you changed port and did not restart the daemon it's still on the old config
[17:39] <diegoaguilar> I restarted the daemon
[17:39] <genii> ssh uses both tcp and udp
[17:39] <diegoaguilar> and even the machine has been restarted serveral times
[17:45] <sarnold> diegoaguilar: did they perhaps redirect 2222 on their IP to 22 on your IP?
[17:45] <sarnold> genii: what does ssh use udp for?
[17:46] <diegoaguilar> nope sarnold I just saw the router configuration
[17:46] <diegoaguilar> and they're doing it good in that case
[17:46] <genii> sarnold: Not exactly sure but I had to enable forwarding both on my pfsense box before ssh worked
[17:47] <diegoaguilar> I't s:  : Connection refused what I'm getting
[17:47] <sarnold> genii: crazy.
[17:47] <diegoaguilar> if I try another port it will lag
[17:47] <diegoaguilar> and as I explained in answer, I tried iftop, and I can see the connection attemps
[17:48] <diegoaguilar> but NOTHING is being logged
[17:48] <diegoaguilar> in auth.log
[17:48] <lordievader> diegoaguilar: Run the client in verbose mode.
[17:48] <genii> diegoaguilar: Does the machine have multiple network adapters or IPs? If so may need to specify the one to be used
[17:49] <diegoaguilar> how can I do that lordievader ? Nope genii eth0 is the only one enabled and working
[17:49] <lordievader> diegoaguilar: ssh -v <hostname>
[17:50] <lordievader> diegoaguilar: Also what is the output of 'netstat -tulpn|grep ssh'?
[17:52] <diegoaguilar> I ran nmap with -SV   and shows port 2222 running working with ssh
[17:52] <diegoaguilar> lordievader, I updated question with the client verbose mode output http://serverfault.com/questions/687019
[17:52] <lordievader> Nmap doesn't show that. Please get me the netstat output.
[17:53] <diegoaguilar> its stupid and youll ask me to shoot myself
[17:54] <lordievader> ?
[17:54] <diegoaguilar> but today May 1st Im not at office and since I cant ssh .. :P
[17:54] <diegoaguilar> lol
[17:55] <diegoaguilar> but well tell me what should I expect or not to expect from it
[17:55] <genii> Probably have to continue then when you have access to the machine you are currently trying to reach
[17:56] <lordievader> It's a check to see if sshd is actually listening to port 22222
[17:56] <diegoaguilar> why wouldnt nmap be reliable?
[17:57] <genii> diegoaguilar: Is there another machine at that location you can get into from outside? If so then can see if possible to "hopscotch" in from that one
[17:57] <lordievader> diegoaguilar: Nmap checks ports, not services.
[17:58] <diegoaguilar> genii, I could achieve it
[20:08] <med_> jamespage, zul: ETA on Kilo Release bits and Juno.3 bits for Trusty?