/srv/irclogs.ubuntu.com/2013/04/14/#ubuntu-server.txt

=== andrelei_ is now known as andreleite77
=== billy_ is now known as wickedpuppy
=== security is now known as megha
tcb^ll3rcd /etc06:03
tcb^ll3rls06:03
tcb^ll3rlol06:03
tcb^ll3rsry06:03
antixcat /etc/passwd06:03
tcb^ll3rwhat should DSHELL be in adduser.conf to deny shell access?06:05
tcb^ll3ri set it to /sbin/nologin , but that makes ubuntu gods angry06:06
=== sw0rdfish- is now known as sw0rdfish
=== smw_ is now known as smw
=== G4MBY is now known as G4MBY2
judasusing exportfs only gives the client 'access denied'12:33
judasalthough entries in exports work fine12:33
=== acidflash__ is now known as acidflash
RarrikinsIf /tmp isn't writeable and I reboot, will I still be able to log in remotely via SSH?13:21
Merkidemis Can someone help me with an error? I am trying to do an apt-get update on my lucid server and get the following: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg  Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8c01::1a). - connect (101 Network is unreachable) [IP: 2001:67c:1360:8c01::1a 80]13:27
MerkidemisHello?13:30
cfhowlettMerkidemis, I see you ... perhaps it's SysAdmin coffeebreak?13:30
Merkidemisit is early on a sunday...13:31
andolMerkidemis: Having a broken IPv6 connectivity?13:31
andolMerkidemis: At least myself I have no problem talking http over ipv6 to that address.13:31
Merkidemisandol: probably, though I'd be fine if apt would just use IPv413:32
Merkidemisandol: I have tried changing gai.conf, commenting the ailias in modprobe.d/ailiases, adding entries to hosts to map the URL to the IPv4 address, adding lines to sysctl.conf to disable IPv6 (which results in a 97 protocol not supported error)...13:34
Merkidemisandol: the machine currenlty has a Link IPv6 address, but I can't ping6 anything (network unreachable error).  Like I said, if I could get APT to use IPv4 I'd be happy13:35
MerkidemisCan someone help me with an error? I am trying to do an apt-get update on my lucid server and get the following: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg  Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8c01::1a). - connect (101 Network is unreachable) [IP: 2001:67c:1360:8c01::1a 80]15:08
wickedpuppyarchive.ubuntu.com is up though15:09
wickedpuppyI can ping15:09
wickedpuppycan you?15:09
packetfrog./etc/network/interfaces might not be setup right15:11
=== wedgwood_away is now known as wedgwood
Merkidemisyes, I can ping it just fine over ipv415:13
MerkidemisHere is my interfaces:15:13
Merkidemisauto lo15:13
Merkidemisiface lo inet loopback15:13
Merkidemis# The primary network interface15:13
Merkidemisauto eth015:13
Merkidemisiface eth0 inet static15:13
Merkidemis        address 192.168.10.25015:13
Merkidemis        netmask 255.255.255.015:13
Merkidemis        network 192.168.10.015:13
Merkidemis        broadcast 192.168.10.25515:13
Merkidemis        gateway 192.168.10.115:13
packetfrog apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key ; done15:14
packetfrogthen update15:15
packetfrogagain15:15
packetfrog;'/15:15
RoyK!pastebin15:16
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.15:16
Merkidemisone sec15:17
RoyKpastebin ifconfig output too15:18
RoyKseems it's trying to reach an IPv6 address and you only have IPv4 configured15:18
cyberglyphhey guys i have a old p4 1.6ghz and I want to use it to do a proxy server they said server is the best but I don't know command line any ideas or is it possible to do being Im a noob?15:56
Merkidemispacketfrog: copied the above into a bash script, ran it, then tried doing an update again. Same errors15:58
patdk-lapcyberglyph, it's easy enough, but you will have to use cli, no matter what15:58
packetfrogcopy/paste to terminal and hit enter15:58
patdk-lapso might as well start learning15:58
packetfrogtell me what it says15:58
packetfrogcyberglyph, google for a tutorial "ubuntu proxy server tutorial" or whatever    read it   if you think you can, you can.15:59
=== security is now known as megha
Merkidemispacketfrog: trying again, one moment while it tries the connections16:01
Merkidemispacketfrog: still getting Err http://archive.ubuntu.com lucid-updates Release.gpg16:07
Merkidemis  Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8c01::18). - connect (101 Network is unreachable) [IP: 2001:67c:1360:8c01::18 80]16:07
qman__cyberglyph, you will have to use the command line to set up the server software regardless if you have a GUI installed, because that's how it's done; there are no GUI tools to do it for you16:08
qman__cyberglyph, installing a GUI on the server end is therefore a waste of resources and a potential security vulnerability16:09
cyberglyphok thats cool but i don't know command level stuff so I would be wasting my time with the server or should I try to learn a little to get up and going16:10
qman__you should try to learn, it's not that hard16:10
packetfrogcyberglyph, You dont need to learn any of it.16:11
packetfrogIt is not going to make you anonymous by running a proxy server in your home network16:11
qman__there are other reasons to use proxies, such as caching/optimization and authentication16:11
packetfrogNot that he wants16:12
packetfrogor asked about anyhow16:12
packetfrogMerkidemis, You can ping that host right?16:12
Merkidemisvia ipv4, yes16:13
Merkidemispacketfrog: ttl=47, average time is 140 for each ping16:14
packetfrogDo you have a firewall running?16:15
Merkidemispacketfrog: never set one up on here, let me double check the router16:15
Merkidemispackeetfrog: firewall disabled on router, iptables -L shows: Chain INPUT (policy ACCEPT)16:22
Merkidemistarget     prot opt source               destination16:22
MerkidemisChain FORWARD (policy ACCEPT)16:22
Merkidemistarget     prot opt source               destination16:22
MerkidemisChain OUTPUT (policy ACCEPT)16:22
Merkidemistarget     prot opt source               destination16:22
packetfrogIs this on going? or just a new issue?16:22
Merkidemispacketfrog: new in that I haven't tried to do an update for a long time.  All my other services that I have running, namely my mediatomb server, still works just fine.16:23
packetfrogMerkidemis,  Can I PM you?16:29
packetfrogI do not feel like pastebinning16:29
Merkidemissure thing16:30
=== wedgwood is now known as wedgwood_away
Merkidemispacketfrog: plugging directly into the router (bypassing the switch) "fixed" the problem and allowed me to do updates17:36
herman__does anyone know how to set apache to return an https connection?17:56
Merkidemispacketfrog: and of course after the update and upgrade I can't ssh into it anymore17:58
catphishi'm having trouble with vlan traffic since a kernel upgrade, i'm seeing outgoing traffic from bond0.3 being transmitted on bond0, but incoming traffic (identified by tcpdump as vlan3) isn't being copied to bond0.317:59
=== HelenCrowley is now known as LS-MFT
catphishis there a way to run 10.04 with a much newer kernel? there seem to be bugs in both 3.0.0-32 and 2.6.32-4618:26
patdk-lapyou can run it with any kernel you want18:32
patdk-lapat some point you will hit libc issues, and other utility issues18:32
patdk-lapbut it is probably going be just fine, cause 10.04 isn't that old18:32
catphishwhat would be the best approach? is there a ppa i can look to?18:33
patdk-lapyou could18:33
patdk-lapbut why bother using a ppa?18:33
catphishsimplicity18:33
catphishunless there is a trivial way to compile a kernel with appropriate drivers, i haven't done it for years18:34
patdk-lapI don't understand how using a ppa is easier than not doing anything18:34
patdk-laplinux-image-server-lts-backport-maverick - Linux kernel image on Server Equipment.18:35
patdk-laplinux-image-server-lts-backport-natty - Linux kernel image on Server Equipment.18:35
patdk-laplinux-image-server-lts-backport-oneiric - Linux kernel image on Server Equipment.18:35
patdk-lapodd I couldn't locate a precise backported one18:36
catphishi'm not sure what versions those refer to18:37
patdk-lap10.10, 11.04, 11.1018:37
patdk-lapreally, just ask your computer what they are18:38
catphishi mean kernel versions, i assume whatever currently ships with those releases18:38
catphishi'd really like the precise kernel18:38
catphishas i know that works18:38
patdk-lapserialy use apt-cache show18:38
patdk-lapheh? upgrade to precise then18:38
patdk-lapwhy bother sticking iwth 10.04?18:38
catphishi intend to upgrade18:39
catphishbut in the meantime, i'm looking to avoid a couple of specific bugs18:39
catphishi'm sad that the bugfixes haven't been backported, but i guess they're not common enough18:39
patdk-lapwhat bugfix?18:40
catphish2.6.32 has a bug that causes some systems to crash after 200 days18:41
patdk-lapheh? that is not very descriptive at all18:41
patdk-lapand I have not see nthat, with many systems running for much longer than that18:41
catphishonly some systems are affected18:42
catphishunfortunately almost all of mine18:42
catphishi think it affects specific CPUs with virtualization enabled18:42
patdk-lapwell, all my systems have vt enabled18:42
patdk-lapthough I only have 1 amd system18:42
catphishi know it's intel specific18:43
patdk-lapwell, there isn't anything I can do, unless you can point to this bug, or bugfix18:43
patdk-lapas your groping around with very general ideas, and no idea what is going on18:43
catphishpatdk-lap: i don't understand, are you an ubuntu maintainer?18:44
patdk-lapdefine that18:44
catphishok, well since you seem to care, the bug is described in detail here: http://www.novell.com/support/kb/doc.php?id=700983418:44
catphishnot sure what version it as fixed in the upstream kernel18:45
catphishupgrading to linux-image-server-lts-backport-oneiric fixes it, but also introduces broken vlan support on my NICs, i could try linux-image-server-lts-backport-natty, i'll just need to verify that it contains the fix for the crash18:46
patdk-laphmm, tsc unstable, that seems to be an issue18:47
patdk-lapI don't have any system with that18:47
catphishnot sure if it's also this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/80534118:48
uvirtbotLaunchpad bug 805341 in linux "sched clock overflows in 208 days (i386 and amd64)" [Undecided,Fix released]18:48
catphishseems more specific18:48
patdk-lapsame issue18:49
patdk-lapThis was fixed in Lucid already in: 2.6.32.5018:50
patdk-lapAccording to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/90231718:50
uvirtbotLaunchpad bug 902317 in linux "Lucid update to 2.6.32.50 stable release" [Undecided,Fix released]18:50
catphishthat thread claims that its fixed in lucid18:50
patdk-laphmm. 2.6.32.3818:51
patdk-lap2.6.32-38 ubuntu kernel version18:51
catphishwell my issue occurs in vmlinuz-2.6.32-46-generic18:52
patdk-lapbut what is your issue?18:52
patdk-lapyou have a panic?18:52
patdk-lapso we can be sure it's the *same* issue?18:52
catphishno, it's a slowdown18:52
catphishit leaves hosts pingable, but useless18:52
patdk-lapwell, different issue is different18:52
catphishok18:53
catphishi'll have to look harder for related bugs them18:53
catphish*then18:53
catphishjust looking for logs now18:55
catphishall i see in the logs is a lot of blocked processes18:57
catphisheg. INFO: task cron:1709 blocked for more than 120 seconds.18:57
catphishi do have constant_tsc and nonstop_tsc18:58
dream_hello how do i fix server 10.04 lts, system broke while trying to upgrade18:59
dream_server cd with fix option didnt work for me as i couldnt choose right options as i didnt want my partition to be destroyed18:59
catphishanother question might be why bnx2+bridge+vlan is broken in 3.0.0-32-generic, but that's not somewhere i'm focusing19:00
catphishpatdk-lap: thanks for all your help, i believe i was mistaken, and the bug has now been patched in linux-image-2.6.32-38-server on lucid19:07
Patrickdkif your system remains up, but slow, it's not that bug19:08
Patrickdkit's something else19:08
catphish(assuming my bug is the same, which i'm convinced it is)19:08
catphishoh, perhaps i'm mistaken then19:08
catphish:(19:08
catphishsame cpu flags, same timeframe19:09
Patrickdkyes, that tsc thing might be affecting other things also19:09
Patrickdkand that might still need to be fixed19:09
catphishthe ubuntu bug mentions "BUG: soft lockup - CPU#1 stuck for 17163091968s"19:09
catphishthat doesn't sound like a panic19:09
Patrickdkthe suse one was a panic19:10
catphishit was, but the ubuntu one is a soft lockup19:10
Patrickdkthat softlockup would be it just noticing the time jump19:10
Patrickdkit didn't really lockup19:10
catphish"Other problems caused by this overflow include task scheduler unfairness. softlockups ('stuck for 61s!') are observed in 210~220 days after reboot but I've not yet succeeded to explain the logic."19:11
catphishcan't be sure but it certainly all seems related19:11
catphishmy dsl has slowed to such a crawl i can't work any more19:13
catphishi will most likely upgrade everything to 2.6.32-46 and plan a proper 12.04 migration within the next 200 days in case19:13
catphishthanks again for your help Patrickdk19:13
Patrickdktoo hard to backup and do a test upgrade?19:14
Patrickdkmy upgrades from lucid to precise have gone extreemly well19:14
catphishi prefer reinstall and data restore19:15
catphishbut that's fine19:15
dream_how do i reinstall 10.04 without losing data and w/o repartitioning?19:16
dream_my system broke19:16
catphishthe installer should let you do that, but i'd be worried about my data in doing so19:16
catphishjust mark the root partition as the root partition and select not to format it19:17
dream_it asks for partitioning always which will result in losing data :(19:18
Patrickdkno it does not19:18
catphishit asks for partition information, but doesn't make you change anything19:18
dream_so if i try to upgrade it keeps all info on HD?19:19
dream_burnt the new version19:21
dream_lemme try with that19:21
zastaphI think this is more an ubuntu issue than vagrant so i'll ask for advice here: https://github.com/mitchellh/vagrant/issues/28920:56
zastaphi tried the 2 lowest suggestions, but they didnt help.. it still fails on apt-get -y upgrade with Errors were encountered while processing: grub-pc20:56
zastaphbecause it wants to do package configuration which is not easy from vagrant20:57
KatyPerryX420#freenode said try  here so here's what's going on ok so i just have installed the hybrid irc server for ubuntu 12.04 thru ssh and i need help setting my message of the day and conniction info it's running on a remote server21:02
KatyPerryX420brb just pm me21:04
KatyPerryX420so how would i go about what i need to do21:37
packetfrogwhat ircd software?21:38
KatyPerryX420uh hybrid irc and i need to set up a hybserv to talk to the hybrid irc21:43
KatyPerryX420not much command line exp in linux as i mainly just use windows 721:43
packetfroghttp://www.the-tech-tutorial.com/?p=70921:44
packetfroglive long and prosper.21:44
Merkidemispacketfrog: so, if I change the static ip from 192.168.1.250 to 192.168.1.25 everything is fine, and it can be on the switch.  I do so love networking....22:05
packetfrogLOL22:06
packetfrogNice! At least you got it done..22:06
* packetfrog claps22:07
KatyPerryX420packetfrog: i've looked at that tut and another one and i'm just not catching on22:08
packetfrogKatyPerryX420, Then you should likely find something else to do with your time. pretty straight forward... :p22:13
packetfrogor hire a sysadmin to do it for you22:13
packetfrog:P22:13
nigelbHi! Is there an easy way to get the ip address of my lxc container?22:18
zastaphI don't know how many times i've visited ubuntuforums.org with a post that said [SOLVED] and didn't find the solution :)22:37

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