/srv/irclogs.ubuntu.com/2014/10/03/#ubuntu-server.txt

CodeVentwhen using parted rescue command if you want to start at the beginning but dont know what number the end it what should be inputted00:13
ayr-tonAbout this architecture: http://www.ubuntu.com/cloud/openstack/reference-architecture00:40
ayr-tonIs okay to deploy maas under a hypervisor?00:40
ayr-tonLike in hyper 1?00:41
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
Cloudka82Okay so, I'm now trying to install Open-VPN Server on Ubuntu server 12.04. The issue is, i go to 'source vars' I then run sudo ./clean-all and then it tells me I must source var first01:36
Cloudka82any ideas anybody :O01:36
Cloudka82heh01:39
sarnoldCloudka82: are you compiling from source or somehting? why not "apt-get install openvpn"?01:48
Cloudka82hmmm well01:49
Cloudka82https://help.ubuntu.com/12.04/serverguide/openvpn.html01:50
Cloudka82that's the guide I'm following01:50
Cloudka82I'm now at the var ./clean-all ./build-ca phase01:50
sarnoldCloudka82: ah! good. Then I made incorrect assumptions :)01:51
sarnoldCloudka82: did you edit the /etc/openvpn/easy-rsa/vars file?01:51
Cloudka82Well, I added a few things.01:51
Cloudka82But, I'm unsure whether or not I have to edit anything in particular01:51
Cloudka82also01:51
Cloudka82could it be that i'm trying to clean all as sudo?01:52
sarnoldCloudka82: ah, could be01:52
Cloudka82I'm forced to do this since I get tons of permission denied errors if i don't01:52
sarnoldCloudka82: run "sudo -s" and do all these operations in the resulting shell01:52
Cloudka82kk 1 sec01:52
sarnoldCloudka82: "source vars" will read the file, execute it -- in this case, setting environment variables01:52
sarnoldCloudka82: 'sudo' trims a ton of variables -- or throws away all but a few variables, I forget -- so they might not be set on the next 'sudo ...' execution if you're putting 'sudo' in front of everything01:53
Cloudka82so if i run sudo -s, will that force everything in the current directory to run as sudo?01:53
Cloudka82and sorry, I'm a complete rookie XD Been using linux for roughly 4-5 months01:53
sarnoldah welcome aboard :)01:54
Cloudka82thank you, I'm making the switch from the Windows world01:54
Cloudka82I'm a jr sys admin01:54
sarnoldin the default configuration, the shell prompt will show you -- # for root, $ for usre01:54
Cloudka82OMG it worked01:55
Cloudka82i love you01:55
sarnold<301:55
Cloudka82<301:56
Cloudka82sarnold: would you advise debian server or ubuntu server for a linux rookie that wants to change his career path from windows to linux01:58
Cloudka82;O01:58
Cloudka82I know a lot of people have been saying they're completely different, but i don't feel that they are as far as commands and paths go01:58
Cloudka82it kinda feels the same to me01:58
sarnoldCloudka82: either; both. :)01:58
Cloudka82ok :)01:58
sarnoldCloudka82: debian and ubuntu are more similar than different, especially in the larger ecosystem of e.g. centos, suse, gentoo, arch, and less-related BSDs, illumos, etc...02:00
Cloudka82Ic ;O02:00
Cloudka82Sorry, was eating dinner02:19
Cloudka82Very interesting, sarnold02:19
Cloudka82Question: So I successfully installed OpenVPN server on my ubuntu 12.04 server. I know understand that I must take, ca.key client.key client.ca and use those on the client's end that would like to connect to my server03:02
Cloudka82However, my client is using windows and it is looking for an .opvn extension in windows03:03
Cloudka82nvm figured it out03:11
Cloudka82thanks03:11
=== kickinz1|afk is now known as kickinz1
ThatrandomfrogsiHey guys got an issue and was hoping I could get some help. Im getting a 552 (disk usage error) when trying to upload to my server (14.04). The disk is not full however. Any ideas on how i could fix this?06:53
=== Lcawte|Away is now known as Lcawte
wmphello, kernel on ubuntu 14.04 havent ta module? I dont understand why i have tun0 without tun module07:16
lordievaderGood morning.07:19
ruben23hi guys any help..Enter your Mysql PATH: (default: /usr/bin/mysql)Defautl press Enter   <----------- this install si for centos, but for ubuntu what shoudl be the PATH the same..?07:38
=== bilde2910|away is now known as bilde2910
lordievaderruben23: The server or the client?07:40
lordievaderruben23: Client is in the same directory, /usr/bin/mysql07:41
ruben23the server07:43
ruben23im installing in teh server07:43
CrypticSquaredmaybe learn to use `which` or `find` ?07:43
ruben23yes i did..im just worreid if /usr/bin/mysql is centos mysql client also..?07:44
lordievaderruben23: I think so.07:44
lordievaderruben23: /usr/sbin/mysqld seems to be the server.07:46
ruben23so if mysql only its client..?07:46
ruben23/usr/bin/mysql <--- this is client only07:47
CrypticSquaredwhat does `man mysql` and `man mysqld` say?07:47
lordievader^07:47
Aisonafter booting my machine, the network device eth3 is up as described in network/interfaces08:12
Aisonbut somehow I can't control it with ifup/ifdown08:12
Aisonthe device is up (can show it by ip link or ifconfig)08:13
Aisonbut ifdown: interface eth3 not configured08:13
Aisonstrange....08:13
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
viktor89My problem is i did an "apt-get install sendmail" on a server running plesk admin panel. Now my admin panel has no mail settings anymore :( I'm an idiot, I know :(10:17
pmatulismorning11:05
=== kickinz1 is now known as kickinz1|afk
jamespagecoreycb, oh joy I just realized websockify is not in main11:12
jamespage(and I added it to the nova BD's for rc1)11:12
jamespagearrrgggghhhh!11:12
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
syspanichi, i'm running ubuntu server 13.10 with zentyal small business server on top of it and I can access it via lan with ssh. The problem is when i authenticate via ssh it says permission denied on /home/mymainuser 's home dir. I sudo su and then I've even tried to set chmod 777 perms but when i tried to login with myuser it also said "permission denie11:19
syspanicd" (plz help - desperate guy here! :S)11:19
coreycbjamespage, ah great11:25
sorensyspanic: First of all, Ubuntu 13.10 is no longer supported. No security updates (including recent bash vulnerabilities, for instance).11:26
sorensyspanic: Second of all, you've probably lost the execute bit on /, /home, and/or /home/mymainuser.11:26
sorensyspanic:  Share the output of: ls -ld / /home /home/mymainuser11:27
syspanicdrwxr-xr-x  22 root    root      4096 Jul 30 19:48 /11:27
syspanicdrwxrwx---+ 36 root    __USERS__ 4096 Jul 25 10:46 /home11:27
syspanicdrwx--x---  18 deepzen deepzen   4096 Oct  3 13:25 /home/deepzen11:27
sorensyspanic: "groups deepzen" (as root)11:28
sorensyspanic: And then "getfacl /home" (again as root)11:29
=== Lcawte is now known as Lcawte|Away
syspanicdeepzen : deepzen adm cdrom sudo dip plugdev lpadmin sambashare fuse11:29
sorenGetting warmer.11:29
syspanic# file: home11:29
syspanic# owner: root11:29
syspanic# group: __USERS__11:29
syspanicuser::rwx11:29
syspanicuser:ebox:rwx11:29
syspanicuser:nobody:r-x11:29
syspanicgroup::rwx11:29
sorendeepzen has no execute rights on /home (unless granted via ACL's, which getfacl will tell us)11:29
syspanicmask::rwx11:29
syspanicother::---11:29
sorenYup, there's your problem.11:29
sorenWith no execute privs, you can't reference anything in the directory.11:30
soren"sudo chmod o+x /home" and you're done.11:30
syspanicchmod o??11:30
sorenothers.11:30
syspanicah ok11:30
sorenI.e. not the owner, not the group. Everyone else.11:30
soren(owner would be "u", intuitively)11:31
sorenAll better?11:31
syspanicyeah i just didnt recognize it cause i always use octal syntax11:32
sorenTry not to do that.11:32
syspanicYup!! thnx i was so paniced and i couldn't realize one simple thing....11:33
sorenNo no, I mean try not to use octal.11:33
syspanicy not?11:33
sorenFar too often have I seen people remove execute bits from directories or add them to files where they don't belong, etc.11:33
syspanicah ok11:33
sorenIf you use [uog][+-=][rwxs] you know exactly what you're setting and unsetting.11:34
sorenWell...11:34
sorenIf you use [uog][+-][rwxs] you know exactly what you're setting and unsetting, rather.11:34
soren= has pretty much the same problems.11:35
syspanichmmm i see, propably i should change some ηαββιτσ11:35
syspanichabbits**11:36
soren*blink*11:36
sorenWhat was that? :)11:36
syspanicgreek :P11:36
sorenOh :)11:36
sorenOf course.11:36
syspanici just wanted to write habits but i was switched to greek....11:37
sorenHappens all the time.11:37
coreycbjamespage, know of a debian/rules target that runs before patches are applied?11:39
syspaniccan i dist-upgrade ubuntu 13.10 to 14.04 LTS ? Is it wise to do it with all these services running ?11:39
jamespagecoreycb, no such thing11:39
jamespageatleast I don't think so11:39
jamespagecoreycb, what's your problem?11:39
coreycbjamespage, bash tools/config/generate_sample.sh -b . -p ceilometer -o etc/ceilometer11:40
sorensyspanic: It's not wise to stay with 13.10, that's for sure.11:40
coreycbjamespage, ^ we have patches that patch the conf file and it's not there when patches are applied11:40
coreycbso I need to generate the conf file before patches11:40
syspanicsyspanic: i mean... is it safe or what's the possibility of failure after dis-upgrade ?11:54
sorensyspanic: Depends on what you have running, really.12:00
sorensyspanic: There are no guarantees.12:00
sorensyspanic: Well, I guarantee there won't be more security updates, but that's probably not very helpful.12:00
syspanicsoren: it's all in one super duper mega server :SSSSS openldap, smb4, dns, squid12:03
syspanicwell the good thing is that is running on kvm12:03
frobwarehi - is it possible to prevent apt-get update past a certain date?  I think /something/ has broken in my install and I like to reinstall, but only with those packages that were available ~3 weeks ago.12:37
cfhowlettfrobware, never seen it done, but there's got to be a way ... if no answer here, ask ##linux12:41
frobwarecfhowlett: ok, thanks, will trying downgrading particular packages (e.g., qemu-system) first.12:43
coreycbjamespage, zul: heat is ready for review - https://code.launchpad.net/~corey.bryant/heat/2014.2-rc112:54
coreycbjamespage, zul: ceilometer updates are also ready for review - https://code.launchpad.net/~corey.bryant/ceilometer/2014.2-rc1-2/+merge/23696412:57
patdk-wkI don't think that is possible13:03
patdk-wknormally older packages are replaced13:03
patdk-wkor maybe that is just a mirroring thing13:03
coreycbjamespage, zul: neutron is ready for review - https://code.launchpad.net/~corey.bryant/neutron/2014.1.3/+merge/23707914:43
coreycbjamespage, zul: ceilometer is ready for review - https://code.launchpad.net/~corey.bryant/ceilometer/2014.1.3/+merge/23708514:59
=== kickinz1 is now known as kickinz1|afk
coreycbjamespage, zul: cinder is ready for review - https://code.launchpad.net/~corey.bryant/cinder/2014.1.3/+merge/23708715:08
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== Lcawte|Away is now known as Lcawte
coreycbjamespage, zul: horizon is ready for review - https://code.launchpad.net/~corey.bryant/horizon/2014.1.3/+merge/23708815:32
coreycbjamespage, zul: glance is ready for review - https://code.launchpad.net/~corey.bryant/glance/2014.1.3/+merge/23709015:33
ChrisfuAnybody got working experience with Ubuntu OpenStack, particularly the Orange Box? Trying to replicate an Orange Box-like environment to PoC OpenStack, and I've found myself stuck in a chicken-and-egg scenario.15:46
ChrisfuAny pointers would be most appreciated.15:46
tatiehello what is the basic difference between snapshot raid and hardware raid 115:52
tatiewhat is are the weaknesses of snapraid15:52
tatiesnapraid, not snapshot raid15:52
tatieanyone knows?15:53
tatiewhy would snapraid be better (if it is better)?15:54
patdk-wk!best15:57
patdk-wk!poll15:57
* patdk-wk blames the bot15:57
jpdstatie: http://snapraid.sourceforge.net/faq.html#diffraid15:59
=== markthomas|away is now known as markthomas
tatieok but why would it not be good?16:08
jamespagecoreycb, ok I have 48 minutes to get the last few rc1's in for juno16:12
jamespagecoreycb, you did heat and ceilometer right?16:12
coreycbjamespage, yep16:12
coreycbjamespage, ok want me to time you? :)16:13
coreycbjamespage, I'll have time this afternoon to do some juno work too16:13
jpdstatie: Your data doesn't get copied in time?16:13
coreycbjamespage, zul: keystone is ready for review - https://code.launchpad.net/~corey.bryant/keystone/2014.1.3/+merge/23709716:15
tatieno we are just figuring out what to setup RAID 1 or SnapRaid16:16
jpdstatie: You asked why it wouldn't be good.16:16
jamespagecoreycb,16:16
jamespage    cp debian/ceilometer.conf.sample etc/ceilometer/ceilometer.conf16:17
jamespage 16:17
jamespage?16:17
jpdstatie: One reason why I think snapraid wouldn't be good is that if your main drive fails and you lose some data because it wasn't copied across in time.16:17
jamespagethat just overrwrites the version you just generated I think16:17
coreycbjamespage, oh...16:18
jpdstatie: The proper answer to your question is this though:16:18
coreycbjamespage, I'll fix it and test it16:18
jpdstatie: Try both, and decide which one's best for your use case after experimenting.16:18
tatie:-)16:20
coreycbjamespage, that should be correct as is.  the generated file is ceilometer.conf.sample16:21
jamespagecoreycb, yeah but the install file installs:16:21
jamespageetc/ceilometer/ceilometer.conf etc/ceilometer16:21
jamespageso why are we bothering to generate one?16:22
coreycbjamespage,  we generate ceilometer.conf.sample and copy it to  etc/ceilometer/ceilometer.conf16:22
jamespagecoreycb, I must be missing something - I can't see that copy step16:22
coreycbjamespage, I think it's correct, but I'm going to install it and see16:24
jamespagecoreycb, I'm not getting the ceilometer.conf.sample in debian folder thing16:25
=== Ursinha is now known as Ursinha-afk
coreycbjamespage, oh yeah that cp is wrong, sorry16:28
coreycbshould be copying from etc/16:29
coreycbjamespage, so do we want to use the generated one in etc/ or the static one from debian/ ?16:31
jamespagecoreycb, generated I should think16:32
coreycbjamespage, yeah16:32
jamespagecoreycb, hmm16:38
coreycbjamespage, I pushed a new ceilometer16:41
=== beisner- is now known as beisner
Zunehey anyone good at observium? i have a basic n00b question17:08
=== matsubara is now known as matsubara-lunch
pmatulis!ask | Zune17:47
ubottuZune: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience17:47
SweetLipshi17:54
jamespagezul, jdstrand: have we tried to MIR websockify before?17:55
zuljamespage:  long time ago i think17:55
jdstrandnot to my knowledge. sarnold? ^17:55
jdstrandah yes17:55
jdstrandhttps://bugs.launchpad.net/ubuntu/+source/websockify/+bug/110893517:55
uvirtbotLaunchpad bug 1108935 in websockify "[MIR] websockify" [High,New]17:56
SweetLipshi, can i ask something about ubuntu here ?17:56
jamespagezul, jdstrand: https://bugs.launchpad.net/ubuntu/+source/websockify/+bug/110893517:57
uvirtbotLaunchpad bug 1108935 in websockify "[MIR] websockify" [High,New]17:57
jamespageressurected...17:57
geniiSweetLips: If it's to do with Ubuntu Server or other server-type things in Ubuntu17:57
SweetLipsgenii : oh okay17:57
geniiSweetLips: If it's to do with regular Ubuntu instead, please use the #ubuntu channel17:58
SweetLipsgenii : thank you18:00
geniiSweetLips: You're welcome.18:01
jamespagecoreycb, if you can polish up your heat and ceilometer juno rc1's, I'll sort them out first thing monday18:01
jamespagecoreycb, most other rc1's are in the queue now18:02
jamespagezul, any ideas - https://launchpadlibrarian.net/186474578/buildlog_ubuntu-utopic-i386.openstack-trove_2014.2~rc1-0ubuntu1~ubuntu14.10.1~ppa2_FAILEDTOBUILD.txt.gz18:03
zuljamespage:  nope18:04
jamespagezul, any chance you could take a look - I need to eod18:04
jamespagezul, the rest of the rc1 is here  - lp:~james-page/trove/juno-rc118:05
zuljamespage:  sure18:05
jamespagezul, ta - resolution of that means 100% test success!18:05
zuljamespage:  sweet18:05
=== Ursinha-afk is now known as Ursinha
=== matsubara-lunch is now known as matsubara
=== Ursinha is now known as Ursinha-afk
coreycbzul, jamespage: nova is ready for review - https://code.launchpad.net/~corey.bryant/nova/2014.1.3/+merge/23712719:08
=== Ursinha-afk is now known as Ursinha
zulcoreycb:  they built all fine?19:11
coreycbzul, um, yeah19:12
zulcoreycb:  are you sure? :)19:12
coreycbzul, ok what's failing19:12
zulcoreycb:  nothing im just asking19:13
coreycbzul, ok19:13
Cloudka82omg I found it19:24
Cloudka82Guys !!119:24
Cloudka82Installing OpenVPN server on Ubuntu 12.04 server. During the last phase, I go to start OpenVPN's services by issuing /etc/init.d/openvpn start and recieve the following error, "SIOCSIFADDR: No Such Device: ERROR while getting interface flags: No such device19:24
Cloudka82Halp :(19:24
sarnoldwelcome back Cloudka82 :) check the log files.. sounds like an error from earlier in the process might have been overlooked..19:29
Cloudka82LOL19:29
Cloudka82kk19:29
Cloudka82openvpn-status.log doesn't contain anything19:30
Cloudka82perhaps I must enable logging first?19:30
Cloudka82nvm found the lo19:32
Cloudka82g19:32
=== Ursinha is now known as Ursinha-afk
smoserhallyn, or stgraber is lxc mounting /run for me when i boot an ubuntu cloud image ?19:44
stgrabersmoser: I don't believe so19:45
smoseri didn't think so either.19:45
stgraberlxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 019:45
stgraberlxc.mount.entry = sysfs sys sysfs defaults 0 019:45
stgraberlxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 019:45
stgraberlxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 019:45
stgraberlxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0 019:46
stgraberlxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 019:46
stgraberthat's what we mount for Ubuntu containers, the rest we let mountall deal with19:46
=== Ursinha-afk is now known as Ursinha
=== Catdaemon is now known as Catdaemon`
=== mfisch is now known as Guest86318
=== Ursinha is now known as Ursinha-afk
andreagiciao20:33
andreagi!list20:33
ubottuandreagi: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type « /msg ubottu !bot ». If you're looking for a channel, see « /msg ubottu !alis ».20:33
=== Ursinha-afk is now known as Ursinha
Aison0I would like to install cacti, but why is also mysql-server installed?20:45
Aison0mysql-client should be enough, not?20:45
=== bilde2910 is now known as bilde2910|away
tgm4883is there a global option in fail2ban to set the <sender> email address? currently it defaults to fail2ban@<DOMAIN> but that doesn't work for my situation20:57
=== mfisch is now known as Guest49899
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== Lcawte is now known as Lcawte|Away

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