/srv/irclogs.ubuntu.com/2014/06/11/#ubuntu-server.txt

histomarcoceppi: it's running you just have to setup rules00:32
histomarshall: ^^ run sudo iptables --list00:33
robbythello all, I’m working with `reprepro` to create a repo for some custom packages. I would like to add multiple versions of the same package- is this possible with reprepro?00:38
=== James_Away is now known as BasedGeek
=== phunyguy_ is now known as phunyguy
=== marx^ is now known as karl
=== karl is now known as Guest86349
=== Guest86349 is now known as karl_marx
=== not_phunyguy is now known as phunyguy
z1hazewhen creating a virtual host does the document root have to be the same as the <directory> in the host file04:50
z1hazelike which one tells apache where the root folder is, and which one tells the web where to look i guess is what im asking04:50
z1hazelike if i want a site thats test.mysite.com but i want the web to go to test.mysite.com/public, how would i do that04:51
lastarmsz1haze: the easiest will be an html redirect...04:58
z1hazewell im just trying to setup a technicsolder which i doubt you have any idea what it is unless u playwith technic.. but basically a repo to update individual files in a modpack rather than updating the entire modpack everytime something changes04:59
lastarmsI redirect my main www folder05:00
z1hazeand i got all the way to the point where im supposed to just naviagte "to the directory i installed tehcnicsolder" which i did.. but i just get the default it works apache page05:00
lastarmsso if someone goes to  let's say site.com05:00
lastarmsthey will get redirected to site.com/~site105:00
z1hazeive got like 5 other virtual hosts runing just fine ive never had a problem like this before05:00
lastarmsz1haze: oh... then I don't know...05:01
z1hazewhat could cause me to get that default page?05:01
z1hazeobviosuly the dns records are working if its directing me there05:02
z1hazebut isnt the only that it could be is that my hosts file is just wrong?05:02
z1hazeif i reinstall a package on accident will it overwrite anything05:18
OpenTokixz1haze: unless you change options for dpkg from the default, it will ask for overwrite of configuration files etc.05:19
z1hazeok05:19
z1hazecause im following a tutorial for something and it says to install several packages05:19
z1hazeand i didnt wanna have type each one individually05:19
z1hazebecause im not sure if i ahve some or not05:20
OpenTokixz1haze: ok, ok - you will not reinstall unless you add --reinstall to the apt-get install line05:20
z1hazeok thanks05:20
OpenTokixz1haze: so, it is not a problem if you try to install something you already have it will say "Already installed"05:20
z1hazegreat thank you05:20
z1hazemaybe i can finally get this working05:21
OpenTokixz1haze: yes, ofc you will05:21
OpenTokixz1haze: pro-tip: Dont just paste stuff from webpages into your terminal, make sure you understand what it does05:21
z1hazeno i am reading it05:21
z1hazebut im also not so PRO haha05:21
OpenTokixz1haze: but if you learn what you are doing, you will be pro =)05:23
z1hazei hope so, maybe one day, or at least become novice05:23
OpenTokix=)05:24
OpenTokixHow long have you been using linux?05:24
z1hazeits just on a dedi that i use05:24
z1hazei dont personallyuse it05:24
z1hazei host game servers and the server has ubuntu on it05:24
OpenTokixok05:24
OpenTokixIts a start =)05:25
z1hazei dont think i could ever use linux for a o/s at home05:25
OpenTokixI use linux on everything except my laptop =)05:25
z1hazei can barely make my way around with ssh05:25
z1hazewow05:25
OpenTokixz1haze: I only start windows7 sometimes when I play games occationally05:25
z1hazeyea, not many games that have linux versions05:26
OpenTokixI only play two games, and they dont =)05:26
z1hazewhat games05:26
OpenTokixz1haze: I could use wine, but I think wine sucks. - Wow and hearthstone05:26
z1hazeoh ive heard stories of how wine just kills ur performance05:26
OpenTokixwine is annoying05:27
z1hazecan i ask you something? im stuck here05:29
z1hazei passed my last obstacle now i get another error05:30
z1hazeunhandled exception "module 'memcache' already loaded05:30
z1hazeModule 'memcache' already loaded in Unknown on line 005:31
z1hazeis actually what it says; how can i fix this? or do you need more details on what im doing?05:32
OpenTokixz1haze: the memcache module is already loaded, so you only need it once in your (I assume) php configuration05:33
OpenTokixz1haze: look around in your conf.d directories  - you can do a a grep -ri memcache /etc/apache205:33
OpenTokixso see where it is loaded - and remove all but one line05:33
z1hazei should disable it in my config?05:33
z1hazeim confused05:33
z1hazeohh ok05:33
z1hazeits on there twice on accident?05:33
z1hazei did grep -ri memcache /etc/apache2 and nothing happened05:34
OpenTokixz1haze: I am guessing you have installed two phpsystems using memcached, and they have their own included configuration files, both including memcached05:34
OpenTokixAre you using apache2?  - or what webserver are you using? - And is it a webservice you are installing?05:34
z1hazeapache205:34
z1hazeno, its a.. .. repo i think ?05:35
OpenTokixz1haze: do the same grep in /etc/php505:35
z1hazeok that spilled a bunch05:35
z1hazehttp://pastebin.com/Nfb5Dytu05:36
OpenTokixz1haze: that looks correct05:36
z1hazefollowing that, what should i look for/do?05:36
OpenTokixWhen did you get that error?05:36
z1hazejust now when trying to access this url05:36
z1hazeim during installing this repo thing05:37
z1hazethis is what im putting on my server https://github.com/TechnicPack/TechnicSolder05:37
z1hazeits so i can update my servers modpacks with individual mods rather than change one file then have to reupload 200mb of files every time05:37
OpenTokix*puke* github-shit05:38
OpenTokixok05:38
z1hazei did just installed php mcrypt extesion i dunno if that would do it05:38
apb1963i'm trying to use debootstrap, and I keep getting: E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/trusty/Release  any ideas?05:38
OpenTokixz1haze: What ubuntu version are you running?05:38
z1haze12.0405:39
OpenTokixz1haze: and installing php-stuff from repos?05:39
z1hazehmm?05:39
z1hazethis is supposed to help me update my mod packs without having to uplaod hundreds of mb's for small changes05:39
OpenTokixz1haze: I understand what you are trying to accomplish05:40
z1hazeoh alright05:40
z1hazei think im ALMOST there too, im at the last step where im supposed to login but i just have this error05:40
OpenTokixz1haze: where do you see the error?05:40
OpenTokixz1haze: btw. - is memcached running?05:41
z1hazei dont know if its running05:41
OpenTokixz1haze: pgrep memchached05:41
z1hazebut the url http://technicsolder.terminus-mc.com/public is where its giving me that error05:41
z1hazeoh wtf05:41
z1hazenow its not05:41
z1hazehmmmmmm05:41
OpenTokixz1haze: I see a loginpage05:41
z1hazeyea me too.. before i wqas getting an error05:42
z1hazeand i didnt change anything at all05:42
OpenTokixz1haze: =)05:42
z1hazemaybe i didnt wait long enough after i reloaded apache05:42
z1hazeuh oh05:43
z1hazeit did it again05:43
z1hazesoo weird05:43
z1hazeits sporatic..05:43
z1hazewhat in the world05:43
OpenTokixcheck the apache errorlogs05:44
OpenTokixand try to trigger it05:44
z1hazeok good idea05:44
OpenTokixapb1963: Where are you bootstrapping? - Does that host have working network?05:45
apb1963OpenTokix: Yes, I'm on the host now.05:45
OpenTokixapb1963: and no proxy configured for apt or so?05:46
apb1963OpenTokix: not that i'm aware of... i.e. I didn't configure one.05:46
OpenTokixapb1963: ok05:47
apb1963OpenTokix: I can ping it, I can see the index from a browser.05:47
OpenTokixapb1963: and it consistently fails when you run debboostrap?05:48
apb1963OpenTokix: Yes.  I tried 2 additional mirrors.... same results.05:48
OpenTokixapb1963: that is indeed wierd05:49
apb1963OpenTokix: I'm wondering if this is the result I'd get if my target is bad.  So I can test it by unmounting the target USB drive and see if it installs to the mount point.  But, if I do that... I'm wondering if I can simply copy or move the results to the disk later, so as to save network time.05:52
OpenTokixapb1963: try to touch files on the usbdrive05:54
apb1963OpenTokix: quite touchable05:55
OpenTokixthen its not a proublem to write on it05:55
apb1963OpenTokix: maybe... but I just unmounted and now debootstrap is working05:55
OpenTokixapb1963: wierd05:56
OpenTokixapb1963: I dont use much usbdrives05:56
apb1963OpenTokix: I never used to... but then they started getting too cheap not to05:56
OpenTokixI dont have a single usecase for myself =)05:56
apb1963OpenTokix: system restoration, alternative boot to try (and show to others), backup... the list is almost endless... or at least 3.05:57
OpenTokixapb1963: boot: pxeboot; backup: I have systems for that; recovery: also pxebooting05:58
OpenTokix=)05:58
apb1963guess I need to google pxeboot05:59
OpenTokixyes05:59
OpenTokixpxeboot is the complete win05:59
OpenTokixapb1963: In my lab I have like 10 different bootoptions, presseded ubuntu and debian, livesystems, recoverysystems etc.05:59
apb1963lab.  This implies multiple computers.  "The firmware on the client tries to locate a PXE redirection service on the network ...".  I have one computer.  And pxe wouldn't be of much help when trying to demo a linux system to a windows house.06:02
apb1963So yes I can see why you wouldn't necessarily have a need... but I do. :)06:02
OpenTokixapb1963: ahh, ok =) fair enough06:02
OpenTokixapb1963: I have hundreds of computers =)06:03
OpenTokixapb1963: easiest for you would be to just dd a livecd onto the usbdrive06:03
apb1963so the question remains... can I simply move the downloaded debootstrap directory to another place (the usb drive).06:03
OpenTokixapb1963: yes, but it will not be bootable, since you need to information in the mbr for the booting06:04
apb1963Hmmm.  Well, that's a good point... I've had so many paths to follow I've lost sight of what I'm doing.06:04
apb1963I believe fdisk /mbr will fix that problem?06:04
OpenTokixapb1963: yes, should work - you can try your bootable usbdrive in virtualbox06:05
OpenTokixor with qemu-x8606:05
apb1963I presume qemu is like virtualbox?06:05
OpenTokixits more rudimentary06:05
apb1963I've had trouble getting my usb drive to mount in virtualbox... and I haven't tried booting it that's for sure.06:06
OpenTokixbut it will show if your usbdrive work you just boot it with: qemu-system-x86_64 -hda /dev/[usbdrive]06:06
apb1963virtualbox SEES the drive, it just won't mount it06:06
apb1963i.e. I can't access it06:07
apb1963so... debootstrap finished it's thing....  what just ... mv /mnt/installer/* /dev/usbdrive  ?06:08
OpenTokixapb1963: I would use rsync06:08
apb1963hmm06:08
OpenTokixyou need to mount the usbdrive06:09
apb1963options for rsync?06:09
OpenTokixbtw, is the usbdrive formatted as ext?06:09
apb1963ext 406:09
OpenTokixrsync -avP source dest06:09
apb1963bzzt!  I blew that.  W95 FAT32 (LBA)06:10
OpenTokixapb1963: I think you have your debootstrap problem, right there =)06:10
apb1963I've been running back and forth between the house and another borrowed system.06:10
OpenTokixholy shit, you need to extra hardware man =)06:11
apb1963let me check the money tree.06:11
apb1963Wintertime.  No leaves.06:12
OpenTokix=)06:12
apb1963E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/trusty/Release   means wrong file system on the target device.  Nice.06:12
apb1963I'm going to make a note of that.06:12
OpenTokixapb1963: probably want to set owner and permissions on the file06:13
sarnoldnaah, apt-get runs as root and files are owned by root..06:14
apb1963hmm?  what?06:14
OpenTokixIm just speculation why it would not work on fat3206:15
sarnoldapb1963: sorry, I was responding to OpenTokix06:15
OpenTokixsarnold: Do you have another idea why the debootsrap dont work?06:15
apb1963OpenTokix: sounds reasonable06:15
sarnoldOpenTokix: sorry, debootstrap is complete mystery to me. I'm not surprised that it makes assumptions that it has a POSIX filesystem to work with though :)06:17
OpenTokixsarnold: =)06:17
OpenTokixsarnold: I have very basic knowledge of it, used it maybe once or twice06:17
OpenTokixBut now I am getting curious of it, for my virtual machines =)06:18
sarnoldOpenTokix: about the same here, I've only used it via mk-sbuild, only done that a handful of times...06:19
sarnoldOpenTokix: heh, it's been on my todo list to try just downloading one of the cloud images, those are available as disk images.06:20
sarnoldno installer to debootstrap needed :)06:20
apb1963it took some head scratching, but I was able to create a working bootstrap awhile back.  Now trying to create one for trusty using precise as my starting point.06:21
apb1963i've been aggravated by what are potentially bad disks.06:21
geniiGrrr, bad disks06:22
apb1963they seem to work fine on the borrowed machines under windows, but I seem to have problems with them here.06:22
sarnoldthe badblocks program may be able to help with that..06:22
apb1963but then I've only done quick formats under Windows06:22
apb1963I ran badblocks... it's what reported zillions of bad blocks06:23
sarnoldquick format will touch less than 1% of the drive06:23
sarnoldhaha06:23
sarnoldokay, so you're pretty familiar with it then :)06:23
apb1963yeah, that's why the jury is still out06:23
apb1963Yes I have 28 solid hours of experience with badblocks :/06:23
apb1963it's excruciating06:23
apb1963oh and I did a chkdsk over on Windows... it reports shiny squeaky clean bits.06:24
sarnoldo.u.c.h.06:24
sarnold"thanks windows"06:24
apb1963so i'm still puzzled over it all06:24
OpenTokixGood luck, going to get ready for datacenter trip today =)06:24
apb1963I mean 3 bad usb flash drives all at once?06:24
apb1963OpenTokix: thank you most kindly for your help06:25
apb1963OpenTokix: about to start the debootstrap with the ext4 fs06:25
sarnoldapb1963: dang. that's some luck.06:26
apb1963OpenTokix: yup.  It was the ext4 fs....  it's going fine now06:27
apb1963sarnold: tell me about it06:27
apb1963I think I might need a new mamaboard06:27
apb1963my mouse freeeezes up periodically and replugging it cures it for awhile.06:28
apb1963and it's a usb mouse06:28
sarnoldmight be a dying usb controller..06:28
apb1963exactly06:28
apb1963my sound card already gave up the ghost on the output06:29
apb1963which is of course onboard06:29
apb1963it's also why I have to wonder if these flash drives really are bad... or it's just my usb controller that is the cause of these badblocks06:30
sarnoldyeah I wouldn't throw them out yet06:31
apb1963I was going to format them under windows, the slow way... but didn't as I figured it would take too long.06:38
apb1963that was weird.. it double mounted the same partition06:41
apb1963I didn't know you could do that06:41
sarnoldyup :) it can lead to some real confusion..06:43
apb1963and make debootstrap fail06:43
apb1963in yet another indecipherable way06:43
apb1963having the wrong filesystem also made chroot fail in an obscure way.  I've learned a lot.  If only I could remember it :/06:45
apb1963at least... I'm assuming that was the problem... I'll find out in a few minutes.06:45
sarnoldapb1963: can you pastebin this one?06:45
apb1963which one?06:45
apb1963the chroot?06:46
sarnoldoh! I'm sorry, I'm doing too many things at once, I thought you had a new failure that you didn't udnerstand06:46
apb1963haha   join the club06:46
sarnold:)06:46
apb1963no that's from earlier.. I'm assuming the reformat will cure it.06:46
apb1963ok now I have something new and strange06:48
apb1963sarnold: http://pastebin.com/0QvTQe2Lhttp://pastebin.com/0QvTQe2L06:50
sarnoldapb1963: looks like you have a gpg key or message stored in /mnt/installer/etc/bash.bashrc06:53
apb1963exactly right06:53
sarnoldwhich is some kind of accomplishment. :)06:53
apb1963question is... how did it get there and what does it all mean? :)06:53
apb1963i'm going to ignore it and just continue with the rest of the process.06:54
sarnoldapb1963: maybe try again with ext3 -- there've been repors of ext4 corruption.06:54
apb1963i'm reasonably sure I used ext4 awhile back to do this... of course I was going from precise to precise so maybe trusty isn't so trusty?06:55
apb1963jeez... I can't continue... it can't find apt-get ... obviously something failed quietly06:55
sarnoldapb1963: yeah, I think it's pretty recent06:56
apb196314.04 .. I thought it was supposed to be stable?06:56
sarnoldyes, it should have been, but this was discovered after shipment sadly enough :/06:56
apb1963so how come I havent heard anything about it?06:57
apb1963I AM in fact telepathic so, I would have expected to hear something.06:57
sarnoldapb1963: http://marc.info/?t=139710836700001&r=1&w=2  :)06:57
apb1963marc.info ??06:58
sarnoldawesome mail list front end06:58
apb1963Monsters Are Real Creatures?06:58
sarnoldheh, i've always guessed Mail ARChive, but never looked into it :)06:59
=== smb` is now known as smb
apb1963I can't keep up with that stuff07:03
apb1963I had hoped to get past my 12.04 problems with 14.04, but I guess it's not meant to be07:03
sarnoldapb1963: it -could- be hardware issues through-and-through :(07:05
apb1963nah07:05
apb1963doesn't feel like it07:06
=== Trey is now known as Guest23812
sarnolddunno, a mobo that's busted enough to misread three usb disks and one use mouse and dead audio might also send disk data to wrong sectors or similar07:06
apb1963yeah but then I'd likely get disk errors07:06
apb1963I just get crashes07:07
sarnoldone hopes, but if it just gives bad data back to a program..07:07
apb1963hmm07:07
apb1963oh to be rich07:07
apb1963again07:07
sarnold*nod*07:07
apb1963i've been trying to back stuff up before doing anything hardware-wise07:08
apb1963hence the 3 usb flash drives07:08
apb1963sadly, i've been unable to do so07:08
apb1963so really I've just been trying to validate whether they're good or not07:09
sarnoldmaybe you could yank the drive, bring it and usb flash drives to a friend's machine, boot up a linux livecd, and make backups that way?07:09
apb1963that's certainly a thought07:09
apb1963a painful one.. but a thought.07:10
sarnoldwhat matters to you is just the disk. that's the hard part to replace...07:10
apb1963yeah.... I imagine I'd have to bring along an external enclosure07:10
apb1963I just hate cracking this machine open... again.07:11
apb1963I mean if I need a new mamaboard... why not just get it and then deal with the disk?07:11
sarnoldbecause backups++ :)07:12
apb1963i'm depressed... my head hurts... I think I'm gonna go cry in my pillow07:12
zombu2have you checked the psu??? a bad psu can do some pretty whack stuff07:12
sarnoldgood plan.07:12
sarnoldzombu2: oooh.07:12
apb1963zombu2: right you are... but no, the only way I  know of checking is to replace it07:13
zombu2yup07:13
apb1963i've had more than my fair share of bad power supplies07:13
apb1963i actually have a spare here07:13
apb1963but... I'm not sure it will fit in this machine07:13
zombu2had a evga board the other day which gave me error 67 on post07:13
zombu2bad psu07:13
sarnoldbed time :) good luck apb196307:14
apb1963yeah I only get missing hard drive errors on post... then it moves past and boots and my heart beats again07:14
zombu2and usb either works or it don t07:14
apb1963sarnold: ty07:14
apb1963ok well, i wanted to be in bed almost 2 hours ago so... thanks guys and g'night!07:15
zombu2nn07:15
* apb1963 waves and exits stage left07:15
=== Malinux_ is now known as Malinux
caribouwith Trusty is it still required to set a bridge on the NIC if we want to access KVM VMs from the outside ?10:08
=== Trey is now known as Guest75191
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
rbasak_hallyn: you need to enable the cloud-tools pocket. It's needed for cloud-localds from cloud-image-utils, which didn't ship in Precise.10:36
=== rbasak_ is now known as rbasak
pmatulismorning11:21
pmatuliscaribou: yep11:22
=== Malinux_ is now known as Malinux
=== TDog_ is now known as TDog
=== med_ is now known as Guest22673
=== miceiken_ is now known as miceiken
=== user1__ is now known as Voyage
=== Trey is now known as Guest46618
tomixxx7hi, what is the equivalent of sh file command $@ in batch files?13:00
tomixxx7$@ <- gives me the remaining parameters of cmd line after some shift cmds13:00
Picitomixxx7: have you asked #bash ? they are pretty knowledable there.13:00
tomixxx7Pici: ty, will try13:01
=== medberry is now known as Guest67034
=== Lcawte|Away is now known as Lcawte
zetheroo1I need help with Samba4 and LDAP Account Manager in Ubuntu 14.0414:03
=== med_ is now known as Guest99895
=== medberry is now known as Guest19967
hallynrbasak: oh, ok, thanks.  is that documented somewhere?  (it didn't use to be the case, as i'm certain i at one point used it without that)14:09
hallyn(certain of it, i tell you!)14:09
LarsThalmannHi. Is there anywhere where I can read what is intended for next Ubuntu release?  Which is the best page for that?14:14
PiciLarsThalmann: The developer summit is actually happening right now, agendas at https://uds.ubuntu.com/agenda/14:15
PiciLarsThalmann: actually, this is a better link: http://summit.ubuntu.com/uos-1406/14:17
DarkStar1Hi all https://help.ubuntu.com/community/PostfixAmavisNew is it still releveant? I noticed a few packages are missing when installing for 12.0414:27
DarkStar1At the end of the Postfix integration section on this page: https://help.ubuntu.com/community/PostfixAmavisNew it says “Also add the following two lines immediately below the "pickup" transport service”. can anyone tell me what it is referring to?14:43
rbasakhallyn: it might not have been a hard dependency, but you did need to acquire cloud-localds from somewhere by hand manually before that.14:49
hallynrbasak: yeah and i assume i'd gotten it somehow elsewhere before - thx14:49
ws2k3i'm using ubuntu and i just upgraded mysql hoever when i do service mysql restart it does not work, when i do /etc/init.d/mysql restart then it does work, which file is executed when i do service mysql restart and how to fix this ?14:50
=== med_ is now known as Guest4607
=== phunyguy is now known as not_phunyguy
=== not_phunyguy is now known as phunyguy
=== veebull_ is now known as veebull
LarsThalmannPici: Thanks.  I'm actually interested in how the planning is done.  Are there *required* things for an Ubuntu release, or is there just a list of "hopes" and what is ready in time gets included in the release?15:33
PiciLarsThalmann: Typically there are blueprints on launchpad filled out with what some developers and teams want, and then during UDS/UOS they spend the time discussing the feasbility and planning of those, as well as anything else that might come up.15:34
zuljamespage:  neutron is buidling again15:36
LarsThalmannPici: So for the next release (14.11), is there anything marked as "required"?  I would assume the answer is "no".  If the release is to be on time there can not be any "holy cows".  Right?15:37
LarsThalmannPici: Any link where I can see the plan?  I don't find it following the summit links...15:38
PiciLarsThalmann: I haven't really looked at any of this cycle's blueprints, but they are located here: https://blueprints.launchpad.net/ubuntu/utopic15:38
LarsThalmannah, I see it here: https://launchpad.net/ubuntu/+milestone/ubuntu-14.1015:39
LarsThalmannseems there are "high" items, but not really anything that says "required"..  so I'm assuming anything can be dropped...15:39
LarsThalmannHmm, I wonder if one can even specify "required" in launchpad...15:40
LarsThalmannPici: Ok, by looking at different milestones etc, it seems the highest prio is "High". so then I know.  Thanks for the help and links.15:45
PiciLarsThalmann: iirc, there is 'critical' too, but I don't see anything set as that.15:46
LarsThalmannah, ok, thanks15:46
rbasakLarsThalmann: anybody wanting to work on something is welcome to join us. The planning stage is where we coordinate - if there's something you'd like to see happen in the next release and are willing to put resources into making that happen, then now is the time to get involved15:56
rbasakNothing is "required", except the schedule :)15:57
=== med_ is now known as Guest25214
rberga few days ago I asked about a problem I am having where I was unable to hit S,M or I to recover a failed block device during boot, I have this tracked down to serial over lan being enabled in the kernel command line, ie if I have "console=tty1 console=ttyS1,115200n8" then those key presses are not registered over tty1.. do anyone know how I can have both enabled and still be able to skip that mount?16:12
=== Trey is now known as Guest28836
z1hazehello, what could cause Module 'memcache' already loaded Unknown on line 0 to "sometimes" show up when trying to access a page, but sometimes not16:15
z1hazei just commented out the memcache.so in php.ini and it seemed to work.. hmm16:30
hxmi have this crontab */5****php /var/www/osTicket/inc/mail/hesk_pop3_sometokenhere.php >/dev/null16:39
hxmthe script works but I keep receiving the email16:39
hxmwith this: PHP Warning:  Module 'memcache' already loaded in Unknown on line 016:39
hxmi can fix the warning, but i'll keep receiving the email16:39
hxmi dont want the report16:39
hxmwhy >/dev/null fails?16:39
rbergthe error is coming out stderr you are redirecting stdout only16:40
hxmoh damn16:40
hxm2>&116:40
hxmsorry and thanks16:40
rbergI would recommend fixing the error so you can still get other error emails should the script fail in the future16:41
hxmyes16:41
abosamoorhi, I upgraded my server from ubuntu 12.04 to 14.04, I got a dependecy error about avahi-daemon and libnss-mdns not being configured properly16:47
sarnoldabosamoor: what error do you get?17:01
abosamoorsarnold: adduser: The user avahi already exists, Exiting. dpkg: error processing pacakage avahi-daemon (--configure): sub process installed post-installation script returned error exit status 117:03
abosamoorsarnold: dpkg: depedency problems prevent configuration of libnss-mdns:amd64: Package avahi-daemon is not configured yet.17:04
sarnoldabosamoor: crazy. please file a bug (with ubuntu-bug avahi-daemon) to make sure this gets captured -- please copy-and-paste that into the bug report :) -- and then probably dpkg --purge avahi-daemon -- chances are good that won't work, but it's worth a first shot17:04
abosamoorsarnold: and I can not resolve URLs on the machine like "wget google.com" will fail at resolving the IP address.17:05
sarnoldabosamoor: argh. that's annoying. what's in /etc/resolv.conf?17:05
abosamoornameserver 127.0.0.117:05
sarnoldabosamoor: are you running a local dns cache or recursor?17:07
abosamoorsarnold: yes, this machine supposed to be the gateway of the local network, so it runs bind in principle, though after this failed upgrade I am not sure what is running and what is not17:08
sarnoldabosamoor: aha. okay. well, for now you can put nameserver 8.8.8.8 into the file and start fixing things again :)17:09
sarnoldabosamoor: don't forget about that, you'll probably want to change it back to 127.0.0.1 once you're all fixed up.17:09
abosamoorsarnold: it still fails to resolve IP addresses :(17:12
sarnoldabosamoor: can you ping 8.8.8.8?17:12
abosamoorsarnold: no17:13
sarnoldabosamoor: drat. then you probably have busted iptables rules17:16
abosamoorsarnold: I am running a local network in a campus, so yes, there maybe some complexities. Thing were working, is there any way I can fix avahi and the dependency issues locally17:19
sarnoldabosamoor: probably, all the .deb files should have been downloaded .. I don't know if the upgrader sticks them in /var/cache/apt/archives/ or somewhere else, but it'd be a good starting point to try to find the packages17:21
sarnoldabosamoor: i think trying dpkg --purge avahi-daemon would be a  good starting point. (heck, does the gateway even need it?)17:21
abosamoorsarnold: to be honest I am lost, I do not know what avahi is or even libnss mdns17:23
abosamoorsarnold: will purge it17:23
sarnoldabosamoor: yeah, I don't know enough about it; it helps manage the .local pseudo-domain thing, similar to apple's bonjour17:25
rbasakI like avahi-daemon and libnss-mdns. It saves me having to operate a DNS server on my local network.17:27
AerganHi, I'm running Ubuntu Server 14.04 LTS under Hyper-V 2012 R2 and I'm having an issue where running 'sudo reboot' causes the guest OS (Ubuntu server) to wait at "Stopping System V runlevel compatibility [OK]"18:01
AerganIf I issue a shutdown or reboot action from the Hyper-V console GUI, it behaves correctly18:02
Aergan'sudo halt' behaves the same18:02
AerganKernel version: 3.13.0-29-generic x86_6418:04
=== rena is now known as rena_
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== mjohnson151 is now known as mjohnson15
TTGGAnyone ever tried to use SSMTP or an equivalent in place of sendmail?18:54
TTGGI'm having some issues and I don't know how to begin troubleshooting.18:55
TTGGI tried checking my /var/log already and I can't find anything useful18:55
OpenTokixTTGG: I always use exim4 for sending mail18:55
TTGGCan I auth exim4 up with an external SMTP server and use it to send my mail?18:56
TTGGThat's why I'm using sSMTP18:56
TTGGI'm very open to alternatives at this point because the project is barely off the ground.18:56
sarnoldTTGG: I use msmtp, like it well enough.18:56
TTGGCan msmtp auth with an external SMTP server for sending functions?18:56
sarnoldTTGG: yes, my ~/.msmtprc is configured with a user and password for the account in question18:57
TTGGwith an external smtp server? IE gmail or yahoo or something like that?18:58
TTGGSorry if my question sounds stupid, I just got lead down the wrong path with Postfix already18:59
z1hazeis there a way to find out the ipv6 address for my server? apparently this repo will only connect via ipv6 or something19:15
rena_z1haze: Terminal command - ifconfig  (ipv6 for the server should be on eth0 -> inet6 addr:)19:21
z1hazeok thanks19:22
z1hazewhen i try to import from solder it keeps telling me a modpack already exists with that name?19:23
=== NomadJim_ is now known as NomadJim
z1hazeis it typical to get 500 internal server error when i create a modpack on technic with solder?19:29
z1hazelol mybda wrong channel19:29
=== medberry is now known as Guest48146
=== ming is now known as Guest58318
=== jml- is now known as jml
z1hazewhat is the easiest way to make a virtual host point to a port other than 8021:40
z1hazei think i messed something up because i have somthing that used to work and now it doesnt.21:40
z1hazeim using a proxypass/proxypassreverse but it isnt working21:40
=== roaksoax_ is now known as roaksoax
rena_You have to be listening on the port wanted (check if the port appears in the output of netstat -lnpt)21:48
rena_Then you have to set the virtual host in a sites-available directory and activate it with sudo a2eensite <host_file_name>.21:53
z1hazeif i go to my ip:port22:05
z1hazeit works22:05
z1hazebut if i go to my subdomain that i created an arecord for i tdoesnt work22:05
z1hazei looks like its trying to connect on port 8022:05
z1hazeheres the actual subdomain im using: http://map.terminus-mc.com/ it was working as of like 3 days ago i dunno what happened22:06
rena_By accessing that uri/subdomain from a browser, it will try to request on port 80. If you want to go to another port you have to specify subdomain:port, just like you did with ip:port. Because a subdomain is only translated to an IP address.22:19
rena_z1haze: I think you need to set both ports to be listening 80 and the proxy port22:29
z1hazerena_ http://paste.ubuntu.com/7630946/ thats my hosts file i dont really get what ur saying23:03
z1hazewhat have i dont incorrect?23:06
rena_z1haze: Change line ProxyPreserveHost On to ProxyPreserveHost Off. Or you can just remove it or comment it, because the default is off.23:10
rena_Then do a service apache2 restart and test it23:11
=== medberry is now known as Guest84673

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