[00:00] cause im crazy like that and i got time falling out my ass for this sort of stuff...boom! [00:01] and thats a big fat nope [00:07] oh shit figured it out [00:08] I needed to put put in the ~ so that it would be run by the user itself at log on. [00:08] 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] however i wonder if i have two users logs on..well i dont think that will happen on this machine [00:29] use the autostart mechanisms of your guest OS. [00:41] grendal_prime: the which program and the type shell builtin are useful for finding out where a program lives [00:42] 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] 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] the script tha fails is module installation for Prestashop (im sure the php code is correct) [01:09] user and permissions are correct [01:10] for example move_uploaded_file(): failed to open stream: Permission denied and ZipArchive::extractTo(): Permission denied, anything that writes to fs... === markthomas is now known as markthomas|away [01:13] #PHP [01:46] 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] Mortix: are you trying to use libvirt or using qemu/kvm directly from the command line? [01:55] 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] 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] i'm getting like 20 openssh password prompt when i'm trying to open the virtual console [01:57] ubuntu server, connecting from different machine on the network [01:57] also ubuntu [01:57] using virt-manager [01:58] i couldn't create a vms before so i uncomment the #root in the /etc/libvirt/qemu.conf for user and group [01:59] sarnold, ? [02:00] Mortix: can you use virt-manager from the host to connect to the console? [02:00] it's ubuntu server [02:00] no gui [02:01] install virt-manager on the server, then connect with ssh -X -Y to enable X11 forwarding [02:01] then virt-manager should forward to your workstation [02:03] what it has to do with the virtual machine console? oO [02:04] Mortix: you can then click on the VM in question, hit the "open" button, and see the guest's console [02:04] it might be stuck at a grub prompt [02:04] or it might be stuck at a "filesystem unhealthy, fscking" screen [02:05] when i click open it prompt password [02:05] none stop [02:05] or if you're lucky, it's sitting at a getty login: prompt and you can log in and diagnose :) [02:06] what is prompting for your password? the host? the guest? what is the prompt? can you tell which program is asking? [02:06] virt-manager [02:06] also tried with virt-watcher [02:07] connection to the host work fine [02:07] prompt for password and move on [02:07] but when i'm trying to open a VM [02:08] it stuck in some loop for password [02:09] virt-viewer* [02:09] hmm. I forgot virt-manager can manage vms on other computers, too.. [02:09] is it prompting for ssh credentials to do libvirt things on the remote host? [02:11] 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] nop [02:14] 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/ === zz_DenBeiren is now known as DenBeiren [02:49] sarnold, only root and my user [02:52] Mortix: dang. I liked that idea. :) [02:53] what do you mean [02:53] I had hopes that it was just a wrong username somewhere.. [02:55] i guess no leads.. [03:34] hi [03:34] 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 ? === Lcawte|Away is now known as Lcawte [06:29] anybody can help me ? wanna learn about ubuntu server === vincent_1dk is now known as vincent_vdk [08:33] Good morning. [09:21] 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] any ideas? [09:21] User sudo? [09:21] Make that root ;) [09:22] oh its root [09:22] i've edited after i pasted [09:22] is there any log to check? [09:22] Syslog. [09:24] well it seems to "stop" ath the "+" [09:25] i'll escape it with \ [09:25] Ah, yes. Those things need to be escaped. [09:26] duh..:-( [09:26] i always seem to miss it... [09:27] it works fine now === JanC__ is now known as JanC === Lcawte is now known as Lcawte|Away [11:34] is anyone using gosu as a sudo replacement? [11:35] devster31: Are there benefits? [11:38] 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] And whats the benefit over sudo? [11:42] 1 process instead of 2 [11:42] So you have gosu and the process you want to execute. That are two processes. [11:42] Same applies for sudo. [11:46] 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] which means you have effectively 1 process running [11:47] And whats the benefit at that point? [11:47] Honestly, I dont see the benefit, since sudo isnt a full blown java monster hogging resources :) [12:04] . [12:04] did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars? [12:04] 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] 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] .did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars? [12:47] hi ubuntu-server [12:48] 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] I don't recall ever reading about linux servers losing local access as a domain controller. What about it ? [12:50] Your assumption is right: you don't lose local access [12:50] whew great [12:50] and am I correct in reading that windows servers lose local access as domain controllers ? [13:09] 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] 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] 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] who would in turn have access. [13:10] (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] (which i set up) [13:11] 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] that's offtopic here, thoguh [13:12] so i'm gonna stop talking, and return to beating nginx 1.8.x with a stick [13:47] 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] http://paste.ubuntu.com/10962077/ [13:47] Any ideas? [13:52] designbybeck: read only filesystem. Fix the filesystem errors before. [13:54] bekks, not sure how to do that bekks [13:55] 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] designbybeck: you need to run fsck from a livecd. [13:55] 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] bekks, ^ [14:12] designbybeck, just reboot that instance [14:12] it's probably just their horrible disks timing out [14:13] ..ah ok thanks patdk-wk let me try that [14:19] @teward thanks I was afk for a long while, but thanks for the update [14:50] Can anyone recommend an upgrade path for a production 10.04 server to 14.04? Or perhaps documentation on this? [14:51] Onionnion: you need to do 10.04 -> 12.04 -> 14.04 [14:52] That's what I was thinking it'd be [14:52] 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] 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] Precise is 12 and Trusty is 14, correct? [14:53] Onionnion: yes, that is correct [14:53] thank you [14:54] gotta get mail server up to date this weekend..wish I did it sooner [14:54] jamespage: do you have any estimates on when we'll see Juno.3 packages? [15:26] 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] udevadm trigger use to cause this to be generated after boot, but stopped sometime recently [15:37] sarnold thanks [15:37] turns out just putting it into the rc.local file worked fine [15:38] 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] 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] grendal_prime: rc.local is executed when you boot up - as last item, not when someone logs in [15:40] it works with minor discomfort...like a suppository [15:40] not sure what verbage your talking about [15:40] werid part is. [15:41] "This script is executed at the end of each multiuser runlevel." [15:41] Yes, so 2 through 5 [15:41] ok [15:42] so, system runlevels, not user logins [15:43] 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] i dont specify the username specifically in the rc.local file..it will not work if i do that. [15:44] thats not an assumption ive tested it. it does not work. [15:45] it runs as root, not as a user [15:46] and it's not terminal attached [15:46] maybe you mean to use a cron job? @reboot [15:46] however if i use the ~ "home dir of the user" it works [15:47] 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] then it works..(with minor discomfort) [15:48] also, if i suspend the system (its a netbook) it works fine when its resumed. [15:49] And thanks by the way. It got me out and the work done yesterday so today..i get to do the gardening at home. === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [17:35] 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] its a brand new 14.04 server [17:37] is the daemon running? [17:38] yep [17:38] daemon is running [17:38] and it worked with port 22? [17:38] Redirect udp as well [17:39] genii, really really? [17:39] also if you changed port and did not restart the daemon it's still on the old config [17:39] I restarted the daemon [17:39] ssh uses both tcp and udp [17:39] and even the machine has been restarted serveral times [17:45] diegoaguilar: did they perhaps redirect 2222 on their IP to 22 on your IP? [17:45] genii: what does ssh use udp for? [17:46] nope sarnold I just saw the router configuration [17:46] and they're doing it good in that case [17:46] sarnold: Not exactly sure but I had to enable forwarding both on my pfsense box before ssh worked [17:47] I't s: : Connection refused what I'm getting [17:47] genii: crazy. [17:47] if I try another port it will lag [17:47] and as I explained in answer, I tried iftop, and I can see the connection attemps [17:48] but NOTHING is being logged [17:48] in auth.log [17:48] diegoaguilar: Run the client in verbose mode. [17:48] diegoaguilar: Does the machine have multiple network adapters or IPs? If so may need to specify the one to be used [17:49] how can I do that lordievader ? Nope genii eth0 is the only one enabled and working [17:49] diegoaguilar: ssh -v [17:50] diegoaguilar: Also what is the output of 'netstat -tulpn|grep ssh'? [17:52] I ran nmap with -SV and shows port 2222 running working with ssh [17:52] lordievader, I updated question with the client verbose mode output http://serverfault.com/questions/687019 [17:52] Nmap doesn't show that. Please get me the netstat output. [17:53] its stupid and youll ask me to shoot myself [17:54] ? [17:54] but today May 1st Im not at office and since I cant ssh .. :P [17:54] lol [17:55] but well tell me what should I expect or not to expect from it [17:55] Probably have to continue then when you have access to the machine you are currently trying to reach [17:56] It's a check to see if sshd is actually listening to port 22222 [17:56] why wouldnt nmap be reliable? [17:57] 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] diegoaguilar: Nmap checks ports, not services. [17:58] genii, I could achieve it === dlitz_ is now known as dlitz === braderhart_ is now known as braderhart === markthomas is now known as markthomas|away [20:08] jamespage, zul: ETA on Kilo Release bits and Juno.3 bits for Trusty? === jvwjgames__ is now known as jvwjgames === jvwjgames_ is now known as jvwjgames === jvwjgames__ is now known as jvwjgames