/srv/irclogs.ubuntu.com/2010/01/23/#ubuntu-server.txt

Sky[x]how to turn monitor ON over SSH without X, keyboard, mouse ?01:12
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
mathiazsmoser: is normal that python-boto is no longer required on ec2-init 0.5.1?02:17
mathiazsmoser: ec2-init sponsored to lucid02:37
XpistosCan 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"03:49
agentkHi 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:44
agentkShould the krb/ldap services run on the storage servers and store just the domain information for the storage and vm pair?06:45
=== th0mz_ is now known as th0mz
wortbitIt it possible to run instances on the UEC cloud controller?09:12
richardsHi, 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 works11:29
richardsi'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 seen11:29
richardsfound it11:50
richardslooks like rp_filter is on by default now11:50
RoyKwhat is rp_filter?11:51
richardsreverse path filter11:56
richardsits some form of ip spoofing detection11:56
RoyKk11:56
richardsjust trying to find a working way to apply it on boot11:56
RoyKvi /etc/sysctl.conf11:57
richardsyeah, i know, just wasn't sure what to put in there11:58
richardsfigured it out now, it's11:58
richardsnet.ipv4.conf.default.rp_filter=011:58
richardsnet.ipv4.conf.all.rp_filter=011:58
RoyKyep11:58
RoyK:)11:58
RoyKsysctl -p to parse it11:58
RoyKadd vm.swappiness = 100 while you're at it11:58
=== richards_ is now known as richards
richardswhat does that do?12:01
RoyKrichards: it tells Linux to start swapping out early instead of keeping too much in RAM all the time12:06
RoyKmeaning 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 useful12:06
Jeeves_richards: echo 1 > /proc/sys/net/ipv4/ip_forward12:17
Jeeves_You want the machine to route all interfaces, right?12:18
richardsJeeves_: not after the machine to be a router, no12:31
richardsjust need it to be able to talk on multiple IPs12:31
richardswhich is wasn't doing with rp_filter on12:31
richardsbut its working quite nicely now12:31
frostedflakeim 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
frostedflakeim 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
frostedflakeHi, 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
frostedflakeops sry12:35
richardsfrostedflake: probs the easiest thing to do is going to be to get n contact with your host12:40
richardsunless you've done something to /etc/ssh/sshd_config to break it12:40
frostedflakeshould i see sshd in the proces list, or is it started when a connection is requested?12:41
richardsyou should see it in the process list yes12:42
frostedflakeok then it is not running anymore.12:42
richardsyou may also have done something to rc.d or init.d to cause it to not start12:42
frostedflakei thought i could maybe place a line in a file which is executed on reboot and start sshd that way12:43
=== wortbit_ is now known as wortbit
richardscan you start sshd with /etc/init.d/sshd start12:53
frostedflakeif i had shell access, i could. I looked at rc0/1/2.d and ssh is there, but it seems to not get started.12:59
Jeeves_richards: You can only have one single default gateway13:00
Jeeves_If you want to reach ip's outside a subnet's ip, you have to set specific routers13:00
Jeeves_s/routers/routes13:00
richardsKernel IP routing table13:03
richardsDestination     Gateway         Genmask         Flags Metric Ref    Use Iface13:03
richards202.60.90.0     0.0.0.0         255.255.255.192 U     0      0        0 vlan813:03
richards110.44.26.0     0.0.0.0         255.255.255.192 U     0      0        0 vlan2613:03
richards192.168.4.0     0.0.0.0         255.255.255.0   U     0      0        0 bond013:03
richards192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 bond013:03
richards192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan613:03
richards192.168.254.0   0.0.0.0         255.255.255.0   U     0      0        0 vlan313:03
richards0.0.0.0         192.168.254.1   0.0.0.0         UG    100    0        0 vlan313:03
richards0.0.0.0         110.44.26.1     0.0.0.0         UG    100    0        0 vlan2613:03
Jeeves_So now you have two default gateways13:03
richardsonly one will be active tho13:03
Jeeves_And the kernel will somewhat loadbalance between those two13:04
richardswell looks like i have to head out13:04
richardsthanks guys13:05
RoyKload balancing between two gateways doesn't really sound like a very good idea13:35
=== wortbit_ is now known as wortbit
=== Nafallo_ is now known as Nafallo
Disconnectkinda 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)15:48
=== JimiDini_mobile is now known as JimiDini
=== JimiDini_mobile is now known as JimiDini
=== _a is now known as Guest49341
Xqtftqx_Hi, can anybody help me set up pureftpd. i get: Fatal: unable to load module 'mod_lang.c': Operation not permitted17:32
ivoksin apache?17:36
Xqtftqx_when i try to start pureftpd17:37
Xqtftqx_/etc/init.d/proftpd restart17:37
RoyKXqtftqx_: that was proftpd17:38
RoyKnot pureftpd17:38
Xqtftqx_oh yeah >_>17:38
Xqtftqx_sorry its proftpd17:38
ivoksXqtftqx_: are you restarting as user?17:39
Xqtftqx_no17:39
Xqtftqx_root17:39
Xqtftqx_http://pastebin.com/m37bd4a3217:39
ivokserror in configuration17:40
ivoks(i haven't used proftpd for years)17:40
Xqtftqx_How do i fix it?17:41
ivokscheck configuration17:41
ivoksand find the error17:41
RoyKhttp://discuss.joyent.com/viewtopic.php?id=2442717:41
RoyKseems to be an old issue17:41
RoyKor might be17:41
RoyKhttp://www.maedness.de/doku.php?id=linux:problems17:42
RoyKthat one lists the solution17:42
RoyKconclusion: dependency problems in apt17:42
* RoyK hands ivoks a win98 cd17:42
RoyKXqtftqx_: 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:43
Xqtftqx_i honestly have been googling all night17:45
Xqtftqx_came across that same page i believe17:45
RoyKdoes it help to install locales?17:46
Xqtftqx_how do i _install_ a  locale?17:47
RoyKfrom that page17:47
RoyKSolution: 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 installed17:48
RoyKand dpkg-reconfigure doesn't help?17:48
Xqtftqx_hold on ill pastebin17:49
Xqtftqx_http://pastebin.com/m4772744e17:49
tuxcrafterhello everybody17:50
RoyKXqtftqx_: env | grep LANG17:50
tuxcrafterdoes somebody knows how /etc/motd is generated and how to cusomise it17:50
RoyKXqtftqx_: env | egrep 'LANG|LC_'17:50
Xqtftqx_LANG=en_US.UTF-817:50
Xqtftqx_second command is the same thing17:50
RoyKtuxcrafter: /etc/init.d/bootmisc.sh17:51
RoyKXqtftqx_: for a test - try to unset LANG17:51
Xqtftqx_and now dpkg-reconfigure works17:52
tuxcrafter update-motd tools17:52
Xqtftqx_and everything is working, idk how i missed that17:52
RoyKXqtftqx_: and proftpd?17:52
Xqtftqx_thank you RoyK17:52
RoyKXqtftqx_: it won't last17:52
RoyKLANG is set somewhere else17:52
tuxcrafterRoyK: got no /etc/init.d/bootmisc.sh on my system17:52
RoyKunsetting it is only for your current shell17:52
RoyKtuxcrafter: sudo grep -rw motd /etc17:53
Xqtftqx_can i set it at boot17:53
RoyKand look through that :)17:53
Xqtftqx_or how to i found out where its set17:53
RoyKdon't remember how to set that17:53
RoyKsorry17:53
ivoks /etc/update-motd.d17:53
Xqtftqx_alright, thanks for your help though17:54
=== andresmujica1 is now known as andresmujica
=== JimiDini_mobile is now known as JimiDini
Xqtftqx_alright, so i moved to vsftpd18:59
Xqtftqx_but whenever i try to login i get: 530 Login incorrect.19:00
ivoksconfigure it19:02
ivoksby default it doesn't allow login for local users19:02
ivoksbyw19:02
ivoksbye19:02
=== andresmujica1 is now known as andresmujica
=== wortbit_ is now known as wortbit
Xqtftqx_Ive done that19:12
RoyKXqtftqx_: first, allow local user19:13
RoyKsecond, set a valid shell on that user19:14
Xqtftqx_its good now, i can login19:14
RoyKvsftpd won't allow a user to login if the shell is wrong19:14
Xqtftqx_and i can view and download files, but i cant modify anything19:14
RoyK# Uncomment this to enable any form of FTP write command.19:14
RoyKwrite_enable=YES19:14
RoyKtried that?19:14
Xqtftqx_dir, i had to uncomment that19:15
Xqtftqx_i was up till 2am working on this, but now its workin all nicely :D Thanks for all your help19:15
RoyKXqtftqx_: next time, try to use something over ssh instead19:17
RoyKftp is insecure by design19:17
Xqtftqx_alright19:18
RoyKftp over ssh works well, though19:18
Xqtftqx_ill set that up later, im just getting bugged out getting stuff uploaded19:18
RoyKalso, (something) over ssh is far easier to setup19:18
RoyKmore or less zero config19:18
RoyKif sshd is installed, ftp or rsync or something will work well over ssh19:19
Xqtftqx_RoyK, i have one more problem. i enabled write but i still cant write19:25
Xqtftqx_the user is ftp and its dir is /var/www19:25
Xqtftqx_i chowned /var/www but still nothing19:25
RoyKstill nothing what?19:27
Xqtftqx_i cant do anything19:27
Xqtftqx_i can download and what not19:27
Xqtftqx_but if i try to make a directory i get a 550 error19:27
Xqtftqx_(Perm Denied)19:27
RoyKrestarted vsftpd?19:28
Xqtftqx_yes19:28
RoyKchecked the logs?19:29
sergevnhi19:29
Xqtftqx_yeah19:29
Xqtftqx_permission error19:29
sergevndoes someone has any experience with mod_fcgid19:29
sergevnconfigured an apache server with it, but it gives back plain php files19:29
sergevncould someone poke me in a direction? :)19:29
=== wortbit_ is now known as wortbit
=== mcas_ is now known as mcas
usrvIf 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:24
usrvor what defines that path20:25
cemcusrv: you should have one 'gateway' line in /etc/network/interfaces, under the nic to the internet20:26
guntbertusrv: for once you set it with route add default ....20:27
usrvcemc: ahhh. so if i have a gateway line for all 3 it will just go with the last one in the list?20:27
cemcusrv: good question... take a look at 'ip r' output20:28
usrvthe one I don't want it going through is the last one in the list20:29
usrvi'll make some edits and restart networking20:29
usrvcemc: 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 last20:33
usrvall is well now20:33
usrvthanks for your help20:33
RoyKthere should only be one default gateway20:35
RoyKin a multipath scenario, you'll need a routing protocol in the network20:35
RoyKsuch as ospf or rip20:35
usrvthanks royk20:38
RoyKand that's not an ubuntu or linux thing ;)20:39
coffeedudekillall -9 netlogond lwregd20:52
coffeedudeHeheh...Ooops.20:52
cemc;)20:52
crimsunhi, does anyone know of a reason not to merge corosync 1.2.0-1 from Debian testing for Lucid?21:03
zuli was waiting for the ubuntu-ha folks to do it21:05
crimsunok, any ETA? I'm happy to not worry about it.21:05
ruben23hi21:43
RoyKho21:43
RoyKomg, you're on #asteirsk21:44
* RoyK hides21:44
ruben23 RoyK:yeah21:44
ruben23 RoyK: asterisk geek..?21:44
RoyKonce upon a time21:44
RoyKand I'll probably work with it again21:45
ruben23RoyK:how come now..?21:45
ruben23not with asterisk21:45
RoyKthat is, if someone decides to pay me $1M a year or something, I will21:45
RoyKmaybe21:45
ruben23 RoyK: what your work now..?21:46
RoyKoperations21:47
RoyKunix stuff21:47
RoyKlinux and solaris and sometimes even windoze21:47
ruben23RoyK:you an administrator..? i have not yet tested solaris, im planning to try it-i have already a colletions of book21:48
RoyKwe're using solaris for some stuff21:48
RoyKit's great for storage21:48
ruben23solaris have server and desktop..21:49
ruben23?21:49
RoyKthis new $11k box with 30TiB storage is a good idea of why one want to use opensolaris21:49
RoyKsolaris/opensolaris is like any other OS, it can be used for client and server21:49
RoyKwe have some solaris workstations too21:50
RoyKsome people stick with that21:50
ruben23ow ok..and all other services too,like mail server, and other stuff.21:50
RoyKcurrently we're using solaris for mail, but we're moving to a new system. dunno what yet, though21:50
* RoyK prays to random gods it's not going to be Exchange21:51
ruben23whats basically the difference between linux and solaris, is it not hard to go for solaris while your doing linux.21:51
RoyKit's another OS, but a lot of stuff is similar21:51
ruben23why you dont want exchanges.21:51
RoyKI don't21:51
RoyKI've been running exchange for some time21:51
ruben23are you on a datacenter..?21:51
RoyKI know what it can do and how it can fail21:51
ruben23working21:51
RoyKno21:51
RoyKjust a company, research institute21:52
ruben23just a corporation21:52
ruben23ow ok21:52
ruben23very nice21:52
ruben23me hope i can have co-employee like you..or even friend who ahve the knwoledge stuff like you.21:52
ruben23expert level, im a biggener21:53
ruben23but i love this work..21:53
ruben23RoyK: do you have IM account21:54
ruben23can i add up you21:54
RoyKI use irc :)21:55
ruben23how about skype..? you do accept apprenticeship..:-D on your free time.21:56
RoyKnah - just irc21:56
ruben23ok21:57
RoyKso are you using asstrix?21:57
RoyKhttp://karlsbakk.net/fun/asterisk_architecture.jpg21:58
RoyKhttp://karlsbakk.net/fun/asterisk-installation.wav21:58
ruben23i have dreamned to setup my own email server, how i wish- but im on my own here- hope i could find a mentor to guide21:58
ruben23yes on our operation, we do asterisk21:58
RoyKk21:58
ruben23im working on a call center21:58
RoyKabout asterisk - see those two links ;)21:58
ruben23RoyK:this is nice22:01
RoyKruben23: 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 ok22:12
ruben23RoyK:yes i will test it..and update you someday..22:13
uvirtbot`New bug: #256062 in openldap "dapper to hardy: Directory /var/lib/ldap not empty, aborting." [Undecided,Incomplete] https://launchpad.net/bugs/25606222:30
ScottKls22:33
XpistosHi everyone23:15
XpistosCan I get a hand with some file permissions? I have an SSHFS share but I am getting errors when I try to move things23:15
PatrickDKI need to do some amazon ec3 stuff soon23:37
PatrickDKI was wondering how compatable uec is with ec223:37
PatrickDKdamn, ec3 :)23:37
PatrickDKIf I was to build a uec cluster, and tested/setup/... what I wanted to do on it23:38
PatrickDKhow easy would it be to move them to ec2?23:38
PatrickDKjust image it? or do I need to use different kernels/...23:38

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