/srv/irclogs.ubuntu.com/2015/05/01/#ubuntu-server.txt

grendal_primecause im crazy like that and i got time falling out my ass for this sort of stuff...boom!00:00
grendal_primeand thats a big fat nope00:01
grendal_primeoh shit figured it out00:07
grendal_primeI needed to put put in the ~ so that it would be run by the user itself at log on.00:08
grendal_primethat seems to have done the trick..also it means whatever user logs on they will have access...wich is a good thing.00:08
grendal_primehowever i wonder if i have two users logs on..well i dont think that will happen on this machine00:09
bekksuse the autostart mechanisms of your guest OS.00:29
sarnoldgrendal_prime: the which program and the type shell builtin are useful for finding out where a program lives00:41
sarnoldgrendal_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'00:42
spyridonasHello , 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:07
spyridonasthe script tha fails is module installation for Prestashop (im sure the php code is correct)01:08
spyridonasuser and permissions are correct01:09
spyridonasfor example   move_uploaded_file(): failed to open stream: Permission denied and   ZipArchive::extractTo(): Permission denied, anything that writes to fs...01:10
=== markthomas is now known as markthomas|away
spyridonas#PHP01:13
Mortixhi 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:46
sarnoldMortix: are you trying to use libvirt or using qemu/kvm directly from the command line?01:55
sarnoldMortix: what guest os are you trying to use? are you confident the guest ought to work with the selected bios/cpu/etc?01:55
sarnoldMortix: 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
Mortixi'm getting like 20 openssh password prompt when i'm trying to open the virtual console01:56
Mortixubuntu server, connecting from different machine on the network01:57
Mortixalso ubuntu01:57
Mortixusing virt-manager01:57
Mortixi couldn't create a vms before so i uncomment the #root in the /etc/libvirt/qemu.conf for user and group01:58
Mortixsarnold, ?01:59
sarnoldMortix: can you use virt-manager from the host to connect to the console?02:00
Mortixit's ubuntu server02:00
Mortixno gui02:00
sarnoldinstall virt-manager on the server, then connect with ssh -X -Y to enable X11 forwarding02:01
sarnoldthen virt-manager should forward to your workstation02:01
Mortixwhat it has to do with the virtual machine console? oO02:03
sarnoldMortix: you can then click on the VM in question, hit the "open" button, and see the guest's console02:04
sarnoldit might be stuck at a grub prompt02:04
sarnoldor it might be stuck at a "filesystem unhealthy, fscking" screen02:04
Mortixwhen i click open it prompt password02:05
Mortixnone stop02:05
sarnoldor if you're lucky, it's sitting at a getty login: prompt and you can log in and diagnose :)02:05
sarnoldwhat is prompting for your password? the host? the guest? what is the prompt? can you tell which program is asking?02:06
Mortixvirt-manager02:06
Mortixalso tried with virt-watcher02:06
Mortixconnection to the host work fine02:07
Mortixprompt for password and move on02:07
Mortixbut when i'm trying to open a VM02:07
Mortixit stuck in some loop for password02:08
Mortixvirt-viewer*02:09
sarnoldhmm. I forgot virt-manager can manage vms on other computers, too..02:09
sarnoldis it prompting for ssh credentials to do libvirt things on the remote host?02:09
sarnoldMortix: 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
Mortixnop02:11
sarnoldMortix: 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:14
=== zz_DenBeiren is now known as DenBeiren
Mortixsarnold, only root and my user02:49
sarnoldMortix: dang. I liked that idea. :)02:52
Mortixwhat do you mean02:53
sarnoldI had hopes that it was just a wrong username somewhere..02:53
Mortixi guess no leads..02:55
MichaelHabib1hi03:34
MichaelHabib1Q : 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 ?03:34
=== Lcawte|Away is now known as Lcawte
fathianybody can help me ? wanna learn about ubuntu server06:29
=== vincent_1dk is now known as vincent_vdk
lordievaderGood morning.08:33
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).log09:21
StathisA_any ideas?09:21
lordievaderUser sudo?09:21
lordievaderMake that root ;)09:21
StathisA_oh its root09:22
StathisA_i've edited after i pasted09:22
StathisA_is there any log to check?09:22
lordievaderSyslog.09:22
StathisA_well it seems to "stop" ath the "+"09:24
StathisA_i'll escape it with \09:25
lordievaderAh, yes. Those things need to be escaped.09:25
StathisA_duh..:-(09:26
StathisA_i always seem to miss it...09:26
StathisA_it works fine now09:27
=== JanC__ is now known as JanC
=== Lcawte is now known as Lcawte|Away
devster31is anyone using gosu as a sudo replacement?11:34
lordievaderdevster31: Are there benefits?11:35
devster31process 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 root11:38
bekksAnd whats the benefit over sudo?11:40
devster311 process instead of 211:42
bekksSo you have gosu and the process you want to execute. That are two processes.11:42
bekksSame applies for sudo.11:42
devster31not 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 starts11:46
devster31which means you have effectively 1 process running11:47
bekksAnd whats the benefit at that point?11:47
bekksHonestly, I dont see the benefit, since sudo isnt a full blown java monster hogging resources :)11:47
jlbhshluekg.12:04
jlbhshluekgdid usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars?12:04
jlbhshluekgdid 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
jlbhshluekgplz, 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:04
Agent86hi ubuntu-server12:47
Agent86got 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:48
Agent86I don't recall ever reading about linux servers losing local access as a domain controller. What about it ?12:49
MatsyYour assumption is right: you don't lose local access12:50
Agent86whew great12:50
Agent86and am I correct in reading that windows servers lose local access as domain controllers ?12:50
tewardAgent86: 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
tewardAgent86: as well, there's localadmin on the domain controllers, which in an emergency could be accessed, but it was rare to do so13:09
tewardAgent86: 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 administrator13:10
tewardwho 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:10
tewardAgent86: 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 access13:11
tewardthat's offtopic here, thoguh13:11
tewardso i'm gonna stop talking, and return to beating nginx 1.8.x with a stick13:12
designbybeckI 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 -a13:47
designbybeckhttp://paste.ubuntu.com/10962077/13:47
designbybeckAny ideas?13:47
bekksdesignbybeck: read only filesystem. Fix the filesystem errors before.13:52
designbybeckbekks, not sure how to do that bekks13:54
dmsimardHas 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
bekksdesignbybeck: you need to run fsck from a livecd.13:55
designbybeckthis 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 great13:55
designbybeckbekks, ^13:55
patdk-wkdesignbybeck, just reboot that instance14:12
patdk-wkit's probably just their horrible disks timing out14:12
designbybeck..ah ok thanks patdk-wk let me try that14:13
Agent86@teward thanks I was afk for a long while, but thanks for the update14:19
OnionnionCan anyone recommend an upgrade path for a production 10.04 server to 14.04? Or perhaps documentation on this?14:50
mdeslaurOnionnion: you need to do 10.04 -> 12.04 -> 14.0414:51
OnionnionThat's what I was thinking it'd be14:52
rattkingI got bit by this bug last night.. good job on the turnaround time!  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/145044214:52
mdeslaurOnionnion: the 10.04 end of life notice had some links in it: https://lists.ubuntu.com/archives/ubuntu-security-announce/2015-April/002931.html14:52
OnionnionPrecise is 12 and Trusty is 14, correct?14:52
mdeslaurOnionnion: yes, that is correct14:53
Onionnionthank you14:53
Onionniongotta get mail server up to date this weekend..wish I did it sooner14:54
mfischjamespage: do you have any estimates on when we'll see Juno.3 packages?14:54
rattkingI 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:26
rattkingudevadm trigger use to cause this to be generated after boot, but stopped sometime recently15:27
grendal_primesarnold thanks15:37
grendal_primeturns out just putting it into the rc.local file worked fine15:37
grendal_primesarnold,  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:38
grendal_primemy 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:39
OpenTokixgrendal_prime: rc.local is executed when you boot up - as last item, not when someone logs in15:40
grendal_primeit works with minor discomfort...like a suppository15:40
patdk-wknot sure what verbage your talking about15:40
grendal_primewerid part is.15:40
grendal_prime"This script is executed at the end of each multiuser runlevel."15:41
geniiYes, so 2 through 515:41
grendal_primeok15:41
patdk-wkso, system runlevels, not user logins15:42
grendal_primequestion is how would it know to create the com1 in /home/myuser/.wine/...  if it didnt run after my user loged in.15:43
grendal_primei dont specify the username specifically in the rc.local file..it will not work if i do that.15:44
grendal_primethats not an assumption ive tested it. it does not work.15:44
patdk-wkit runs as root, not as a user15:45
patdk-wkand it's not terminal attached15:46
patdk-wkmaybe you mean to use a cron job? @reboot15:46
grendal_primehowever if i use the ~ "home dir of the user" it works15:46
grendal_primeok 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_primethen it works..(with minor discomfort)15:47
grendal_primealso, if i suspend the system (its  a netbook) it works fine when its resumed.15:48
grendal_primeAnd thanks by the way.  It got me out and the work done yesterday so today..i get to do the gardening at home.15:49
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
diegoaguilarHello 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/68701917:35
diegoaguilarits a brand new 14.04 server17:35
devster31is the daemon running?17:37
diegoaguilaryep17:38
diegoaguilardaemon is running17:38
devster31and it worked with port 22?17:38
geniiRedirect udp as well17:38
diegoaguilargenii, really really?17:39
devster31also if you changed port and did not restart the daemon it's still on the old config17:39
diegoaguilarI restarted the daemon17:39
geniissh uses both tcp and udp17:39
diegoaguilarand even the machine has been restarted serveral times17:39
sarnolddiegoaguilar: did they perhaps redirect 2222 on their IP to 22 on your IP?17:45
sarnoldgenii: what does ssh use udp for?17:45
diegoaguilarnope sarnold I just saw the router configuration17:46
diegoaguilarand they're doing it good in that case17:46
geniisarnold: Not exactly sure but I had to enable forwarding both on my pfsense box before ssh worked17:46
diegoaguilarI't s:  : Connection refused what I'm getting17:47
sarnoldgenii: crazy.17:47
diegoaguilarif I try another port it will lag17:47
diegoaguilarand as I explained in answer, I tried iftop, and I can see the connection attemps17:47
diegoaguilarbut NOTHING is being logged17:48
diegoaguilarin auth.log17:48
lordievaderdiegoaguilar: Run the client in verbose mode.17:48
geniidiegoaguilar: Does the machine have multiple network adapters or IPs? If so may need to specify the one to be used17:48
diegoaguilarhow can I do that lordievader ? Nope genii eth0 is the only one enabled and working17:49
lordievaderdiegoaguilar: ssh -v <hostname>17:49
lordievaderdiegoaguilar: Also what is the output of 'netstat -tulpn|grep ssh'?17:50
diegoaguilarI ran nmap with -SV   and shows port 2222 running working with ssh17:52
diegoaguilarlordievader, I updated question with the client verbose mode output http://serverfault.com/questions/68701917:52
lordievaderNmap doesn't show that. Please get me the netstat output.17:52
diegoaguilarits stupid and youll ask me to shoot myself17:53
lordievader?17:54
diegoaguilarbut today May 1st Im not at office and since I cant ssh .. :P17:54
diegoaguilarlol17:54
diegoaguilarbut well tell me what should I expect or not to expect from it17:55
geniiProbably have to continue then when you have access to the machine you are currently trying to reach17:55
lordievaderIt's a check to see if sshd is actually listening to port 2222217:56
diegoaguilarwhy wouldnt nmap be reliable?17:56
geniidiegoaguilar: 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 one17:57
lordievaderdiegoaguilar: Nmap checks ports, not services.17:57
diegoaguilargenii, I could achieve it17:58
=== dlitz_ is now known as dlitz
=== braderhart_ is now known as braderhart
=== markthomas is now known as markthomas|away
med_jamespage, zul: ETA on Kilo Release bits and Juno.3 bits for Trusty?20:08
=== jvwjgames__ is now known as jvwjgames
=== jvwjgames_ is now known as jvwjgames
=== jvwjgames__ is now known as jvwjgames

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!