/srv/irclogs.ubuntu.com/2014/09/12/#ubuntu-server.txt

axisyssudo apt-get update gives this on lucid00:37
axisys*** glibc detected *** /usr/lib/apt/methods/http: munmap_chunk(): invalid pointer: 0x00007fb1bd37b460 ***00:37
axisysany suggestion?00:37
axisysjust rebooted and still same error00:37
sarnoldanything in dmesg?00:38
axisysno.. I thought glibc bug was fixed that was introduced on Aug 4th00:39
xperiahi all. i need to install and load the reiser4 kernel module on a ubuntu-server. can somebody tell me how can this be done? i have already formated a partition by installing the needed tools like progsreiser4 and using mkfs.reiser4 but i am not able to mount it. it say always unknow filesystem. i guess this is because i need to load the kernel module for this filesystem also.00:50
sarnoldxperia: try "modprobe reiserfs"00:51
axisyshttps://bugs.launchpad.net/ubuntu/lucid/+source/eglibc/+bug/1352504 worked00:54
uvirtbotLaunchpad bug 1352504 in eglibc "Regression in 2.11.1-0ubuntu7.14; segfault in getservbyname" [Critical,Fix released]00:54
xperiasarnold: thanks a lot will try it out and report back!00:55
sarnoldaxisys: oh I'm sorry, I forgot all about that one :(00:58
xperiasarnold: modprobe reiserfs loads the old module instead the new one reiser4. becoause of this i am still getting the error message "unknow filesystem »reiser4«"01:03
xperiawhen i try to mount the reiser4 partition.01:03
sarnoldxperia: oh, I'm sorry. I didn't realize reiser4 hadn't been merged: "Reiser4 has a questionable future and no immediate plans for merging into the Linux kernel." http://en.wikipedia.org/wiki/Reiser401:04
xperiasarnold: okay thanks for the info. looks like i need to compile it to get it load on 14.0401:07
sarnoldxperia: yeah. oh well, thatshouldn't be too horrible. check out the kernel-package package -- it can help building kernel debs for easy dpkg -i  :)01:08
xperiasarnold: cool will just do it. i really want this reiser4 kernel module01:12
=== markthomas is now known as markthomas|away
=== brrr is now known as they
=== they is now known as us
=== us is now known as brrr
=== kickinz1|afk is now known as kickinz1
SlingI have postfix using mysql as a backend for some information, but postfix is jailed to /var/spool/postfix so it can't access the mysql socket. I've fixed this by creating a mount point "/var/run/mysqld /var/spool/postfix/var/run/mysqld bind defaults,bind 0 0" in fstab and this mounts fine and works like a charm06:35
Slingbut, when rebooting, it complains that /var/run/mysqld doesn't exist and halts booting06:36
Slingwhen I skip it, and manually say 'mount /var/spool/postfix/var/run/mysqld', it works fine again06:36
ikonia/var/run/mysqld is created after the file system mounts06:36
ikonia /var is also "ram" as I recall, rather than an actual disk06:37
Slinghmm, that would explain it, any decent way of fixing this without hacking around?06:37
Slingwell /var isn't in ram, there is persistent log storage there06:37
Slingmaybe /var/run06:37
ikonia /var /run is I think06:38
Slingtmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)06:38
Slingso the '/run' outside of var is, yea06:38
ikoniaif you look though /run is a symlink to /var/run06:38
Slinglooks like a normal folder to me06:39
ikoniaI've not got an ubuntu box at hand to verify, I'm working from memory06:39
ikoniaI could be wrong on that06:39
Slingdrwxr-xr-x  16 root root  600 Sep 12 08:29 run06:39
Slingin .06:39
Slinger, in /06:39
Slingbut anyway, a way to 'late' mount this?06:39
Slingor should I then make an upstart script that depends on mysql06:39
Slingweird thing is that this works fine on another ubuntu 12.04 box, which is the same version as this box but might be a few packages behind06:40
Slingoh wait, I added 'nobootwait' there06:41
ikoniaI'm not sure of the best way I'd handle this06:41
ikonianobootwait - I don't think that will work, try it though06:41
thejoecarrollcan anyone say whether there is an official recommendation regarding using ubuntu's own apt repositories for 14.04 to install puppet-common (http://packages.ubuntu.com/trusty/admin/puppet-common) as opposed to using puppet labs' release repository (as described here: https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html)? any pros/cons for either option?07:41
lordievaderGood morning.07:42
lordievaderthejoecarroll: Standard Ubuntu policy would be to pull everything from their repo, as they might apply Ubuntu specific patches. However the puppet version from the puppet repo works fine on Ubu Trusty.07:43
thejoecarrollthanks lordievader07:44
xperiahi all. how can i upgrade the kernel easy to 3.15 on a ubuntu 14.04 kernel ? i really need to run 3.15 Kernel instead 3.1308:25
lordievader!info linux-image-generic08:28
ubottulinux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 3.13.0.35.42 (trusty), package size 2 kB, installed size 28 kB08:28
lordievaderxperia: For Trusty that is not possible. Besides 3.15 is EOL.08:29
xperialordivader: hmm is not 3.15 the new kernel that will be used in the comming ubuntu version 14.10 ? what do you mean with EOL End Of Life?08:37
lordievaderxperia: Yes, EOL = End Of Life. 14.10 uses 3.16. See https://www.kernel.org/08:39
lordievader!info linux-image-generic utopic08:39
ubottulinux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 3.16.0.14.15 (utopic), package size 2 kB, installed size 28 kB08:39
lordievaderPerhaps if 3.17 is released before the kernel freeze of oct 9 that one will be included.08:40
SachiruIn terms of stability would it be wise to upgrade to 14.10 if you are currently running 14.04?08:45
brontosaurusrexon 14.04, is there any firewall on by default?08:46
lordievaderNo. It is never adviced to upgrade an development release.08:47
=== Mogwai is now known as Guest57803
brontosaurusrexi'am getting "upnphttp.c:1043: warn: HTTP Connection closed unexpectedly" when running minidlna08:47
lordievaderbrontosaurusrex: Yes. UFW is installed per default, UFW is a frontend to IPTables.08:47
lordievaderbrontosaurusrex: I don't think that is a firewall problem.08:48
brontosaurusrexlordievader: ok, any guesses?08:48
brontosaurusrex"ufw status verbose" says inactive08:49
lordievaderbrontosaurusrex: The server/client program. Something closes the connection. A firewall will prevent the connection from ever being setup (if instructed to do so...)08:49
xperialordievader: okay thanks.08:50
brontosaurusrexwell, the gupnp-tools are showing my server08:58
brontosaurusrexamong many others on this network08:58
brontosaurusrexalso xbmc is finding/playing my stuff, so i guess its working somehow09:02
xperialordievader: i really need to get the ubuntu kernel sources for 3.15. how can i obtain them on a 14.04 system ? i looked for ppa but could not find anything.09:04
lordievaderxperia: You know that compiling your own kernel is unsupported here?09:04
xperiathis is new to me as i am on a ubuntu 14.04 ubuntu server and thinked here i am right to ask that simple question. where should i go then ?09:06
xperiaokay will try #ubuntu-devel then! lets see09:07
lordievaderxperia: The sources of the 3.15 kernel can be found here: https://launchpad.net/ubuntu/utopic/amd64/linux-image-generic/3.15.0.6.709:07
lordievaderxperia: What I ment was that compiling your own kernel is not supported by Ubuntu.09:08
Odd_Blokexperia: #ubuntu-devel is for the development of Ubuntu itself, I don't think you'll get much help there.09:08
Odd_Blokexperia: Why do you need 3.15 specifically?09:08
xperiaahh okay thanks a lot will just try it out.09:08
lordievaderxperia: #ubuntu-kernel would be your best bet.09:08
lordievaderBut I suppose they will tell you the same.09:08
xperiaOdd:Bloke: for reiser4 support09:08
xperiaOdd_Bloke:09:09
Odd_Blokereiser4 is still a thing?09:09
xperiaOdd_Bloke: for One Billion small Files and more there is no better File System Choise or do you think else ?09:10
Odd_BlokeSorry, that wasn't a very constructive thing to say.09:11
Odd_Blokexperia: Have you tried http://ubuntuhandbook.org/index.php/2014/06/install-upgrade-linux-kernel-3-15/ ?09:12
xperiaOdd_Bloke: reiser4 just got new features especially for ssd drives only a few days ago and this patches work only with kernel 3.15 versions. thanks for the link will just check it out.09:13
xperiaOdd_Bloke: ahh i need to build the 3.15 Ubuntu Kernel from sources to enable resier4 support. the link lordievader posted looks very good. will help me a lot.09:15
lordievaderxperia: If you are going to build a kernel, build 3.16. Like I said 3.15 is EOL.09:15
lordievaderxperia: And when things break and you are asking for support mention that you are running a custom kernel.09:16
xperialordivader okay then i will try to build the 3.15 Kernel Version. I hope it will work with the reiser4 3.15 patches.09:19
xperiaehh sorry 3.1609:19
xperialordievader: sorry to ask this stupid question but what ppa do i need to add on a 14.04 system to be able to fetch the ubuntu kernel sources ?09:30
lordievaderxperia: Since you don't have the utopic sources simply download them from launchpad.09:32
xperiathanks. you just gave me the idea to add the utopic sources to the /etc/apt file :-)09:36
lordievaderxperia: No don't do that.09:37
lordievaderxperia: That's a really bad idea.09:37
lordievaderxperia: Please read what I type.09:38
=== kickinz1 is now known as kickinz1|afk
e-DIO-tanyidea about a 3Tb RAID1 read as 800Gb RAID1 via 12.04.3 LTS / Uefi install ?10:46
=== kickinz1|afk is now known as kickinz1
a_okIs there a non X boot configuration manager that can handle ubuntu's divided boot configuration?11:09
ubuntunoobhi guys. i want to upgrade my running production servers to the supported version of ubuntu. i only have ssh access to my servers and was wondering what is the best way to go about it11:09
ubuntunoob13.10 at the moment and wish to upgrade to 14+11:09
ubuntunoobi understand 14.4.1 is prefferable in terms of suport period11:10
ubuntunoobanyone here?11:16
cfhowletticu11:16
lordievaderubuntunoob: That surely is possible.11:16
cfhowlett!install11:16
ubottuUbuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - Don't want to use a CD? See http://tinyurl.com/3exghs - See also !automate11:16
pmatulismorning11:17
a_okFor some reason ubuntu is the only distro that is a pain in the boot. I really hope that migration to systemd is going to be fast. Else we still have upstart junk together with legacy sysvrc and systemd unit files to manage...11:18
ubuntunoobwhat about, sudo do-release-upgrade?11:18
ubuntunoobis it safe to do it over ssh?11:18
cfhowlett!eolupgrade | ubuntunoob, you'd have to do an eolupgrade.11:19
ubottuubuntunoob, you'd have to do an eolupgrade.: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades11:19
a_okyes it is however it is recommended to at least have means of "physical" access11:19
cfhowlettubuntunoob, how remote is your "remote"11:20
ubuntunoobanother country11:20
a_okubuntunoob, also use screen11:20
ubuntunoobi have email support from the vps company and they are fairly responsive11:20
cfhowlettubuntunoob, sounds like a solution is possible.   can your server be taken off-line for the upgrade?11:21
ubuntunoobyes11:21
cfhowlettubuntunoob, peaches & cream!  read the install alternatives link. Never done one myself, but I'm pretty sure you can enable an EOLupgrade via ssh.11:23
a_okubuntunoob, do make sure you use screen or another type of multiplexer that has reconnect functionality11:23
maxbcfhowlett, ubuntunoob: Saucy is still present on the main archive, so I don't think the special provisions for an upgrade from a release which has been demoted to old-releases need apply11:24
cfhowlettmaxb, you almost certainly know more than I - help?11:24
a_okcfhowlett, yep i have done it nothing special about it11:24
lordievaderI'd say "sudo do-release-upgrade" will still work at this time.11:24
ubuntunoobok, i will go read the eol guide now. thank you11:24
maxbDon't worry about the EOL guide, 13.10 is not that old. You are simply in the position of doing a normal upgrade11:25
maxb(though remote)11:26
maxbI believe you just need a standard run of 'do-release-upgrade', paying attention to the things it tells you about running the upgrade in a screen session, and having some sort of emergency plan in place for if the worst happens and boot fails11:27
lordievaderdo_release_upgrade opens a screen itself.11:28
cfhowlettmaxb, what's the command flag to dry run???11:28
maxbdry run?11:28
cfhowlettmaxb, "don't execute" but show output11:29
lordievadercfhowlett: It has a sandbox mode, but I don't know if that is what you mean.11:30
cfhowlettubuntunoob, actually, do-release-upgrade will show the upgrade plan and await one more authorization initialize so do that.11:30
maxbDoes do-release-upgrade have one of those? I can't see that it would be particularly helpful, as a release upgrade is sufficiently complex that a dry run won't be very representative11:30
ubuntunoobok so i am doing it on a test server first and running do release upgrade without screen (because you said it opens up its own screen)11:31
lordievaderubuntunoob: Err, do open your own. It will probably detect it. But better be safe than sorry.11:33
a_okubuntunoob: Also when you want to stay on LTS releases edit /etc/update-manager/release-upgrades (and set prompt to lts)11:35
ubuntunoobthan you, i am doing it now11:37
ubuntunoobafter editing to lts, closing all important running processes, backing up important stuff, opening a screen and running d--release-upgrade it says - Checking for a new Ubuntu release No new release found11:39
cfhowlettubuntunoob, eol upgrade option then11:40
ubuntunoobtried running - apt-get-upgrade, still no go11:40
ubuntunoobcfhowlett, what do you mean by that?11:40
cfhowlett!eolupgrade11:40
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades11:40
ubuntunoobok, gonna do some more reading now and try it out. thanks11:42
ubuntunoobin the requirements section it says i should have some sources, such as this one: ## EOL upgrade sources.list # Required11:59
ubuntunoobdeb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse11:59
cfhowlettubuntunoob, CODENAME = trusty         for 14.0412:00
ubuntunooband that i should replace CODENAME to my release, so is that the new or the old release?12:00
ubuntunoobso the new, ok12:00
cfhowlettubuntunoob, errrr false. oldrelease = name of your old distro12:01
cfhowlett!13.1012:01
ubottuUbuntu 13.10 (Saucy Salamander) was the 19th release of Ubuntu. Support ended on July 17th, 2014. See !eol, !upgrade and http://ubottu.com/y/saucy12:01
cfhowlettubuntunoob, "saucy" in your case.12:02
ubuntunoobthank you, i am looking it up now12:02
ubuntunoobi looked for them here: /etc/apt/sources.list and the necessary sources are not present. should i edit the sources.list file and write those sources myself?12:05
cfhowlettubuntunoob, paste your sources.list12:05
cfhowlett!paste12:05
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.12:05
ubuntunoobhttp://paste.ubuntu.com/8326629/12:07
cfhowlettubuntunoob, OK, as I stated : never done an EOL upgrade but as I read it, you have point all those debs to the old release repos.12:09
ubuntunoobso this i what i intend to add12:10
ubuntunoobhttp://paste.ubuntu.com/8326642/12:10
cfhowlettubuntunoob, looks like nope12:10
cfhowlettubuntunoob, those do NOT point to the OLD RELEASE repos12:10
cfhowlettubuntunoob, look at the EOL wiki.  the /etc/apt/sources.list   ##EOL upgrade sources.list    must be edited so CODENAME = saucy12:12
ubuntunoobi think i get it, something like this - deb http://old-releases.ubuntu.com/ubuntu/ saucy main restricted universe multiverse -----should work then12:14
cfhowlettubuntunoob, make this easy.  rename your current sources.list to SAVEDsources.list   then save the EOL upgrade sources.list as the new /etc/apt/sources.list12:14
ubuntunoobi added the sources to the new sources.list file and when i ran "aptitude update && sudo aptitude safe-upgrade" it had many errors. had 404 page not found errors and W: Failed to fetch12:25
ubuntunoobi found this "https://help.ubuntu.com/community/TrustyUpgrades" and i think it is going to work. gonna try now12:29
ubuntunoobsame as before "No new release found"12:30
MipHi Folks - nfs-kernel-server stops working shortly after clients make a connection. I saw this in dmesg http://pastebin.com/tECnbRWj - any ideas? Thanks12:31
cfhowlettubuntunoob, do not ADD the new sources - replace the sources.12:38
ubuntunoobyeah, i did that12:39
ubuntunoobi am now following http://askubuntu.com/questions/453883/upgrade-from-13-10-to-14-04-no-new-release-found12:40
ubuntunoobi am also trying it as root so now i am trying as a non root12:40
smoserPhibs, did you get sorted ?12:45
ubuntunoobi followed a guide and performed the following steps: http://paste.ubuntu.com/8326879/12:54
ubuntunoobas a non root user with sudo privelages12:54
ubuntunooband yoooooooohooooooooooooo it works!12:55
ubuntunoobNo LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 14.04.1 LTS Release:        14.04 Codename:       trusty12:55
ubuntunoobi am still a bit concerned about how this was done because i do not understand what happened, which is fine for my test server but can you please reassure me so i can reproduce these steps in my production server?12:57
cfhowlettubuntunoob, line 13 - correct command = sudo do-release-upgrade12:58
ubuntunoobthat is what i thought, so i can safely do this on my production server? there is nothing that is not kosher here?12:59
cfhowlettubuntunoob, no other errors on your test box, right?13:00
ubuntunoobseems fine13:01
ubuntunoobi am gonna check the main functions like lamp etc before i continue13:01
cfhowlettubuntunoob, then put  a brew in the freezer, launch your udpate, retrieve said brew and watch the magic13:01
ubuntunoobyeah the magic happened!!!13:02
ubuntunooband the brew was delecious13:02
cfhowlett:)  congrats on a job well done.13:02
ubuntunoobthank you13:02
cfhowlettubuntunoob, happy2help13:03
ubuntunoobi have another question though13:03
cfhowlettask13:03
ubuntunoobi do not want to be locked out of my production serrver that is protected by key file13:03
ubuntunoobshould i accept password authentication and maybe some other stuff i dont know of before upgrading?13:04
cfhowlettubuntunoob that stuff is completely over my head. ask in main #ubuntu channel.13:04
ubuntunoobok thank you for all of your help13:04
ubuntunoobbtw you can fix the answer given in ubuntu forums to include do- instead of do if you like http://askubuntu.com/questions/453883/upgrade-from-13-10-to-14-04-no-new-release-found13:05
xperialordievader: wanted just tell that i was able to recompile finally the Linux Kernel with Reiser4 Support. Created just a wiki about this on the ubuntu help page => https://help.ubuntu.com/community/reiser4#preview Thanks a lot for the Help!13:22
lordievaderxperia: No problem. Have fun ;)13:23
ikoniaxperia: any reason you are using reiser4 ?13:24
xperiaikonia: storing over one billion data files with a size of 500 to 800 Bytes leave no other choise than using reiser4 on linux as file system. everything else sucks!13:25
ikoniaxperia: despite it not being part of the kernel, you still think that it's an option for you ?13:26
xperiaikonia: it is activly developed. it just gor a few days back support for ssd trim and i will join the developer team and donate money to reiser4. So yes it is the only option for me if i want have a fast and unlimited file system.13:28
ikoniano critique, just wondered how you felt about basically using a "dead" file system as far as the kernel's native suppport is concerned13:29
dasjoexperia: out of interest, have you tried ZFS for that?13:31
* cfhowlett is too polite to mention that the namesake murdered his wife 13:31
=== rberg_ is now known as rberg
xperiadasjoe: i thinked to use XFS but from what i have read when it comes to handling of very small files reiser4 beat every other filesystem.13:33
korylprinceHello all. I've got a 3 drive RAID 5 with mdadm. One of these drives is starting to give SMART errors, so I've added another drive to the RAID. It is adding as a spare; Can I force it to sync because I know this other drive is going to die soon...13:33
ikoniakorylprince: mark the other one as failed13:34
ikoniakorylprince: and the spare will take over13:34
korylprinceThanks!13:36
Odd_Blokexperia: Would be interested to know if the amount of time spent actually processing will outweight the amount of time spent working out how to get reiser4. ;)13:43
xperiaOdd_Bloke: indeed let see. this billion file storage and access file system on linux is something that is a work on progress since years. See red hat research about this here => http://www.redhat.com/summit/2011/presentations/summit/decoding_the_code/thursday/wheeler_t_0310_billion_files_2011.pdf13:51
Odd_Blokexperia: A lot has changed since 2011; btrfs is (pretty much) production-ready.13:55
=== cmagina_ is now known as cmagina
xperiaOdd_Bloke: ohhh i had very bad experience with btrfs on ubuntu! i can not recommend btrfs even i used the latest version on the newest ubuntu kernel version like recommended. the troughput was compared to ext4 very very bad. i talked with the btrfs people and they could not understand it. i used a simple loop to store hundreds of millions data on a ssd disk and btrfs was absolute non usable...13:58
xperia...for such a task.13:58
jrwrenbtrfs also uses LOTS of memory compared to other file systems.13:59
jrwrenxperia: are you going to profile reiser4 v. xfs?14:00
jrwrenxperia: also since I did not see it mentioned, reiserfsprogs pkg is for reiserfs3, reiser4progs is pkg for reiserfs414:04
jrwrenxperia: and the kernel module is there by default.14:04
xperiajrwren: do you mean with profile doing a benchmark. is not my plan as i would need to erase the reiser4 ssd partition and replace it with xfs to make such a profile. phronix maked a benchmark testing the latest reiser4 filesystem and it was pretty well. they said however to avoid XFS for small Files and istead use reiser4 see => http://www.phoronix.com/scan.php?page=article&item=reiser4_linux35&nu14:05
xperiam=114:05
xperiayeah reiserfs is supported but not the newer reiser4 version. everytime i try to mount a reiser4 partition on ubuntu it gives me the error message FileSystem not supported.14:06
jrwrenxperia: i highly recommend comparing the two yourself. Those benchmarks are rarely if ever accurate.14:06
jrwrenxperia: ah, i see now you are correct. Sorry about that.14:07
xperiayes lot of people said it to me to use xfs. i will do for sure at one time. ext4 and so on can not be used because of the inode limitation. So only Reiser4 and XFS is the option. and from what is know XFS has big disatvantages when it comes to deal with lot of Sub Directory's14:08
jrwrenThat has not been my experience.14:12
jrwrenWhen you say "lot of" do you mean on order of millions, or billions?14:12
MipGotta leave for a bit now, but look forward to discussing nfsd with you folks when I return. Thanks!14:31
xperiajrwren: millions. your experience with XFS makes me really eager to try out really XFS also. looks like you are very happy with XFS! did you als tryed reiser4 before to compare the experience with this two file systems?14:43
jrwrenxperia: sadly no. after losing all my data to reiser3 many many years ago, I never touched reiserfs again.14:51
xperiajrwren: ahh understandable. losing all data is never good.14:59
StolenToasthuh15:36
StolenToastfinch seems to have disappeared from my system15:36
StolenToastwow it really is gone15:48
StolenToastnot just the package but all configs too15:48
=== Lcawte|Away is now known as Lcawte
=== markthomas|away is now known as markthomas
=== matsubara is now known as matsubara-lunch
Phibssmoser: no 0;16:30
smoserPhibs, can you explain more ?16:30
smoseryou're on precise ?16:30
=== semiosis is now known as semiosis_
Phibsyeah16:31
Phibsso we're installing packages from the ubuntu cloud archive16:32
Phibsand if I have the cloud keyring installed... they fail saying untrusted16:32
Phibsif I remove the cloud keyring pkg, they install...16:32
=== semiosis_ is now known as semiosis
TJ-Phibs: Do you have an example package that causes it?16:37
minus1999Yesterday I was able to successully set up a ubuntu file server, i then tried to set it as a webserver, following the official ubuntu guide, i was able to get as far as installing and configuring squid. then today, for some reason none of my home computers(mac and windows) see the shared samba folder. what could be the reason? the server is visable but attempting to browse it gives a error saying "windows cannot access the s16:38
PhibsTJ-: python-mock16:38
Phibs1.x with 'cloud' in the name16:38
TJ-Phibs: And which repository/ies  are added to sources.list?16:39
Phibs1s16:39
smoserPhibs, i can't reproduce that here.16:39
smoserhttp://paste.ubuntu.com/8328347/16:39
Phibshmm16:40
Phibsyeah I tried it in a separate box and it worked fine16:40
PhibsI really have no idea why it was being dumb :(16:40
Phibshow do I figure out what key is needed for a specific .deb?16:40
Phibsrepo was this16:41
Phibsdeb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/icehouse main16:41
TJ-Phibs: "pastebinit < <(sudo apt-get install <pkg>)"16:41
Phibsalso, I am hitting this repo, via another box where I used apt-mirror16:42
Phibswoudl that cause any issues ?16:42
PhibsTJ-: getting another box spun up to paste error16:42
minus1999Yesterday I was able to successully set up a ubuntu file server, i then tried to set it as a webserver, following the official ubuntu guide.16:43
minus1999 i was able to get as far as installing and configuring squid.16:43
Phibswhat does squid have to do with a web server16:43
minus1999 then today, for some reason none of my home computers(mac and windows) see the shared samba folder. what could be the reason?16:43
minus1999it was in the guide16:44
minus1999this if my first time, i was just following the guide16:44
minus1999Today the server is visable but attempting to browse it gives a error saying "windows cannot access the server" "check the spelling of the name." any ideas what may be the issue? or a search term i should use? Im probably searching wrong because im not finding anything. thanks.16:44
lordievader!patience | minus199916:46
ubottuminus1999: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/16:46
PhibsTJ-: still getting box set up to break ;017:00
=== ideopathic_ is now known as ideopathic
RoyKI would think this bug affects a few more people than just me :P https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/136409117:06
uvirtbotLaunchpad bug 1364091 in mdadm "Possible RAID-6 corruption" [Undecided,New]17:06
=== TDog_ is now known as TDog
=== matsubara-lunch is now known as matsubara
Free95hey all, trying to use vmbuilder to build a saucy (14.04) VM on precise (12.04) base… process hangs on "Base system installed successfully", tried updating to latest python-vm-builder via precise-proposed still nothing17:12
Free95anyone else have an issue like this?17:12
lordievaderFree95: The way I create/install VM's remotely is by starting them with virt-install and then connecting to their vnc server.17:16
Free95lordievader, what if you're trying to make a minimal OS install? aka JeOS?17:17
lordievaderSame applies.17:17
lordievader If that minimal OS goes to a vm that is.17:18
Free95Oops, confused girt-manager with girt-install haha17:18
Free95*g-> v17:18
zulhallyn: ping17:19
zulhallyn: what does lxc-start --share-net do?17:19
hallynzul: never heard ot it17:20
hallynoh.17:20
zulhallyn: its in the man page :)17:20
hallynso it'll grab the /proc/pid/ns/net of target pid and connect the container to that namespace17:20
hallynso two containers can share a netns17:21
zulhallyn: so if i create an netns using the ip command before starting the container and specify that pid it will use that netns?17:21
hallynyeah, well so lon gas you have a pid sitting in that netns, yes17:22
zulhmm. interesting17:22
Free95lordievader, the thing that stinks is that I can't specify what packages I want to install right on the command line17:23
lordievaderFree95: I suppose you are trying to install Ubuntu. Take the mini iso or do a debootstrap install.17:23
zulhallyn: so if i presetup somethign like 50 netns namespaces, i should just able to start an lxc-container from one of the random 50 netns containers i started17:23
hallynyeah17:24
hallynif that's what you wanted :)17:24
zulhallyn: do you need to configure anything in the lxc config file?17:24
Free95lordievader, vmbuilder is basically a frontend to debootstrap.. I guess the real question is, how can I easily provision VMs without building the ubuntu cloud infrastructure first?17:25
=== Adri2000 is now known as Guest24333
hallynzul: not sure17:25
hallynchecking whether all the network setup is ignored in thta case17:26
lordievaderFree95: I have no experience with cloud things. I don't think I can help you with that.17:26
Free95me neither haha17:26
Free95well I guess I'll just have to setup a basic ubuntu image and just clone it any time I want to make a new VM quickly :-/17:27
hallynzul: i think you'll want to set lxc.network.type = none in the config file17:28
zzxcHey Guys, Does anyone know how to limit the number of tunnels through sshd?17:28
zulok cool thanks17:28
zzxcWe have a chrooted sftp connection. We're getting ddos by the user when he can't access a file, it crashes his service without terminating the sftp connection then launches another sftp connection.17:31
PhibsTJ-: yeh can't repro anymore...17:31
PhibsTJ-: question is, why would the ubuntu cloud stuff install if the key isn't installed, is that stuff signed w/ the normal ubuntu key?17:31
zzxcSince its ftp though a ssh tunnel, limiting the number of session doesn't work. We had over 1000 open sftp connctions earlier today.17:33
RoyKzzxc: http://nixcraft.com/showthread.php/13764-SSH-limit-number-of-simultaneous-logins-attempts-for-each-user something like that?17:37
zzxcRoyK: Hmmm thats actually an interesting idea. I don't know if it will work since they don't actually have an session assoicated with them.17:42
* RoyK tries17:43
RoyKzzxc: works for me17:46
zzxcRoyK: Really? Awesome!17:46
RoyKerm17:47
RoyKno17:47
RoyKit doesn't17:47
RoyKI tried to ssh in twice (limit 2), and then sftp failed17:47
RoyKbut several sftp sessions don't count17:47
zzxcHahaha, yeah thats what I was worried about. Thank you for you're help though. I'm going to see if there is a configation on the sftp side to limit the number of concurrent connections. Otherwie I'm going to have to use something like tcpserver to create a firewallish like thing.17:49
zzxcBut Seriously, thank you for the effort.17:49
RoyK:)17:50
RoyKzzxc: it might be easier to do it in iptables17:52
RoyKzzxc: but that'll mean maximum connections from an address, not a user17:53
RoyKzzxc: MaxSessions should stop this, though, but seems it doesn't17:53
zzxcRoyK: Yeah, the ip address is used by multple users.17:54
RoyKbingo17:54
TJ-zzxc: Could you use pam_limits with maxlogins ?17:56
zzxcRoyK: The issue with using maxSession is that sftp doesn't use a session.17:56
RoyKzzxc: ah17:56
RoyKzzxc: could it be possible to configure it to use one?17:57
zzxcTJ-: You mean the /security/limits.conf bit?17:58
TJ-zzxc: Yes17:59
TJ-zzxc: e.g/ "username hard maxlogins 2"18:00
zzxcTJ-: Yeah, actually thats what Royk suggested as well. You can still use as many sftp connections as you want.18:00
Aisoncan I use /etc/network/interfaces.d for multiple network configuration files?18:00
TJ-zzxc: really? they share a log-in?18:00
zzxcRoyK: Huh I didn't think of that. Thats worth looking into18:01
RoyKzzxc: please share if you find a solution :)18:02
zzxcTJ-: On my system yes. RoyK was actually the one who tested it though (and thank you again for that). I've been digging though some things.18:02
zzxcRoyK: Yep, gladly.18:03
RoyKTJ-: tested it - see above - set limit to 2, logged in twice with ssh, after that sftp failed, but with 10ish sftp sessions, no problems if the number of ssh logins weren't too high18:04
=== RobertLaptop_ is now known as RobertLaptop
MipI’ve been struggling to keep nfsd up and running, and when it fails, clients who have nfs shares mounted from this server eventually hang. The problem *seems* to go away if I require both server and client to use vers3. Have any of you had this issue?18:32
MipUsing 14.04.1 on both server and client.18:32
bekksMip: Those issues are common when you use either nointr and/or hard as mount options.18:33
sarnoldsoft is your friend18:33
Mipbekks: thanks - I have been using soft as an option, and still had the problem. Same options now, only I’ve added vers=3 to server and client, and it seems more stable. Any other thoughts?18:34
bekksMip: Enforce "intr" too.18:34
Mipbekks: how/where would I do this?18:35
bekksMip: Just use intr in addition to soft.18:35
Mipbekks: ok, in fstab on client. Am I losing much by requiring my nfs mounts to be made using vers=3?18:36
bekksMip: Since you are asking the answer is no ;)18:37
Mipbekks: - thanks! I’m going to continue to test, but I could reliably get tainted kernels using nfs4, but could not for the life of me find a solution. I’m surprised the problem isn’t more widespread.18:38
bekksMip: Tainted kernels? Can you please pastebin that?18:38
Mipbekks: sure - I pasted this one this morning, but I’ll do it again here: http://pastebin.com/tECnbRWj18:39
Mipbekks: last line shows the kernel tained (after 2nd crash)18:40
bekksAre you using ACL over NFS?18:41
MipNot intentionally18:41
sarnoldnote line 8 says 'Not tainted' -- it could be that the first null-pointer exception taints the kernel for future BUGs..18:42
sarnold.. to save people from wasting time trying to troubleshoot the second or third problem, when the first one is probably the source of the issues18:42
RoyKzzxc: rssh might be the answer18:43
RoyKzzxc: that is, if you don't need to allow logins for the users18:43
zzxczzxc: I'm actually using rssh. Is there a limt feature in that?18:43
zzxcRoyK: ^^ For some reason I typed my own name...18:44
RoyKhehe18:44
RoyKzzxc: sec18:45
zzxcRoyK: Huh, I found a guy using a very simalar set up with a very simalar situtation.18:46
zzxcA chrooted sftp jail using rssh with 1000+ concurrent sftp connections which caused our system to crash.18:46
RoyKthis one? http://sourceforge.net/p/rssh/mailman/message/22190380/18:47
zzxcHaha yep18:49
Mipsarnold: to what do you attribute the cause in line 8?18:52
MipIt’s definitely nfsd, right?18:52
sarnoldMip: alomst certainly, yes. please do file a bug on that if you haven't yet :)18:54
Mipsarnold: though I’ve been using linux for several years, I’m not sure I *know* how to file a bug. Where would be the appropriate place?18:57
Free95lordievader, so I got virt-install working…. but I'm doing the install manually. How do I pressed and stuff? For instance, I'd like to setup the disk partitions automatically18:58
lordievaderFree95: I have no experience with preseed or kickstart. But I'm sure someone else here can assist you with that ;)18:59
Free95aw man, you got me this far and that's it? :P haha18:59
sarnoldMip: the easy thing to do is trigger the bug again and then run "ubuntu-bug linux"18:59
RoyKzzxc: seems like most of the world wants to find a solution to this :P19:00
pmatulisFree95: what's your question?19:00
Mipsarnold: I’ll look into that. Any way I could use a copy of dmesg that I created after I saw the bug? I cat’d it to a file.19:01
zzxcRoyK: Yeah, I've noticed that too. I mean it seems like a pretty simple thing.19:01
Free95hey pmatulis, I'm used to using vmbuilder to make my VMs, including with essential packages etc… but there's a serious debootstrap bug somewhere that has recently appeared and I cannot create trusty VMs19:01
sarnoldMip: if you don't want to go -that- far, you could just file a bug at launchpad against linux and paste in the dmesg .. the bots iwll nag you for more details and if you're still running that kernel, you can probably placate them well enough19:02
Free95so I'm trying to find functionality that's similar in nature to debootstrap… basically automate as much of the install as possible19:02
sarnoldMip: https://bugs.launchpad.net/ubuntu/+source/linux/+filebug19:02
RoyKzzxc: there's #openssh which may have some smart heads19:03
Mipsarnold: okay - excellent! THanks so much, and if I can’t get far enough, I can get it to happen again. I’ve seen it happen on this server, as well on a dell pc that was using as a test box to rule out hardware on this server.19:03
sarnoldMip: very nice )19:04
Mipsarnold: Man, I am *so* happy I’ve been able to make this stop happening. So, “intr” as an option in addition to “soft” will help to keep my clients from hanging if my nfsd stops running?19:05
Free95so pmatulis do you have any experience with something like automating installs?19:06
sarnoldMip: at least you'll be able to ^C or kill the things. it might not be awesome but I always missed it when I forgot to include it on my mount lines.. :) hehe19:06
Mipsarnold: Cool. Well, I’ll test that too, so I can see what I’m up against. I had been mounting the nfs share, and then using that share as my rsnapshot root. I’d like to be able to trust that again….19:08
RoyKzzxc: I can see you're in there - did you ask there?19:09
pmatulisFree95: you can combine preseed with either virt-install or pxe.  it's a fairly big topic so you'll need to study these main pieces yourself and then come back with questions with whatever doesn't work19:11
pmatulisFree95: it works well, except preseed is exacting and requires a lot of tests/troubleshooting to get right19:16
=== Guest24333 is now known as Adri2000
zzxcRoyK: Sorry I missed that19:32
Free95pmatulis, this seems like a pretty good tutorial: http://agilesysadmin.wordpress.com/2013/09/09/simple-unattended-ubuntu-install-in-a-vm/19:33
zzxcRoyK: Yeah I already asked. their solution was to use tcpserver, and that it couldn't be solved simply using just sftp.19:33
SturmFlutI already asked a couple of days ago but maybe the crowd is different at this time of day: Does anyboady here run Ubuntu for ARM64 on an actual ARM64 machine?19:34
zzxcRoyK: But Honestly with everything else I have on my plate I don't want to have to work through adding an additional piece to the stack.19:34
Mipsarnold: Not sure if you’re still around, but I just submitted the bug. Thanks again for your help!19:35
zzxcSturmFlut: Are theere already market ready arm-64 servers out there?19:35
SturmFlutzzxc: Yes, by different manufacturers. I am currently doing a bit of market research for my employer and would like to talk to other people running ARM6419:36
sarnoldMip: great, thanks :)19:36
SturmFlutzzxc: Sadly it looks like the first round of ARM64 machines will be about twice as expensive as comparable machines by Intel or AMD19:36
RoyKzzxc: tcpserver is rubbish - use iptables instead19:37
Free95issue: finished installing a vm via virt-install, but now aptitude is complaining that everything is broken!19:37
Free95that is, no resolution to dependencies19:38
zzxcSturmFlut: Yeah the price should fall pretty quickly. But honestly the idae of using Arm for a server seems a little bit weird.19:39
zzxcRoyK: Yeah, I know but either way, what we need is a user based firewall. This same vendor has multiple user's on our site.19:40
SturmFlutzzxc: Why? ARMv8-A is a pretty decent architecture, the CPUs should be quite fast and you can use most PCI Express devices. Even NVIDIA GPUs and stuff like that.19:40
Free95oh weird.. ran aptitude for the first time and it had preselected a bunch of crap I didn't want. Once I told it to deselect everything, the "unmet dependentcies" issue vanished19:44
zzxcSturmFlut: Honestly its because its just becuase its a different architecture. I've played around with a few distros on an arm chip, and while most packages are pretty good every so often you run into something that just doesn't have some dependency and you can't build it.19:45
RoyKzzxc: the solution is to fix it in sshd :P19:45
zzxcRoyK: Hahaha. My experience is that my fixes in a big opensource project like that usually break something else.19:46
RoyKzzxc: obviously19:47
RoyKyou can't make an omelette without breaking eggs19:47
SturmFlutzzxc: That's no suprise. Linux distributions had over 20 years to get everything right on x86/amd64, most ARM stuff is pretty recent. ARMv8 was released just over two years ago.19:50
jsmith-argotecHello all19:52
jsmith-argotecI have a bind question if there's anyone who's good with it?19:53
zzxcjsmith-argotec: What type of bind?19:53
jsmith-argotecBind 9.8.119:54
jsmith-argotecnamed not bindings19:54
RoyK!ask | jsmith-argotec19:54
ubottujsmith-argotec: 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 !patience19:54
jsmith-argotecOK got it19:55
jsmith-argotecBind 9.8.1 on Ubuntu 12.04.  Trying to add KMS server entry and getting checkname error for having an underscore in entry.  I've found articles that say to fully qualify the entry to get around the issue without success.  Entry: _vlmcs._tcp.domain.com.        SRV     10      0       1688    p53sw01.domain.com.   Error: named.db:16: _vlmcs._tcp.domain.com: bad owner name (check-names)19:56
zzxcSturmFlut: Yeah, I know. It will get better, but its currently some what of a chicken and egg issue. Arm will needs to mature more, which would happen quickly if there is enough people using it but a lot of people won't use it until more mature.19:57
RoyKfunny thing is, my pi works well on Raspbian19:59
SturmFlutzzxc: You are probably talking about ARM on the desktop, in servers or in notebooks. The rest of the world is already dominated by ARM and it works extremely well.20:00
zzxcSturmFlut: Good point.20:01
SturmFlutzzxc: And there are ARM notebooks, ChromeBooks by Google. Seem to work well enough for millions of people.20:02
zzxcSturmFlut: Actually thats what I have as a reference point. Third party distros on a chromebook. Some packages just haven't been ported over yet.20:05
RoyKapropos ARM https://www.youtube.com/watch?v=Jq5nrHz9I9420:07
SturmFlutRoyK: 64 Raspberry Pis do not actually qualify as a Supercomputer ;)20:30
=== a1berto_ is now known as a1berto
RoyKSturmFlut: well, the design of a supercomputer is the thing21:08
RoyKSturmFlut: you don't need good processors to learn about the design21:08
=== med_ is now known as Guest56170
=== justizin_ is now known as justizin
=== daker_ is now known as daker
=== Az is now known as Guest13175
=== Lcawte is now known as Lcawte|Away
jsmith-argotecnevermind I got it work by allowing the KMS server to update DNS itself21:58
=== yofel_ is now known as yofel
=== thesheff17_ is now known as thesheff17
=== Adri2000 is now known as Guest54358
netameta_Guys is there a way to rollback a server a day or 2 ?22:28
netameta_incase i've deleted files by mistake22:28
=== beisner- is now known as beisner
=== ayr_ton is now known as ayr-ton
=== inaddy is now known as tinoco
=== esde is now known as Guest35577
=== Guest35577 is now known as esde
=== huttan_ is now known as huttan
=== obi_ is now known as obi12341
=== yokel_ is now known as yokel
=== Monotoko is now known as Guest51025
=== Caitanya is now known as Guest84986
=== ming is now known as Guest38185
=== foo__ is now known as foo
=== adam_g` is now known as adam_g
keithzgOkay, I'm kindof stumped. I added a column to a table in MySQL, and while local on the server I see the column, but any remote connection shows no such column. I've run FLUSH TABLES, I've restarted the service . . . no change.23:35
=== Haswell is now known as 6A4AAORST
=== jpds is now known as 6JTAAFS52
=== hggdh is now known as 6JTAAFWBI
=== daveops is now known as Guest40532
keithzgOh riiiiight, that server was being crashy and so I moved MySQL to a different server. Durrr.23:40
=== DJones is now known as Guest81776
=== az is now known as Guest80153
=== Locke2002 is now known as Guest92015
=== Monotoko is now known as Guest9010
=== phaidros is now known as Guest59968

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