[01:12] <Sky[x]> how to turn monitor ON over SSH without X, keyboard, mouse ?
[02:17] <mathiaz> smoser: is normal that python-boto is no longer required on ec2-init 0.5.1?
[02:37] <mathiaz> smoser: ec2-init sponsored to lucid
[03:49] <Xpistos> Can some one help figure out how to see my samba shares in karmic. I get "unable to mount location. Failed to retrieve share list from server"
[06:44] <agentk> Hi guys. I have a pair of storage servers mirrored with drbd and a pair of vm (kvm/libvirt) servers using iScsi exports. Has anybody gone through the process of integrating krb/ldap with a setup like this?
[06:45] <agentk> Should the krb/ldap services run on the storage servers and store just the domain information for the storage and vm pair?
[09:12] <wortbit> It it possible to run instances on the UEC cloud controller?
[11:29] <richards> Hi, i have a new ubuntu server 9.10 install on which i'd like to set up multiple IP's on different vlans.  however only the IP address with which i specify a gateway is accessible to anything beyond the subnet.  If i specify a gateway for each vlan, only the last gateway in the interfaces file works
[11:29] <richards> i've tried looking at traffic with tcpdump, and when pinging one of the non-working address es from outside the subnet, the incoming pings can be seen but the reply can not be seen
[11:50] <richards> found it
[11:50] <richards> looks like rp_filter is on by default now
[11:51] <RoyK> what is rp_filter?
[11:56] <richards> reverse path filter
[11:56] <richards> its some form of ip spoofing detection
[11:56] <RoyK> k
[11:56] <richards> just trying to find a working way to apply it on boot
[11:57] <RoyK> vi /etc/sysctl.conf
[11:58] <richards> yeah, i know, just wasn't sure what to put in there
[11:58] <richards> figured it out now, it's
[11:58] <richards> net.ipv4.conf.default.rp_filter=0
[11:58] <richards> net.ipv4.conf.all.rp_filter=0
[11:58] <RoyK> yep
[11:58] <RoyK> :)
[11:58] <RoyK> sysctl -p to parse it
[11:58] <RoyK> add vm.swappiness = 100 while you're at it
[12:01] <richards> what does that do?
[12:06] <RoyK> richards: it tells Linux to start swapping out early instead of keeping too much in RAM all the time
[12:06] <RoyK> meaning if a process has allocated a bunch of memory "just in case", it gets written to disk if not in use, and the memory is used for something useful
[12:17] <Jeeves_> richards: echo 1 > /proc/sys/net/ipv4/ip_forward
[12:18] <Jeeves_> You want the machine to route all interfaces, right?
[12:31] <richards> Jeeves_: not after the machine to be a router, no
[12:31] <richards> just need it to be able to talk on multiple IPs
[12:31] <richards> which is wasn't doing with rp_filter on
[12:31] <richards> but its working quite nicely now
[12:35] <frostedflake> im a nub, got a vps and locked myself out(ssh is dead). But i can still access (through virtuozzo) the filesystem and read/write from/to it and restart the server. Is there a way i can get ssh running with this limited acess?
[12:35] <frostedflake> im a nub, got a vps and locked myself out(ssh is dead). But i can still access (through virtuozzo) the filesystem and read/write from/to it and restart the server. Is there a way i can get ssh running with this limited acess?
[12:35] <frostedflake> Hi, i got a vps and locked myself out(ssh connection refused). But i can still access the filesystem (through virtuozzo) and read/write from/to it and restart the server. Is there a way i can get ssh running with this limited access?
[12:35] <frostedflake> ops sry
[12:40] <richards> frostedflake: probs the easiest thing to do is going to be to get n contact with your host
[12:40] <richards> unless you've done something to /etc/ssh/sshd_config to break it
[12:41] <frostedflake> should i see sshd in the proces list, or is it started when a connection is requested?
[12:42] <richards> you should see it in the process list yes
[12:42] <frostedflake> ok then it is not running anymore.
[12:42] <richards> you may also have done something to rc.d or init.d to cause it to not start
[12:43] <frostedflake> i thought i could maybe place a line in a file which is executed on reboot and start sshd that way
[12:53] <richards> can you start sshd with /etc/init.d/sshd start
[12:59] <frostedflake> if i had shell access, i could. I looked at rc0/1/2.d and ssh is there, but it seems to not get started.
[13:00] <Jeeves_> richards: You can only have one single default gateway
[13:00] <Jeeves_> If you want to reach ip's outside a subnet's ip, you have to set specific routers
[13:00] <Jeeves_> s/routers/routes
[13:03] <richards> Kernel IP routing table
[13:03] <richards> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
[13:03] <richards> 202.60.90.0     0.0.0.0         255.255.255.192 U     0      0        0 vlan8
[13:03] <richards> 110.44.26.0     0.0.0.0         255.255.255.192 U     0      0        0 vlan26
[13:03] <richards> 192.168.4.0     0.0.0.0         255.255.255.0   U     0      0        0 bond0
[13:03] <richards> 192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 bond0
[13:03] <richards> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan6
[13:03] <richards> 192.168.254.0   0.0.0.0         255.255.255.0   U     0      0        0 vlan3
[13:03] <richards> 0.0.0.0         192.168.254.1   0.0.0.0         UG    100    0        0 vlan3
[13:03] <richards> 0.0.0.0         110.44.26.1     0.0.0.0         UG    100    0        0 vlan26
[13:03] <Jeeves_> So now you have two default gateways
[13:03] <richards> only one will be active tho
[13:04] <Jeeves_> And the kernel will somewhat loadbalance between those two
[13:04] <richards> well looks like i have to head out
[13:05] <richards> thanks guys
[13:35] <RoyK> load balancing between two gateways doesn't really sound like a very good idea
[15:48] <Disconnect> kinda OT but is anyone using a commercial web load-balancing system they like? we've hit the limits of what 3 year old big-ips can do (500mbit limits, we're pushing about 4-500 outside and 200 inside at peak)
[17:32] <Xqtftqx_> Hi, can anybody help me set up pureftpd. i get: Fatal: unable to load module 'mod_lang.c': Operation not permitted
[17:36] <ivoks> in apache?
[17:37] <Xqtftqx_> when i try to start pureftpd
[17:37] <Xqtftqx_> /etc/init.d/proftpd restart
[17:38] <RoyK> Xqtftqx_: that was proftpd
[17:38] <RoyK> not pureftpd
[17:38] <Xqtftqx_> oh yeah >_>
[17:38] <Xqtftqx_> sorry its proftpd
[17:39] <ivoks> Xqtftqx_: are you restarting as user?
[17:39] <Xqtftqx_> no
[17:39] <Xqtftqx_> root
[17:39] <Xqtftqx_> http://pastebin.com/m37bd4a32
[17:40] <ivoks> error in configuration
[17:40] <ivoks> (i haven't used proftpd for years)
[17:41] <Xqtftqx_> How do i fix it?
[17:41] <ivoks> check configuration
[17:41] <ivoks> and find the error
[17:41] <RoyK> http://discuss.joyent.com/viewtopic.php?id=24427
[17:41] <RoyK> seems to be an old issue
[17:41] <RoyK> or might be
[17:42] <RoyK> http://www.maedness.de/doku.php?id=linux:problems
[17:42] <RoyK> that one lists the solution
[17:42] <RoyK> conclusion: dependency problems in apt
[17:42]  * RoyK hands ivoks a win98 cd
[17:43] <RoyK> Xqtftqx_: if it works, keep in mind that since I found that after 1-2 minutes of googling, it might be a good idea to start there instead of asking on irc ;)
[17:45] <Xqtftqx_> i honestly have been googling all night
[17:45] <Xqtftqx_> came across that same page i believe
[17:46] <RoyK> does it help to install locales?
[17:47] <Xqtftqx_> how do i _install_ a  locale?
[17:47] <RoyK> from that page
[17:48] <RoyK> Solution: If locales is already installed run as root:  "dpkg-reconfigure locales" Otherwise you firstly have to run:  "aptitude install locales"
[17:48] <Xqtftqx_> locales is already installed
[17:48] <RoyK> and dpkg-reconfigure doesn't help?
[17:49] <Xqtftqx_> hold on ill pastebin
[17:49] <Xqtftqx_> http://pastebin.com/m4772744e
[17:50] <tuxcrafter> hello everybody
[17:50] <RoyK> Xqtftqx_: env | grep LANG
[17:50] <tuxcrafter> does somebody knows how /etc/motd is generated and how to cusomise it
[17:50] <RoyK> Xqtftqx_: env | egrep 'LANG|LC_'
[17:50] <Xqtftqx_> LANG=en_US.UTF-8
[17:50] <Xqtftqx_> second command is the same thing
[17:51] <RoyK> tuxcrafter: /etc/init.d/bootmisc.sh
[17:51] <RoyK> Xqtftqx_: for a test - try to unset LANG
[17:52] <Xqtftqx_> and now dpkg-reconfigure works
[17:52] <tuxcrafter>  update-motd tools
[17:52] <Xqtftqx_> and everything is working, idk how i missed that
[17:52] <RoyK> Xqtftqx_: and proftpd?
[17:52] <Xqtftqx_> thank you RoyK
[17:52] <RoyK> Xqtftqx_: it won't last
[17:52] <RoyK> LANG is set somewhere else
[17:52] <tuxcrafter> RoyK: got no /etc/init.d/bootmisc.sh on my system
[17:52] <RoyK> unsetting it is only for your current shell
[17:53] <RoyK> tuxcrafter: sudo grep -rw motd /etc
[17:53] <Xqtftqx_> can i set it at boot
[17:53] <RoyK> and look through that :)
[17:53] <Xqtftqx_> or how to i found out where its set
[17:53] <RoyK> don't remember how to set that
[17:53] <RoyK> sorry
[17:53] <ivoks>  /etc/update-motd.d
[17:54] <Xqtftqx_> alright, thanks for your help though
[18:59] <Xqtftqx_> alright, so i moved to vsftpd
[19:00] <Xqtftqx_> but whenever i try to login i get: 530 Login incorrect.
[19:02] <ivoks> configure it
[19:02] <ivoks> by default it doesn't allow login for local users
[19:02] <ivoks> byw
[19:02] <ivoks> bye
[19:12] <Xqtftqx_> Ive done that
[19:13] <RoyK> Xqtftqx_: first, allow local user
[19:14] <RoyK> second, set a valid shell on that user
[19:14] <Xqtftqx_> its good now, i can login
[19:14] <RoyK> vsftpd won't allow a user to login if the shell is wrong
[19:14] <Xqtftqx_> and i can view and download files, but i cant modify anything
[19:14] <RoyK> # Uncomment this to enable any form of FTP write command.
[19:14] <RoyK> write_enable=YES
[19:14] <RoyK> tried that?
[19:15] <Xqtftqx_> dir, i had to uncomment that
[19:15] <Xqtftqx_> i was up till 2am working on this, but now its workin all nicely :D Thanks for all your help
[19:17] <RoyK> Xqtftqx_: next time, try to use something over ssh instead
[19:17] <RoyK> ftp is insecure by design
[19:18] <Xqtftqx_> alright
[19:18] <RoyK> ftp over ssh works well, though
[19:18] <Xqtftqx_> ill set that up later, im just getting bugged out getting stuff uploaded
[19:18] <RoyK> also, (something) over ssh is far easier to setup
[19:18] <RoyK> more or less zero config
[19:19] <RoyK> if sshd is installed, ftp or rsync or something will work well over ssh
[19:25] <Xqtftqx_> RoyK, i have one more problem. i enabled write but i still cant write
[19:25] <Xqtftqx_> the user is ftp and its dir is /var/www
[19:25] <Xqtftqx_> i chowned /var/www but still nothing
[19:27] <RoyK> still nothing what?
[19:27] <Xqtftqx_> i cant do anything
[19:27] <Xqtftqx_> i can download and what not
[19:27] <Xqtftqx_> but if i try to make a directory i get a 550 error
[19:27] <Xqtftqx_> (Perm Denied)
[19:28] <RoyK> restarted vsftpd?
[19:28] <Xqtftqx_> yes
[19:29] <RoyK> checked the logs?
[19:29] <sergevn> hi
[19:29] <Xqtftqx_> yeah
[19:29] <Xqtftqx_> permission error
[19:29] <sergevn> does someone has any experience with mod_fcgid
[19:29] <sergevn> configured an apache server with it, but it gives back plain php files
[19:29] <sergevn> could someone poke me in a direction? :)
[20:24] <usrv> If you have 3 nics installed in your ubuntu-server machine (all of which are setup with manual ip address configs on 2 different networks) how does ubuntu figure out the default path to access the internet?
[20:25] <usrv> or what defines that path
[20:26] <cemc> usrv: you should have one 'gateway' line in /etc/network/interfaces, under the nic to the internet
[20:27] <guntbert> usrv: for once you set it with route add default ....
[20:27] <usrv> cemc: ahhh. so if i have a gateway line for all 3 it will just go with the last one in the list?
[20:28] <cemc> usrv: good question... take a look at 'ip r' output
[20:29] <usrv> the one I don't want it going through is the last one in the list
[20:29] <usrv> i'll make some edits and restart networking
[20:33] <usrv> cemc: I removed the gateway line and restarted networking... turns out I needed to remove the network line as well because ip still had the network I didn't want listed last
[20:33] <usrv> all is well now
[20:33] <usrv> thanks for your help
[20:35] <RoyK> there should only be one default gateway
[20:35] <RoyK> in a multipath scenario, you'll need a routing protocol in the network
[20:35] <RoyK> such as ospf or rip
[20:38] <usrv> thanks royk
[20:39] <RoyK> and that's not an ubuntu or linux thing ;)
[20:52] <coffeedude> killall -9 netlogond lwregd
[20:52] <coffeedude> Heheh...Ooops.
[20:52] <cemc> ;)
[21:03] <crimsun> hi, does anyone know of a reason not to merge corosync 1.2.0-1 from Debian testing for Lucid?
[21:05] <zul> i was waiting for the ubuntu-ha folks to do it
[21:05] <crimsun> ok, any ETA? I'm happy to not worry about it.
[21:43] <ruben23> hi
[21:43] <RoyK> ho
[21:44] <RoyK> omg, you're on #asteirsk
[21:44]  * RoyK hides
[21:44] <ruben23>  RoyK:yeah
[21:44] <ruben23>  RoyK: asterisk geek..?
[21:44] <RoyK> once upon a time
[21:45] <RoyK> and I'll probably work with it again
[21:45] <ruben23> RoyK:how come now..?
[21:45] <ruben23> not with asterisk
[21:45] <RoyK> that is, if someone decides to pay me $1M a year or something, I will
[21:45] <RoyK> maybe
[21:46] <ruben23>  RoyK: what your work now..?
[21:47] <RoyK> operations
[21:47] <RoyK> unix stuff
[21:47] <RoyK> linux and solaris and sometimes even windoze
[21:48] <ruben23> RoyK:you an administrator..? i have not yet tested solaris, im planning to try it-i have already a colletions of book
[21:48] <RoyK> we're using solaris for some stuff
[21:48] <RoyK> it's great for storage
[21:49] <ruben23> solaris have server and desktop..
[21:49] <ruben23> ?
[21:49] <RoyK> this new $11k box with 30TiB storage is a good idea of why one want to use opensolaris
[21:49] <RoyK> solaris/opensolaris is like any other OS, it can be used for client and server
[21:50] <RoyK> we have some solaris workstations too
[21:50] <RoyK> some people stick with that
[21:50] <ruben23> ow ok..and all other services too,like mail server, and other stuff.
[21:50] <RoyK> currently we're using solaris for mail, but we're moving to a new system. dunno what yet, though
[21:51]  * RoyK prays to random gods it's not going to be Exchange
[21:51] <ruben23> whats basically the difference between linux and solaris, is it not hard to go for solaris while your doing linux.
[21:51] <RoyK> it's another OS, but a lot of stuff is similar
[21:51] <ruben23> why you dont want exchanges.
[21:51] <RoyK> I don't
[21:51] <RoyK> I've been running exchange for some time
[21:51] <ruben23> are you on a datacenter..?
[21:51] <RoyK> I know what it can do and how it can fail
[21:51] <ruben23> working
[21:51] <RoyK> no
[21:52] <RoyK> just a company, research institute
[21:52] <ruben23> just a corporation
[21:52] <ruben23> ow ok
[21:52] <ruben23> very nice
[21:52] <ruben23> me hope i can have co-employee like you..or even friend who ahve the knwoledge stuff like you.
[21:53] <ruben23> expert level, im a biggener
[21:53] <ruben23> but i love this work..
[21:54] <ruben23> RoyK: do you have IM account
[21:54] <ruben23> can i add up you
[21:55] <RoyK> I use irc :)
[21:56] <ruben23> how about skype..? you do accept apprenticeship..:-D on your free time.
[21:56] <RoyK> nah - just irc
[21:57] <ruben23> ok
[21:57] <RoyK> so are you using asstrix?
[21:58] <RoyK> http://karlsbakk.net/fun/asterisk_architecture.jpg
[21:58] <RoyK> http://karlsbakk.net/fun/asterisk-installation.wav
[21:58] <ruben23> i have dreamned to setup my own email server, how i wish- but im on my own here- hope i could find a mentor to guide
[21:58] <ruben23> yes on our operation, we do asterisk
[21:58] <RoyK> k
[21:58] <ruben23> im working on a call center
[21:58] <RoyK> about asterisk - see those two links ;)
[22:01] <ruben23> RoyK:this is nice
[22:12] <RoyK> ruben23: as for opensolaris, I suggest downloading the install iso, some virtualisation software and testing it a little - the learning curve might be a little steep, but it's ok
[22:13] <ruben23> RoyK:yes i will test it..and update you someday..
[22:30] <uvirtbot`> New bug: #256062 in openldap "dapper to hardy: Directory /var/lib/ldap not empty, aborting." [Undecided,Incomplete] https://launchpad.net/bugs/256062
[22:33] <ScottK> ls
[23:15] <Xpistos> Hi everyone
[23:15] <Xpistos> Can I get a hand with some file permissions? I have an SSHFS share but I am getting errors when I try to move things
[23:37] <PatrickDK> I need to do some amazon ec3 stuff soon
[23:37] <PatrickDK> I was wondering how compatable uec is with ec2
[23:37] <PatrickDK> damn, ec3 :)
[23:38] <PatrickDK> If I was to build a uec cluster, and tested/setup/... what I wanted to do on it
[23:38] <PatrickDK> how easy would it be to move them to ec2?
[23:38] <PatrickDK> just image it? or do I need to use different kernels/...