airtonix | so last week, i was happily using gedit to edit files through ssh to a server. today, i do the same, happily enter ssh://servername in the nautilus address bar, it loads i see files, select one and start editing with gedit... much joy | 02:18 |
---|---|---|
airtonix | except when i go to shift+ctrl search... it tells me ~/.gvfs/servername does not exist | 02:19 |
twb | airtonix: GUIs are off-topic for this channel. Try #ubuntu. | 02:21 |
airtonix | i thought it might be a server related issue | 02:22 |
airtonix | since you know... ssh-server is involved | 02:22 |
airtonix | apparentyl ssh-server is not in any way related | 02:22 |
twb | It sounds like a client-side issue | 02:24 |
ntoombs | I have installed LAMP on my ubuntu server and I cannot connect to it on port 80. I have forwarded port 80 and the port check tool I am using says 80 is closed. I have also forwarded ports 22 and 8080 to ensure that port forwarding is working and it is. I edited the /etc/apache2/ports.conf file to listen to port 8080 as well as port 80. When I ask someone to connect using address:80 they can't see anything. But when I ask so | 02:31 |
ntoombs | generated by my apache2 server. I can connect to everything localy just fine so I know the server itself is working. I have asked my ISP if they block port 80 and they said no. I called my router manufacturer today for 4 long hours to see if they could figure out why port 80 wasn't working and they couldn't solve it. | 02:32 |
ntoombs | So my question would be this... with this information of things I've already tried, how do I get port 80 to work with my LAMP web server? | 02:34 |
twb | ntoombs: pastebin the output of "netstat -nlp" | 02:35 |
ntoombs | http://pastebin.com/ZX2TJFGe | 02:37 |
jmarsden | ntoombs: apache is not listening on port 80 on your server. | 02:38 |
jmarsden | It is listening on port 8080, which probably means you messed with its configuration? | 02:38 |
ntoombs | my /etc/apache2/ports.conf file has it set to listen to port 80 and port 8080 | 02:39 |
jmarsden | Why? Just sudo tasksel install lamp-server # gets you a running apache on port 80. | 02:39 |
ntoombs | because at first port 80 wasn't working so i set it to listen to both ports to make sure apache could actually listen to anything | 02:40 |
jmarsden | How about not trying stuff you don't fully understand, and fixing the real issue instead? :) | 02:40 |
jmarsden | Can you uninstall the lamp setup and start over? | 02:41 |
ntoombs | And i just checked that file and apache2 wasn't listening to port 80 | 02:41 |
ntoombs | jmarsden: that's why i'm here | 02:41 |
ntoombs | but i only come here as a last resort | 02:41 |
ntoombs | i like to figure stuff out on my own. can you respect that? | 02:41 |
jmarsden | OK, so uninstall all the LAMP stuff and then do sudo tasksel install lamp-server | 02:41 |
jmarsden | and nothing else. | 02:41 |
ntoombs | ok | 02:42 |
jmarsden | With a freshly installed, default, unchanged lamp-server installed, you can do wget -q -O - http://localhost to see if it is listening on port 80. | 02:45 |
ntoombs | jmarsden: done and the wget command just outputs the contents of the index.html file | 02:52 |
jmarsden | Right, so it is working. | 02:53 |
jmarsden | So now checj your port 80 forwarding and all will be fine. | 02:53 |
ntoombs | it's not | 02:54 |
ntoombs | the port check tool says port 80 is closed | 02:54 |
jmarsden | I have no idea what a port check tool is. What does sudo netstat -ntlp | grep :80 output now? Should be just one line. | 02:55 |
ntoombs | http://pastebin.com/QtHNcdyq | 02:56 |
jmarsden | OK, cool. | 02:56 |
jmarsden | So, this server is on a local LAN, I take it. Can you browse to it from any other local PC on that LAN and see the index.html contents? | 02:57 |
ntoombs | lan yes wan no | 02:57 |
jmarsden | OK, so then the issue is in the router, not the server. Are you sure the server is forwarding port 80 to the correct local IP? | 02:58 |
ntoombs | yes everything but port 80 forwarded to that address works | 02:58 |
Delerium_ | ISP blocking port 80 ? | 02:58 |
ntoombs | they say no | 02:58 |
ntoombs | but i may call them again to double check | 02:59 |
jmarsden | Then this is no longer a Ubuntu server issue... either the ISP is blocking it and lying about it, or else you made a mistake somewhere in the router config. | 02:59 |
lifeless | serge_: hi | 02:59 |
lifeless | serge_: lxc appears to reset the sudo timeout :) | 02:59 |
lifeless | serge_: I think there is some crossover | 02:59 |
ntoombs | jmarsden: i spent 4 hours today speaking to netgear support and they said the same thing about ubuntu and my isp | 03:00 |
jmarsden | So... sounds like your ISP is lying to you! | 03:00 |
ntoombs | probably | 03:00 |
ntoombs | i'll check | 03:00 |
=== dreaded is now known as fyrfaktry | ||
twb | ntoombs: which ISP? | 03:16 |
ntoombs | windstream | 03:16 |
twb | Dunno them, sorry. | 03:16 |
Delerium_ | ntoombs, You can always try to ask on the DSLReports.com : http://www.dslreports.com/forum/windstream | 03:20 |
ntoombs | ok I'll try that. | 03:20 |
ntoombs | are you sure it's not a problem with ubuntu? | 03:21 |
ntoombs | or more specifically the lamp server | 03:21 |
Delerium_ | No. I'm not. But since port 80 is listening, wget is working (like jmarsden says) ... I don't think it's a Ubuntu issue.. especially if you can see the index.html from you LAN | 03:22 |
ntoombs | windstream insists they are not blocking port 80 | 03:26 |
twb | IMO most likely your appliance router | 03:26 |
ntoombs | what do you mean? | 03:26 |
twb | ntoombs: OK, the thing between the wall and your Ubuntu server | 03:27 |
twb | ntoombs: is it running Ubuntu, or did you buy a tiny solid-state box from Walmart and just plug it in (hence "appliance")? | 03:27 |
ntoombs | it's a netgear n300 dgn2200 modem router combo that costs $100 so it's not a simple appliance | 03:29 |
ntoombs | but i know what you mean | 03:29 |
twb | In technical terms, that is definitely an appliance | 03:29 |
twb | Except possibly if you reflashed it with openwrt or dd-wrt or whatever | 03:29 |
ntoombs | yea technicaly :p | 03:29 |
ntoombs | i'm too much of a noob with routers to know how to do that | 03:30 |
twb | So: I consider that suspect #1, because it'll be running some random crap firmware | 03:30 |
ntoombs | yup | 03:30 |
ntoombs | most default firmware is crap | 03:30 |
ntoombs | twb: are you still there? | 04:26 |
ntoombs | jmarsden: are you still there? | 04:28 |
jmarsden | ntoombs: Yes. | 04:28 |
ntoombs | yay | 04:28 |
ntoombs | ok so i called netgear again | 04:28 |
ntoombs | finally got someone seemingly competent | 04:29 |
serge_ | lifeless: not sure how sudo timeout works. I assume it's something that will be solved when user namespaces are sufficiently completed to be used in lxc. (I think I just hit a new milestone on those at git://kernel.ubuntu.com/serge/userns-2.6, but still quite some time before they're ready) | 04:29 |
=== serge_ is now known as serge_afk | ||
ntoombs | he still couldn't figure out why port 80 won't work | 04:30 |
twb | ntoombs: hmm? | 04:30 |
ntoombs | every port i open for the server (22 and 8080) works but port 80 doesn't | 04:31 |
twb | ntoombs: you are nmapping from somewhere outside your network? | 04:31 |
ntoombs | no | 04:31 |
twb | Do so | 04:31 |
ntoombs | but i am checking open ports outside my network | 04:31 |
ntoombs | http://www.isup.me/ with my ip address | 04:32 |
ntoombs | and http://www.yougetsignal.com/tools/open-ports/ for open ports | 04:32 |
twb | Well, I don't trust some website's say-so | 04:33 |
twb | I know nmap works | 04:33 |
ntoombs | i've had multiple friends try to connect too | 04:33 |
jmarsden | ntoombs: So... it sounds like nothing has changed, your ISP is still possibly lying to you, or your router is misconfigured. | 04:34 |
ntoombs | jmarsden: it still remains that lamp is the most complicated piece of the puzzle. I've checked with my isp multiple times to make sure port 80 is open and looked on the internet to double check. I've had multiple hour long conversaitons with my router manufacturer to ensure i have configured the router correctly. | 04:35 |
jmarsden | ntoombs: lamp is very well tested. sudo tasksel install lamp-server works. | 04:36 |
ChmEarl | ntoombs, give me your IP so I can test | 04:36 |
jmarsden | If you suspect the router, replace it or bypass it. If you suspect your ISP is lying, get a different ISP. | 04:36 |
ntoombs | ChmEarl: doesn't sound like a very smart thing to do tbh | 04:37 |
jmarsden | ntoombs: If you really think ssh is so much simpler and less buggy than apache, run your openssh server on port 80 and see if you can ssh to it... | 04:37 |
ntoombs | but ssh doesn't use port 80 | 04:38 |
ntoombs | and i never said apache was buggy or unsimple | 04:38 |
jmarsden | Huh? It does it you tell it to! | 04:38 |
twb | ssh uses whatever port you tell it to | 04:38 |
ntoombs | oh my misake sorry | 04:38 |
jmarsden | ntoombs: That's like saying "apache doesn't use port 8080"... well, it doesn't do so by default... | 04:38 |
ChmEarl | ntoombs, you are open on 8080 | 04:39 |
ntoombs | i've tried changing apache to port 8080 and it gives me a 404 error | 04:39 |
ChmEarl | ntoombs, http://paste.ubuntu.com/641653/ | 04:39 |
ChmEarl | is that you? | 04:40 |
ntoombs | yes | 04:40 |
ntoombs | is port 80 open? | 04:40 |
ChmEarl | no | 04:41 |
ChmEarl | I tried it | 04:41 |
ntoombs | do you know why it might not be open? | 04:41 |
ChmEarl | ntoombs, grep -ir 8080 /etc/apache2/* | 04:41 |
ChmEarl | whereever you see 8080, change it to 80 | 04:42 |
ntoombs | http://paste.ubuntu.com/641657/ | 04:42 |
ChmEarl | ntoombs, maybe not... nm | 04:43 |
ChmEarl | ntoombs, those are not apache configs | 04:43 |
jmarsden | ChmEarl: That sort of advice is really dangerous... | 04:43 |
* ChmEarl feels the reins pulling on my neck | 04:44 | |
ChmEarl | ntoombs, iptables -L -v -t nat <-- check for a redirect | 04:46 |
ntoombs | http://paste.ubuntu.com/641658/ | 04:46 |
jmarsden | ChmEarl: On a freshly installed Ubuntu server... how would that have got there?! | 04:47 |
jmarsden | I'll leave you do it... | 04:47 |
jmarsden | s/do/to/ | 04:47 |
ntoombs | lol jmarsden | 04:48 |
ChmEarl | ntoombs, who setup the router? there is a forward/redirect there | 04:48 |
ntoombs | do you have better advice besides get a better isp or router? | 04:48 |
ntoombs | the router changes the ip address to a static local ip based off the mac address | 04:48 |
jmarsden | ntoombs: well, if you knew enough you could hook the server to the public IP, and use *it* as a router to the rest of your LAN... but I'm not walking you through doing that :) | 04:49 |
ntoombs | i couldn't get my server to statically assign a static ip so i had my router do it | 04:49 |
ChmEarl | ntoombs, 100% sure.. your router is open on 8080 and redirects it to a private IP:80 | 04:50 |
ntoombs | so how do i fix that? | 04:50 |
jmarsden | ntoombs: You did remove the 8080 forwarding before you added a straight port 80 forwarding rule in the router, right? | 04:51 |
ntoombs | does it matter in which order i forward ports? | 04:51 |
ntoombs | jmarsden: i think i may be missunderstanding what you're asking | 04:53 |
jmarsden | (a) Why are you still doing things with port 8080, when you actually want port 80; (b) did you clear out all your port forwarding stuff in the router, and then add *only* port 80 forwarding, in all those hours with netgear support? | 04:54 |
ntoombs | no because I didn't know it mattered if other ports were open | 04:55 |
jmarsden | Try it. You have little to lose. | 04:55 |
ntoombs | ok | 04:56 |
ntoombs | should i power cycle afterwords or is that unnessecary? | 04:56 |
jmarsden | It all depends on the router. power cycle it if you want. | 04:59 |
ntoombs_ | jmarsden: port 80 is still closed | 05:04 |
ntoombs_ | port 22 is still open | 05:04 |
jmarsden | Then you left a port 22 forward in the router... I thought you were going to " clear out all your port forwarding stuff in the router, and then add *only* port 80 forwarding" ?? | 05:05 |
ntoombs_ | it shouldn't matter | 05:05 |
jmarsden | No, but it suggests you are bad at following directions. Port 80 forwarding "should" just work, too. | 05:06 |
ntoombs_ | yea it should work but to me it's silly to think the reason could be because it's not the only port forwarded on my router | 05:07 |
ntoombs_ | i got rid of ever open port on my router except for the ones i need open | 05:07 |
ntoombs_ | the fact that both are forwared the same way and only port 80 is closed could mean two things | 05:08 |
ntoombs_ | my isp is blocking port 80 which i've alredy confirmed to be false or something is wrong in the configuration of my ubnutu server | 05:08 |
ntoombs_ | or more specifically lamp | 05:09 |
ntoombs_ | and yes i know lamp should work right out of the box | 05:09 |
ntoombs_ | chmearl: what whas this you were 100% sure about earlier? | 05:09 |
jmarsden | OK, you can go on blaming LAMP as long as you like... it won't help. | 05:10 |
twb | jmarsden: just plonk him, you're not going to get anywhere :-/ | 05:10 |
ChmEarl | ntoombs_, http://localhost:80 should work as is | 05:10 |
ntoombs_ | jmarsden: i'm not trying to blame anything. I just don't see where the problem is | 05:11 |
ChmEarl | telnet localhost 80 | 05:11 |
uvirtbot | New bug: #808611 in samba (main) "package samba-common-bin 2:3.4.7~dfsg-1ubuntu3.3 failed to install/upgrade: failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/bin/net.samba3'" [Undecided,New] https://launchpad.net/bugs/808611 | 05:12 |
* jmarsden gives up and goes to bed... | 05:12 | |
ntoombs_ | ChmEarl: Connection closed by foreign host. | 05:13 |
ntoombs_ | twb: what do you suggest I try? because i am seriously out of ideas | 05:15 |
twb | ntoombs_: sorry, you've already taken up too much of my/our time. | 05:17 |
ntoombs_ | twb: have i annoyed you somehow? | 05:17 |
ChmEarl | ntoombs_, grep 80 /etc/apache2/ports.conf <--- thats what controls listening port | 05:19 |
ntoombs_ | chmearl: it's set to listen to port 80 | 05:19 |
ChmEarl | ntoombs_, tail /var/log/apache2/access.log <--- see my IP hit your server | 05:22 |
ntoombs_ | yea i see it | 05:23 |
ntoombs_ | well i think i see it | 05:24 |
ntoombs_ | i'm not really sure what i'm supposed to look for | 05:24 |
ChmEarl | ntoombs_, normally port 8080 on a router is used for outside config... not as a passthrough to the LAN | 05:25 |
ntoombs_ | http://paste.ubuntu.com/641665/ | 05:25 |
ChmEarl | ntoombs_, for someone to hit your router on 8080 means they want to config the router from internet | 05:25 |
ntoombs_ | i don't have anything going to port 8080 on my router anymore. | 05:26 |
ntoombs_ | but port 80 is still closed | 05:26 |
ntoombs_ | am i understanding correctly? | 05:26 |
u1035 | hi | 05:42 |
u1035 | how to check security of ubuntu server | 05:42 |
u1035 | is there any tool or script available | 05:43 |
carldoncarl | getting a fd0 read error v.v | 05:51 |
carldoncarl | memtest solve that up? | 05:54 |
jmarsden | u1035: Many. tiger, openvas, auditd, lynis, and several more. | 05:55 |
twb | #ubuntu-hardened also | 05:59 |
twb | jmarsden: debsums | 06:00 |
twb | Also logcheck, and making sure you actually, you know, receive and READ mail from the system. | 06:00 |
=== gpc is now known as IdleOne | ||
uvirtbot | New bug: #808631 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess new post-removal script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/808631 | 06:47 |
=== smb` is now known as smb | ||
airtonix | is it common that ssh-agent won't start on ubuntu server? | 07:31 |
airtonix | trying to add my ssh keys with ssh-add so it tells me 'Could not open a connection to your authentication agent.', so i try to start ssh-agent, which just spews out some stuff that looks like it should be in a .sh file | 07:33 |
joschi | airtonix: yep, that's actually what the output of `ssh-agent` is supposed to be ;) | 07:33 |
airtonix | ok, so it is normal that ssh-add still says 'Could not open a connection to your authentication agent.' | 07:34 |
joschi | just run `ssh-agent` or $(ssh-agent) | 07:34 |
airtonix | bash: SSH_AUTH_SOCK=/tmp/ssh-RwCCmL5827/agent.5827;: No such file or directory | 07:35 |
joschi | airtonix: yes, because you probably didn't set SSH_AGENT_SOCK | 07:35 |
joschi | airtonix: ehm, s/AGENT/AUTH/ | 07:35 |
airtonix | well | 07:35 |
* airtonix rages | 07:35 | |
airtonix | anything else i need to know ? | 07:36 |
airtonix | because on desktop, i just run ssh-agent and it works. | 07:36 |
joschi | nope, should work out of the box | 07:36 |
airtonix | bah this is broken | 07:39 |
airtonix | i can't set that variable because it keeps changing | 07:39 |
airtonix | ok so you have to | 07:41 |
airtonix | ssh-agent $SHELL | 07:42 |
=== slug is now known as Guest22420 | ||
soren | airtonix: That's the way ssh-agent always worked. | 07:49 |
airtonix | i've never had to do that before | 07:49 |
airtonix | on desktop just had to run ssh-agent in startup applications | 07:50 |
soren | Then someone has done it for you. | 07:50 |
airtonix | yeah well maybe the gnome desktop is just that awesome | 07:50 |
soren | It's not GNOME. it's in the packaging. | 07:50 |
soren | of ssh-agent. | 07:50 |
airtonix | you would ruin my fantasy? | 07:50 |
soren | EVery day. | 07:50 |
airtonix | :< | 07:50 |
airtonix | ok so with that out the way, i need to figure out how to make fabric use my ssh keys | 07:51 |
uvirtbot | New bug: #808653 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/808653 | 08:06 |
twb | By default Xsession.d will start an ssh-agent on graphical login | 08:24 |
twb | This is not the case for text logins, but you can ask for it in your .profile or similar. | 08:24 |
twb | Filme at 11 | 08:24 |
=== Kiall_ is now known as Kiall | ||
=== rump_ is now known as rump | ||
tyreza | hello i can't boot my pc this is what i got as error : | 09:50 |
tyreza | http://img593.imageshack.us/img593/8436/lllq.png | 09:52 |
tyreza | what need to do ? | 09:52 |
=== klaas- is now known as klaas | ||
jMCg | :-/ | 10:21 |
soren | zul: You owe Launchpad a couple of bzr revisions (swift 1.4.2~blahblah-ubuntu3 is in the archive, but bzr only has up to -ubuntu2). plz to fix. kthxbai | 10:29 |
smoser | RoAkSoAx, awake? | 11:01 |
=== Ursinha-afk is now known as Ursinha | ||
Ursinha | bom dia coleguinhas | 12:49 |
acidflash | hello everyone | 12:57 |
acidflash | i have a LVM which should be full to the max, | 12:57 |
RoAkSoAx | smoser: I'm here | 12:57 |
acidflash | i have moved from one computer to another | 12:57 |
acidflash | when i do pvscan, it says the drives are empty, but im sure they are full | 12:57 |
acidflash | is there anyway to create a symlink and mount the lvm ? | 12:58 |
uvirtbot | New bug: #808769 in lm-sensors (universe) "Please sync lm-sesnsors from Debian Unstable." [Undecided,New] https://launchpad.net/bugs/808769 | 13:01 |
smb | acidflash, Not sure what you mean with symlink. But what exactly does pvscan say? And what release are we talking about? | 13:06 |
acidflash | ubuntu 10.04 pvscan output >> pvscan | 13:07 |
acidflash | PV /dev/sdb1 VG Videos lvm2 [931.51 GiB / 931.51 GiB free] | 13:07 |
acidflash | PV /dev/sdc1 VG Videos lvm2 [931.51 GiB / 931.51 GiB free] | 13:07 |
acidflash | PV /dev/sdd1 VG Videos lvm2 [931.51 GiB / 931.51 GiB free] | 13:07 |
acidflash | PV /dev/sdf1 VG Videos lvm2 [931.51 GiB / 931.51 GiB free] | 13:07 |
acidflash | PV /dev/sde1 VG Videos lvm2 [1.36 TiB / 1.36 TiB free] | 13:07 |
acidflash | Total: 5 [5.00 TiB] / in use: 5 [5.00 TiB] / in no VG: 0 [0 ] | 13:07 |
acidflash | this lvm was full, now its showing up as empty... i mean when i want to mount the vg, shouldnt there be a place where its refered to? ie: /dev/Videos/Videos | 13:08 |
acidflash | or whatever ?? | 13:08 |
smb | If the meta-data was read correctly and all, yes. The vg needs to be activated (though that should be done automatically) | 13:09 |
acidflash | how do i activate it? | 13:10 |
smb | So, vgdisplay would also tell you its empty? | 13:10 |
acidflash | 1 min | 13:10 |
smb | sudo vgchange -ay Videos | 13:10 |
acidflash | outside of the lvm ? | 13:10 |
acidflash | 0 logical volume(s) in volume group "Videos" now active | 13:11 |
acidflash | thats what hte result is | 13:11 |
acidflash | i must re-create the lv you think? | 13:11 |
smb | You should not need to | 13:11 |
smb | And it would likely destroy the contents (which you probably do not want either) | 13:12 |
acidflash | no i dont want to do that | 13:12 |
smb | So when you moved the disks. Was that from another computer running 10.04 to this one running 10.04? | 13:12 |
acidflash | its the exact same computer | 13:12 |
acidflash | i just moved it from one case to another (diff motherboard) | 13:13 |
smb | Ah ok | 13:13 |
smb | Could you pastebin the output of "sudo pvscan -vvv" for me? | 13:14 |
=== med_out is now known as medberry | ||
acidflash | yes sure | 13:17 |
zul | smoser: damn it | 13:17 |
acidflash | its not fitting in buffer | 13:19 |
acidflash | and >> is only giving me last bit | 13:19 |
smb | Have you tried pastebinit (probably needs install): pvscan -vvv 2>&1|pastebinit | 13:22 |
acidflash | grabbing it | 13:22 |
acidflash | http://pastebin.com/bFkJNSWJ | 13:24 |
smb | acidflash, Hm the only small thing I see is that for the partitions it changes to read with 1K blocksize. But I cannot say whether that is really an error. Just seems different to what I see on my own installation. | 13:35 |
acidflash | aha | 13:35 |
acidflash | i dont think it should effect it though, | 13:35 |
acidflash | ill show you how it was mounted before from fstab, 1 min | 13:36 |
acidflash | #/dev/Videos/Videos /videos ext4 defaults,barrier=0,data=writeback 0 3 | 13:36 |
acidflash | of course without hash | 13:36 |
acidflash | there was a symlink to the lv -> /dev/Videos/Videos | 13:36 |
smb | Apart from that it really thinks there are no LVs defined... | 13:37 |
acidflash | :( | 13:37 |
acidflash | is there any way to teach it of the lv ? | 13:37 |
smb | Did you do any reinstallation or just replace the board and reboot? Just to get my mental image... | 13:37 |
acidflash | no i replaced the board, booted, was having problems with a pci->sata converter that had 2 hdd's on it | 13:38 |
acidflash | so i took it out | 13:38 |
acidflash | then it was saying it couldnt mount the lv | 13:38 |
acidflash | so i just skipped | 13:38 |
acidflash | went into lvm | 13:38 |
acidflash | did a pvremove --removemissing -force to remove the unknown pv's | 13:39 |
acidflash | sorry vgreduce | 13:39 |
acidflash | not pvremove | 13:39 |
acidflash | vgreduce --removemissing -force | 13:39 |
smb | Hm... When I read the description of --removemissing and -force together I wonder whether this might have been the bad thing... | 13:41 |
acidflash | it wouldnt remove the the unknown pv's otherwise | 13:42 |
acidflash | iirc though, even before that it said that the drives were empty | 13:42 |
acidflash | ouch | 13:43 |
acidflash | and you cannot or do not want to remove them manually, | 13:43 |
acidflash | you can run this option with --force to have vgreduce remove any partial LVs. | 13:43 |
acidflash | the lv is gone | 13:43 |
acidflash | but the data is still there i think | 13:43 |
=== mrmist is now known as mr_mist | ||
smb | It should be. What I am wondering is why it did complain about missing/wrong pvs. Those should get identified by the scan and metadata on them and not by any physical location | 13:44 |
=== mr_mist is now known as mrmist | ||
smb | There may (but treat it carefully) be a backup of the configuration in /etc/lvm/backup | 13:46 |
acidflash | yeah you'd think so, but pvname was unknown | 13:46 |
acidflash | aha! | 13:46 |
acidflash | let me check | 13:46 |
acidflash | ok there is.. | 13:47 |
acidflash | description = "Created *after* executing 'vgreduce --removemissing --force Videos'" <-- no good i think | 13:47 |
smb | No :/ Does not sound too good... before would be better... | 13:48 |
acidflash | hehe yeah | 13:48 |
acidflash | 5 Tb's of videos :( | 13:49 |
acidflash | there must be a way to manually recreate the lv, because the data is still there without doubt | 13:49 |
acidflash | even if the lv says otherwise | 13:49 |
smb | You may try to re-create the lv. The problem is that you would need to get the order of used PVs right. Nothing that feels like one wants to do it without have the current status of everything backed up before... | 13:51 |
ppetraki | smb, acidflash, LVM keeps backup copies of the metadata in /etc after every operation. /etc/lvm/backup | 13:52 |
ppetraki | smb, acidflash, if you find a decent one, pre vgreduce, you can do a "restore" with it, and get your LVs back | 13:53 |
acidflash | ppetraki: we saw the meta data after the command was executed, im not sure its too beneficial | 13:53 |
smb | ppetraki, There seems only to be one and that was done *after* the operation... | 13:53 |
=== oubiwann` is now known as oubiwann | ||
smb | acidflash, has that backup sections in it describing lv's (maybe it has even when saying it did it after the command) | 13:54 |
ppetraki | acidflash, smb, normally if makes a copy after each volatile lv operation, like lvcreate... | 13:54 |
acidflash | http://pastebin.com/exD9QWmv | 13:55 |
acidflash | thats the backup, you will be better judges if it helps or not | 13:55 |
smb | Yeah, think it did what it was saying. There is only pv information in there | 13:56 |
ppetraki | acidflash, :( | 13:56 |
acidflash | i came across a blog, but im not quite understand what the guy did.. | 13:56 |
acidflash | http://blog.adamsbros.org/2009/05/30/recover-lvm-volume-groups-and-logical-volumes-without-backups/ | 13:56 |
smb | acidflash, wait | 13:57 |
acidflash | ok | 13:57 |
smb | Maybe there is hope | 13:57 |
smb | There could be /etc/lvm/archive | 13:57 |
smb | with backups | 13:57 |
acidflash | there is stuff in here | 13:59 |
acidflash | FOUND ONE | 13:59 |
ppetraki | I was wondering if it kept multiple superblocks | 13:59 |
acidflash | !!! | 13:59 |
acidflash | before the extend tooo | 13:59 |
smb | acidflash, So what you want is the file with the highest index number that still has logical volumes int there | 13:59 |
acidflash | http://pastebin.com/xQmP8m75 | 13:59 |
acidflash | that one was after adding the 2 pv's but before the extend | 14:00 |
acidflash | should i go one before? | 14:00 |
acidflash | ok now how do i use those backups, i found one before i extended the vg | 14:01 |
acidflash | thank god for auto-backups :D | 14:02 |
smb | Hm, probably you want the one that had the same (number) of PVs in it which are now present... But then you say you added two volumes and then extended the vg. Also extended the lv to be bigger? | 14:02 |
acidflash | smb: I found a backup before the extending | 14:02 |
acidflash | smb: the same hdd's are present now that were present before the extended but after the pvcreating | 14:02 |
ppetraki | acidflash, smb, do we know for sure that the extend succeeded? | 14:02 |
acidflash | ppetraki: yes it had worked, this was 3-4 days ago, before the board fried and the move today | 14:03 |
acidflash | ppetraki: i had added 3.4 Tb of data to the LVM with the extend (2 x 2TB Hdd's) | 14:03 |
acidflash | it worked alright | 14:03 |
smb | acidflash, Hm, but that was then using the same LV right? | 14:03 |
ppetraki | acidflash, so at this point, you can't make it much worse, get copies of all the sequences off that machine, and then you can start experiementing with restoring the boundaries | 14:04 |
acidflash | smb: yes it was using the same LV | 14:04 |
acidflash | ppetraki: its the same machine, just diff board, even same hdd sequence as before.. put them in same sata ports (numbering wise) | 14:05 |
smb | So the filesystem was extended as well and using the two drives... | 14:05 |
acidflash | Smb: yes I extended the filesystem after the vgextend | 14:05 |
ppetraki | smb, that's how he'll know if he got the boundaries right, fsck won't explode due to missing inodes :) | 14:06 |
smb | ppetraki, Well I think to get it recovered there need to be all the drives present. Because all of them were part of the fs | 14:07 |
ppetraki | smb, yes | 14:07 |
serge_afk | fwiw, my net link is horribly unreliable right now (after some storms went through) | 14:07 |
acidflash | smb: all the hdd's that were on the fs or all of them that were on the lv ? because if only the ones that were on the lv, they are all present | 14:08 |
smb | acidflash, So you need to get into a state where you have all 7 drives accessible, then you should restore the backup before the removal | 14:08 |
acidflash | smb: couldnt i do a restore before the addition of the pv's to the vg? | 14:08 |
acidflash | i have a back up of that state | 14:08 |
ppetraki | acidflash, your filesystem would be upset with you, since you've already extended it | 14:09 |
acidflash | ppetraki: I could probably reduce it i think?? | 14:09 |
ppetraki | acidflash, what's your goal here? you've got everything you need to put things back as they were. You were the victim of an LVM bug, not an FS bug | 14:10 |
acidflash | ppetraki: i am unable to get the otehr 2 hdds to function properly because they were installed with a pci->sata converter that is buggy, its causing problems and not working half of the time | 14:10 |
smb | acidflash, only if you have the LV ok and only if the data on it could fit into the remaining drivers. But since you extended the LV and with it the fs, all the files are spread over all PVs and you want to get back to that state | 14:11 |
smb | acidflash, You may use any connection method you can (like external usb connections | 14:11 |
acidflash | i think ill try that, | 14:11 |
ppetraki | acidflash, there you go | 14:12 |
acidflash | ok so is there an article or guide i can follow to do the recovery process? | 14:12 |
ppetraki | acidflash, it's just vgrestore and a solid understand of the LVM components | 14:13 |
smb | ... and a lot of sweat... | 14:13 |
ppetraki | yeah | 14:13 |
acidflash | hehehe | 14:13 |
acidflash | ok let me grab some usb to sata converters and give this a try | 14:14 |
ppetraki | maybe next time you'll consider backing your LVM with a fault tolerant volume, like a RAID 5/6 MD | 14:14 |
* acidflash crosses fingers | 14:14 | |
acidflash | thanks for all the help guys, you were extremely helpful | 14:14 |
Umren | , | 14:35 |
=== cerber0s is now known as cerberos | ||
=== viezerd- is now known as viezerd | ||
soren | zul: Did you see my comment earlier today? | 15:18 |
zul | soren: yeah i thought it was smoser who said it | 15:19 |
zul | soren: ill fix it up | 15:19 |
soren | Cool, ta. | 15:19 |
soren | zul: Like now? | 15:27 |
zul | soren: yes lemme finish what im working on | 15:27 |
soren | Cool. | 15:27 |
soren | Let me know if it's going to be more than 20 minutes. | 15:27 |
* soren is on a tight schedule today. | 15:28 | |
zul | soren: wait fix it in the bzr branch or in the archive? | 15:29 |
Daviey | soren: Are you in London on Wed? | 15:30 |
soren | zul: It's in the archive! | 15:32 |
soren | Daviey: I'm not, no. | 15:32 |
soren | zul: As per my comment earlier: "(swift 1.4.2~blahblah-ubuntu3 is in the archive, but bzr only has up to -ubuntu2)" | 15:32 |
=== blkperl_ is now known as blkperl | ||
jamespage | does anyone know if squid 2.7 had IPv6 support? | 15:35 |
jamespage | /had/has/ :-) | 15:35 |
Daviey | jamespage: let me google that for you :) | 15:37 |
Daviey | jamespage: you need 3.1 or later. | 15:38 |
jamespage | I don't think it has - just want to make sure I'm not missing something obvious | 15:38 |
jamespage | yeah - thats what I thought | 15:38 |
Daviey | http://wiki.squid-cache.org/Features/IPv6 | 15:38 |
jamespage | hmm - so does that make our choice and squid-deb-proxy (which uses squid not squid3) in orchestra good? | 15:39 |
soren | zul: ?!? | 15:40 |
soren | zul: Er... that's not what I meant at all. | 15:41 |
zul | soren: take it...im really busy here as well | 15:41 |
soren | zul: Ok, I'll take it from here. Don' touch anything :) | 15:41 |
Daviey | jamespage: perhaps not.. we should get lifeless's PoV on this. | 15:43 |
=== jimbaker` is now known as jimbaker | ||
jamespage | Daviey: I kinda assumed it did but just found out otherwise... | 15:47 |
hggdh | smoser: got a question on a ec2 image update for Lucid -- available? | 15:48 |
smoser | sure | 15:50 |
smoser | hggdh, | 15:50 |
hggdh | smoser: http://pastebin.ubuntu.com/641989/ mostly between lines 143 and 212 | 15:51 |
smoser | hggdh, ignore | 15:51 |
smoser | ie, ignore "/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map." | 15:52 |
hggdh | smoser: I am deeply in debt, etc, etc :-) Thank you | 15:52 |
smoser | its there because grub2 doesn't really like xen/ec2 | 15:53 |
smoser | but we have grub2 installed in the images a.) i think because it gets pulled in by ubuntu-server seed, and b.) because it is used in UEC boot | 15:54 |
soren | Daviey: Have you guys started an agenda wiki page for the sprint? | 15:54 |
Daviey | soren: not yet.. | 15:55 |
soren | Daviey: Ok. | 15:55 |
=== zz_ng_ is now known as ng_ | ||
hggdh | smoser: perfect -- I thought we were cool, but I wanted to be sure | 15:55 |
smoser | soren, etherpad, please. | 15:56 |
smoser | othe rthan i dont know how much backup we have on that, i prefer it to wiki | 15:56 |
soren | smoser: You youngsters and your newfangled tools. | 15:56 |
smoser | soren, i'd be just as happy if you started a text doc, and bzr pushed it | 15:57 |
soren | Etherpad is fine. | 15:58 |
soren | http://etherpad.ubuntu.com/OpenstackUbuntuSprint | 15:58 |
soren | ttx, mtaylor: ^ btw | 16:14 |
ttx | soren: on it | 16:17 |
soren | ttx: Ta. | 16:19 |
=== unreal_ is now known as unreal | ||
=== koolhead11 is now known as koolhead11|afk | ||
amero | what is the timer frequency of stock kernel in ubuntu server? can anyone that find that out for me? i dont have access to ubuntu server right now | 17:25 |
amero | $ cat /boot/config-`uname -r` | grep HZ | 17:25 |
hggdh | zul, adam_g: can I use two machines from the UEC test rig? | 17:44 |
adam_g | hggdh: go for it | 17:44 |
hggdh | adam_g: thank you. I am taking (for the day) sapodilla and soncoya | 17:45 |
adam_g | k | 17:46 |
roasted_ | anybody here use likewise open by chance? | 18:07 |
=== Ursinha is now known as Ursinha-lunch | ||
uvirtbot | New bug: #808939 in autofs5 (main) "autofs has undocumented dependency on smbfs" [Undecided,New] https://launchpad.net/bugs/808939 | 18:31 |
syadnom2 | [{disclaimer, also posted in #ubuntu-cloud }] hi all. anyone able to chat with me about the differences between the ubuntu cloud an something like vmware or xenserver? | 18:35 |
b0nghitter | i hope someday ubuntu can work with adobe so that flash media server is supported on ubuntu server. | 18:37 |
b0nghitter | it installs fine, just needs some tweaking in the init scripts | 18:37 |
=== txwikinger2 is now known as txwikinger | ||
b0nghitter | currently they only oficially support centos and rhel :[ | 18:40 |
=== ng_ is now known as zz_ng_ | ||
RoAkSoAx | SpamapS: ping | 19:09 |
aljosa | anybody knows why in 11.04 when i enter $PWD<tab> i get \$PWD in bash? how can i make it expand $PWD normally? | 19:41 |
zul | back later | 19:44 |
mintacious21 | can someone tell me how to free up space on usb drive | 19:49 |
mintacious21 | for to be able to use 4.1 GB or more for installing iso | 19:49 |
patdk-lap | delete files, empty trash | 19:49 |
mintacious21 | i did | 19:50 |
patdk-lap | then what is the issue? | 19:50 |
mintacious21 | my usb information says thatthere is only 3.75 GB free and there is nothing onit! | 19:50 |
patdk-lap | yep | 19:51 |
mintacious21 | do i compress iso or something/ | 19:51 |
patdk-lap | normally you can only access 90% of rated capacity | 19:51 |
patdk-lap | doubt anything is going read a compressed iso | 19:51 |
patdk-lap | if you have to fit a 4.1gig iso, you need a 8gig usb stick | 19:51 |
mintacious21 | darn is there any way i can get a copy protected iso from a linux company that will be able to copy it to usb | 19:53 |
mintacious21 | or something | 19:53 |
patdk-lap | what exactly is a linux company? | 19:53 |
patdk-lap | and I didn't know open source made copy protected iso's | 19:54 |
mintacious21 | linux distribution i meant | 19:54 |
mintacious21 | yeah you can buy them from their website | 19:54 |
patdk-lap | heh? | 19:55 |
patdk-lap | rhel, centos, ubuntu, debian, freebsd, none of them come with copy protection | 19:55 |
Harzilein | hi | 19:55 |
mintacious21 | they are put on a disc but i want to figure out how to be aqble to copy linux based iso to usb | 19:55 |
Harzilein | looks like the people who maintain our production server only _upgraded_ (w/o dist-upgrade) from hardy to lucid. i can't really change that right now, but i need to install an upstart 0.3 config for cron. as upstart 0.3 would not be able to determine the pid of forked/daemonized jobs i'm considering running cron -f. do you think this should work? (http://paste.debian.net/122594/) (without making upstart block or something, i fear i need to read th | 19:56 |
mintacious21 | it doesnt even show up as a file in unetbootin | 19:56 |
mintacious21 | or anything | 19:56 |
patdk-lap | harzilein, upgrade/dist-upgrade won't upgrade form hardy to lucid at all | 19:57 |
oCean | mintacious21: show us | 19:57 |
mintacious21 | how? | 19:58 |
oCean | show us what you are talking about | 19:58 |
mintacious21 | i downloaded the iso from linuxmint .com and it wont even show up in unetbootin | 19:59 |
* Pici wonders what this has to do with Ubuntu Server | 19:59 | |
mintacious21 | do i have to extr4act it first? | 19:59 |
ppetraki | Pici, nothing at all | 19:59 |
mintacious21 | just help me okay ubuntu is a type of linux so it wont hurt you guys | 20:00 |
mintacious21 | i dont have debian | 20:00 |
mintacious21 | ihave linux ubuntu | 20:00 |
mintacious21 | and plus nobody is on #linuxmint | 20:02 |
=== Ursinha-lunch is now known as Ursinha | ||
mintacious21 | they never are | 20:02 |
mintacious21 | they dont seem to listen like you guys do | 20:03 |
Pici | mintacious21: This channel is for support for the server release of Ubuntu. If anything, #ubuntu would be the place to ask about running unetbootin. Just because you are banned from there doesn't mean that you can ask off-topic questions in our other channels. | 20:04 |
mintacious21 | what are you talking about? | 20:05 |
mintacious21 | im trying to get help | 20:05 |
Pici | Are you running Ubuntu Server? | 20:05 |
mintacious21 | yes | 20:05 |
mintacious21 | i have ubuntu right now | 20:05 |
mintacious21 | it is my default se3rver | 20:07 |
Pici | mintacious21: Sorry, then. | 20:08 |
Pici | mintacious21: How big is your usb drive? | 20:08 |
mintacious21 | 4.GB | 20:08 |
nealmcb_ | Any AppArmor gurus here? There is an interesting question at the IT Security StackExchange site about MAC. I tried to provide some Ubuntu AppArmor input, but would love your insights. http://security.stackexchange.com/questions/5134/453 | 20:09 |
nealmcb_ | "What is preventing the widespread common use of MAC-type systems?" | 20:09 |
mintacious21 | 4.0 GB | 20:10 |
Pici | mintacious21: Well if it claims it needs 4.1G, I don't think you can fit that on a 4.0G drive. | 20:10 |
mintacious21 | no it says i only have 3.75 | 20:11 |
mintacious21 | GB | 20:11 |
mintacious21 | and the iso is 3.8 GB | 20:11 |
ppetraki | mintacious21, well, sure, that's its formatted capacity, and is true everywhere, harddisks included | 20:11 |
Harzilein | <patdk-lap> harzilein, upgrade/dist-upgrade won't upgrade form hardy to lucid at all | 20:12 |
Pici | mintacious21: Do you need any files on there? check out what your favortite partitioning tool says about the partitions on the usb, maybe you aren't seeing all you should see. | 20:12 |
ppetraki | mintacious21, so either, don't use a filesystem or find a different way to boot from USB. | 20:12 |
Harzilein | patdk-lap: i don't know what they did. maybe they tried to downgrade to hardy then. anyway, i'm stuck with upstart 0.3 and it'd help if i knew i can expect my cron config to work... | 20:13 |
mintacious21 | huh thats weird everything seems to be mounted correctly now | 20:13 |
utlemming | mintacious21: please check with your device manufacter's definition of what a GB is. Many USB devices define a GB as 1000000000 bytes, while OS's like Linux define it as 1073741824 bytes. So the differential that you're seeing likely the result of a manufacturer that is giving you the short definition of a GB. | 20:15 |
mintacious21 | it says 1/4 of a trillion | 20:17 |
mintacious21 | 250,059,350,016 | 20:18 |
patdk-lap | utlemming, also, formatting it uses up space, the partition table, ... | 20:18 |
ppetraki | we don't even support this usb tool he's using to copy the iso, it appears to require knowledge of the distro he's trying to burn: http://unetbootin.sourceforge.net/ | 20:20 |
mintacious21 | so what does that mean? | 20:22 |
mintacious21 | hello? | 20:23 |
ppetraki | mintacious21, it means, we don't know enough about the tool you're using to help you | 20:24 |
mintacious21 | you mean the usb drive | 20:24 |
mintacious21 | it is a kingston | 20:24 |
mintacious21 | 4GB usb drive | 20:25 |
ppetraki | nope, back in your initial post, you stated unetbootin can't see the file, and if that's true, it doesn't matter how much space you have | 20:25 |
mintacious21 | what do you mean? | 20:25 |
ppetraki | "<mintacious21> i downloaded the iso from linuxmint .com and it wont even show up in unetbootin" | 20:25 |
ppetraki | you tell me | 20:26 |
mintacious21 | i told you | 20:26 |
mintacious21 | so | 20:26 |
mintacious21 | it must be formatted differently | 20:27 |
mintacious21 | or somrething | 20:27 |
mintacious21 | i think i know why | 20:27 |
ppetraki | mintacious21, well, you can start helping yourself by reading the unetbootin docs and figure out what it's looking for | 20:28 |
mintacious21 | the unetbootin is out od date | 20:28 |
mintacious21 | it only supports up to linux mint 10.10 | 20:28 |
oCean | what download at linuxmint is of that size? Even the dvd is 864MB | 20:28 |
mintacious21 | isnt something | 20:29 |
* patdk-lap also wonders what download could be *copy protected* | 20:29 | |
mintacious21 | isnt that something | 20:29 |
mintacious21 | hey i have an idea how if i download linux mint 10.10 and upgrade it | 20:31 |
mintacious21 | to linux mint 11 | 20:31 |
mintacious21 | would that work? | 20:32 |
mintacious21 | ? | 20:32 |
oCean | now that's a question for a mint channel | 20:33 |
mintacious21 | ok thanks for your help i just figured out how | 20:35 |
mintacious21 | yes!! | 20:35 |
=== kirkland` is now known as kirkland | ||
RoAkSoAx | serge_afk: by any chance have you experienced that VM's on br0 cannot obtain IP from a DHCP server? | 22:19 |
uvirtbot | New bug: #809046 in apache2 (main) "Apache Server Dumpos Frequently - "*** glibc detected *** /usr/sbin/apache2: double free or corruption" " [Undecided,New] https://launchpad.net/bugs/809046 | 22:21 |
serge_afk | oops, i'm not afk! | 22:22 |
serge_afk | RoAkSoAx: no, i haven't. do you mean dhcp server which is not on host? | 22:23 |
serge_afk | RoAkSoAx: if so, i suspect br0 needs stp on? | 22:23 |
RoAkSoAx | serge_afk: correctbut was working until today | 22:23 |
serge_afk | shouldn't have been? | 22:24 |
serge_afk | RoAkSoAx: best way imo to look into it is to test it with a veth tunnel (without kvm) | 22:25 |
serge_afk | RoAkSoAx: other possibilities include that /proc/sys/net/ipv4/ip_forward isn't set now, or that iptablnat iptalbes rules aren't set... | 22:26 |
serge_afk | i see, 'serge' is taken | 22:28 |
RoAkSoAx | serge_afk: it was working until today's upgrades.. so something might have been messed up | 22:28 |
RoAkSoAx | but will look at it | 22:28 |
RoAkSoAx | thanks | 22:28 |
RoAkSoAx | cause is not even giving IUP address to the VM's when using virbr0 | 22:29 |
serge_afk | huh | 22:29 |
serge_afk | how is br0 set up? | 22:29 |
serge_afk | is eth0 on it? | 22:29 |
RoAkSoAx | serge_afk: yes | 22:29 |
RoAkSoAx | serge_afk: as I said, everything was working until I upgraded today | 22:30 |
serge_afk | yes, everything was working, i'm just wondering what could've changed and therefore what yoru setup is :) | 22:32 |
serge_afk | but ok, lemme know when you find out. interesting. | 22:32 |
RoAkSoAx | serge_afk: just tested with natty | 22:34 |
RoAkSoAx | and everything is fine | 22:34 |
RoAkSoAx | so it is not my router's fault | 22:34 |
RoAkSoAx | serge_afk: might it be because of udev or related? | 22:34 |
serge_afk | s'possible. could also be kernel | 22:35 |
RoAkSoAx | serge_afk: i think might be udev or related as I ended up not having mouse/keyboard for a while until got it fixed | 22:36 |
serge_afk | RoAkSoAx: can you grab an older kernel, dpkg -i it, (maybe from your /var/cache/apt/archives), and test that? | 22:36 |
serge_afk | hm | 22:36 |
serge_afk | might check on #ubuntu-devel :) | 22:36 |
RoAkSoAx | serge_afk: heh.. yeah will do that I guess | 22:37 |
RoAkSoAx | anyways | 22:37 |
=== Corey is now known as lawfairy | ||
=== lawfairy is now known as Corey | ||
ntoombs_ | Hi. I'm having problems forwarding port 80 to my server for LAMP. I have talked to my isp to make sure they are not blocking it and they confermed they are not. I have sucessfully forwarded port 22 to my server in the same way I have forwarded port 80. Does anyone know of a reason why port 80 wouldn't allow incoming connections like this after talking these mentioned steps? | 23:47 |
warzauwynn | ntoombs_: try iptables -L and see if something in there is blocking 80 | 23:49 |
ntoombs_ | warzauwynn: everything is ACCEPT | 23:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!