/srv/irclogs.ubuntu.com/2011/09/22/#ubuntu-server.txt

thanatosgood evening00:04
thanatosis anybody familiar with the establishing of a connection to localhost?00:07
thanatosin specific, do i have to be connected to a network in any kind, to connect to my localhost?00:07
TheEvilPhoenixthanatos:  no, localhost references only the system that you're on00:10
TheEvilPhoenixfor example, this system i'm on is a laptop00:10
TheEvilPhoenixi can be disconnected from the internet00:10
TheEvilPhoenixin every way shape and form, and be able to access localhost00:11
TheEvilPhoenixbecause it goes through the `lo` interface00:11
TheEvilPhoenixwhich is the loopback interface that your computer uses to communicate with itself00:11
thanatosis it possible that the connection to my self is in anykind of way blocked?00:12
thanatosfor example default blocked, via internal firewall or something like that?00:12
thanatosbecause if i try to connecto to my self, via local host, i get connection refused errors00:12
thanatosmy machine is not connected to any kind of network at all, on which i am trying to build a server client with python00:13
thanatosas soon as i connect to a network, the error does not occure00:14
thanatosbut if i am offline, there is a connection refused00:14
thanatosso i was woderning if there is some kind of restriction if connecting to my self00:14
thanatosif i am not in a network00:14
K4kis there a way to use ssh in such a way that you can "connect" to the server, in the sense that whatever you type is run on the remote server, but what you type is not sent to the server in real time? In the same way running a remote command would almost but without having to run the ssh command every time.00:20
pmatulisK4k: rephrase00:26
K4kSorry, I'm having trouble putting what I'm looking for into words00:26
K4kAs in I type the commands in a terminal and when I hit enter, it sends the command but as I'm typing that command I00:27
K4k*** I'm not affected my network latency00:27
K4kI have a server that's on a really high latency network and there are often times 30 second periods where I get no response and that would be fine if my typing was not affected00:28
pmatulisK4k: you want to avoid having your typing affected by the latency?00:30
K4kpmatulis: yea, I'm not sure if this is possible with ssh though. The closest I've found is called "sshpass" but getting that to work is a bit of a "hack"00:31
qman__any solution for that would be a hack00:32
qman__that happens because of the design of SSH00:32
K4kI figured as much00:32
qman__it funnels your keyboard to the server, then feeds back the server's output00:32
K4kYea, that's where I'm having an issue00:33
qman__any workaround would have to preprocess your input, then wait until you hit enter to send it00:33
K4kthere's not enough bandwidth for that much traffic00:33
qman__which would cause issues with anything interactive00:33
qman__such as less00:33
K4k...oh, hadn't thought of that...00:33
pmatulisK4k: if your typing often results in the same commands you could write scripts on the remote end, possibly passing an argument here and there00:34
qman__the best solution is getting a better link00:35
qman__the second best is typing very carefully00:35
K4khmmm00:35
K4kWasn't there, way way back, some kind of connection you could make to a machine that would do essential what I'm thinking of though? I could swear there was...00:36
qman__not any that connects directly to the built in terminal systems00:36
qman__it would have to have its own shell00:36
qman__serial terminals have similar behavior to what you desire, but that's simply because it sends the characters immediately regardless of what's going on00:38
pmatulisK4k: you could also just send remote commands: "ssh user@host 'aptitude search foo'" or use a script like i said: "ssh user@host 'script argument'"00:38
K4kpmatulis: I'm starting to think that's what I'll do00:38
K4kcan bash aliases take $1 $2, etc?00:39
K4kI could make a bash alias that would do what I need I think00:39
K4k(using what you suggest pmatulis)00:39
K4kyup, ok that will work for what I need00:44
pmatulisK4k: super00:45
uvirtbotNew bug: #856027 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: η υποδιεργασία installed post-installation script επέστρεψε κατάσταση λάθους 75" [Undecided,New] https://launchpad.net/bugs/85602701:21
=== Daichi is now known as nandemonai
aot2002My package libxml2-dev is at 2.6 on the server but latest is 2.7 ? how can I properly update02:29
jmarsdenlibxml2 | 2.7.6.dfsg-1ubuntu1.2 | lucid-updates | source, amd64, i38602:34
jmarsdenaot2002: as long as you have lucid-updates enabled, you should get 2.7.6 as seen above02:34
aot2002nope still at 2.602:34
aot2002just applied all outstanding updates non of which were libxml202:35
jmarsdenaot2002: Is lucid-updates in your sources.list ?02:36
aot2002hmm let me check02:36
aot2002yes02:36
aot2002I wonder if it was installed through compile02:37
jmarsdenOh.  If you are silly enough to use un-packaged software, then any mess you end up in is yours to sort out :)   What does   dpkg -l libxml2-dev    output?02:38
aot2002dpkg -l libxml2-dev02:41
aot2002|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)02:41
aot2002 Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend02:42
jmarsdenaot2002: No actual line with a version number in it??02:43
aot20022.702:44
aot2002but seems to show 2.6 in php02:44
aot2002something went wrong with 2.7 update i guess at some point02:44
jmarsdenaot2002: For a -dev package, there is no harm in doing   sudo apt-get purge libxml2-dev && sudo apt-get install libxml2-dev     #to reinstall it, if you think the installation is incorrect.02:45
twbIf there is stuff in /opt or /usr/local, they have probably "sudo make install"'d02:46
twbThat's when you go back to $customer and tell them the rate just doubled02:46
aot2002jmarsden, still in bad state02:47
jmarsdenaot2002: Be specific... define "bad state".02:47
jmarsdenHow are you checking the state, and what is the result of that check?02:47
aot2002Err?=(none)/Reinst-required (Status,Err: uppercase=bad)02:48
aot2002doesn't that say reinstall-required02:48
jmarsdenThat is a header line.  Where is the one with the version number in, that you seem to be avoiding posting???02:49
twbaot2002: that's telling you what the letters are in the columns02:49
jmarsdenaot2002: Let me ask again slightly differently:  what does     dpkg -l libxml2-dev | tail -1      output?02:50
aot2002http://pastebin.com/2QQzSN0d02:51
jmarsdenaot2002: That says that you have installed libxml2-dev 2.7.6.dfsg-1ubuntu1.2 correctly.  No problem visible.02:53
aot2002hmm02:53
jmarsdenSo, why are you asking abou how to do something you already did?02:53
aot2002because php is reporting 2.6 is installed02:53
jmarsdenThat is what it links against or finds, and it does not link against -dev anyway :)02:54
aot2002I have lamp on compilation to keep the latest versions... do I need to recompile again when upgrading libxml2-dev02:54
jmarsdenthe whole point of a package-managed distribution like Ubuntu is to use packaged software.  Doing anything else is a bad idea.  If you need to backport the latest packages, and then install them, do so.02:55
aot2002well that makes sense except php5-curl doesn't install the extension into the package02:56
aot2002hence why I'm using a compilation02:56
aot2002I did a simple apt-get install php5 php5-curl apache202:56
jmarsdenaot2002: OK, so download the package sources, edit them to compile with whatever options you like, and build your new packages...02:56
jmarsdenJust don't mix packaged software and totally unpackaged "I will just compile this" software...02:57
jmarsdenaot2002: Maybe you just need to edit your php.ini file to tell it about pgp5-curl ?02:58
jmarsden*php5-curl02:58
jmarsdenBut if that is the real issue, ask us about that, not about "My package libxml2-dev is at 2.6 on the server but latest is 2.7 ? how can I properly update" :)02:59
twbIt comes up often enough here that you should just program ubottu with a set response02:59
twbAlong the lines of "stable means it doesn't change; if you want to rice it up, #gentoo and #lfs are over there" (only more polite)03:00
aot2002Okay sorry how can I get php5-curl working with the installed package from the repo's....then I can kill off hte compiled ver03:00
jmarsdenaot2002: What happens when you install it and edit php.ini to use it?03:01
aot2002In php info it shows the ini is loaded but does not show up in the list like the compiled version shows the version #. Also if I do a var_dump(curl_version()) the compiled shows the version of curl but the package version just throws a 500 error03:02
jmarsdenOK... and you have software that really absolutely needs to do that, on a production server?03:03
jmarsdenWhat is the *real* problem you are trying to solve here?03:04
aot2002yes I use it with a custom software that uses curl to communicate with a remote payment system...03:04
jmarsdenAnd that software calls curl_version() ?03:04
aot2002no that's just how to show what version is installed since any call using curl fails03:05
aot2002i was just pointing out the fact that it should return the version03:05
jmarsdenOK.  So the real issue is that you can't get any of the PHP curl functions to work, when using the packaged version.03:05
aot2002yes03:06
jmarsdenOK.  Let me see if I can reproduce the problem, now we know what the problem is :)03:06
aot2002also the compile version is linking to a 2.6 libxml which mediawiki needs 2.7 or it wont install03:06
aot2002so i'd rather use package management system anyway03:07
aot2002Got most of it setup03:07
aot2002just can't get the regular extensions I use installed03:07
jmarsdenOK, what does     php -r 'phpinfo();' |grep -i curl | tail -3      output on your system?03:11
jmarsden(make sure the php binary you run is the one from a Ubuntu package, not one you compiled yourself!)03:12
aot2002hmm how can I make sure03:13
jmarsdenIf you don't know, then I am not sure I have time to do this at this level of detail.  I suggest you remove all the stuff you manually compiled, reinstall all your php packages from real official Ubuntu packages, and then see how well things work.03:14
T3CHKOMMIEhey guys, i have to tweak an OS for one of my operating system classes. i was wondering if anyone had some thoughts, insight, or pointers on an idea i have about making a version of ubuntu with a building SVN esk type volume shadowcopy filesystem. any ideas?03:15
jmarsdenT3CHKOMMIE: #ubuntu-server is for Ubuntu server support, not for doing your homework :)  You can add arbitrary filesystems to Linux, either in kernel space, or userspace via FUSE.03:16
T3CHKOMMIEjmarsden, its not really a homework assigment. I am looking for ideas on makeing an operating system specific for a specific task thought some of the guys on here would have some tips about OSes,03:18
T3CHKOMMIEnevermind tho, ill just check some other channels and see if somone else is more knowlegable about operating systems and ubuntu. thanks tho.03:19
twb`haha, he sure schooled you03:19
* ball snorts03:20
aot2002jmarsden, thanks I think the compiled version is mucking with the package version -rw-r--r-- 1 root root 67936 2011-05-02 21:01 /usr/lib/php5/20090626/curl.so03:32
jmarsdenQuite possibly.  Removing all the stuff you manually added should help :)  Now you see what I meant earlier, when I said: <jmarsden> Just don't mix packaged software and totally unpackaged "I will just compile this" software...03:33
twb`It's basically the same as being compromised -- the only way to clean up properly is to do a full reinstall from scratch03:35
aot2002:(03:37
twb`The lesson here is: don't do it again03:41
=== marty_ is now known as Guest54852
uvirtbotNew bug: #856092 in cyrus-sasl2 (main) "11.10 beta1 alternate install broken dependency libsasl2-modules xserver-xorg-video-ati" [Undecided,New] https://launchpad.net/bugs/85609204:31
DanaGHmm, how do I get my server to accept the ipv6 range my router offers?04:48
DanaGIt's radvd, not dhcpv6.04:48
twb`Don't you need to enable RA in /proc/net somewhere?04:49
DanaGI mean, the router is handing it out, and OS X and Win7 accept it.04:50
DanaGNatty seems not to.04:51
twb`accept_ra04:51
twb`I don't have it in mine because I explicitly disable IPv6 until I'm ready to lock it down04:52
twb`But I found that in five seconds from https://duckduckgo.com/lite?q=linux+enable+ipv6+ra04:53
=== himcesjf1 is now known as himcesjf
uvirtbotNew bug: #856149 in bacula (main) "bacula-fd won't automatically start at boot" [Undecided,New] https://launchpad.net/bugs/85614906:51
=== smb` is now known as smb
Davieyjamespage: The jenkins iso testing looks less than cool?08:28
=== himcesjf1 is now known as himcesjf
jamespageDaviey, lemme take a look08:36
Davieyjamespage: see -testing08:37
angelete2hi08:41
dori922hey! :D im rsyncing a 20gb folder(/home) to a remote server and its at "Building File LIsts..." anyone have a ball park figure of how long it'll take to complete?08:41
dori922like 1-3hrs, 3-6hrs etc :P08:42
angelete2i'm using 11.04 in a virtual machine with 512Mb RAM08:42
angelete2and my applications using apache2, php5.3 and mysql are telling me "can't allocate memory"08:42
angelete2why?08:42
angelete2dori922: it depends on your bandwidth and your remote server's, but it will more than a pair of hours08:44
dori922and after that how much would the speed improve? :P08:45
angelete2the time i told is for both reading and transfering08:45
angelete2try to use  -v switch to get more info08:46
dori922thanks :D08:48
koolhead11hello all09:01
koolhead11:D09:01
jamespagemorning koolhead1109:14
koolhead11hey jamespage09:20
koolhead11zul: hey09:30
AlecTaylorhi09:31
AlecTaylorGuess what? - We might be able to install Linux! - My advert: "Linux is much faster, has better security, and scales much better than Windows OSs. Not to mention it have many more features and supporting much more software. Maintenace is also much easier, and upgrading/installing new software never requires a restart."09:31
koolhead11AlecTaylor: this channel is not for Linux PR09:34
koolhead11Daviey: hello09:35
AlecTaylorkoolhead11: Why not?09:36
AlecTaylorkoolhead11: Gave him this link: http://narendrapatel.com/2011/05/installing-ubuntu-serve-11-04-64bit-on-hyper-v/09:36
koolhead11well am wrong in that case, that`s what i though all this while.09:37
AlecTaylorHyper-V support was added by Micrsoft to Linux, right?09:38
AlecTaylorHyper-V support was added by Microsoft to Linux, right?09:38
sorenAlecTaylor: Because it just isn't. I you want to advertise, do it somewhere else.09:40
AlecTaylorHyper-V support was added by Microsoft to Linux, right?09:41
sorenAlecTaylor: They contributed some network drivers for some stuff at some point. It may have been for Hyper-V.09:42
soren"contributed" makes it sound like they did it of the goodness of their hearts. They were obligated to do so due to licensing.09:44
soren"Microsoft contributes network driver to Linux" just sounds much better than "Microsoft finally rectifies licensing violation".09:44
sorenAlecTaylor: why?09:44
twb`So quick question before I fuck off and go home: anybody used unbound with a stub-zone, whose stub-addr had a non-default port?09:48
twb`Like stub-addr: 127.0.0.1@105309:48
twb`I ask because I just tried that on lucid and everything worked perfectly with unbound on 1053 and dnsmasq on 53 (during testing), but when I swapped them around, unbound just returned SERVFAIL for the stub zone, without even TRYING to ask dnsmasq.09:49
twb`http://paste.debian.net/131544/09:50
monkdhowdy, I installed postfix+dovecot. I'm able to receive email but not send it. I got 250-starttls and 250-auth plain login when running telnet localhost 25, ehlo localhost.09:50
greppymonkd: start by looking in your /var/log/mail.log file to see why it's not sending mail.09:51
monkdgreppy: [62.zz.yyy.xx]:25: No route to host09:52
monkdisp blocking my port 25?09:52
greppywell, that would be a problem.09:52
greppycould be, can you ping that IP address?09:53
monkdyes09:53
greppyThen yes, your ISP could be blocking outbound port 25 access as an anti spam measure.09:53
twb`Some ISPs will let you opt out of that09:53
twb`Otherwise you'll need to tell postfix to relay all mail via their smart server09:54
monkdbut shouldn't the 587 line in my master.cf also open port 587 for sending mail?09:54
monkdand in my mail client I got host:587 as my smtp server?09:54
greppybut to send mail out, it's trying to connect to port 25, which is the default.09:56
monkdhmm.. so changing the relayhost in main.cf?09:56
greppyyeah, one sec.09:56
greppymonkd: relayhost = smtp.your.isp.whatever:2509:57
monkdtried that. then I get a rcpt error09:57
monkdwait I'll check it09:57
monkdRelay access denied (in reply to RCPT TO command)09:58
greppy*blink*09:58
greppyrelay denied by the relayhost server?09:59
monkd:$10:02
BuenGeniohi10:03
BuenGeniomysql doesn't start after server reboot10:03
BuenGeniono error messages, no logs, nothing10:03
monkdgreppy: can I get my ISP's MX with dig MX isp?10:03
BuenGeniomysqld -v simply drops me back to shell without error10:03
uvirtbotNew bug: #771849 in glance "Port not parsed correctly in Swift URI" [High,Fix released] https://launchpad.net/bugs/77184910:05
uvirtbotNew bug: #799008 in glance "glance creates zero-length images in local file store on Ubuntu oneiric" [High,Fix released] https://launchpad.net/bugs/79900810:05
greppymonkd: the MX record may not be the server they want you to send mail with.10:06
greppymonkd: start poking around on their website to see what they recommend for outgoing mail settings, that is the server you want to use as your relayhost.10:06
monkdshits.. greppy, I know too little about this, I confed the relayhost as my own host. and that's why I got the relay access denied10:13
monkdso I have to know my isp's outgoing mail server for sending mail?10:13
monkdI thought it was possible to send mail directly from my server to anywhere10:14
monkdbut it has to got through a relayhost?10:15
greppymonkd: if your ISP is blocking outbound port 25 except to their own host, then yes, you need to relay through them.10:16
monkdbut isn't it possible to send via some other port for example 587?10:17
b0nghittri really was hoping to use ubuntu server. but i guess cpanel is going to force me to crapOS10:21
greppymonkd: 25 is the default port for servers to talk to each other.10:23
greppynot every mail server listens on other ports, or allows non-auth sending on other ports.10:23
monkdwhy am I able to send mail to myself then? is it because of the local network?10:25
\shmonkd: don't forget that most IPs from Cable, DSL, Dial-In Networks are blocked/blacklisted by other ISPs smtp servers.10:25
greppymonkd: your server will accept mail for local accounts.10:29
monkdso what exactly does it mean when I try to send mail out I get No route to host error, even when I can ping that ip10:29
greppyfrom your server, try to telnet to port 25 of the ip that is saying there is no route to10:30
monkdyea, it doesn't work10:33
greppybingo, need to set your relayhost to your ISPs outgoing mail server. :)10:34
monkdso if I do that. and get it to work. are my emails readable to my ISP?10:35
koolhead11Dead loop on virtual device bridge100 :(10:35
koolhead11Daviey: another one for today!!10:37
greppymonkd: they are sent through the server, so if they archive every mail that goes through them, then yes.10:37
greppybut they could read them anyway if they sniff the network.10:38
monkdok I think I found the outgoing server. can I test that it is the one, without trying to conf the postfix and trying to send mail10:38
greppytelnet to port 25 of the server10:38
greppysee what it tells you.10:38
monkd220 balbalba service ready10:39
monkdguess that's the one?10:39
greppyyup10:39
Davieyhey koolhead1110:40
monkdgreppy: is it possible to encrypt the messages and receivers, so even if they do sniff around they can't "access" the data?10:40
BluDog_A1choritei have a had drive i suspect was pulled for failure.  other than intstalling on it, and running a few smartctl passes, can anyone recomend a way to "test" the drive ?10:41
greppymonkd: you can encrypt the content using gnupg/pgp/s-mime, but the recipient needs to be know how to decrypt it.10:41
koolhead11Daviey: another bug for the day. i am filing it it has to do with bridge on one of the interfaces10:42
monkdok10:44
Davieykoolhead11: cool10:44
sorenkoolhead11: Ok, start over. One step at a time.10:45
koolhead11okey10:46
koolhead11this is my hardware on interface 1 http://paste.ubuntu.com/695033/10:46
koolhead11This is my network bridge configuration on eth1 http://paste.ubuntu.com/695038/10:47
monkdgreppy: didn't work :D10:47
monkdthe relayhost is mail.inet.fi10:47
sorenkoolhead11: Please don't redact your interfaces file. Pastebin the whole thing.10:48
monkdand now I get mta.inet.fi no route to host10:48
koolhead11ok.10:48
sorenkoolhead11: Also, start by explaining what the problem is.10:48
sorenkoolhead11: All of this is debugging information.10:48
AlecTaylorWOOT - Finally have an Ubuntu Server to work with, Goodbye Windows Server 2003!10:48
sorenAlecTaylor: If you consider that an accomplishment, I'd be quite hesitant to offer consulting services helping other people install Ubuntu.10:49
sorenYou don't become a mechanic by starting a car for the first time either.10:51
DavieyI do.10:51
sorenWell, you're awesome.10:52
Daviey:)10:52
monkd;>10:52
sorenMost people need more training.10:52
koolhead11soren: http://paste.ubuntu.com/695041/10:54
sorenkoolhead11: Your eth0 config is invalid.10:55
soren"netmask 255.255.0.0" and "network 192.168.1.0" are incompatible.10:55
sorenAlso, having eth0 and br100 in the same subnet might not be what you want.10:56
koolhead11soren: http://paste.ubuntu.com/695043/10:56
koolhead11soren: they are in different subnet10:57
sorenNot really.10:57
soren2 seconds ago they were in the same subnet.10:57
koolhead11eth0 is in 10.X.X.X10:57
sorenNonsense.10:57
soren        address 192.168.1.510:57
soren2 seconds ago they were in the same subnet.10:58
sorenNow they're in overlapping subnets.10:58
sorenOne containing the other. I don't even know how that can make sense.10:58
greppymonkd: what error did you get?10:59
koolhead11okey i will get back with all details in sometime.11:00
sorenkoolhead11: But, as I said: This is all debugging information.11:01
sorenkoolhead11: Start by explaining what the problem is.11:01
koolhead11soren:  the network configuration are same we used when we tested cactus in natty. :)11:01
sorenkoolhead11: I never asked for you network configuration.11:02
sorenkoolhead11: ...but when you started handing it out, I asked for it to be true.11:02
koolhead11just after assigning the IP information when i boot my system i get error on boot screen saying " dead loop on virtual device br100, fix it urgently"11:02
sorenkoolhead11: I probably don't care about it at all.11:02
koolhead11and notthing happens after that.11:03
monkdi put the relayhost = mail.inet.fi:25 in my main.cf and I have my own server name as smtp server in the mua. I tried to send mail and got: http://pastie.org/257322211:03
koolhead11to boot my system i have to remove that inteface information from my interfaces file while going in safe/single user mode11:04
\shmonkd: you see that the IPs it resolves are different? .12 and .15?11:04
\shmonkd: oh you send to mta.inet.fi (which is .12) and your isps mail server but is mail.inet.fi?11:05
sorenkoolhead11: Ok, if this is what you want to talk about, I'm going to have to insist on your actual configuration.11:05
sorenkoolhead11: Clearly, you've misconfigured something. If you're giving me anything other than your actual configuration, I can't (and won't) help you.11:06
monkdyeah, \sh mail.inet.fi is the mail server. I don't know when mta.inet.fi is coming to play.. that's a different isp I tried to send mail to..11:06
\shmonkd: looks like that mta.inet.fi is still your relayhost11:06
\shmonkd: did you restart postfix after your changes to main.cf?11:07
monkdsure did11:07
\shmonkd: but it's not what your logfile says..it still say: I'm sending to mta.inet.fi11:07
koolhead11soren: k11:07
monkdtried again. checked the main.cf -> relayhost = mail.inet.fi:2511:09
monkd/etc/init.d/postfix restart11:09
monkdsend mail11:09
monkdsame error11:09
monkdcomplaining about mta.inet.fi11:09
monkdshould mail.inet.fi be in mydestination too?11:10
koolhead11soren: http://paste.ubuntu.com/695054/11:17
sorenkoolhead11: And "ip route"?11:20
AlecTaylorHow do I install+setup ssh on Ubuntu Server 11.04?11:21
hgb^harryapt-get install openssh-server ;)11:22
koolhead11soren: not given in the interfaces configuration11:22
sorenkoolhead11: Er..11:22
sorenkoolhead11: What?11:22
AlecTaylorhgb^harry: Is that all that's needed, or do we need to configure some keychains?11:22
koolhead11soren: this is what the cofig file is11:23
sorenAlecTaylor: Dude. fire up Google. In the box, type: How do I install+setup ssh on Ubuntu Server 11.04?11:23
sorenAlecTaylor: Click the first link.11:23
sorenAlecTaylor: If you still need help, *then* come here and ask.11:23
sorenkoolhead11: HAng on, how did you get to that config file?11:24
sorenkoolhead11: You said you coulnd't boot because of it.11:25
koolhead11soren: i had to go in single user mode. and disable the eth1 intefrace entry.11:25
sorenSo this is the config that works?11:26
koolhead11soren: i have to disable this entry of eth1 in order to get my system into normal boot11:26
sorenkoolhead11: The configuration you've shared has no eth1 entry.11:27
sorenkoolhead11: So if you're using  http://paste.ubuntu.com/695054/ everything is fine?11:27
kiranmurarisoren: koolhead11 meant br10011:27
koolhead11soren: the one mapped  to eth111:28
koolhead11so only entry with eth0 the system works11:28
koolhead11now once am booted then manually i configure http://paste.ubuntu.com/695054/11:28
koolhead11to get my bridge working via eth111:29
sorenOk. So if you "sudo ifup br100" now, what happens?11:29
koolhead11soren: ifup br100 ifup: interface br100 already configured11:30
koolhead11because i manually added eht1 and br100 and then restarted the network11:30
sorenSo this is only a problem on first boot?11:32
uvirtbotNew bug: #856309 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/85630911:32
koolhead11soren: yes whenever i boot. which means if i reboot my system with eth1 configuration i will again get the same "dead loop" error11:33
koolhead11and to overcome that i have to again boot in single user and remove the entry11:33
sorenok..11:33
sorenIs there anything else you think might be relevant that you've also not yet pointed out?11:34
koolhead11soren: Linux server1 3.0.0-11-generic #18-Ubuntu SMP Tue Sep 13 23:38:01 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux11:34
koolhead11i have allready given the harware information11:35
sorenI meant about the problem.11:35
koolhead11soren: nope. next issue is with nova-network.11:36
sorenI don't want to spend another 20 minutes asking questions and then have you tell me that it also goes away if you take all the network cables out or something.11:36
sorenYou say when it boots with this, it echoes this error "11:02 < soren> koolhead11: I probably don't care about it at all."11:36
sorenWhat does that mean, exactly? What are you expecting to happen that doesn't happen?11:37
sorenWhoops11:37
sorenThat came out entirely wrong.11:37
sorenYou say when it boots with this, it echoes this error "11:03 < koolhead11> and notthing happens after that."11:37
sorenWhat doesn't happen? What doesn't work? What makes you think it's frozen?11:38
koolhead11soren: it should normally boot when i have eth1 info configured on it, right?11:38
sorenA misconfigured network usually shoulnd't cause the system to freeze, no.11:38
koolhead11it throws error on boot " dead loop on virtual device br100, fix it immidiately"11:39
koolhead11that it11:39
koolhead11notthing happens after that11:39
soren11:38 < soren> What doesn't happen? What doesn't work? What makes you think it's frozen?11:39
sorenWhat did you expect to happen?11:39
sorenWhy should anything "happen"?11:39
koolhead11soren: my system should normally boot and give my console screen :D11:40
sorenSo you usually get a login prompt, but when this happens, you don't get a login prompt.11:41
sorenIs that accurate?11:41
koolhead11indeed11:41
sorenDid you check the other virtual consoles?11:41
sorenDid you check the logs to see if the system still is active during this time?11:41
koolhead11soren: there is no access to any of the consoles. the only message i get is :-11:43
koolhead11[28.500035] Dead loop on virtual bridge device br100 fix it immidiately"11:43
koolhead11it keeps coming on the screen11:43
koolhead11with [] value changing11:43
soren....11:44
sorenIf it's frozen, how can it keep printing errors?11:44
koolhead11soren: as in am not able to do any operations on it :(11:45
zulDaviey: yeah so ill backport the iscsitarget branch when it gets accepted11:55
SyriaHello! I have hired A VPS with Ubuntu server 10.4.3 lts installed on it. Can I use that VPS as a proxy for browsing the internet?11:55
maswanyes11:56
maswanyou need to either install a proxy or vpn software on it then and configure your client to use that11:56
sorenOr just use ssh's SOCKS implementation.11:57
Syriasoren:  How can I do that please?11:58
Syriasoren:  Because it seems to be easier than installing a vpn software and configuring it.11:58
maswantrue, I guess sshd is already installed, no need to look for something else11:58
sorenSyria: E.g. "ssh -D 1234 username@server"11:58
sorenSyria: Complete the login.11:59
sorenSyria: Tell your browser to use a SOCKSK proxy on localhost on port 1234.11:59
koolhead11soren: should i file it bug or leave it ?11:59
sorenDone.11:59
sorenkoolhead11: I think you should file a bug about this. Don't waste time on the hardware specifics and whatnot. Just include the problem description.11:59
sorenDon't leave *Anythin* out of the problem description.11:59
koolhead11okey. done will do :)11:59
sorenSpecify what happens, when it happens, what you expected to happen, etc. etc.12:00
koolhead11soren: and the nova-network issue is related to same i suppose12:00
koolhead11i will do12:00
Syriasoren:  can I know why 1234?12:00
sorenSyria: Because it's the first number that popped into my head.12:00
Syriasoren:  I will test this now it seems so easy!12:00
sorenSyria: You can use any number you please (provided it's between 1024 and 65535)12:01
soren(inclusive)12:01
Syriasoren:  ssh -D 9050 [username]@[remote.server.name]  should i use this example?12:01
Syriasoren: !!! you gave me the same example.12:02
Syria:S i did not notice.12:02
Syriasoren:  It works!!!12:07
Syriasoren:  Thank you.12:07
sorenSure12:08
Syriasoren:  How can i know if other users are doing this using the VPS?12:08
SyriaIs it possible?12:09
sorenSyria: Depends on how badly you want to know.12:10
Syriasoren:  It is not that important.12:10
Syriasoren:  Thnx for everything. :D12:11
sorenSure.12:12
sorensmoser: Are the images on http://cloud-images.ubuntu.com/server/oneiric/current/ supposed to be usable in plain kvm?12:17
smoseryes.12:18
smoserthey'll complain to the serial console that they can't find a meta-data service.12:18
smoseryou can deal with that in a number of ways with or without human intervention on boot.12:18
sorenHow do I log in?12:19
sorensmoser: or is that not supported? :)12:20
smoserhold on12:21
* soren holds on12:21
smosersoren, at https://help.ubuntu.com/community/UEC/Images you should see some doc on booting in kvm12:25
smoserthats related to the partition images (the .tar.gz files).12:25
smoserthe same command line options appply, and you can still use the floppy (i think) to boot from to get you a menu option12:27
smoserhm... but it seems like that page has changed osme in ways i'd not like to advertise (uncloud-init)12:28
sorensmoser: Ok. When I boot it, I just get a login prompt.12:35
smoserwere you hoping for x ?12:35
sorensmoser: ...and I hadn't wired up the serial port, but I guess I'll just have to do that to get the password.12:35
sorensmoser: No, login prompt is fine... but the password isn't shown there.12:36
smoserah.12:36
smoserso here is what i would really suggest. i just tested on daily12:36
smoser * download current/oneiric-server-cloudimg-amd64-disk1.img12:36
sorenDone12:36
smoser * qemu-img create -f qcow2 -b oneiric-server-cloudimg-amd64-disk1.img disk.img12:36
smoser * kvm -drive file=disk.img,boot=on,if=virtio12:37
sorenWell, I'm using libvirt, but whatever.12:37
smoser * at grub boot, go in and append to kernel command line: ds=nocloud-net s=http://tinyurl.com/sm-12:37
smoserthat makes cloud-init read http://smoser.brickies.net/ubuntu/uec-seed/user-data12:37
sorenYou now that's a link to something on e-bay, right?12:37
smoserand http://smoser.brickies.net/ubuntu/uec-seed/meta-data12:38
smoseri assumjed you wanted to buy that thing on ebay :)12:38
sorenIt's been removed. What was it, what was it?12:38
smoseryou can register similar urls12:38
smoseri have no idea12:38
sorenAw.12:38
smoserwait.12:38
smoseri pasted badly12:38
smoserit makes it read: http://tinyurl.com/sm-user-data and http://tinyurl.com/sm-meta-data12:38
smoserfor metadata and user-data12:39
smoserso you can get similar urls and use that. then you can enable password login through cloud-config.12:39
smoserhttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt12:39
sorenThis is a little much for my little brain right now.12:39
smoserits really not that bad. i promise.12:39
smoseralternatively if you boot off of the floppy disk that is in the tarball, it will give you prompts that have some of this stuff filled out.12:40
sorenWhat's "ds" short for?12:41
smoserdatasource12:41
sorenAh.12:41
sorenAnd "nocloud-net" means..12:41
smosers short for 'seed'12:41
smoserwell "nocloud" as in you aren't under a cloud provider12:41
sorenRight.12:41
smoserand net means that it should run when network is up12:41
sorenSo that makes it use the s= parameter?12:41
smoserwell, the s= will also be read from 'ds=nocloud'12:42
sorenRight.12:42
smoserbut not guaranteed to be done so before network is up12:42
smosererr... after network is up12:42
sorenAh.12:42
* soren ponders12:42
sorenHaving to interrupt grub is a pain.12:42
smoserthe third option is to use the ovf data source12:42
smoseri agree about grub12:42
smoseryou create a cdrom with some data on it, and cloud-init sees that as the data source.12:43
smoserbut now you're going to ask me how to do that.12:43
* soren concocts way to extract the kernel from the image.12:43
smoserwell, the kernel is available in the tarball12:43
sorenI don't have a tarball.12:43
sorenI have the img12:43
smoserright.12:43
smoserbut that requires both having root, and knowing what command line options are. which, obviously you know, but is pronte to breakage.12:44
sorenWon't using the tarball require knowing what the command line options are, too?12:44
smoserwell, the boot floppy kind of knows that, but yes.12:45
sorenOh, right. The boot floppy.12:45
sorenI can't believe I just typed "floppy".12:45
sorenIt's 2011.12:45
smoserare you opposed to the http://tinyurl/ stuff ?12:45
sorenNot per se.12:46
smoserok. then this is pretty easy i think12:46
smoserwith ovf cdrom12:46
smoser * download http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt12:46
smoser * rename to ovf-env.xml12:46
smoser * modify the 'seedfrom' to your liking12:47
smoser * mkdir my-iso12:47
smoser * mv ovf-env.xml my-iso/12:47
smoser * genisoimage -o transport.iso -r my-iso12:47
smoser * kvm -drive file=disk.img,boot=on,if=virtio -cdrom transport.iso12:48
* smoser tests this12:48
sorenJust having the cd be there makes it use it?12:48
sorenNo need to pass anything extra?12:48
smoseryes.12:48
zulgood morning12:49
smosersoren, i just booted that way here.12:50
smoserand it says "successfully authorized [smoser]" (ie, it grabbed my ssh keys from launchpad)12:50
smoserif you're opposed to the need for network, then you can actually shove base64 encoded user-data into the 'user-data' field in the ovf-env.xml12:51
smoseri should probably get a tinyurl that simply sets password to something and document this as a functional demo12:52
smoser:)12:52
sorensmoser: I'll take it for a spin.12:57
=== txwikinger2 is now known as txwikinger
sorensmoser: It takes a *long* time before the login prompt pops up.13:02
ersiI'm getting a lot of "kernel: [7170012.183313] lo: Disabled Privacy Extensions" messages on my Ubuntu 10.04 server. It seems to be related to IPv6? How do I fix this spamming?13:02
sorensmoser: Hm... Maybe I did it wrong.13:03
patdk-wkersi, why did you enable privacy extensions on lo?13:03
ersipatdk-wk: AFAIK I have not done such a thing.13:03
ersiWhere would one have enabled that, in the first place? :o13:03
patdk-wksysctl net.ipv6.conf.all.use_tempaddr13:04
patdk-wkalso replace all with default and lo13:04
smosersoren, hm...13:05
smbEnabled on normal interfaces , but loopback is special. Frankly they removed that "hint" in newer version13:05
sorensmoser: Ok, here's what I did.13:05
patdk-wksysctl net.ipv6.conf.lo.use_tempaddr = -1, on my system13:05
ersipatdk-wk: It's set to '0'.13:05
sorensmoser: I created a file with a single line in it: "password: ubuntu"13:05
smosersoren, 2 thinkgs. 1, it seems that sometimes when using that image, initramfs kind of hangs. i think this is due to disk being really slow reads (due to compression)13:05
sorensmoser: And used that as my "xml" file.13:05
smosersoren, that wont work.13:05
ersipatdk-wk: sysctl net.ipv6.conf.lo.use_tempaddr is set to -1 though.13:05
patdk-wkodd13:05
sorensmoser: That's what you told me to do. Sort of.13:05
sorenIsn't it?13:05
ersipatdk-wk: and I havn't set it in /etc/sysctl.conf or so.. :o13:06
ersiseems to be.. a default value? >_<13:06
ersioh well, I'll set it to 0 then13:06
smbersi, That message is more of a hint. Rather ignore it. It does not happen really often13:07
ersismb: It happens very often on this machine13:07
zulttx: did the arping changes make it in?13:07
patdk-wkersi, odd, many people saying it's a vsftpd issue13:07
ersiHmmmm, I do have vsftpd running on this machine13:07
smbpatdk-wk, I think it used to be as vsftp makes a new net namespace on every connection13:08
smbThough I would have guessed it would stop now as we disabled that in recent kernels13:08
ersiAh! Hah :) isolate_network = no should make it stop13:08
ttxzul: should have13:08
patdk-wksmb, dunno if he is updated though :)13:08
smbpatdk-wk, True. :)13:09
patdk-wkthough, I don't have that issue and running vsftp :)13:09
sorensmoser: You said to grab that cloud config file.13:09
smosersoren i meant to modify the http://tinyurl.com/sm-13:09
ersiUhm, yeah. Seems I'm not totally updated on that machine either13:09
ersismb, patdk-wk ^13:09
sorensmoser: Ok, now you've lost me.13:09
Fantec_hello13:10
Fantec_is there any doc that list needed kernel options to compile ?13:10
sorensmoser: Completely :)13:10
smbpatdk-wk, If you run a recent kernel we had to remove the ability to do a net ns on clone because cleanup is way too slow13:10
Fantec_(11.04 just stop at init with own kernel, a init=/bin/bash is OK)13:10
smosersoren, in that xml, there is a 'seed' attribute/element/whatever13:10
Fantec_s/own/my own/13:10
smosermodify that to point to one of your own with similar data.13:10
sorensmoser: What XML?13:10
sorensmoser: Did you perhaps paste the wrong link?13:10
smbersi, So isolate_network = no should help there13:11
soren12:46 < smoser>  * download http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt13:11
soren12:46 < smoser>  * rename to ovf-env.xml13:11
smosersoren, yes13:11
smoser:)13:11
smoserhga13:11
smosergah13:11
smosersorry13:11
ersismb: Indeed. I've changed my config to reflect that. Thanks :)13:11
sorensmoser: :(13:11
sorensmoser: Can I pass stuff to cloud-init on a CD?13:11
smoserdownload http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/ovf/environment.xml13:11
smoseryes.13:11
sorenWhee.13:11
smoseri just gave the wrong url.13:11
smoseruse that, modify the 'seed'13:11
sorenNo, no, I mean..13:12
smoseryou can read that, and it will also tell you how to put user-data in.13:12
sorenOh.13:12
sorenGotcha.13:12
smoserbut you have to base64 encode it13:12
smoser:-(13:12
sorenI can manage tha :)13:12
smoserso... would you open a feature request for "simple user-data/meta-data on cdrom" ?13:12
smoserif you think that would be useful.13:12
smosers/feature-request/bug/13:13
smoserit also seems that sometimes i'm getting dns resolution issues13:13
smoserin OVFDataSource with seedfrom13:14
smoserprobably because kvm's guest networking that i'm using is just not really ready at that point although it has given my guest a ip address.13:14
sorensmoser: I see a bunch of errors on the serial console that it can't find the meta-data service.13:20
sorensmoser: I thought if I passed that CD-ROM it wouldn't waste time on that.13:20
smoseri think you're hitting the dns resolution failure13:20
smoserare you using seedfrom ?13:20
smoserif you're not, then take it out.13:20
sorenI'm not.13:20
sorenOh.13:21
sorenThe OVF data source thing raised an error.13:21
sorenMaybe I screwed up the XML.13:21
smoseri think what is happening is that it sees the seedfrom, and is trying to get it13:21
sorenER,,13:22
smoserit then fails on dns resolution but does not retry13:22
sorenErm... Yeah, my fault entirely this time :)13:22
smoserand then bails. then DataSourceEc2 takes over.13:22
sorenWhee.13:22
sorenThat was way faster. Great.13:22
smosersoren, one thing you might want to do, if you're going to do this....13:26
smoseris to qemu-img convert  it to raw13:26
sorenI'm doing that right now.13:26
smoseri think that will stop some of the hangs in initramfs13:26
soren:(13:26
smosereven qcow2 would be fine13:26
smoserjust drop the compression13:26
smoseri think its just racey and seems to be a slow disk13:26
smoser:-(13:27
zulgah launchpad hasnt updated yet ill just grab the tarball13:30
AlecTaylorWhere is the binary for the "Terminal" app? - I can't get the mouse to work, so I'm browsing /bin for it13:49
rbasakAlecTaylor: /usr/bin/gnome-terminal13:50
AlecTaylorThanks13:50
koolhead11soren: https://bugs.launchpad.net/ubuntu/+bug/85641713:52
uvirtbotLaunchpad bug 856417 in ubuntu "Dead loop on virtual device br100, fix urgently." [Undecided,New]13:52
AlecTaylorHyper-V: Are there tools available that let me use the mouse in the VM?13:53
sorenAlecTaylor: Wrong channel.14:00
sorenAlecTaylor: In so many ways.14:00
sorenAlecTaylor: Hyper-V is not us, and ubuntu server has no use for a mouse.14:00
sorenkoolhead11: It doesn't cease. It keeps outputting that error over and over again.14:01
AlecTaylorsoren: My client added GUI support :\14:01
patdk-wkwho is hyper-v?14:02
AlecTaylorMS14:02
koolhead11soren: it ceases after outptting that error message for n-number of time.14:03
zulDaviey: im pending approval for ubuntu-server-dev?14:20
zuloh nm14:20
AlecTaylor"/etc/rc.d/init.d/functions: No such file or directory" <--- Where do I find this to install?14:40
patdk-wkyou don't14:40
patdk-wkisn't that like a redhat thing?14:40
AlecTaylordunno, trying to install a package, that's the debug output14:41
* AlecTaylor thinks it might be in the 'lsb' package14:42
smoserSpamapS, around ?14:47
smoseri'm booting a cloud-image in kvm locally (using 'guestnet', which is questionable).14:48
smoserbut on boot /etc/resolv.conf is empty, but network is up (i think)14:49
smoserchecking that.14:49
smosersoren, ok. so i figured out what was going wrong before when we were modifying cmdline params. i had given you bad data (for the Nth time).14:55
smoserif you want to do it that way (which i realize the cdrom is so much more usable in many ways), then you need to append to the cmdline this:14:56
smoser ds=nocloud-net\;s=http://tinyurl.com/sm-14:56
smoseryou have to either quote that to protect the ';' from grub cmdline parsing or backslash the ';' as shown above.14:56
jibelsmoser, utlemming could you update the iso tracker with results from ec2 testing  ?15:07
smoserjibel, yeah.. i'll get to that now.15:07
jibelsmoser, great, thanks15:07
RoAkSoAxkim0: pin15:11
RoAkSoAxkim0: ping15:11
kim0RoAkSoAx: hey15:12
kim0RoAkSoAx: what's up15:13
RoAkSoAxkim0: so I';m writing orchestra documentation that will include how to use juju with it15:15
SpamapSsmoser: here now, sup?15:32
smoserhm..15:32
smoseri wonder what i was goin gto say15:32
smoseri think most of it was lockal issues.15:32
smoserbut it seems that if i boot on my laptop, with qcow-compressed disk image, i can more reliably see boot race issues.15:33
SpamapSsmoser: resolve.conf ?15:33
smoserthat one was wierd15:33
smoseri think that for some reason dhcp was unable to update resolv.conf15:34
smoserbut i can't reproduce it.15:34
smoserwell, i can't in a way that i can look at it.15:34
SpamapSSo whats the other boot race?15:34
smoserwell, initramfs and such sometimes hang. i think thats the udev issue.15:35
smoserbut i'm not seeing either one reliably now15:35
smoser:)15:35
kim0RoAkSoAx: sure thing .. if I can help somehow, feel free to involve me15:37
smoserSpamapS, there.15:39
smoserso i recreated a failure of /etc/resolv.conf not existing15:39
smoserwhile ifup worked and i have a functional network otherwise15:39
smoserSpamapS, you have thoughts on what i should look for here as to why this would have failed ?15:41
AlecTaylorhttp://askubuntu.com/questions/62556/cant-use-mouse-hyper-v-with-ubuntu-server-11-0415:41
smosertimestamps in /run/network seem reasonable15:41
skaetsmoser, utlemming - any reservations on the cloud images?15:41
smoserskaet, no.15:41
smoserbut i would like to hear from utlemming , i've not seem him today15:41
skaetsmoser,  who should I coordinate with for push the button publishing timing?   you or smoser?15:42
skaeturk15:42
skaetutlemming?15:42
skaet:)15:42
smoserwell.... me since he's not here. and i'm going to make sure we're pre-published, or do that if we are not.15:42
skaetsmoser,  coolio.15:42
SpamapSsmoser: dhclient is most likely the culprit15:43
SpamapSsmoser: my guess would be that it doesn't consider failing to write resolv.conf a failure so we're not getting an error state... maybe you can get ifupdown to run it with debugging on or something15:43
smftrehey guys, can anyone help me get my wireless to connect to my accesspoint!?15:43
SpamapSsmoser: that said.. I use kvm to test a *lot* ... and have had no issues. I use it through virt-manager though.. what is 'guestnet' anyway?15:44
smoserskaet, we are pre-published.15:45
smoserjust ping me in ubuntu-release when your'e ready and we'll push 'go'.15:45
aot2002_How can I tell if libxml2 is installed twice diff versions?15:45
smftreanyone?15:45
smoserSpamapS usermode networking15:45
smoserSpamapS, and you dont use a qcow compressed image as the backing disk15:45
smoserso disk read-io is all sorts of different15:46
skaetsmoser,  will do.  Thanks.15:46
smoserbut it should not fail to write /etc/resolv.conf15:46
smoserhere is a hint maybe: http://paste.ubuntu.com/695178/15:48
smosernotice that app armor message about profile_replace on /sbin/dhclient is 1.5 seconds after cloud-init ran (which should only happen after network is up)15:49
skritehey gents, what is the most simple way to get an email server up and running if i don't care about quotas or spam filters ( they are machines that will communicate by email with usernames and passwords)15:49
hggdhsmoser: I am getting in late, and beg pardon in advance. But the EC2 EBS multi-instance run -- will it be executed?15:49
smoserhggdh, no15:50
smoserit never has been15:50
smftrecan anyone setup wireless on ubuntuserver?15:51
hggdhsmoser: so should we update the tracker?15:51
smoserwhat do you mean ?15:54
smoseri am updating results as we speak15:54
hggdhsmoser: oh. Then I will stop...15:55
smftreI'm getting Unknown error 132? anyone?15:59
SpamapSsmoser: that pastebin you showed.. thats network manager.. what are you testing?15:59
M^jseongtae76Hello, everyone16:03
smoserSpamapS, that is strange. there is no network manager installed in cloud-image16:04
Harohi16:04
HaroI could use some advice here. I'm setting up a 1U HP server, I configured its RAID controller to turn my 2 HDDs into a RAID1 volume. The controller looks fine. When I try to install Ubuntu Server though, it sees 2 HDDs and asks me which one I want to install it on.16:05
M^jseongtae76Hrllo,everyone16:05
smoseryeah, and those files (conmann and network manager) do not exist16:05
Harohow come it's seeing more than one volume?16:05
M^jseongtae76Hello, everyone16:05
M^jseongtae76My apache2 server is not work16:05
M^jseongtae76I moved my DocumentRoot to my other hard disk16:05
M^jseongtae76I think my hard disk's permission is wrong16:06
uvirtbotNew bug: #856530 in nova (main) "nova user should not be in the nogroup group" [Undecided,New] https://launchpad.net/bugs/85653016:06
M^jseongtae76error message is 404 Forbidden16:06
M^jseongtae76Anybody, give some help?16:07
SpamapS[    8.199102] type=1400 audit(1316705930.125:6): apparmor="STATUS" operation="p16:09
SpamapSrofile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=677 com16:09
SpamapSm="apparmor_parser"16:09
SpamapSsmoser: ^^16:09
antares79Haro: it sounds like your RAID controller is not a real hardware RAID controller. Have a look at dmraid.16:10
Davieyadam_g_: So, the block migration requires libvirt config changes, which i believe i have now done.. but still no dice.16:10
smoserSpamapS, what are you saying ?16:10
smftreM^jseongtae76: goodluck, people dont help over here...16:11
SpamapSsmoser: that was just my evidence of network manager.. which surprised me to see.16:12
Haroantares: would dmraid get me a RAID1 config if I only have 2 HDDs? Or would I need another to use as a system drive?16:12
smoserSpamapS, right. i knew that.16:12
smoserbut it seems app armour is wanting to process those, even though those files arent there.16:13
smoseri'm nto sure why that would be16:13
adam_g_Daviey: as of last night, DHCP isn't working on the test setup with one network/nic. id rather we get that figured out before worrying about block migration.16:13
smoseri think its red herring, but i was a fraid that the dhclicne was occuring after cloud-init had stopped16:13
smoserbecause clearly if app armour needed to do something for dhclient, that needs to have happened before it runs.16:13
RoAkSoAxadam_g_: dhcp in orchestra?16:14
SpamapSsmoser: not really, apparmor loaded after an executable just means it won't apply to the running executable16:14
adam_g_RoAkSoAx: no, dhcp in nova16:14
smoserwell, yes, which kind of means its not going to help anything16:15
SpamapSsmoser: sounds like whats really worrying you is that cloud-init terminated and then eth0 was brought up 8 seconds later, right?16:15
antares79Haro: dmraid is sort of like a driver for the kind of RAID controller you have. You setup your RAID using the controller BIOS, and dmraid should recognize and use it.  I never had the need to use it myself, so I can't tell you much about configuring it. Your first step should be to find out if dmraid supports your controller.16:15
smoserin this case, it probably means that dhclient ran un-guarded, and thus was *more* likely to have been able to write to /etc/resolv.conf, but i was thinking that maybe it had some restricted profile, then after processing it would have gotten a morem open one.16:15
RoAkSoAxadam_g_: maybe having orchestra's dhcp is affecting somehitmg?16:16
smoserSpamapS, no.16:17
smoseryou're talking about the 'eth0: no IPv6" message?16:17
adam_gRoAkSoAx: nope. http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/revision/1607 switched some stuff that break our single network setup.16:17
RoAkSoAxadam_g: ahh ok16:17
Haroantares: OK, but can I do a dmraid RAID1 just 2 HDDs? I install Ubuntu on HDD #1. I then set up dmraid, and do what you're suggesting, using both HDDs (I make a partition out of theu nused HDD1 space). I let dmraid do its thing and mirror stuff. What happens if I unplug HDD1? Is HDD2 going to boot Ubuntu and let me access my data?16:18
antares79Haro: have a look at this: https://help.ubuntu.com/community/FakeRaidHowto16:23
lynxmanmorning everyone o/16:25
rbasakShould "virsh list" be able to hang?16:25
antares79good evening, good sir!16:25
antares79rbasak: no it shouldn't. But I've had that happen to me, too. It looked like apparmor's fault, but I'm not sure, after two reboots, the problem solved itself...  can you run virsh by itself?16:28
rbasakantares79: sorry I've just tried a reboot so it's gone. I'll try next time. It seems to keep happening to me.16:28
rbasakactually the reboot didn't work, which seems to be another problem16:29
rbasak"sudo virsh" then "list" hangs on the list.16:29
=== squishy is now known as SquishyNotHere
antares79rbasak: oh, so the virsh shell opens all right? that's a different issue then16:30
rbasakyeah it opens fine16:30
=== SquishyNotHere is now known as squishy
antares79ok. i'd probably check if the sockets libvirt uses look like they should (in /var/run/libvirt). Otherwise I don't have a clue how to debug that one. Maybe check for D state processes or strace virsh16:32
rbasakLooks like it's waiting on a read poll on /var/run/libvirt/libvirt-sock (or a write to fd 6, which I can't find what that is)16:35
antares79ls -l /proc/`pidof libvirtd`/fd/6 should tell you16:36
Davieyadam_g_: Do you want to continue smoking the block migration?16:37
rbasakoh yeah thanks16:37
rbasakit's now working though :-/16:37
rbasakThis is frustrating16:37
antares79yeah, I hate it when stuff works :-)16:38
rbasakI did virsh list instead of sudo virsh list16:38
Davieyadam_g_: Ah!  Doesn't seem to be listening on the tcp port16:38
rbasakit's blocking on a read poll on either 5 or 6. 5 is /var/run/libvirt/libvirt-sock, 6 is a pipe16:38
antares79so it's working when run as root, but not as a regular user?  is the user member of the libvirtd group?16:39
adam_gDaviey: whats not listening? libvirt?16:40
Davieyadam_g: yeah16:40
rbasakno, it's working (gives an empty list) as a user, but hangs as root16:40
DavieyGrr16:41
antares79ok that's weird16:41
rbasakrestarting libvirtd seems to have fixed it16:42
rbasakmaybe some weird interaction with nova16:43
raubvogelopenldap's default (as in created when you install slapd) homedir is created in /etc/passwd as something like /var/lib/ldap, and not as /nonexistent, right?16:43
Davieyadam_g: nah, still failed16:43
=== lullabud is now known as warzauwynn
hrobertscan someone here help me with a CUPS issue on Ubuntu 11.04 (not server), noone in ubuntu or CUPS answers18:13
hrobertsor can you point me to the proper channe18:13
hrobertsl18:13
RoyKhroberts: this is a server channel, so I seriously doubt it.18:14
RoyK#ubuntu or #cups should be the ones18:14
Dice-Man /j #ubuntu ?18:14
RoyKjust remember that people might not know what you're looking for18:14
hrobertsthanks no one there is answering me they just ignore the question18:14
TheEvilPhoenixhroberts:  you need to be highly patient18:14
RoyKbe patient...18:15
TheEvilPhoenix!patience > hroberts18:15
ubottuhroberts, please see my private message18:15
zulso its fixed? :)18:15
KM0201hroberts: i doubt they are ignoring, just likely nobody knows the answer (i'm not that familiar w/ CUPS)18:17
hrobertsthanks18:18
koolhead17diablo is finally out!!18:18
ersihroberts: I'd go and poke CUPS documentation or FAQs18:18
koolhead17RoyK: hey18:18
ersiAlso, asking to ask is not a reciept for answers :P18:18
zuljdstrand: there is an upstream branch to drop socat in favor of netcat fyi18:18
RoyKkoolhead17: ehlo18:19
koolhead17RoyK: wassup?18:20
hrobertsersi: not asking to ask, just typing question over and over18:20
ersiThat's not a reciept for getting an answer either18:20
ersibut you did ask, to ask - here. :P18:20
ersi(I'm not bashing you, just giving you a few friendly hints)18:21
* RoyK just ordered a Packard Bell Liberty Tab priced at NOK 2k18:21
jdstrandzul: excellent! :)18:21
kirklandkim0: jcastro: hey guys, do you know cole?18:29
kirklandkim0: jcastro: he's looking for some PDFs or slides that give a decent overview of Ensemble18:30
jcastrosure18:30
jcastroI can send him the entire stack of a few18:30
kim0kirkland: everything is in that U1 folder18:30
kim0yep18:30
kirklandkim0: is that publicly shareable?18:30
kim0kirkland: jcastro can grant access18:31
kirklandkim0: outside of Canonical?18:31
jcastrowhat's his email, I can send him the main one that's like "the important one to know"18:31
kim0hmm .. it's probably better to be selective18:31
kim0yeah18:31
kirklandjcastro: I'll email you18:31
jcastrorock18:31
GeorgeJHello folks! I'm having some strange isues with a network bridge. I'm trying to setup bridged networking for a KVM guest OS. So far so good, I've created a network bridge(br0) as suggested in most tutorials I've read, set it up, installed the guest os(ubuntu server 11.04, same as the host). The bridge works for a while then stop18:35
GeorgeJI can ping the host from the guest and vice-versa, but no communication with the outside is working untill I do a full reboot of the host. I can find nothing in the syslog18:36
GeorgeJWhat could cause the bridge not to forward packets?18:37
koolhead17GeorgeJ: you mean  to say bridge on one of your interfaces ceases whole system? If my understand is correct18:45
koolhead17*understanding18:46
GeorgeJOnly the communication between the VM and the network stops, the communicatino between the VM and the host still works18:47
DulcinHi, for some reason I am unable to chmod through ftp, with vsftpd. I have set chmod_enable=YES (though docs say default is yes) and uncommented the local_umask=022 line. Not sure what the problem is18:57
Dulcinanyone familiar with this?18:58
Dulcindo i have to add the user to an ftp group or something?18:58
dob_are u using phpmyadmin package or manual install? How do you restrict it to a single vhost?19:13
dob_Just delete phpmyadmin.conf in /etc/apache/conf.d and add it to the vhost.19:14
dob_Will that be replaced after a update of phpmyadmin?19:14
Dulcinme?19:14
dob_Any suggestions?19:15
Dulcinwhats the problem?19:15
dob_Best practice on how to restrict access to my phpmyadmin installed via package or install it manually. Thought using the package, cause of the security updates.19:16
creatorbriQuestion: Can someone assist me in setting up key-only root SSH access to my Ubuntu server, from a Windows app?19:17
creatorbriI'm a little rusty :/19:17
dob_creatorbri: Installed putty agent?19:18
creatorbriah.. well I use Absolute Telnet, but if its easier to work off of putty I can grab it and translate after..19:19
creatorbriI'm assuming the steps will be similar.19:19
TheEvilPhoenixwth are you  doing telnetting into an SSH server >.>19:19
dob_creatorbri: You can not use telnet to ssh19:20
creatorbrilol19:20
creatorbriAbsolute Telnet is just the name of the app, folks. Its a multi-tool of sorts.19:20
creatorbripretty sweet actually, for a one-man-racket commercial app.19:20
creatorbrianyway. Putty!19:21
dob_i have no idea about your special telnet, but you need the putty key agent.19:21
TheEvilPhoenix^19:21
dob_creatorbri: Install the complete suite! Not just the putty client exe.19:22
dob_http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.61-installer.exe19:22
creatorbripageant, check!19:22
creatorbriyep, got it, thanks dob!19:23
dob_ur welcome19:25
creatorbriso now I generate a key using PuttyGen. Then I'm a little hazy on what goes over to the server I'm trying to access, and how to set that up19:27
creatorbriI know, I'm being newbish, keys are just not something i've dealt with in a long long time19:27
SpamapScreatorbri: the public portion needs to be imported into $HOME/.ssh/authorized_keys19:28
SpamapScreatorbri: IIRC, puttygen doesn't save them in openssh format, so you probably need to do something like this19:28
SpamapSssh-keygen -i yourkey.pub >> ~/.ssh/authorized_keys19:29
DulcinHi, for some reason I am unable to chmod through ftp, with vsftpd. I have set chmod_enable=YES (though docs say default is yes), anyone any idea what the problem might be?19:30
SpamapSDulcin: maybe you don't have write perms on the directory?19:30
creatorbriSpamapS: There's a bit of a complication in here -- until I get this setup, I only have direct console access to my server, not SSH access (yet); is there a way to "copy-paste" the key data?19:30
SpamapScreatorbri: cat > yourkey.pub19:31
SpamapScreatorbri: when the content is there, hit <enter> then ctrl-D19:31
creatorbriSpamapS: Are you talking about doing this on the server or client?19:31
SpamapScreatorbri: ctrl-D, btw, is "EOF"19:31
SpamapScreatorbri: do that on the server19:31
uvirtbotNew bug: #856726 in rabbitmq-server (main) "Rabbitmq warns about migration from old release even on new install" [Undecided,New] https://launchpad.net/bugs/85672619:31
SpamapScreatorbri: another cool thing you can do is use ssh-import-id your-launchpad-userid19:32
SpamapScreatorbri: or just put the file somewhere public and wget it. ;)19:32
creatorbriSpamapS: Would you mind elaborating on ssh-import-id?19:33
DulcinSpamapS: Should I change the permissions on the www folder then through ssh?19:33
DulcinSpamapS: even with 777 it still fails19:33
Dulcinall I can see in the logs is that it fails (in /var/log/vsftpd.log)19:35
SpamapScreatorbri: launchpad accounts can have ssh keys associated (for working with branches). You can attach your public key to your launchpad account, and then ssh-import-id will download it from launchpad.. its a very convenient way to have your keys distributed. :)19:36
SpamapSDulcin: can you paste the log somewhere?19:37
DulcinSpamapS: http://paste.ubuntu.com/695268/19:42
SpamapSDulcin: so yuga is allowed to chmod, but jos is not?19:44
Dulcinwell, she's actually the one that mailed me that her chmod was not working, maybe she was able to fix it somehow, but I just looked into it now and I'm not able to19:44
Dulcinshe mentions "One more thing -- when I upload files via ftp, permissions to these files are set the way it's impossible to read them by anyone except the root user, which is inconvenient a bit."19:45
SpamapSDulcin: I would still suspect the underlying dir perms.. but if its 777.. thats confusing. :p19:45
* kirkland ssh-import-id's SpamapS :-)19:46
SpamapSDulcin: honestly.. FTP is a dinosaur, why aren't you guys using SSH?19:46
* SpamapS shreds ~kirkland19:46
DulcinSFTP?19:47
Dulcinwe are using ssh19:47
Dulcinftp just for uploading it, i guess i could move to sftp19:47
SpamapSDulcin: SFTP and/or SCP are far more useful and safe.19:48
SpamapSI seriously wish ftp would die in a fire. :p19:48
Dulcinis vsftpd also a daemon for sftp?19:48
Dulcinlooks like sftp works too, but same problem:19:50
Dulcinset attrs for /var/www/index.html: permission denied19:50
DulcinI'm a sudo user, should i add my user to a specific group or something? or should it work out of the box?19:50
DulcinI checked the vsftpd.conf but it is not very helpful19:50
ikoniaDulcin: what are you actually trying to do ?19:51
Dulcinchmod through ftp/sftp :D19:51
ikoniaDulcin: chmod outside ftp, ftp/sftp is for up/downloading files19:52
Dulcinwhy not use sftp for it as well if the options are there?19:53
PiciChanging file attributes should still work within them though.19:53
creatorbriSpamapS: I just discovered that when you generate a key with PuttyGen, it actually gives you the output "for pasting into OpenSSH authorized_keys file" :)19:53
SpamapScreatorbri: sweet19:53
ikoniathe ftp chmod it very dodgy, especially in a chroot environment19:53
ikoniahence why no-one uses it19:53
Dulcini want to use it :(19:54
ikoniawhy make it hard ?19:54
SpamapSDulcin: that you can't do it with sftp as well further speaks to possible restrictions outside the normal permission bits.19:54
ikoniajust set the file systems permissions correctly, and the user permisions correctly and it should be a smooth and clean process19:54
SpamapSDulcin: sftp is provided by sshd and has nothing to do with vsftpd (Or the FTP protocol at all)19:55
Dulcinah i see19:55
Dulcinif I seem unspeakably plain, I just started setting up a server for the first time last weekend, maybe I'm just too used to what I know best19:56
Dulcini guess i can chmod everything through ssh19:56
bau_hi all, i have a problem with my server: yesterday evening i could access to shared folders via lan using samba, but now I can't see the server but i can ssh and ping it... what's wrong?19:57
ikoniasamba service not running ?20:00
bau_i made sudo service smbd stop and sudo service smbd start20:01
ikoniawhat happens when you try to map a network drive to it (I'm assuming the client is windows)20:01
cloakableDoes it actually start the service?20:01
ikoniaa better question20:01
bau_cloakable, don't know it shows me this message: smbd start/running, process 867620:03
bau_ikonia, can't access from ubuntu client too20:03
ikoniawhat happens when you try to mount the remte share20:03
bau_ikonia, unable to mount location20:06
cloakablebau_: have you run a network scan over the server to see if the port is open?20:06
bau_cloakable, how can i do it?20:07
genii-aroundtypically with nmap20:07
cloakablebau_: sudo apt-get install nmap && nmap <server ip>20:08
bau_here: http://pastebin.com/M3Tpw35M20:09
genii-aroundbau_: nmap is also available for Windows platform if you don't have a second linux box handy20:09
lajjrkim0, are you online??20:10
bau_should i see samba service also?20:12
genii-aroundbau_: 139 and 445 are shown on that scan. Did you run nmap on the server where samba is running, or on an exterior box of the network?20:13
bau_genii-around, lol directly from the server, wait20:13
bau_here, from another linux box: http://pastebin.com/y1jRj7n520:16
bau_any suggestions?20:23
genii-aroundbau_: Apologies on lag, work required me.20:24
bau_ok20:24
genii-aroundbau_: if you run: testparm   on the server, does it say your smb.conf file is good?20:25
bau_genii-around, here: http://pastebin.com/kNueuXFf20:27
uvirtbotNew bug: #851860 in glance (universe) "glance user should not be in the 'nogroup' group" [High,Fix released] https://launchpad.net/bugs/85186020:28
genii-aroundbau_: Looks OK there.20:29
genii-aroundbau_: What is result of: smbclient -L <ip-of-server>20:30
bau_genii-around, from ubuntu clients, when i go to network folder, i need to enter on Windows netowork, is it normal?20:30
genii-aroundbau_: Yes20:31
bau_ok20:31
bau_that command, always from the server?20:31
genii-aroundbau_: No, from a client20:31
genii-around( to see what shares, etc the server is advertising)20:31
bau_ok20:32
bau_genii-around, http://pastebin.com/iPysQrkZ20:33
genii-aroundbau_: OK, also looks good.20:34
genii-aroundbau_: When you go in Windows to Network Neighbourhood or similar, the server is not visible?20:35
bau_windows to Network Neighbourhood ?20:36
genii-aroundbau_: Normally yes. Sometimes you may need to specifically put in the IP of the server there, if it is not announcing itself20:37
bau_you mean ctrl+l on nautilus?20:38
genii-aroundbau_: All the client machines are linux?20:38
bau_no there is also 1 windows at least20:39
genii-aroundbau_: In Nautilus you should be able to put in the URL area something like:  smb://<ip-of-server>/sharename20:39
bau_yeah it works!20:40
genii-aroundbau_: Good. It is probably that the server is not announcing itself20:41
genii-around( eg: make sure it's broadcast IP or netmask is properly set)20:41
bau_genii-around, i don't remember how to do it :/20:44
bau_under /etc/network/interface20:45
bau_i set up static addresses20:46
genii-aroundbau_: Usually in one of two ways. If the server is set to auto-get by dhcp, check the dhcp server and make sure it's settings are correct... also probably to always assign the server same IP by it's MAC. Second way is interfaces file manually.20:46
genii-aroundbau_: Could you pastebin the interfaces file?20:46
bau_sure20:47
bau_http://pastebin.com/e5kPrUvN20:47
genii-aroundbau_: netmask is set, but would not hurt to probably add: broadcast 192.168.0.255      ..also if your router is at 192.168.0.1 you may want line: dns-nameservers 192.168.0.1      (or put in actual nameserver IP here)20:50
bau_genii-around, sorry i'm using 11.10 beta20:52
genii-aroundbau_: No worries, these instructions are pretty much the same across all versions.20:54
bau_so is interfaces ok?20:55
genii-aroundbau_: Did you see my last message about broadcast, and dns-nameservers ?20:58
bau_no...20:58
genii-aroundbau_: netmask is set, but would not hurt to probably add: broadcast 192.168.0.255 ..also if your router is at 192.168.0.1 you may want line: dns-nameservers 192.168.0.1 (or put in actual nameserver IP here)20:58
uvirtbotNew bug: #856789 in mysql-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/85678920:58
bau_ok now i give it a try20:59
bau_after i edit it?20:59
genii-aroundbau_: an: sudo ifconfig eth0 down && sudo ifconfig eth0 up   should make the changes take. Although sometimes it also requires sudo ifdown/ifup eth0  cycle for some reason. Simplest way is of course just to reboot it.21:02
bau_ok i'll reboot21:02
bau_:)21:02
genii-around( I am assuming here eth0 interface but yours may be different)21:02
bau_yeah it should be eth021:03
bau_genii-around, ok now it's working21:04
bau_so it was interface problem?ù21:05
genii-aroundbau_: The server announces to the network on the broadcast IP, so clients do not know it exists if the broadcast is not set or set incorrectly21:06
bau_he goes away too...21:17
Davieysmoser: did you do triage today?21:22
Davieyhallyn: is bug 855411 expected behaviour?21:23
uvirtbotLaunchpad bug 855411 in kvm "kernel BUG at /build/buildd/linux-3.0.0/arch/x86/kvm/../../../virt/kvm/kvm_main.c:2275!" [Undecided,New] https://launchpad.net/bugs/85541121:23
hallynDaviey: uh, kernel BUG is not expected behavior :)21:28
* hallyn look21:28
hallyns21:28
Davieyhallyn: okay, is it a regression? :)21:29
hallynDaviey: i can't reproduce21:29
hallynDaviey: is the hardware b0rked?21:29
hallynoh21:29
hallynheh, just saw the rest.21:29
hallynDaviey: still can't reproduce21:30
jdstrandDaviey: responded to glance mir21:31
jdstrandDaviey: (fyi)21:31
Davieyjdstrand: \o/21:31
hallynDaviey: can *you* reproduce?21:32
Davieyjdstrand: You sir, are my hero21:33
jdstrandDaviey: heh21:33
tarvidsynced and installed an Oneric-server image in test-drive, how do I find it to run it later?22:03
=== kentb is now known as kentb-out
tarvidI have two images I created today - a small one 197120 and a larger one 1650393088, what does the small image do22:07
Davieysmoser: can you reproduce 546572 against nova?22:08
tarvidaqemu insists on a new machine, why can't I get it to import the one made with testdrive?22:09
kirklandwhat's aqemu?22:09
kirklandtarvid: ^22:09
kirklandtarvid: you should be able to use a machine that you installed via testdrive22:09
tarvida gui qemu manager22:10
tarvidyes I should but Launch starts a new install22:10
tarvidthere is no apparent way to start a vm you created before22:11
kirklandokay, sorry;  no idea about aqemu22:12
uvirtbotNew bug: #525684 in clamav (main) "clamscan crashed with SIGSEGV in mpool_free()" [Medium,Incomplete] https://launchpad.net/bugs/52568422:12
uvirtbotNew bug: #856828 in cloud-init (main) "package grub-legacy-ec2 0.6.1-0ubuntu8 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück" [Undecided,New] https://launchpad.net/bugs/85682822:12
tarvidI've posted at launchpad, I may as well post a bug22:13
tarvidlooks like virtualbox-ose will not install an amd64 iso22:23
TheEvilPhoenixtarvid:  you need to be on a 64bit system to use amd64 virtualbox22:26
tarvidI am on a 64 bit system22:27
tarvidmodel name: AMD Athlon(tm) 64 Processor 3200+22:27
tarvidvirtualbox-ose says the CPU it is a QEMU22:33
tarviddoes that mean the ose version is a 32 bit machine?22:33
qman__tarvid, just because you have a 64-bit capable processor doesn't mean you're using a 64-bit operating system, libraries, or software23:20
=== b0nghittr is now known as b0nghitter

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