/srv/irclogs.ubuntu.com/2012/06/02/#ubuntu-server.txt

mgwusing vmbuilder inside a private network… should —proxy pointing to my apt-proxy URL be sufficient?00:18
harushimoI have maas setup. Is there another site for maas setup?00:20
harushimoI don't have the web interface for maas00:24
pmatulisharushimo: another one?  what are you after?00:24
harushimoI can't get it to add nodes00:25
harushimoweb interface00:25
harushimoI'm not running a gui on the server00:25
pmatulisharushimo: what does that have to do with it?  a web server doesn't require a graphical environment00:26
harushimohow I access the http? then00:26
harushimohttps://wiki.ubuntu.com/ServerTeam/MAAS#Create_MAAS_admin_account00:27
pmatulisharushimo: the same way you access any web site00:27
pmatulisharushimo: what happens when you point your browser to http://your_server_ip_address/MAAS   ?00:27
harushimoit keeps reloading00:28
harushimoI'm using maas on my virtual machine00:28
harushimoI'm guessing that doesn't matter00:29
harushimoit does00:29
harushimoit doesn't show anything00:29
harushimosorry00:30
harushimoit is importing the isos right now00:30
harushimoi'm at that step00:30
harushimoI'm getting ahead of myself00:30
harushimoI just realized I need to change my default gateway00:31
harushimoI use the ip address to access my router setup00:31
harushimohow long does it take to import isos?00:31
pmatulisharushimo: i think it takes 4, all precise, by default.  so not long00:32
pmatulisharushimo: and take your time, haste makes waste (Ent saying)00:32
harushimo4 hrs?00:33
harushimoI'm guessing that is what it is00:34
pmatulisharushimo: no, 4 images00:34
harushimomy bad00:34
harushimosorry00:34
harushimohow long does 4 images take to download?00:34
harushimoi'm guessing that is dependent on the internet connection00:34
pmatulisharushimo: bingo00:35
harushimothank you00:35
harushimothis is my first time doing maas. I may fail at it00:36
harushimothat is okay. I will learn something00:36
pmatulisharushimo: well, it's quite new.  it's bound to have bugs.  report back and let me know how it goes00:38
harushimoI will definately do that00:42
harushimoone thing I'm thinking00:42
harushimoplease tell me if this isn't a good idea00:43
harushimomaas is use for some who has systems background00:43
harushimothis is just me saying: Why can maas have front end00:43
harushimothe user can click and get it done quite quickly00:44
harushimoif it does, I want to know about it00:44
harushimohehe00:44
harushimowe can probably stream the process but like you said, it is new00:44
harushimoI will definately know about the bugs00:45
harushimoif this a bad idea, let me know also00:45
harushimohow many machines would need for maas?00:52
harushimoI mean ideally00:52
harushimowhat is the difference between maas & enlightment or just doing an install of ubuntu server and then installing maas after the installation of ubuntu server?00:55
harushimodoes maas cloud cd have 32 bit?01:05
harushimoI have the 64 bit iso01:05
harushimoanyone?01:06
=== koolhead17|afk is now known as koolhead17
lux`hi all01:11
lux`i've got an urgent problem01:12
lux`upgraded my server, screwed up with ip route (which should be only temporany, and reset after reboot), rebooted and can't access anymore to the server via ssh01:12
lux`I can access the server in rescue mode and from the syslog mysql and other startup programms are starting01:13
ea1het_OFFmaybe you have a wrong routing table in your box01:13
lux`so I though it's a ip route problem, but shouldn't things modified with "ip" command be temporanyt?01:13
ea1het_OFFof course you have to clean it01:13
lux`i also tried ip route flush table main from the rescue mode chrotting the server ea1het_OFF01:14
lux`and after restarting to normal mode still doesn't work01:14
ea1het_OFFi'm not sure the rescue mode serves this matter....01:15
lux`well that's the only way i can access the server01:15
ea1het_OFFhum.. and i understand you don's have physical access to your server.... right?01:15
lux`nop01:15
ea1het_OFFthe only idea i have is to create a shellscript you can configure... put it on the rc.local init script.... and that script flush all tables and set one and only one default route to your gateway01:16
ea1het_OFFmaybe it works01:16
ea1het_OFFsame command you introduce in the rescue session but inside a shellscript to automatically be executed from rc.local in the normal init run01:17
lux`k i'll try thanks01:18
ea1het_OFFyou're welcome01:19
harushimodoes anyone anything about maas here01:20
Psi-JackOkay, so, I'm having some ANNOYING issues with nslcd NOT starting at boot-up in Ubuntu 12.04.01:28
lux`reading online they say that ip and route commands aren't permanent ea1het_OFF01:29
lux`also I tried to do as you said and it didn't work01:29
ea1het_OFFwhat do you have in your interfaces file (/etc/network/interfaces) ??01:30
ea1het_OFFtake a look at the config for incoherences...01:30
lux`1sec restarting to rescue mode01:31
lux`ea1het_OFF, the samething I've had for months01:33
lux`and these are the commands i've added to rc.local:01:34
lux`ip route flush table main01:34
lux`ip addr add 46.105.109.0/24 dev eth201:34
lux`ip route add default via 46.105.109.25401:34
ea1het_OFFlooks good01:38
ea1het_OFFlux`: ip route ls01:39
ea1het_OFFlux`: ip rule list01:39
ea1het_OFFip route flush cache01:39
lux`i can connect only through rescue01:40
ea1het_OFFis the ssh daemon running in normal init?01:40
lux`always been01:40
ea1het_OFFif you don't have physical access ... how are you connecting to your box and changing the init level?01:41
lux`through a rescue system the hoster gives me ea1het_OFF01:42
lux`it let me connect to the real server harddisk01:42
lux`so i can chroot to it01:42
ea1het_OFFyou are into a VPS ¿01:42
ea1het_OFF?01:42
lux`anyway yeah, ssh is enabled in init level 2-501:42
lux`dedicated server01:42
ea1het_OFFwhat did you tried before, when the connections stop working?01:43
lux`ip route del ?.01:43
lux`but as I said I read that it refresh every restart01:43
lux`shouldn't it?01:43
ea1het_OFFit should.....yes...01:44
ea1het_OFFdid you do any kind of change to the network configuration files?01:44
lux`yeah actually I did, added another nic but i restarted network and everything was fine, anyway after I removed it thinking it was the problem01:45
lux`so now it's exactly how it has been for months01:45
ea1het_OFFwhen you enter in chroot mode... can you get access to the internet from your server?01:46
ea1het_OFFi don't want to think it's a temporary problem in your hoster....01:46
lux`yes01:46
lux`i can01:46
ea1het_OFFrun in normal mode01:47
lux`can't access anything in normal mode :/01:47
ea1het_OFFtelnet your_server_ip 22 from you pc and wait for a connection....01:47
lux`won't work01:47
lux`connection refused01:47
ea1het_OFFand tell me if if presents a prompt01:47
ea1het_OFFso only two things can happen.... no ssh daemon running in the correct interface.... or no interface well configured.01:48
lux`i can even start ssh in the chrotted env.01:48
lux`and /etc/network/interfaces is like it has always been01:49
lux`:(01:49
ea1het_OFFiptables -L -n01:51
ea1het_OFFto see if there is something blocking your machine01:51
ea1het_OFF(firewall rules i mean)01:52
ea1het_OFFany firewall daemon configured in the box?01:52
lux`i even removed iptables to make sure it wasn't it01:52
ea1het_OFFthere is not so much....01:52
lux`so it can't be it01:52
ea1het_OFFexecute the line above to be sure....01:52
ea1het_OFFor reboot your machine01:53
lux`command not found01:53
lux`i'll try to reboot with only the default nic01:53
ea1het_OFFgood....01:53
ea1het_OFFlux`: it is not a good idea to configure interfaces and subinterfaces together01:55
ea1het_OFFif you are going to work with subinterfaces.... only configure subinterfaces for all networks01:56
ea1het_OFFwithout configuring the physical device01:56
ea1het_OFFabout the rest...loooks good01:57
lux`nothing, I'll check logs to see if ssh is giving any error i guess02:00
Psi-JackHmmm02:05
Psi-JackSo, I've converted my nslcd init.d script into upstart scripts, and at startup it seems nslcd.conf actually IS running, but nslcd-k5start.conf isn't. Very strange...02:06
Psi-Jackis there a network-manager specific event?02:06
harushimoI've trying to setup maas. Is it possible to set it up on ubuntu-server 32 bit?02:13
harushimocan anyone help me with maas at all?02:18
harushimoI've been at this problem for a week02:18
harushimothe instructions are 64 b it iso02:18
harushimonot for 32 bit02:18
lux`what the fuck02:26
lux`i even put debug to log level of sshd02:26
lux`and it's not showing NOTHING AT ALL02:26
pmatulislux`: language please.  what's the problem?02:32
harushimopmatulis: can I ask you a question02:36
harushimoyou helped a couple hours ago02:36
harushimois it possible to install maas on ubuntu-server 32 bit02:37
harushimo?02:37
harushimowhen I look at the instructions, it is for 64 bit02:37
lux`pmatulis, sorry i'm very frustrated, it's almost 5am here and still can't fix the server, anyway there is a discussions of like 50lines if you scroll on the top02:39
pmatulisharushimo: yes, you can02:39
pmatulislux`: yes, i read it now02:39
harushimohow02:39
harushimoI've been really struggling here02:40
harushimothere are no instructions for the 32 bit02:40
lux`install lsh-server now? so i'll check if there is a problem with openssh or something else02:40
pmatulisharushimo: well, get yourself a 32bit-based machine and away you go02:40
harushimoi'm running 32 bit vm02:41
harushimothat I know02:41
pmatulisharushimo: so what's the problem?  just 'apt-get install maas'02:41
harushimoalright02:41
harushimothat is easy02:41
harushimoI'll install the ubuntu-server02:41
harushimookay I see now02:41
pmatulislux`: so you put in a bad route with the ip command and now you cannot ssh into the machine?02:42
lux`exactly, but everything done with the ip command should be temporany right pmatulis ?02:43
lux`so now I'm thinking that there is a problem with ssh02:43
pmatulislux`: yes, it won't survive a reboot02:43
lux`and also I'm not reading from the first "faulty" reboot anything about ssh in /var/log/auth.log02:44
lux`not even putting the log level to "DEBUG" in sshd's config, so there is something wrong I guess02:44
pmatulislux`: is the ssh daemon running?02:44
lux`how can I know, it's not visibile from the outside anyway02:45
lux`nor in the logs02:45
pmatulislux`: with the ps command02:45
lux`I can't access the machine in normal mode02:45
pmatulislux`: i thought you had an alternative method02:45
lux`yes I can connect in "rescue mode", basically I can connect to a temporany computer which got access to the main server's hdd02:46
pmatulislux`: so you can read data on the drive?  browse the filesystem?02:47
lux`yes02:47
pmatulischeck if there is a pid file for sshd02:47
pmatuliswhat release are you running there?02:48
lux`nop no pid pmatulis02:48
pmatuliswhat release are you running there?02:49
lux`12.0402:50
pmatuliswhere did you check for the pid?02:52
lux`/var/run/sshd/02:52
pmatulistry /run/sshd.pid02:53
lux`nothing02:53
pmatulisdid you much around with /etc/ssh/sshd_config at all?02:53
pmatulis*muck02:54
lux`don't remember doing so, anyway now i'm installing lsh (taking so much time to create the random seed) and then if it doesn't work I'll try to purge and reinstall openssh02:54
lux`but the odd thing is that there is no error nor anything at all about ssh in the logs pmatulis02:54
lux`since the server problem02:55
pmatulislux`: you did a 'grep sshd /var/log/syslog' and no error?02:55
lux`yeah and also /var/log/auth.log02:55
pmatuliswell, the reason why you can't ssh into the box is because sshd is not running02:56
pmatulisauth.log will be empty of anything useful if sshd is not running02:56
lux`yes yes yes03:05
lux`changing ssh server worked03:05
lux`my eyes are gonna cry blood in the pain of frustation03:05
lux`it's 5am but it's all right03:05
mgwwhat would be the implications of having, say, 500 ssh tunnels open at once?03:11
mgwto remote machines03:11
pmatulislux`: so you can log in now?03:11
qman__mgw, lots of CPU overhead for the encryption03:12
lux`yes and i don't even wanna know what's wrong with openssh03:12
lux`i even purged an reinstalled it03:12
lux`it didn't work03:12
lux`using dropbear now03:12
qman__each tunnel has to run the expensive RSA for the handshake, but then also has to keep up the AES tunnel03:12
lux`and i can finally go to sleep, the sun is rising...03:13
lux`gnite and thanks pmatulis ea1het_OFF03:13
mgwqman__ thanks… so it wouldn't work very well03:13
mgwif at all03:13
qman__well, it'll work if you have enough CPU03:13
mgwok03:13
mgwany idea how much?03:13
qman__any CPU made in the last few years can handle that, but it's a nontrivial amount of computation03:13
qman__that you have to take into account when designing the system03:14
qman__if that's all you're doing, a modern chip can handle it03:14
mgwok, but 100 would be more doable, even on a smaller system then?03:14
pmatulislux`: good.  let me know why sshd could not start.  g'night03:14
qman__it can, but on a typical desktop, doing 100 SSH tunnels with AES256, expect between 10% and 30% CPU use03:15
qman__you'd have to do some tests to get actual numbers, but IME it should be in that ball park03:15
qman__my 200MHz K6 starts to choke at about 603:16
mgwqman__ thanks03:17
mgwwould I need to look at ulimits to open this many?03:17
qman__no, by default the limits aren't set03:18
qman__now, those numbers also depend on the amount of traffic going over those tunnels03:18
qman__idle tunnels or light communication doesn't need as much CPU power as, say, a file transfer03:19
mgwqman__ obviously03:20
mgwi'm not sure i'd actually use a tunnel… maybe a straight ssh connection, but keep them open03:20
mgwI'm trying to optimize an application that opens and closes connetions repeatedly03:21
qman__my K6 can't actually keep up with an SFTP transfer, it's notably slower than my uplink03:21
mgwok… but that's a K603:22
mgw;-)03:22
qman__it is, just making the point that a file transfer takes more than 7 or 8 open SSH sessions03:22
mgwah, understood03:22
mgwok, so this is how the system currently works03:22
mgwif I'm working with 100 systems, it forks 10 processes (say) and opens 10 connections at a time03:23
mgwcloses them, and and loops through the 100 servers that way03:23
mgwfor each task03:23
mgwthen it starts over03:23
mgwfor the next task03:23
qman__that's going to be really inefficient if you have more than one task per server03:23
mgwis the opening/closing more intense than keeping them idel?03:23
qman__much more03:24
mgwok, that's what I was hoping03:24
qman__you're talking about 2048-bit (or more) RSA per connection03:24
mgwb/c it's also really slow03:24
qman__versus keeping an AES256 open03:24
mgwhoping, b/c I want to make this more efficient03:25
qman__and that isn't 8 times more complex, it scales exponentially03:25
qman__you're going to want to keep the tunnels open as long as is practically possible03:27
qman__they do die off with flaky connections after a while, so you might want to make them no more than an hour long depending on your network and application03:28
qman__but that's the range you're going to want to shoot for, not seconds or minutes03:28
mgwqman__ I don't really need them for more than a few minutes03:36
mgwright now they're being opened/closed several times a minute03:36
mgwmaybe 15 minutes if there're a lot of longer tasks03:37
mgwqman__ one more question… if I open a tunnel via a subprocess, will the tunnel close when the parent process dies?03:48
=== wylde_ is now known as wylde
=== dendro-afk is now known as dendrobates
joseph__Why does byobu look bad over ssh?08:10
=== Lcawte|Away is now known as Lcawte
RoyKjoseph__: it does?08:45
joseph__yea maybe a bug. there is a scolling problem had to disable the logo to fix that. but i am trying to fix this http://img600.imageshack.us/img600/401/screenshotfrom201206020.png08:47
RoyKlooks like a curses bug08:49
RoyKfile a bug :)08:49
joseph__what should i use tmux or screen08:49
* RoyK just uses screen08:49
joseph__it looks even worse when i use tmux.08:50
RoyKjoseph__: but please file a bug - bugs aren't fixed unless reported08:50
joseph__file the bug report https://bugs.launchpad.net/byobu/+bug/1007753 should of explaned it better08:58
uvirtbotLaunchpad bug 1007753 in byobu "menu display screwed up over ssh?" [Undecided,New]08:58
joseph__start up a ec2 instance and run byobu. the status bar infinitty scrooling bug is already filed.09:00
chmac`hostname` is returning blah instead of blah.domain.tld, I've reset /etc/hostname and rebooted, but every time it reverts to just blah.10:24
chmacAny ideas?10:24
Jeeves_vi /etc/hosts10:24
Jeeves_hostname -f will probably give the full hostname10:24
lux`how can I use ip route or ifconfig to use another nic and not the default one for an IP?10:25
Jeeves_ip addr add 192.168.1.1/24 dev ethx10:26
Jeeves_Oh wait10:26
Jeeves_route10:26
lux`and then ip route add outgoing_ip via secondary_nicip?10:26
Jeeves_You want to route a specific network over another interface?10:26
lux`I want to use a specific NIC for a specific IP10:27
lux`so when i connect to the specific IP it uses the specific NIC10:27
lux`and not the default one10:27
Jeeves_ip route add <dstip> via <dstgw>10:28
=== Lcawte is now known as Lcawte|Away
lux`tried already, gave me no such process error10:29
lux`RTNETLINK answers: No such process10:29
=== Lcawte|Away is now known as Lcawte
chmacJeeves_: I've tried setting the fqdn into /etc/hostname, but it gets overwritten on reboot. It's a proxmox virtualised machine, so maybe there's something going on there, not sure...10:29
Jeeves_/etc/hostname is being overwritten?10:29
Jeeves_In Ubuntu?10:29
viezerdtry /etc/init.d/hostname.sh start after editting10:31
=== ea1het_OFF is now known as ea1het
qman__mgw, yes, the tunnel will close when the parent process dies13:08
=== dendrobates is now known as dendro-afk
pats_Tomshi, is there someone who can help me finding the way to multiarch on linux? I want to run 32bit game server on 64bit ubuntu15:50
harushimoI installed maas and it gave me my web interface16:29
harushimowhen I try firefox, i can't use it16:29
harushimoI'm using this on my virtual machine16:30
=== Lcawte is now known as Lcawte|Away
harushimoI don't understand why I can't see it on my computer16:35
=== Lcawte|Away is now known as Lcawte
Psi-JackThere we go, FINALLY resolved my fricken nslcd issues with it not starting up properly at boot.18:53
Psi-JackFixed it by converting my dnsmasq, and nslcd init.d scripts into upstart scripts.18:54
mgw1qman__ thanks, that's what I thought18:55
harushimoanyone know maas here19:32
harushimohow come I can't access the web interface19:32
harushimoI have maas installed on my virtual machine19:32
harushimoI can't access the web interface at all19:33
harushimodo I need to import isos first and then access the web interface19:33
=== Lcawte is now known as Lcawte|Away
harushimohttp://cloud.ubuntu.com/20:00
harushimoI'm looking at this site. I was wondering updating the address within my network20:00
harushimowhat is that referring to20:00
=== Lcawte|Away is now known as Lcawte
=== erichammond1 is now known as erichammond
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
pehdennmap pehden.dyndns-ip.com msg me results please22:11
slideDoes anyone know of a tool for analyzing the disk usage to indicate large files/dirs? needs to be command line or output some sort of file22:13
slideright now im using du -h --max-depth=1 but thats annoying lol22:14
slideah cool Philesight might work, apparently its web based22:15
guntbertslide: start with du -s /* and walk down the tree22:15
slideyea but thats REALLY slow heh22:15
guntbertslide: "fast" was not on your list of requirements22:18
guntbert:)22:18
slidetrue heh22:18
slidegt5 is good btw22:52
=== Lcawte is now known as Lcawte|Away
harushimohello23:09
harushimo!openstack23:18

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