[00:44] <Bryan_Sierra> so I accidently removed a program in /usr/bin and now I can't remove it from apt-get because it's saying that the dependencies aren' tmet :o is there a way to just remove it manually? (Other than going directory by directory)
[00:45] <Bryan_Sierra> using apt-get*
[00:48] <Bryan_Sierra> Anyone know?
[00:58] <mdeslaur> Bryan_Sierra: try "apt-get --reinstall install PACKAGE"
[00:58] <kansan> how do i make this command happen if my ssh connection ever goes down?  ssh chef-client@chef-server
[01:02] <mdeslaur> kansan: you could use the "autossh" program
[01:02] <kansan> hwo do i set an enviormental variable
[01:08] <kansan> anyone familair with autossh program?  why doesnt it work when i do :  autossh -M 20000 ?
[01:34] <uvirtbot`> New bug: #323409 in cyrus-sasl2 (main) "sasl2-bin broken, segfaulting during install" [Undecided,Confirmed] https://launchpad.net/bugs/323409
[01:48] <kansan> how do i make:  autossh chef-client@chef-server ... run as a background process?  (i'm invoking it from /etc/rc.local)
[02:12] <andol> kansan: autossh -f will put it in the background
[02:13] <kansan> andol, whne i do that it eemse to 2009/01/31 02:10:06 autossh[2639]: ssh exited with status 0; autossh exiting
[02:13] <kansan> its like it doesnt create a persistent background ssh connection
[02:13] <kansan> like i asked it to
[02:13] <kansan> however when i do :  audossh -M 20000 foo@server
[02:13] <kansan> it works fine
[02:13] <kansan> but i dont want to actually go there
[02:14] <kansan> it doesnt work either when i do autossh -M 20000 foo@server &
[02:14] <andol> kansan: when you do it manually, do you do it as the root user?
[02:14] <kansan> yes
[02:14] <kansan> i'm root when i invoke autossh
[02:14] <andol> kansan: Well, then I don't know
[02:15] <andol> kansan: This is the solution I used when I had to run autossh at system startup: http://www.andreasolsson.se/2008/08/27/etcinitdautossh_tunnelfoo/
[02:15] <andol> (init-script)
[02:15] <andol> Hmm, must be second of third time I mention it in this channel :)
[02:16] <kansan> where do i put it
[02:16] <andol> /etc/init.d/autossh.nameyouchoose
[02:19] <kansan> and to invoke it?
[02:22] <andol> kansan: To invoke it manualy: /etc/init.d/autossh.thename start
[02:22] <kansan> why do you need autossh.thename
[02:22] <kansan> why not just /etc/init.d/autossh
[02:22] <andol> kansan: Because then you would only be able to have one autossh run from /etc/init.d
[02:23] <kansan> isnt that what i awnt?
[02:24] <andol> kansan: In your case /etc/init.d/autossh would probably do fine. I was thinking more on a general level.
[02:24] <kansan> does all stuff in /etc/init.d get auto booted at startup?
[02:25] <andol> kansan: No, you have active it first
[02:25] <kansan> andol, how do i do that
[02:26] <andol> kansan: An easy way to manage those scripts on a server is to install the package sysvconfig
[02:27] <kansan> this doesnt work
[02:27] <kansan> i cant enable/disable anything in this way :(
[02:27] <kansan> hitting ok doesnt do anything
[02:29] <andol> kansan: 1) start sysvconfig, 2) Move to Enable/Disable, presss enter, 3) Move to the services you want to change, toggle using <space>, 4) When you done, tab to <OK> and press enter, 5)Select Finnished <enter>, 6) Quit <enter>
[02:30] <kansan> yes space works
[02:30] <kansan> i thought i should hit ok
[02:30] <kansan> i'm getting sleepy
[02:30] <kansan> and making mistakes ;p
[02:33] <andol> kansan: Go to bed then :) Actually that's direction I'm head towards. Feel free to ask follow-up questins tomorrow.
[03:22] <arrrghhh> how can i ensure my ubuntu server isn't trying to steal my printer from my virtual machine?  suddenly the printer isn't available in the VM... i stopped the cupsd service but that didn't help.  should i stop samba too?
[03:25] <arrrghhh> i can't umount a printer...
[04:10] <kansan> when i try:   autossh -i /root/.ssh/chef_tunnel -p 24000 -nNT -R 6400:localhost:4000 chef-client@foo.dyndns.org ... then: telnet localhost 6400; i get Connection Refused
[05:12] <cowmix> installing server off a USB key.. and its complaining about CDROM drivers after the keyboard setup.. is there a way around this?
[06:54] <rdw200169> cowmix, you can try setting the debconf level higher and skipping the detect cd rom step
[09:23] <guybrush> Greetings! I've compiled a custom kernel (2.6.28.2) on U8.10, applied the apparmor patches in order, but Apparmor is not loading. Can anybody give me some advice?
[10:27] <orogor> hi , i did just enabled ipv6, but it seems that any site which allow to test if i am in ipv6 dont reconise me as connected via ipv6, could this be dues to the fact that ia m running iptables?
[10:29] <Nafallo> orogor: no. ipv6 uses ip6tables
[10:30] <orogor> Nafallo, i can t fiond such package
[10:31] <Nafallo> orogor: it's not a package. it's a binary.
[10:31] <orogor> huh ?
[10:31] <Nafallo> which ip6tables
[10:31] <orogor> returns nothing
[10:31] <Nafallo> not all binaries have their own packages.
[10:32] <Nafallo> have you got the package iptables installed?
[10:32] <orogor> yes
[10:33] <Nafallo> then you should have /sbin/ip6tables
[10:34] <orogor> haa, sorry
[10:34] <orogor> i typed which ip6table
[10:34] <orogor> forgot thes
[10:34] <orogor> forgot the s
[10:35] <orogor> inet6 addr: fe80::20c:76ff:fe4f:13e6/64
[10:36] <orogor> got an ipv6 adress with an fai with ipv6 support and no test site see me as a v6 host
[10:37] <orogor> hoo, the ruleset for ip6table is different than iptables
[11:02] <Tumie> Hi guys, i've got an problemm with my SSH connection with my server, i connect with the command "ssh <ip>" is this right ?
[11:09] <andol> Tumie: That sounds about right. You might also have to specify username if that differs from the host your connection from.
[11:18] <Tumie> andol: it is the same
[11:18] <Tumie> i'm not logged in on the server, is that a problem maybe ?
[11:24] <andol> Tumie: What is happening, and what do you expect to happen?
[11:25] <Tumie> I want to connect with my Server (that has Ubuntu Server 8.10 on  it),, from my desktop (Ubuntu Desktop 8.10) in the terminal..
[11:25] <Tumie> i only started the server up,, so i'm not logged in at the server itself..
[11:27] <andol> Yes, but what is the respons you get when you run the command: "ssh ip-number" from your desktop computer?
[11:30] <Tumie> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
[11:30] <Tumie> and some other text
[11:30] <Tumie> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
[11:32] <andol> Tumie: Reinstalled it rescently? Have you using ssh to connect to it before the reinstall?
[11:33] <Tumie> I reinstalled the whole server yesterday
[11:33] <andol> Tumie: That explains it :)
[11:33] <Tumie> what to do about it ? (and reinstalling doesn't get rid of all the old files :O )
[11:34] <andol> Tumie: When the server got reinstalled it also got new sshd-crypto-keys. That is why your desktop computer warns you, since it's a "new" computer on the old ip adress.
[11:34] <andol> Tumie: It should be ok to remove the offending line from your ~/.ssh/known_hosts
[11:35] <Tumie> their are 3 lines at that file..
[11:35] <Tumie> all highly coded
[11:36] <Tumie> i deleted all lines
[11:36] <Tumie> it is working now :D
[11:36] <Tumie> thanks :D
[11:37] <andol> you'r welcome
[11:37] <Tumie> hmmm.. webmin doesn't work,, yesterday it worked..
[11:37] <hads> !webmin
[11:38] <m4dm4n> !ebox
[11:38] <Tumie> so, how do i delete webmin ?
[11:39] <Tumie> BRB
[12:32] <Tumie> How do i Fully delete Webmin ?
[12:32] <Nafallo> Tumie: by not installing it in the first place.
[12:32] <Tumie> I already installed it.... :|
[12:32] <Nafallo> sorry if that's a bit unhelpful, but that's probably the best way of doing it...
[12:33] <Tumie> and it is very annoying
[12:34] <Nafallo> yes. webmin have a tendancy to be just that...
[12:36] <Tumie> you are annoying..
[12:42] <jpds> !webmin | Tumie
[12:42] <Tumie> jpds, i already know, that is the reason i want to delete it :)
[12:44] <Nafallo> ehrm. I'm annoying cause I'm saying that I'm not aware of a way to completely revert what failmin have done... oh well. sometimes the truth can be annoying, that shouldn't kill the messenger.
[12:49] <m4dm4n> Nafallo, your answer was anything but helpful.
[12:50] <m4dm4n> if we go back in time, it would've been a great suggestion, but unfortunately.. we can't
[12:51] <Nafallo> oh well. I'm stepping down from this discussion. I've already made my opinion clear, and that is that you can't revert webmin in any sane way.
[12:52] <Nafallo> sorry if that isn't considered helpful enough.
[12:53] <m4dm4n> "by not installing it in the first place" is what i can see... nothing about simply saying it cannot be done in a sane way.
[12:53] <m4dm4n> but.. your welcome.
[12:53] <Nafallo> logically that relates to the point I was trying to make :-)
[12:54] <m4dm4n> yes, in a sarcastic way.. it wasn't really needed.
[12:55] <Nafallo> wasn't mean in such a way, but text on IRC gets easily missinterpreted.
[12:55] <m4dm4n> nevermind now though.
[12:55] <Nafallo> agreed :-)
[12:57] <mc68040> hi all, i need to setup a 8.04 lts server. how can i ensure to install/use only packages with support until 2013?
[12:57] <ivoks> use only main repository
[12:58] <mc68040> ivoks: i think in main are the desktop packages too. they are only supported until 2011
[12:58] <ivoks> mc68040: don't use X librariers and you are fine
[12:59] <ivoks> mc68040: basicaly, packages in main which don't require desktop, are supported for 5 years
[13:00] <ivoks> does anyone know is it possible to mirror ports.ubuntu.com over rsync?
[13:01] <mc68040> ivoks: ok, i assume thats true for hardy-security and hardy-updates too?
[13:02] <ivoks> mc68040: well, only hardy-security and hardy-updates get changes
[13:02] <ivoks> mc68040: no new packages are released in 'default' repository
[13:03] <mc68040> ivoks: ups, you are right, i should think a bit before
[13:06] <Nafallo> ivoks: tried rsync ports.ubuntu.com:: ?
[13:06] <ivoks> Nafallo: i figured it out :)
[13:06] <ivoks> 14:04 < ivoks> bah, just ignore me :)
[13:06] <Nafallo> :-)
[13:06] <ivoks> on #ubuntu-mirrors
[13:06] <Nafallo> oh.
[13:06] <Nafallo> damn cross-talker :-P
[13:06] <ivoks> :)
[13:09] <mc68040> ivoks: i would prefer a better way to ensure to use only packages with support until 2013, but thx for your help
[13:09] <ivoks> mc68040: afaik, there's no better way
[13:09] <ivoks> i guess adding aditional filed to debian/control could help
[13:10] <mc68040> lol, had just the same idea :-)
[13:11] <mc68040> or to split hardy into hardy-server and hardy-desktop...
[13:11] <ivoks> and where would you put bash?
[13:11] <ivoks> or udev, upstart, or... :)
[13:12] <mc68040> in both of course
[13:13] <ivoks> so, bash, supported for 5 years would be in hardy-desktop
[13:13] <ivoks> but hardy-desktop is supported for 3 years
[13:13] <ivoks> er...? :)
[13:14] <mc68040> why not, nobody says that support on desktop must end 2011
[13:14] <ivoks> well, it won't be that bad..
[13:14] <ivoks> it ends in 2011
[13:14] <ivoks> but in 2011 hardy-desktop could be removed
[13:14] <ivoks> and that's it
[13:15] <ivoks> but hardy-desktop-updates doesn't sound quite good
[13:16] <mc68040> hmmm, so dont split but setup an additional hardy-server, hardy-server-updates and hardy-server-security?
[13:18] <ivoks> that's not that easy as it sounds
[13:19] <orogor> Nafallo, got ipv6 fully working , only issue seems to be that ip6tables on ubuntu doesn t like ulog
[13:20] <mc68040> ivoks: why not? building Pacckage files from special package lists shouldnt be so difficult
[13:20] <ivoks> mc68040: you are talking with a wrong person
[13:21] <ivoks> mc68040: you should raise this quetions on ubuntu-server mailing list
[13:21] <ivoks> i don't decide how archives are going to be organized; i just mirror them :D
[13:21] <mc68040> i think ill do :-)
[13:21] <ivoks> mc68040: for political point of view
[13:22] <ivoks> canonical isn't the only company providing support for ubuntu
[13:22] <ivoks> so, enforcing one companys 'rules' on ubuntu's archives doesn't sound quite fair
[13:22] <ivoks> having additional filed in debian/control sounds much better
[13:23] <ivoks> X-Supported by: Canonical 5 years, XYZ 10 years
[13:23] <ivoks> or something like that
[13:23] <ivoks> not that i have something against canonical :D
[13:24] <Nafallo> orogor: kewl
[13:24] <mc68040> hmmm, i think we want the same - even other companys will have an advantage if they could distinct the packages
[13:25] <ivoks> for example, i watch over hylafax, since lots of my clients use it
[13:25] <ivoks> it isn't supported by canonical
[13:25] <ivoks> but my clients get regullar fixes, since that's software they really care about
[13:27] <mc68040> you are right, there will always be packages that wont be supported by canonical
[13:27] <ivoks> if we could achive that interested groups maintain package, a not core-dev and motus, then, i think, we could achive better quality of packages and even could set up 'supported' queues
[13:27] <ivoks> s/ a / and /
[13:28] <ivoks> whith core-dev having fully access to everything
[13:28] <mc68040> i just dont want to minimize work, why should i watch a package if its still supported by someone else?
[13:28] <ivoks> and motu to all stuf universe
[13:29] <mc68040> lol -"dont"
[13:29] <ivoks> you may have interest in pushing some changes
[13:30] <mc68040> yes, thats what i want
[13:30] <ivoks> common good is mixed of all individual interest
[13:30] <ivoks> if that's correct word in english :)
[13:30] <mc68040> but i need a solid, well supported base which i dont want to take care of
[13:31] <ivoks> mc68040: 14:28 < ivoks> whith core-dev having fully access to everything
[13:31] <ivoks> with
[13:31] <ivoks> launch time... take care
[13:31] <mc68040> ok, bye
[14:02] <nomingzi> i have install a software (.pl) from terminal, and this software has it own services running. I would like to know how to check if the services are running fine.
[14:19] <shally87> hi
[14:19] <shally87> I need help on how to make my LAMP server run a live website
[14:21] <shally87> I´m noob here.. I just installed LAMP server with Samba and webmin to run on my pc
[14:21] <Deeeps> !webmin | shally87
[14:21] <shally87> !ebox
[14:22] <shally87> then i have to uninstalled webmin right..
[14:22] <shally87> I look around for the ebox..
[14:22] <Deeeps> uh huh
[14:22] <shally87> thanks deeps
[14:22] <Deeeps> np
[14:23] <shally87> i met with this
[14:23] <shally87> WARNING: the eBox package released with Ubuntu 8.10 (Intrepid Ibex) is broken and cannot be installed. See bug #255368 for information and unsupported workarounds.
[14:23] <uvirtbot`> Launchpad bug 255368 in ebox "ebox: Depends: libapache-authcookie-perl but it is not installable " [Undecided,Fix released] https://launchpad.net/bugs/255368
[14:24] <shally87> so what am i going to do?
[14:24] <shally87> do i need to install the 8.04 hardy?
[14:24] <Deeeps> either use one of the unsupported workarounds as described in the bug report, or switch to hardy, or wait for jaunty, or use webmin
[14:24] <shally87> hmm..
[14:25] <shally87> i guess i use webmin for now..
[14:25] <shally87> any manual for webmin on how to get started?
[14:25] <Deeeps> no idea i'm afraid
[14:25] <Nafallo> shally87: webmin is not really supported in this channel no. rather strongly discouraged.
[14:26] <shally87> ok
[14:26] <shally87> like that, then I have to change to hardy
[14:27] <shally87> thanks for the help deeeps, nafallo
[15:09] <barisha> i need help with exim4!
[15:13] <dayo__> barisha: if they can't help u here, also check #exim
[15:13] <dayo__> oops
[15:36] <uvirtbot`> New bug: #323601 in likewise-open (main) "Upgrade to likewise-open 5 for Jaunty" [Undecided,New] https://launchpad.net/bugs/323601
[15:39] <axisys> anyone here installed ubuntu on niagra chip ?
[15:40] <axisys> for me it bombs out during disk detect phase http://pastebin.com/d2f76a5fd
[16:05] <orudie> hi! how can install this ? lenny version of libc6 (2.7.18)
[16:29] <orudie> hi, really need help on this, I need to make sure that i have lenny version of libc6 (2.7.18)
[16:31] <uvirtbot`> New bug: #323627 in apache2 (main) "apache2 has ugly icons" [Undecided,In progress] https://launchpad.net/bugs/323627
[16:31] <orudie> anyone ?
[16:51] <orudie> please....
[16:51] <orudie> hi, really need help on this, I need to make sure that i have lenny version of libc6 (2.7.18)
[17:49] <orudie> hi, really need help on this, I need to make sure that i have lenny version of libc6 (2.7.18)
[17:49] <syncrondi> sry, I'm not sure how
[18:01] <ScottK> orudie: If you want the lenny version of libc6, you pretty well need to run lenny.
[18:01] <ScottK> Swapping arbitrary versions of libc6 out from under the rest of the system is not a recipe for happiness.
[19:26] <uvirtbot`> New bug: #323681 in openldap (main) "package libldap-2.4-2 2.4.11-0ubuntu6.1 failed to install/upgrade: package libldap-2.4-2 is already installed and configured" [Undecided,New] https://launchpad.net/bugs/323681
[21:14] <shadowhywind> hay all I am running an ubuntu server, and trying to connect a 1.3TB ext3 partition (USB) everytime i try to mount, It freezes the console. is there any issues with the size of the partition?
[22:44] <oomkiller> anyone familiar with the ufw syntax in before.rules to tell me how to forward a port?
[22:44] <oomkiller> i have masquerading setup, but i can't figure out how to forward a port
[22:48] <rdw200169> oomkiller, using ufw, right?
[22:49] <oomkiller> yes
[22:49] <rdw200169> hmm... i know how to do it with iptables
[22:49] <oomkiller> well its essentially the same thing
[22:49] <rdw200169> ufw is an abstraction layer on top of iptables
[22:49] <rdw200169> ah, so you know
[22:50] <oomkiller> yeah, i've read the wiki pages, just can't get a straightforward example for a port forward
[22:50] <oomkiller> basically i think i need to -A ufw-before-forward ...
[22:50] <oomkiller> but i don't know what goes after that
[22:50] <rdw200169> well, good luck; i'm not gonna learn ufw b/c i already know iptables ;)
[22:51] <oomkiller> rdw200169: can you tell me how to forward it in iptables?  i can translate it easily
[22:51] <oomkiller> the real difference is a terser syntax, 99% of the rules are the same
[22:52] <rdw200169> -A PREROUTING -i wlan0 -p udp -m udp --dport 20:21 -j DNAT --to-destination 192.168.0.201:20-21
[22:52] <rdw200169> there's an example of how i forward udp ftp traffic through my desktop
[22:52] <oomkiller> hmm ok
[22:52] <oomkiller> what is -j DNAT?
[22:52] <oomkiller> or more exactly, what is DNAT
[22:53] <oomkiller> is that something built into netfilter/iptables, or is it something you have to write
[22:53] <rdw200169> it's a NAT related target
[22:53] <Deeeps> you'd also need to specify '-t nat' if operating from the command line, rather than in the :nat context already from the iptables-save output
[22:53] <rdw200169> ah yes, right Deeeps i just used the iptables-save output
[22:54] <Deeeps> DNAT - Destination NAT, port forwarding essentially
[22:54] <Deeeps> redirects packets that match the previously given rules to the new target
[22:54] <oomkiller> Deeeps: but thats not a another chain, its builtin, right?
[22:54] <Deeeps> yep
[22:54] <rdw200169> PREROUTING? yes
[22:54] <oomkiller> ok lets see
[22:54] <Deeeps> (DNAT too)
[22:55] <oomkiller> the wiki page says that i should add the rules for forwarding to ufw-before-forward
[22:55] <oomkiller> i guess thats it's version of PREROUTING
[22:55] <rdw200169> ah, you need an explaination of how this whole mess works
[22:55] <rdw200169> gimme a sec.
[22:56] <oomkiller> btw, anyone know how to scroll up with irssi, without a mouse?
[22:56] <Deeeps> page up key
[22:56] <oomkiller> thanks
[22:56] <Deeeps> alt+p and alt+n also if you haven't changed the default keybinds iirc
[22:57] <rdw200169> ftp://greamin.com/Documents/Linux%20Networking/Firewalling/ipTables%20and%20EbTables%20Packet%20Flow%20in%20Linux.png
[22:57] <oomkiller> Deeeps: do you know of a way to "check" the rules before loading them with ufw?
[22:58] <Deeeps> no idea i'm afraid
[22:58] <hads> Something like firehol's try would be cool though
[23:00] <oomkiller> well i'm about to try it
[23:00] <oomkiller> lets see if my rule works
[23:01] <oomkiller> hmm, says problem with init script, how descriptive
[23:02] <arooni-mobile> how do i make:  wget -r http://169.254.169.254/latest/user-data ..... safe to ./user-data instead of ./169.254.169.254/latest/user-data ?
[23:02] <hads> -O or something, check the man page.
[23:03] <arooni-mobile> -O is what i  used
[23:03] <arooni-mobile> it seems to just write the log
[23:04] <oomkiller> ahh, i think i see my error
[23:12] <dou213> hey guys, although k1 is on tv, i'm sitting in front of my ubuntu-box :( ... trying to configure lamp to work properly, installed php -> now when i http://localhost/info.php it says to download the file ... i googled it, common error: the php-module isn't corresponding with apache, did do: 'sudo a2enmod php5'
[23:12] <dou213> and nothing changed, still only option is to d/w the file
[23:13] <dou213> any suggestions?
[23:16] <hads> Restart apache
[23:18] <dou213> hads, still only dw
[23:29] <rdw200169> dou213, well, i have a LAMP server, but no info.php
[23:29] <rdw200169> dou213, and it works fine w/PHP
[23:29] <Deeeps> do you have libapache2-mod-php5 installed?
[23:29] <rdw200169> me?
[23:29] <Deeeps> whoever's having the problem
[23:29] <rdw200169> ah, that's dou213
[23:30] <rdw200169> dou213, did you use tasksel to install the lamp server?
[23:31] <dou213> rdw200169, y
[23:32] <dou213> rdw200169, initially, but because of problems i have encountered, i installed some additional packages on the way, couldn't say now which one
[23:32] <dou213> Deeeps, dunno, w8 i check pls
[23:33] <dou213> Deeeps, libapache2-mod-php5 already installed
[23:36] <rdw200169> i dunno then; for me it has always 'just worked'....
[23:36] <dou213> tryind to reinstall php, maybe prob will solve itself this way
[23:40] <P4C0> hello, when someone logs in via ssh where can I see the ip? I mean in which log file?
[23:41] <rdw200169> /var/log/auth.log
[23:42] <P4C0> thanks rdw200169
[23:43] <rdw200169> no prob
[23:48] <dou213> rdw200169, you can see the ip there? r u sure?
[23:48] <rdw200169> dou213, i can on my computer
[23:49] <rdw200169> dou213, to make it easier to read, do 'cat /var/log/auth.log | grep ssh'
[23:49] <dou213> rdw200169, yes you're right :)
[23:49] <dou213> cool, didn't know that
[23:49] <hads> grep ssh /var/log/auth.log
[23:50] <rdw200169> hads, yeah, that'll do it too... i'm used to the old reliable cat | grep combo ;)
[23:51] <hads> Yeah, when there's only one file involved cat isn't needed :)
[23:52] <rdw200169> i may have to break out of my stubborn ways and use that...