qman__ | yeah, you really should not be hosting SQL directly like that | 00:00 |
---|---|---|
qman__ | the application and the database should be on the same machine or firewalled network | 00:00 |
nomadgis | your right. the db might have been a poor example. but information protocols that are meant for internet consumption that are served on localhost I would like from mydomain.com | 00:01 |
nomadgis | for example. ebox. if I want to control a server installation from www via ebox. how are these associated? | 00:02 |
nealmcb | nomadgis: for something like ebox, setting up subdomain.mydomain.com (with whatever ports) as qman noted would be fine | 00:04 |
nealmcb | now clear why it would be worth the extra hassle to instead actually use mydomain.com:<alternate port> and proxy the connections to your home | 00:06 |
nomadgis | i don't fully understand you last comment nealmcb, could you explain it another way? | 00:07 |
^Mike | So, my "server" (desktop, headless, pretending to be a server) shuts off randomly... where should I look in logs to see why it decided to take snooze? | 00:08 |
dominicdinada | how to open mysql/mysql admin ports for local network traffic only as i am trying to remotely admin mysql and always get errors, using programs such as mysql workbench i am able to connect via SSH for table management but unable to run admin level functions | 00:19 |
djogenick | ok | 00:23 |
djogenick | credo di essere nel canale giusto | 00:24 |
dominicdinada | !es | DJClean | 00:24 |
ubottu | DJClean: En la mayoría de canales de Ubuntu se habla sólo en inglés. Si busca ayuda en español o charlar entra en el canal #ubuntu-es. Escribe "/join #ubuntu-es" (sin comillas) y dale a enter. | 00:24 |
dominicdinada | !es | djogenick | 00:24 |
ubottu | djogenick: En la mayoría de canales de Ubuntu se habla sólo en inglés. Si busca ayuda en español o charlar entra en el canal #ubuntu-es. Escribe "/join #ubuntu-es" (sin comillas) y dale a enter. | 00:24 |
djogenick | i speak italian :-/ and poor eng thank | 00:24 |
dominicdinada | !it | djogenick | 00:25 |
ubottu | djogenick: Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette) | 00:25 |
dominicdinada | sorry | 00:25 |
djogenick | ok /join #ubuntu-it | 00:25 |
dominicdinada | yes :P | 00:26 |
dominicdinada | how to open mysql/mysql admin ports for local network traffic only as i am trying to remotely admin mysql and always get errors, using programs such as mysql workbench i am able to connect via SSH for table management but unable to run admin level functions | 00:26 |
=== _Techie_ is now known as _TechAway_ | ||
nomadgis | hypothetically, if you have apache installed on a desktop that is part of a wireless LAN who's port 80 is open for inbound and outbound traffic, if you attempt to access this machine from www at xxx.xxx.xx.xx:80 how can you ensure that you are pointing at the machine your machine? (and not another machine on the same LAN also running apache) | 01:04 |
=== _TechAway_ is now known as _Techie_ | ||
franksterville | biggest noob question ever | 02:02 |
franksterville | is there a command to take a server back to lts stock status. remove all modules and plugins etc | 02:03 |
franksterville | 10.04lts | 02:03 |
arrrghhh | modules...? plugins? | 02:03 |
arrrghhh | like programs you've installed? | 02:03 |
franksterville | well un apt-get the world | 02:03 |
franksterville | lol | 02:03 |
arrrghhh | no. | 02:03 |
arrrghhh | fresh install. | 02:03 |
arrrghhh | why do you want to do that? | 02:04 |
franksterville | booooooooooo | 02:04 |
arrrghhh | ...seriously? | 02:04 |
franksterville | playing with nginx. got outa control lost track of dependencies ect | 02:04 |
franksterville | just screwing with it | 02:04 |
arrrghhh | VM | 02:04 |
arrrghhh | snapshots ftw if you're "just screwing with it" | 02:04 |
franksterville | yeye this is not local | 02:04 |
franksterville | a linode | 02:05 |
franksterville | ill just blast it | 02:05 |
dominicdinada | Anyone alive in here ? | 02:58 |
ScottK | Nope. | 02:59 |
dominicdinada | Ok ScottK how to safely open my firewall to allow only local network | 03:01 |
dominicdinada | for mysql admin er for remote mysql admin ? | 03:01 |
ScottK | I don't so mysql admin, so no idea. | 03:02 |
ScottK | I'm guessing ssh to an account with sudo access should be sufficient, but that could be totally wrong. | 03:02 |
dominicdinada | well i am talking about using such programs such as mysql workbench but i already ssh into read the tables.... but it does not allow mysql admin functions such as mysql configuations | 03:05 |
icek | hey i installed ubuntu server, i got dhcpd3-server running great, i wanted to turn the server into a router basically to replace my current router, i have two ethernet cards, my eth0 has an external ip and the server has internet, the dhcp server runs great and handed out leases to my laptop on the inside, but for some reason i cannot get to the internet? | 03:21 |
icek | why wont my dhcp server forward my internet from my eth0 to my eth1 | 03:21 |
icek | or however that works | 03:21 |
icek | something to do with packet forwarding? i thought i uncommented that line | 03:21 |
icek | to allow ipv4 packet forwarding | 03:21 |
twb | DHCP has nothing to do with routing | 03:21 |
twb | Well, except the DHCP server can tell DHCP clients what gateway to use. | 03:22 |
icek | ok well, i installed the dhcp server, it works great, i just want to get internet now | 03:22 |
icek | :D | 03:22 |
twb | To turn an Ubuntu server into a router, you will want to turn on ip_forward in /etc/sysctl.conf. | 03:23 |
Flam` | Hello, I performed a network update from ubuntu server 8.04 lts to 10.04 lts, but im getting a strange error : http://pastie.org/private/oqu1alzpbisjotudloxg . The bob user was a user i removed a few months ago, I don't know how or why it's still being found | 03:23 |
icek | i did twb | 03:23 |
Flam` | Does anyone know what byobu is or, better yet, what this error is | 03:23 |
twb | You will very likely also want to set up firewalling on the FORWARD chain, and if your "downstream" network is using a private IP range, you will need to add rules to the *nat table to perform masquerading. | 03:23 |
twb | Flam`: sounds like you didn't remove that user properly | 03:24 |
Flam` | What's the proper way? | 03:24 |
twb | Flam`: try looking in /etc for references to "bob" | 03:24 |
twb | e.g. grep -r '\<bob\>' /etc/ | 03:24 |
twb | The right way to remove a user depends on what authentication database you're using. For flat files (the default), it'd be something like "deluser bob". | 03:25 |
Flam` | I did it via deluser. grep returned nothing. | 03:26 |
Flam` | I think it's because that user opened a screen and possibly exited ssh without shutting it down. Then I deleted that user. | 03:26 |
Flam` | And now I don't know where it's still finding his name | 03:27 |
icek_ | hey i enabled ipv4 forwarding | 03:28 |
icek_ | but it still doesnt work | 03:28 |
icek_ | :/ | 03:28 |
icek_ | the server gets internet | 03:28 |
icek_ | but when my internal computer gets an ip from the eth1 dhcp server | 03:28 |
icek_ | i cant get to the internet | 03:28 |
Flam` | Fix: I ran "sudo find / -nouser -ls" and found "/var/run/screen/S-liran" so I did "sudo rm -rf /var/run/screen/S-liran" and it fixed my problem. | 03:50 |
Flam` | It's times like these where I wish I had a blog. | 03:50 |
Flam` | bob == liran | 03:50 |
=== _TechAway_ is now known as _Techie_ | ||
icek_ | i installed dhcpd server, it works fine on eth1 and my eth0 server has internet access just fine, but when i connect another comptuer to the dhcp server, it cant get internet!!! i turned on ipv4 forwarding :? | 04:05 |
icek_ | any ideas? | 04:06 |
=== unreal_ is now known as unreal | ||
MTecknology | !info libc6 lucid | 05:07 |
ubottu | libc6 (source: eglibc): Embedded GNU C Library: Shared libraries. In component main, is required. Version 2.11.1-0ubuntu7.2 (lucid), package size 3690 kB, installed size 9360 kB | 05:07 |
=== twb` is now known as twb | ||
cxo | Hey guys, is there a http proxy i could use temporarily. I know that sounds kinda sketchy, but i'm just trying to figure out wtf is happening to my network. I think the ISP has dropped all http traffic | 05:44 |
SpamapS | cxo: fire up an EC2 instance and bounce via ssh | 05:48 |
cxo | What's EC2? | 05:50 |
SpamapS | :) | 05:50 |
SpamapS | cxo: Amazon Web Services, you can spawn a server for about $0.04 USD/ hour. | 05:50 |
SpamapS | cxo: you can try it out for 1 hour for free with Maverick: https://10.cloud.ubuntu.com/ | 05:51 |
SpamapS | cxo: there are others too.. Rackspace Cloud.. Go Grid, Linode .. all will rent you server instances pretty cheap. | 05:51 |
cxo | Hmm will look into it. But right now http/https doesnt work so I cant access any of those sites | 05:52 |
cxo | You wouldnt mind grabbing me an ip address for a proxy server somewhere in north america, would ya? :) | 05:53 |
twb | Or just get an account on lp or alioth or freeshell | 05:54 |
twb | I've been pissing about writing new NAT rules today, and it was easiest to just test them from alioth | 05:54 |
cxo | I have an lp account actually. | 05:55 |
cxo | You can ssh into lp ? :) | 05:55 |
SpamapS | cxo: so port 80 is blocked? that doesn't make much sense. | 05:56 |
cxo | https too | 05:56 |
twb | cxo: I don't remember | 05:56 |
twb | I used to be able to ssh into sf.net, but they removed that service during the decade or so between my connection attempts | 05:57 |
twb | cxo: oh, right. lp has ssh, but only for use by bzr. You don't get a shell | 05:57 |
cxo | well i dont need a shell if i'm just going to tunnel right? | 05:57 |
twb | If lp has a clue, they'll have disabled -L and friends. | 05:58 |
cxo | actually i cant even remember my lp password. I use sf.net and get lp to import the code periodically | 05:58 |
cxo | i just need someone to go google for 'free proxy servers' or something and give me a few ips | 05:58 |
twb | cxo: lp's sshd is key only | 05:58 |
twb | cxo: depending on what you're trying to achieve, you could also use tor or a "darknet". | 05:59 |
dominicdinada | i am having trouble remotely admin mysql and i am wondering what the problem is. Where the setting are set to allow remote mysqladmin | 05:59 |
twb | dominicdinada: over 22 or 3306? | 06:00 |
qman__ | dominicdinada, by default mysql listens on a local unix socket | 06:00 |
cxo | twb, just realised that lp is key only. I'm guessing bzr does some magic to send a key along, cos its not using my hostkeys | 06:00 |
qman__ | if you want to listen for network connections you have to configure it that way, though such a configuration is not recommended because there is no encryption | 06:01 |
qman__ | SSH is the preferred way | 06:01 |
twb | cxo: uh, host keys aren't user keys | 06:01 |
cxo | yeah | 06:01 |
twb | cxo: it'll be inheriting your ssh-agent/seahorse environment, though. | 06:01 |
dominicdinada | well i am trying to use such programs as mysql workbench and it used to connect only over ssh, but now trying to iron out why i cant admin tables or anything i am open to suggestions | 06:02 |
=== _TechAway_ is now known as _Techie_ | ||
dominicdinada | so it did connect via ssh tunnel but as i said now it wont even connect lol | 06:02 |
cxo | how do i tell ssh i dont want a shell :) | 06:07 |
cxo | guys dont be lazy, google a proxy for me please | 06:08 |
dominicdinada | cxo flaming are we i think that is off topic | 06:09 |
dominicdinada | i have googled | 06:09 |
cxo | possibly, just thought it wouldnt be a big deal... looks like i was wrong | 06:10 |
nagchampa | cxo: did you have an external ssh server you can access? | 06:12 |
cxo | not at the moment. a free web proxy would be best right now | 06:13 |
dominicdinada | twb: well i am trying to use such programs as mysql workbench and it used to connect only over ssh, but now trying to iron out why i cant admin tables or anything i am open to suggestions | 06:13 |
nagchampa | from wwww.proxyblind.org: Brazil: 201.20.18.165:3128 | 06:15 |
nagchampa | Canada might be better | 06:15 |
nagchampa | 174.142.104.57:3128 | 06:15 |
nagchampa | supposedly working on the 11th | 06:16 |
nagchampa | i wouoldn't trust them, i wouldn't use them for anything identifiable or private | 06:16 |
cxo | nothing private, just want to view a web based log | 06:17 |
nagchampa | it also pays to have an ssh server somewhere you can log into from anywhere | 06:18 |
nagchampa | even some cheap web hosting accounts will give oyu ssh access you can tunnel through | 06:18 |
cxo | yeah, i used to have a few, not anymore | 06:18 |
nagchampa | ssh -N to not execute a remote command | 06:20 |
nagchampa | from man ssh | 06:20 |
cxo | thanks | 06:23 |
=== _TechAway_ is now known as _Techie_ | ||
twb | cxo: "i don't want a shell" -- -N | 06:28 |
twb | Oops, nagchampa already said | 06:28 |
cxo | i get this message from ssh, -> channel 2: open failed: unknown channel type: unknown channel | 06:29 |
uvirtbot | New bug: #663101 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/663101 | 06:31 |
Datz | would it be generally safe to remove modules from the kernel if they aren't being used? | 06:47 |
Datz | I guess I should probably figure out what they are... :P | 06:47 |
Datz | next question.. how can I keep them from loading on boot | 06:48 |
twb | Datz: "make localmodconfig" | 06:48 |
twb | But you shouldn't be rolling your own kernel without a really good reason, since it increases the maintenance burden non-negligibly. | 06:48 |
twb | You can blacklist modules by placing "blacklist foo" or "install foo /bin/false" in /etc/modprobe.d/site.conf. | 06:49 |
Datz | ah | 06:49 |
twb | IIRC the former prevents autoloading; the latter prevents manual loading (including stuff like udev). | 06:50 |
Datz | thanks, I'll look into those options | 06:50 |
Datz | ok, I'll take a look at the former | 06:50 |
twb | Or you could brute-force it by rm'ing it and adding dpkg-divert rules, which is what I do at my prisons to deny them access to USB mass storage devices. | 06:50 |
twb | (Just in case a user manages to escalate to root.) | 06:50 |
Datz | humm :P | 06:50 |
Datz | down to 55.. | 06:53 |
twb | Datz: what are you actually trying to achieve? | 06:53 |
Datz | less than marginal saved cpu cycles? | 06:57 |
twb | So you've profiled the CPU usage and noticed a significant reduction? | 06:59 |
Datz | no, I meant probably not noticeable. | 07:00 |
twb | I suspect that things like enable CPU frequency scaling would help more than removing modules. | 07:00 |
twb | Ah, right. | 07:00 |
twb | "ricing" | 07:00 |
Datz | haha | 07:00 |
Datz | I figure without a floppy drive, I don't need the modle loaded :) | 07:01 |
Datz | etc | 07:01 |
Datz | I don't know why it would be in the first place actually | 07:01 |
twb | It shouldn't be | 07:04 |
twb | Unlses you have the controller on your motherboard, I guess | 07:04 |
twb | It might also be loaded by the ramdisk when it's looking for the root filesystem | 07:04 |
Datz | humm | 07:04 |
twb | Try changing modules=most to modules=dep in initramfs-tools.conf? | 07:04 |
* Datz makes a note of that | 07:05 | |
Datz | where is initramfs-tools.conf? | 07:05 |
Brumle | Datz: use the "locate" command with filename as argument. If not found, try "sudo updatedb" and try again | 07:09 |
Datz | thanks | 07:10 |
Datz | hum, file seems empty. Anyway, I'm off to bed, bye. | 07:12 |
nagchampa | how can i tell how an fqdn is being resolved? | 07:41 |
nagchampa | hostname just gives the shortname for my server, and /etc/hosts has only got the short name, pointing to 127.0.1.1 | 07:41 |
nagchampa | the router doesn't have an entry for the fqdn or even the short name of the machine as far as i can tell | 07:42 |
=== Barre_ is now known as Barre | ||
mattcen | Hi all, I've just done an upgrade of 8.04, which has upgraded slapd 2.4.9-0ubuntu0.8.04.3 -> 2.4.9-0ubuntu0.8.04.4, and during the upgrade I hit: Unknown value for slapd/dump_database: when needed; has anybody else seen this before? | 07:49 |
nagchampa | nevermind, i found it | 07:49 |
=== Barre_ is now known as Barre | ||
mattcen | Nevermind, I solved my issue; I changed the option in debconf from 'when needed' to 'always' and it got better. | 08:16 |
=== jjohansen is now known as jj-afk | ||
twb | Not so much "solve" as "work around" | 08:20 |
twb | Looked like a quoting issue in the preinst, but I couldn't see where. | 08:20 |
_ruben | bah, seems like bug #477167 is one the reasons/bugs that keeps me from installing these servers | 08:22 |
uvirtbot | Launchpad bug 477167 in debian-installer "can't set bootable flag when partitioning during install" [Undecided,New] https://launchpad.net/bugs/477167 | 08:22 |
_ruben | software raid1 over 2 2tb disks .. gpt labels .. lilo and grub2 fail to install | 08:22 |
_ruben | /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!. | 08:24 |
_ruben | /usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume. | 08:24 |
eagles0513875|2 | hey guys how can i prevent my network from being tcp flooded | 08:58 |
eagles0513875|2 | i have a router taking the brunt of it but its preventing me from accessing my server | 08:58 |
twb | I have a customer's developer telling me they can't get hardy's ffmpeg to emit MP3, and they need me to reroll a new fmpeg built against lame. | 09:09 |
twb | Does it seem strange to anybody else that ffmpeg would be built --without-lame? | 09:10 |
twb | Hmm, it's the upstream default | 09:10 |
DJClean | having a little problem with iptables on my server... to be more specific on modprobing the iptable_raw module, it just hangs at that one and well... been like that for over 8 hours already... might there be a specific reason for it to hang on that? | 09:13 |
eagles0513875|2 | hey guys im having issues connecting to my server. i checked my router security logs and noticed some tcp flooding how can i prevent that | 09:17 |
Tribaal | Hi all | 09:18 |
Tribaal | I'm looking for help regarding configuration of the new Slapd (OpenLDAP) daemon. I could configure it fine using the old slapd.conf, but it's now all dynamic and editable via LDAP - Does anybody have a pointer to docs on the subject? | 09:19 |
mr_lou | Hello all. Experimenting with Ubuntu-server. Having a minor problem. When creating new files using my FTP-editor (PSPad), they are always default not accesible. For example, if I create a new file "heythere.js" and put some Javascript in it, then my HTML can't real that JS file because "Other" group doesn't have the Read bit on. I have to manually set the Read bit everytime I create a file. | 09:35 |
mr_lou | There must be somewhere I can change that? | 09:36 |
mr_lou | (I'm talking Apache server and HTML / Javascript stuff) | 09:36 |
flohack | mr_lou: google for umask | 09:36 |
flohack | mr_lou: please be aware that chaning the umask to 0004 for example will make all your new files readable by EVERYONE | 09:38 |
flohack | mr_lou: Better solutions are to change the group to www-data for example | 09:38 |
mr_lou | Hmm | 09:39 |
flohack | mr_lou: You could use the group sticky bit on the parent directory to inherit the group from the parent directory for new files | 09:40 |
flohack | mr_lou: see http://www.dba-oracle.com/linux/sticky_bit.htm for example | 09:40 |
flohack | I have a problem running ubuntu uec images locally with kvm as documented here: https://help.ubuntu.com/community/UEC/Images | 09:40 |
flohack | I keep getting "error: no such device: uec-rootfs" from grub | 09:41 |
flohack | Is someone here who is familiar with the UEC images? | 09:41 |
flohack | I'm running: "kvm -fda maverick-server-uec-i386-floppy -drive if=virtio,file=disk.img,media=disk -boot a" after creating disk.img with "qemu-img create -f qcow2 -o backing_file=maverick-server-uec-i386.img disk.img" | 09:42 |
twb | flohack: 004 is probably a bit too generous | 09:44 |
twb | 047 maybe, so the group has r-x access | 09:46 |
mr_lou | um... | 09:47 |
mr_lou | Isn't 4 = write | 09:47 |
flohack | twb: Ups 0002 was what I meant | 09:47 |
twb | mr_lou: umask is xor'd | 09:47 |
flohack | twb: But I would not recommend that either | 09:47 |
twb | But I realize now by "the other group" he means non-owner non-group users | 09:47 |
mr_lou | yea | 09:48 |
mr_lou | Apparently the server itself belongs to the "Other" group. | 09:48 |
flohack | mr_lou: Which server? | 09:48 |
mr_lou | Since it can't read the files, unless I set the Read bit. | 09:48 |
mr_lou | Apache | 09:48 |
twb | mr_lou: probably you want the tree to be grouped by www-data, not mr_lou | 09:48 |
flohack | mr_lou: No, apache is usually www-data | 09:48 |
mr_lou | hmm | 09:48 |
twb | i.e. ls -l will say something like "rw-r----- mr_lou www-data foo.js" | 09:49 |
flohack | mr_lou: 'other' means processes running with a group which is different from the group owning the file | 09:49 |
mr_lou | Well... all I know if that when I create new files using my FTP-editor, then my HTML can't read them because the "Read" bit isn't set for the "Other" group. | 09:49 |
flohack | mr_lou: It's like a 'catch-all' | 09:49 |
flohack | mr_lou: Did you get that? | 09:49 |
flohack | The problem with the permissions for 'other' is that it applies to ALL other users and processes on your system, so by setting the read permission for other, you are not only granting apache access, but EVERYTHING else, which is a very bad idea. | 09:50 |
mr_lou | How do I check if the www-data user is applied to Apache? | 09:51 |
flohack | Therefore the proper (one of) approach is to change the group of the files to www-data | 09:51 |
twb | mr_lou: you ask us | 09:51 |
flohack | ps aux|grep apache | 09:51 |
twb | mr_lou: and we say "apache uses www-data by default, so unless you messed with it, it will" | 09:51 |
flohack | mr_lou: execute "ps aux|grep apache" on the console and the first field will say "www-data" | 09:52 |
mr_lou | Yea, it's there already, several times. | 09:52 |
mr_lou | already = alright | 09:52 |
twb | flohack: re kvm, shouldn't that be -hda, not -fda? | 09:52 |
flohack | mr_lou: That's how you check without asking :-) | 09:52 |
twb | nm, it's a foo-floppy file. How weird. | 09:53 |
mr_lou | First field says root though. | 09:53 |
flohack | twb: *-floppy contains grub as it seems | 09:53 |
mr_lou | Followed by 5 www-data lines. | 09:53 |
twb | mr_lou: if you are logging in as root, you have bigger problems. | 09:53 |
twb | flohack: you *can* just pass a kernel and ramdisk directly to kvm | 09:53 |
flohack | mr_lou: That should be just for one of the apache processes | 09:53 |
mr_lou | twb: I'm not. Especially not when FTP'ing. | 09:53 |
twb | Well, you shouldn't be using FTP either :-) | 09:54 |
flohack | mr_lou as got a bit of linux studying ahead of him :-) | 09:55 |
flohack | twb: Hmm -loader could be the initrd...let's try that | 09:55 |
twb | http://en.wikipedia.org/wiki/Discretionary_Access_Control describes the Unix permission system | 09:55 |
mr_lou | This here is studying. ;-) | 09:55 |
twb | flohack: no, it's -kernel and -initrd | 09:55 |
twb | Caveat: I'm talking about qemu, of which kvm is a fork. I *assume* kvm haven't fucked up and removed those options. | 09:56 |
mr_lou | I don't know everything, but it's not the first Linux server I'm playing with. Been experimenting with Debian and Arch earlier, and I had no such problem with them. | 09:56 |
twb | Or: you didn't *know* you have such a problem | 09:56 |
flohack | twb: I meant the maverick*-loader image, kvm takes -kernel and -initrd btw. | 09:57 |
mr_lou | I would surely know if I had. | 09:57 |
twb | flohack: good-o | 09:57 |
mr_lou | And I hadn't. | 09:57 |
twb | flohack: do you have a URL for this -loader file? What format is it in? | 09:57 |
twb | Last time I looked, you could tack the ramdisk onto the end of the kernel, but then it'd just be -kernel. | 09:58 |
flohack | twb: It's in the i386 tar on http://uec-images.ubuntu.com/server/maverick/current/ | 09:58 |
twb | Bizarre; file doesn't recognize it as anything | 09:59 |
twb | It has some kind of grub in it, so maybe it's just the grub stage2 | 09:59 |
flohack | twb: The kernel boots, but does not find the root device even with "-append root=/dev/sda1 | 09:59 |
mr_lou | Explain to me why it's bad that HTML files and JavaScript files can be read by everyone. Somehow it seems logical to me that they should infact be readable by everyone. | 10:00 |
twb | flohack: -append is only visible to -kernel AFAIK | 10:00 |
flohack | twb: The kernel log says it cannot read the ramdisk | 10:00 |
mr_lou | Surely the Read bit for group "Other" must be set? It's even set on the .bashrc file by the system itself. | 10:00 |
flohack | mr_lou: The same issue applies to php files, and they should definitely not be readable by everyone | 10:00 |
mr_lou | flohack: That makes sense. | 10:01 |
flohack | mr_lou: there is no 'other' GROUP, it is simply 'other' which means everyone else who is not user or group | 10:01 |
twb | mr_lou: Debian packages by convention ship files readable by everyone, on the basis that an attacker could always just download the .deb again and unpack it by hand. | 10:01 |
mr_lou | Yes I get that. | 10:01 |
mr_lou | In that case I shouldn't use umask. | 10:02 |
flohack | The proper solution is to move your files to /var/www/XXX and do "chown -R root:www-data /var/www/XXX" | 10:02 |
twb | Or if these are personal files, they go in ~mr_lou/public_html or whatever it is. | 10:02 |
flohack | twb: ACK | 10:02 |
twb | And /var/www is hysterical, really files belong in /srv/www | 10:03 |
twb | Not that I realistically expect anyone to do that | 10:03 |
mr_lou | They're put in the home folder for now, because that's where the FTP default points to. And I like to be able to use my FTP-client-editor for coding. | 10:03 |
mr_lou | So Apache does have the www-data group. Yet I can't see my HTML or PHP page unless read-bit is set for 'other'. | 10:05 |
mr_lou | And since it shouldn't be set for 'other'.....then what? :-/ | 10:06 |
flohack | Please post the output of "ls -Al myfile" | 10:06 |
flohack | and tell us the full path please | 10:06 |
flohack | and the URL you are using to access it | 10:07 |
mr_lou | Well currently it's /home/companyname/AppName/index.php | 10:08 |
mr_lou | URL is internal IP. | 10:08 |
mr_lou | Not sure how I can paste output from ls -Al here. Using Putty here in Windoze... but the permission info is 640 | 10:09 |
mr_lou | -rw-r------ | 10:09 |
flohack | mr_lou: and the full url? | 10:09 |
mr_lou | flohack: Internal IP... http://192.168.1.3/index.php | 10:09 |
flohack | Have you reconfigured apache to use /home/companyname/AppName/index.php as it's document root? | 10:10 |
mr_lou | Yes | 10:10 |
mr_lou | Works fine if the read-bit is set for 'other'. | 10:10 |
mr_lou | Blank page if not. | 10:10 |
flohack | the group and owner of the index.php? | 10:11 |
mr_lou | flohack: company name for both | 10:11 |
flohack | mr_lou: Then how is that supposed to work. Group has to be www-data | 10:11 |
mr_lou | flohack: Meaning, the only user created (apart from root) | 10:11 |
mr_lou | I use addgroup to put www-data onto the AppName folder then? | 10:12 |
flohack | Apache run with group www-data, the file has group company, set so the 'other' permissions apply and those are null, therefore apache does not have access | 10:12 |
flohack | mr_lou: no | 10:12 |
flohack | mr_lou: chgrp www-data FILE | 10:13 |
flohack | twb: I think the problem is that maverick*.img is a partition image, not a disk image | 10:14 |
twb | That's retarded. the ramdisk shouldn't care about that | 10:14 |
twb | But obviously that'd be root=/dev/sda not sda1 | 10:15 |
mr_lou | flohack: And then the sticky bit to put the www-data group onto all files created in the folder? | 10:15 |
flohack | mr_lou: the group sticky bit, yes | 10:16 |
flohack | twb: But there is no separate initrd. It boots with "kvm -drive if=scsi,file=disk.img,media=disk -kernel maverick-server-uec-i386-vmlinuz-virtual -append root=/dev/sda", but cannot write access the root partition, because ext4 support seems to be available only using a module within the initrd | 10:18 |
flohack | I cannot use a -initrd, because there is not separate initrd | 10:18 |
mr_lou | flohack: Tried chmod +t AppName Should all new files created then belong to group www-data? They don't. | 10:20 |
flohack | twb: Hmm, "kvm -drive if=virtio,file=disk.img,boot=on -kernel maverick-server-uec-i386-vmlinuz-virtual -append "root=/dev/vda ro init=/usr/lib/cloud-init/uncloud-init ds=nocloud ubuntu-pass=ubuntu"" worked! | 10:20 |
flohack | mr_lou: It's chmod g+s AppName | 10:22 |
flohack | sorry, my fault | 10:22 |
flohack | so, it's the special bit, not the sticky bit | 10:22 |
mr_lou | flohack: Do I need to remove the +t again then? With -t? | 10:23 |
flohack | mr_lou: You should, yes | 10:23 |
mr_lou | Ok | 10:23 |
mr_lou | Still not. :-/ | 10:24 |
mr_lou | New files belong to companyname user and group companyuser. | 10:24 |
flohack | mr_lou: http://pastebin.com/BySbUwVu | 10:28 |
twb | flohack: oh, right | 10:29 |
twb | virtio is like xen, it gets a wacky name. Sorry, I didn't think of that | 10:30 |
mr_lou | flohack: Damn.. I'm writing the same you do, I'm just getting another result. :-/ | 10:30 |
mr_lou | flohack: Thanks for your help anyway though. Much appreciated. | 10:31 |
flohack | mr_lou: are you creating the file with the ftp client? | 10:31 |
flohack | mr_lou: maybe the ftp client explicitly sets the group? | 10:31 |
mr_lou | flohack: Not this time. I used touch like you. It still belongs to the group companyname | 10:31 |
mr_lou | flohack: Also tried with nano before that. | 10:31 |
flohack | mr_lou: are you sure the special bit (rws) is present on the directory (check with ls -Al) | 10:32 |
mr_lou | flohack: No, not sure. But it says this: drwxr-xr-x 2 companyname www-data | 10:33 |
flohack | mr_lou: The special bit is not there | 10:34 |
mr_lou | Hm | 10:34 |
mr_lou | So chmod g+s isn't working for me? Is that it? | 10:34 |
uvirtbot | New bug: #663161 in clamav (main) "clamav-freshclam does not set the proxy username and password" [Undecided,New] https://launchpad.net/bugs/663161 | 10:36 |
* mr_lou reads at http://en.wikipedia.org/wiki/Chmod | 10:36 | |
flohack | mr_lou: You need permission to change the s bit, run the command with sudo | 10:36 |
mr_lou | doh | 10:36 |
flohack | mr_lou: No idea why chmod does not warn you about that | 10:36 |
flohack | if you change the s bit before changing the group, it works, because the group is still the group of your login user | 10:37 |
mr_lou | lol | 10:37 |
mr_lou | It's there now, but now I can't access the folder. | 10:37 |
mr_lou | Hm | 10:38 |
mr_lou | mkay | 10:38 |
mr_lou | So.... | 10:38 |
mr_lou | I must remove the S bit again, then set user back to companyname, then set S bit again and then set group to www-data? | 10:38 |
mr_lou | :-> | 10:38 |
flohack | What is the ls -Al output of the folder now? | 10:39 |
mr_lou | There | 10:40 |
mr_lou | Seems to work now. | 10:40 |
* mr_lou needs a beer | 10:40 | |
flohack | great | 10:40 |
mr_lou | hehe | 10:40 |
mr_lou | Thanks a lot for your help flohack | 10:40 |
flohack | mr_lou: you're welcome! | 10:41 |
mr_lou | flohack: I actually got myself "The Linux Bible", which I'm looking in sometimes. I really like Linux, but it's a huge area to learn. | 10:43 |
flohack | mr_lou: A lot to learn, but it's the real thing (does not hide the details like windows / mac os does) and understanding how things work make you much more effective when troubleshooting | 10:44 |
anger78 | hi! Did they remove Support for Promise FastTrak TX4000 in 10.10? and if so, how can i add it while installing?# | 10:45 |
mr_lou | flohack: That's why I don't quit. ;-) | 10:45 |
mr_lou | flohack: If you can recommend me any other beginner books, explaining the structure and such, then I'll put them on my Christmas wishlist. "The Linux Bible" seems to be mostly a lookup for the many various commands, which of course is also quite handy. But would like to understand more about how everything is connected and such. | 10:48 |
flohack | mr_lou: sorry, I never read such a book | 10:49 |
mr_lou | flohack: Ok | 10:49 |
=== oxi_ is now known as oxi | ||
=== unreal_ is now known as unreal | ||
anger78 | hi! Did they remove Support for Promise FastTrak TX4000 in 10.10? and if so, how can i add it while installing?# | 10:52 |
mr_lou | flohack: Well I' | 10:54 |
mr_lou | flohack: Well I'm off. Thanks again. :-) | 10:54 |
=== aliverius_ is now known as aliverius | ||
=== _Techie_ is now known as _TechAway_ | ||
anger78 | it cant be that fucking tricky to add fucking support for the fucking tx4000 during the fucking Installation, or would it? | 11:34 |
anger78 | Did they remove Support for Promise FastTrak TX4000 in 10.10? and if so, how can i add it while installing?# | 11:34 |
_ruben | anger78: such an attitude isn't likely to yield very helpful responses in here | 11:45 |
uvirtbot | New bug: #663192 in mysql-5.1 (main) "Query with this_.id=? buggy" [Undecided,New] https://launchpad.net/bugs/663192 | 11:46 |
eagles0513875|2 | !language | anger78 | 11:47 |
ubottu | anger78: Please watch your language and topic to help keep this channel family friendly. | 11:47 |
anger78 | ok, and how would i load additional drivers during the installation? | 12:12 |
eriksson25 | Anyone that can help, upgraded 10.04 to 10.10 and now got ubuntu-extras-keyring error like this bug | 13:54 |
eriksson25 | https://bugs.launchpad.net/ubuntu/+source/ubuntu-extras-keyring/+bug/650525 | 13:54 |
uvirtbot | Launchpad bug 650525 in livecd-rootfs "Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release ; missing key" [High,Fix released] | 13:54 |
eriksson25 | But runing there fix comand sudo apt-get --reinstall install ubuntu-extras-keyring dosent do anything, same error | 13:54 |
eriksson25 | I need help to import a valid public key to my server. | 13:58 |
uvirtbot | New bug: #663252 in antlr3 (main) "antlr3 doesn't contain antlr3-runtime.jar" [Undecided,New] https://launchpad.net/bugs/663252 | 14:06 |
Augustuen | If I have some gameservers running over the RAM on the server, does it use the swap partition?= | 14:13 |
cfairles | swap is dead. buy more ram ;) | 14:14 |
Augustuen | I'm trying to find out how many servers I can run | 14:15 |
* patdk-wk didn't know you could run gameservers on ram | 14:15 | |
cfairles | Augustuen, the short answer is yes. if you have a swap partition, if ram usage starts maxing out, it'll start paging in and out of swap | 14:16 |
Augustuen | ok | 14:16 |
patdk-wk | and when it pages, everyone will bitch, cause the game will lag to all hell | 14:16 |
Augustuen | but if I have 2 GB RAM and You can run a 20 player server on a 1GHz CPU, 512MB RAM and an upload of 2Mbit/s (33Tick) | 14:17 |
Augustuen | how many servers could I then run? | 14:17 |
patdk-wk | depends on the cpu, ram, and internet :) | 14:17 |
patdk-wk | not just ram | 14:18 |
cfairles | and what game. Aion, maybe 1 player on that. nethack-mmo, a bazillion | 14:18 |
patdk-wk | plus, context switching will eat your proformance a little, unless your using vm's, then it will eat proformance a lot | 14:18 |
Augustuen | Counter-Strike: Source | 14:18 |
Augustuen | or Half life 2 in genera | 14:19 |
eriksson25 | Anyone that can help, upgraded 10.04 to 10.10 and now got ubuntu-extras-keyring error like this bug | 14:21 |
MTecknology | !lts | 14:21 |
ubottu | LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !Lucid (Lucid Lynx 10.04) | 14:21 |
vincent_wang | I use ubuntu official image ami-6c06f305 launching a new micro instance on AWS, it works fine; but after I customize the instance and bundle a new image, I can not ssh to any new instance launched from my image | 14:27 |
vincent_wang | any ideas? | 14:27 |
jussi | hi all, where do I find the log of ssh users logins and so on? | 14:35 |
Augustuen | well, I don't think there is a difference between local and SSh logins | 14:37 |
Augustuen | (exept from tath the SSH doesn't log on directly, but on teh network ;)) | 14:37 |
eriksson25 | Help me with folowing error "ubuntu-extras-keyring is not configured yet" on a newly updated 10.04 --> 10.10 | 14:38 |
SockPant1 | hi all | 14:41 |
SockPant1 | i'm trying to serve a single program to users over ssh. once the program terminates, it should disconnect | 14:42 |
SockPant1 | how do i accomplish this? | 14:42 |
patdk-wk | set it as their shell | 14:42 |
SockPant1 | where do i do that | 14:42 |
patdk-wk | and I think you need to disallow scp, not all sure | 14:43 |
zul | kirkland: can i take vsftpd off your hands? | 14:44 |
kirkland | zul: please :-) i didn't know it was on my hands :-P | 14:45 |
SpamapS | SockPant1: even if you set it to their shell, they can just type 'ssh yourbox /bin/bash' and bypass that | 14:45 |
SpamapS | SockPant1: you can force execution of a certain program whenever a certain public key is used, and I believe that isn't bypassable. | 14:46 |
SpamapS | SockPant1: but, why ssh? ssh is "Secure shell" .. its really not for serving things non-interactively. | 14:47 |
patdk-wk | heh? ssh passes that as a param to your shell | 14:50 |
lau | is ubuntu able to manage several swap partitions ? | 14:51 |
lau | I have 4 swap partitions on 4 disks | 14:52 |
patdk-wk | lau, sure | 14:52 |
SpamapS | patdk-wk: good point. hrm. | 14:53 |
SpamapS | lau: swap is... not a good thing. Why do you want to have 4 swap partitions? | 14:54 |
* patdk-wk only uses swap for hibernation | 14:54 | |
maedox | On lucid; Does anyone know how to check or set the power down delay/timing for external USB drives? | 14:59 |
SpamapS | I would guess it can be tweaked at runtime in /sys somewhere | 15:04 |
lau | I agree SpamapS but I have a limited budget and 4 disks with the same geometry | 15:06 |
lau | I created the same partitions on these 4 disks | 15:06 |
uvirtbot | New bug: #663288 in drbd8 (main) "package drbd8-utils (not installed) failed to install/upgrade: trying to overwrite '/usr/share/cluster/drbd.sh', which is also in package rgmanager 0:3.0.2-2ubuntu3" [Undecided,New] https://launchpad.net/bugs/663288 | 15:06 |
lau | RAID1 for /boot and generally speaking / | 15:06 |
lau | then RAID 5 for filer share | 15:07 |
lau | I needed some space for swap for the system so I created the same swap partitions on all the 4 disks in order to keep partition characteristics to build RAIDs | 15:07 |
lau | does this make sense ? | 15:08 |
lau | now I have /boot on RAID1 /var on RAID 1 and /mnt/filer on RAID 5 | 15:08 |
lau | it remains 4 swap partitions and I am wondering what is the best to do with them | 15:08 |
lau | keep the swap partitions as is | 15:09 |
lau | or RAID 1 the swap partition ? | 15:09 |
jussi | hrm, so how can I search inside all the files in a specific dir for a certain phrase? | 15:09 |
lau | jussi: grep ? | 15:09 |
jussi | lau: tell me more... | 15:09 |
lau | /var/log/auth | 15:10 |
lau | man grep | 15:10 |
maedox | jussi: grep 'string' * | 15:10 |
jussi | maedox: that will search within the files? | 15:10 |
lau | grep -R 'string' /path/* | 15:10 |
lau | yes | 15:10 |
jussi | ok, thanks | 15:10 |
lau | try it | 15:10 |
lau | use * as wildcard in 'string' | 15:10 |
maedox | jussi: it will search in all files in the current dir yes. | 15:10 |
lau | is grub-install /dev/md0* writing GRUB on active disks __and__ spare ones too ? | 15:16 |
lau | how can I check ? | 15:16 |
jussi | maedox: lau, I found what I was looking for, so thank you | 15:17 |
dexthageek | good morning | 15:22 |
dexthageek | I am unable to establish a successful ODBC connection using iSQL | 15:22 |
dexthageek | ODBC connection works great when accessed through PHP/Apache | 15:23 |
dexthageek | I am getting "Communication link failure" | 15:24 |
dexthageek | however the same DSNs work from php/apache | 15:24 |
dexthageek | ODBC Issue: | 15:32 |
dexthageek | I have my DSNs defined in the config file and they work flawlessly from php/apache. However, the connection fails when I attempt to connect via iSQL or php CLI | 15:32 |
=== Danio` is now known as Danio | ||
dexthageek | anyone? | 15:34 |
s093294 | Hello, anyone good at iptables who have time to help me out with my firewall script. http://pastebin.ca/1966994 It works now forwarding port 4000 to 3389 on the local interface. I would like to add so i also can access it on the external interface. | 16:05 |
mathiaz | nijaba: o/ | 16:15 |
mathiaz | nijaba: at Hadoop World you mentioned that syslog wouldn't scale for distributed applications | 16:15 |
mathiaz | nijaba: why? | 16:15 |
mathiaz | nijaba: I'm investigating solutions for cloud-server-n-distributed-logging and looking at rsyslog | 16:16 |
uvirtbot | New bug: #359130 in kvm (main) "Display problem under KVM" [Undecided,Incomplete] https://launchpad.net/bugs/359130 | 16:22 |
zul | mathiaz: have you looked at syslog-ng we used it at the isp i was working at and it was pretty distributed | 16:22 |
mathiaz | zul: yeah - apparently rsyslog scales better than syslog-ng | 16:22 |
mathiaz | zul: and rsyslog is the *default* in ubuntu | 16:22 |
zul | mathiaz: cool | 16:22 |
ehcah | My 10.4 LTS server is extremely slow to boot, slow to login and sometimes times out on after entering a password for "su". Are there any suggestions for what I should be checking on first? | 16:36 |
SpamapS | ehcah: is the turbo button pressed down? | 16:40 |
SpamapS | ;) | 16:40 |
ehcah | SpamapS: I have a hard time deciphering when someone is taking a poke at me on this channel. The hardware is a DL380G4. I thought those buttons disappeared with 386's? | 16:42 |
xperia | hello can somebody help me with this permission problem here ? | 16:42 |
xperia | Oct 19 17:12:30 mydomain postfix/virtual[2587]: warning: maildir access problem for UID/GID=5000/5000: create maildir file /usr/local/virtual/info@mydomain.com/tmp/1287501150.P2587.mydomain.com: Permission denied | 16:42 |
xperia | looks like the uid of the dir is different then 5000 but how can i see what uid the dir has ? | 16:42 |
SpamapS | ehcah: ok, sorry... yes they did. ;) I've had a lot of DL380G4's running Linux, and they definitely always boot slow. But once they're up, they're usually blazing fast. | 16:42 |
ehcah | SpamapS: Very true, but I have 2 DL380's running one, on top of the other. The box I'm concerned about almost seems to hang it's soo slow. Easily 5 times longer than its neighbor. | 16:45 |
SpamapS | mathiaz: btw, syslog doesn't scale because it requires immediate availability of the log target | 16:45 |
mathiaz | SpamapS: hm - rsyslog can spool messages locally if log targets are unavailable | 16:46 |
SpamapS | mathiaz: thats why facebook created Scribe. IIRC, its actually usable now (when I tried to use it it was impossible to build properly) | 16:46 |
SpamapS | mathiaz: will it retry them later? | 16:46 |
mathiaz | SpamapS: hm - I hope so | 16:46 |
SpamapS | ehcah: I'd suspect a degraded RAID | 16:46 |
SpamapS | ehcah: do you have the hpacucli utility installed? | 16:47 |
mathiaz | SpamapS: what syslog is missing is acknowledgment that a message has gone through the whole chain | 16:47 |
mathiaz | SpamapS: once a message as been sent over the network by syslog it doesn't care anymore | 16:47 |
mathiaz | SpamapS: that's one of the feature of flume | 16:47 |
SpamapS | mathiaz: I'm guessing flume is very heavy though. | 16:48 |
mathiaz | SpamapS: http://github.com/cloudera/flume | 16:48 |
nijaba | mathiaz: I think it lack the ability to have interediate relays/collectors as flume has | 16:48 |
mathiaz | nijaba: hm - you can setup multiple relay with rsyslog | 16:48 |
nijaba | mathiaz: ok, I did not think so | 16:49 |
mathiaz | nijaba: anything else comes to your mind why syslog couldn't be used for distributed logging? | 16:49 |
SpamapS | So it just depends on how bad having holes in your logging is. Spooling for more than a few minutes at high volume would also be bad in many environments. | 16:49 |
mathiaz | nijaba: you're raised a good point - and I'll make sure to check that | 16:49 |
nijaba | mathiaz: actually, until flume was mentioned, rsyslog was my best bet | 16:49 |
mathiaz | SpamapS: why is scribe is better than flume then? | 16:50 |
mathiaz | SpamapS: why is scribe is better than *rsyslog* then? | 16:50 |
ehcah | SpamapS: No, I do not have that utility installed. I can not find it either. It's not in the normal repo's I take it? | 16:51 |
SpamapS | mathiaz: I can't answer either of those, because I'm not familiar enough with either option. I was speaking entirely on the traditional unix syslog protocol. | 16:52 |
SpamapS | mathiaz: which, as you suggested, has no ack. | 16:53 |
SpamapS | ehcah: its part of hpasm | 16:53 |
SpamapS | ehcah: which you should be able to get from HP | 16:53 |
* SpamapS wonders if HP will let us put it in multiverse | 16:53 | |
SpamapS | ehcah: it allows you to query your RAID's status. You have a SmartArray 6 in that, right? | 16:54 |
ehcah | SpamapS: Ok, I'll go have a look. BTW... I haven't made any changes to my Repo's but I'm getting errors. Is something down? | 16:54 |
ehcah | Yes. I have a SmartArray 6. I know the cache battery is low, but that is the only error on boot. Both drives (mirrored) are health from the green indicators on the server chassis. | 16:55 |
SpamapS | ehcah: errors on install, or errors on update? | 16:56 |
ehcah | SpamapS: Update | 16:57 |
SpamapS | ehcah: the cache battery being low will just disable the write cache, which shouldn't slow your boot in any way. | 16:57 |
=== jj-afk is now known as jjohansen | ||
lau | I just create a raid 5 | 16:57 |
lau | mdadm --create /dev/md2 --level=5 -n 4 /dev/sda4 /dev/sdb4 /dev/sdc4 /dev/sdd4 | 16:57 |
SpamapS | ehcah: maybe the disks are getting errors. You can run some tests from the console RAID utilities. | 16:57 |
SpamapS | lau: well done. :) | 16:57 |
ehcah | Spamaps: The other DL battery is dead. I didn't pay for these boxes so I'm not investing in'em!! :) | 16:58 |
lau | but mdadm --detail /dev/md2 reports Spare Devices : 1 | 16:58 |
lau | and spare rebuilding /dev/sdd4 | 16:58 |
lau | I thought -n option was used to define *active* raid disks | 16:58 |
lau | how can I add the spare into the active array ? | 16:59 |
SpamapS | lau: spare rebuilding, so its laying down the data on disk sdd4 | 16:59 |
SpamapS | lau: pastebin /proc/mdstat | 16:59 |
SpamapS | lau: or rather, can you put up /proc/mdstat on paste.ubuntu.com ? | 16:59 |
lau | http://paste.ubuntu.com/516332/ | 17:00 |
lau | ok here it says active raid5 (4 disks) | 17:01 |
lau | the disks are fresh new no data inside does mdadm rebuilding the 4th disk with the parity bit ? | 17:02 |
lau | and once done all the 4 disks will be up and active ? | 17:02 |
lau | does this mean that disk 4 will be dedicated to parity bit writes ? | 17:02 |
lau | is it safe to pvcreate /dev/md2 or should I wait the RAID 5 rebuild ? | 17:05 |
ehcah | SpamapS: I can not update anything that comes from archive.canonical.com lucid. | 17:07 |
SpamapS | archive.canonical.com?! | 17:07 |
SpamapS | why would you use that? | 17:07 |
SpamapS | $country.archive.ubuntu.com should be far more useful. | 17:08 |
SpamapS | lau: I'd wait | 17:08 |
SpamapS | lau: but only because whats the rush? ;) | 17:08 |
SpamapS | lau: it is "safe" in that you should not lose data.. but you will slow down the raid build and the mkfs as they'll be fighting with eachother. | 17:08 |
lau | ok, is it right to say that the disk 4 will be dedicated to parity bit ? | 17:09 |
SpamapS | no | 17:09 |
SpamapS | thats RAID3 | 17:09 |
SpamapS | raid5 puts data and parity on all disks. | 17:09 |
lau | why only disk 4 is rebuilding ? | 17:09 |
SpamapS | probably an optimization | 17:10 |
lau | optimization leaded by mdadm ? | 17:10 |
SpamapS | more like an optimization by the MD driver. | 17:10 |
SpamapS | Most likely the fastest way to build an array is to set it up like you're recovering one disk. | 17:11 |
SpamapS | after initializing all the others. | 17:11 |
=== unreal_ is now known as unreal | ||
mathiaz | SpamapS: what do you think about RELP - http://www.rsyslog.com/doc/imrelp.html? | 18:07 |
mathiaz | SpamapS: http://www.rsyslog.com/doc/relp.html | 18:07 |
mathiaz | SpamapS: it seems to address the issue of non-reliable log delivery | 18:07 |
mathiaz | SpamapS: and is already included in rsyslog | 18:07 |
SpamapS | mathiaz: reading | 18:09 |
SpamapS | funny, its quite similar to STOMP | 18:09 |
SpamapS | mathiaz: Right, so it looks like a good messaging protocol. How does it fit in with rsyslog's local spooling and with multiple targets? | 18:10 |
SpamapS | mathiaz: one cool thing about Scribe is that you can give it multiple target servers which will just act as relays for your message to the eventual endpoint, and its pretty quick to fail over. | 18:11 |
adamk-pl | hey | 18:15 |
adamk-pl | anybody connected to Java EE application deployment | 18:16 |
SpamapS | adamk-pl: JamesPage might know something about that | 18:17 |
SpamapS | JamesPage: ping | 18:17 |
adamk-pl | i'm a JBoss Seam developer and I would like to contribute as packager for jee related software like JBoss AS or Seam | 18:18 |
SpamapS | adamk-pl: awesome! | 18:19 |
SpamapS | adamk-pl: There's a developer summit coming up in a week in Orlando... you can join us virtually for some of the sessions related to java... | 18:19 |
SpamapS | adamk-pl: http://summit.ubuntu.com | 18:19 |
adamk-pl | repeat it when my first deb is in repo | 18:19 |
adamk-pl | ok | 18:19 |
adamk-pl | sounds nice | 18:20 |
mathiaz | SpamapS: IIUC Relp is another output plugin as udp and tcp | 18:24 |
mathiaz | SpamapS: so it builds on top of local spooling and multiple targets | 18:24 |
mathiaz | SpamapS: rsyslog also support failover | 18:25 |
adamk-pl | SpamapS: i will have a look on the schedules for the summit and will try to get in touch with 'ping' | 18:25 |
mathiaz | SpamapS: http://wiki.rsyslog.com/index.php/FailoverSyslogServer | 18:25 |
SpamapS | adamk-pl: no, not "ping" .. JamesPage .. ping is just what I'm saying to him to wake him up. ;) | 18:26 |
adamk-pl | hahaha | 18:28 |
adamk-pl | i lol myself | 18:28 |
=== JKL__ is now known as JKL_ | ||
mathiaz | SpamapS: http://people.canonical.com/~mathiaz/distributed_logging.svg | 18:36 |
mathiaz | SpamapS: ^^ does that seem like a good distributed logging infrastructure? | 18:36 |
mathiaz | SpamapS: what kind of tests should be done on this infrastructure? | 18:37 |
mathiaz | SpamapS: I'd like to figure out whether rsyslog could be used to implement such an architecture | 18:37 |
SpamapS | mathiaz: test is easy.. log something on an originator, verify it appears in hdfs and sql database. ;) | 18:38 |
mathiaz | SpamapS: right ;) | 18:38 |
mathiaz | SpamapS: what are the failure scenario? | 18:39 |
SpamapS | mathiaz: graph latency and volume together | 18:39 |
mathiaz | SpamapS: relay1 goes down | 18:39 |
mathiaz | SpamapS: collector1 goes down | 18:39 |
SpamapS | mathiaz: so for full coverage testing, you must repeat that test, while simulating a failure of each component. | 18:39 |
SpamapS | mathiaz: so, log something while 1 relay is down, while 1 collector is down, and while 1 sql/hdfs node is down. | 18:39 |
SpamapS | mathiaz: probably good to also make sure it works when other originators are down | 18:40 |
SpamapS | The old cool technology spread suffered from failures when peers were down sometimes. Terrible. | 18:40 |
SpamapS | hmm that needs some context | 18:40 |
SpamapS | there was an old protocol called spread.. | 18:40 |
SpamapS | that was cool | 18:40 |
SpamapS | but it would sometimes freak out if peers were down | 18:40 |
mathiaz | SpamapS: right - I heard of spread | 18:41 |
mathiaz | SpamapS: http://www.spread.org/index.html ? | 18:41 |
SpamapS | it took down our sites a few times because we were using mod_log_spread | 18:41 |
SpamapS | yeah | 18:41 |
SpamapS | I hear that v4 fixed all of that | 18:41 |
SpamapS | but.. it still relies on multicast messaging and stuff that is hard to get right. | 18:42 |
mathiaz | SpamapS: it is available in ubuntu | 18:42 |
mathiaz | SpamapS: but seems unmaintained | 18:42 |
mathiaz | SpamapS: and there were some licensing issues as well IIRC | 18:42 |
mathiaz | SpamapS: overall I'd like to know if rsyslog could be used to build a distributed logging infrastructure that provides the same features as scribe/flume | 18:43 |
mathiaz | SpamapS: that would make things easier since rsyslog is *already* packaged, in main and the default syslog daemon in ubuntu | 18:43 |
SpamapS | mathiaz: If it can, then I agree. Its also way tighter than either of those, being a small well maintained C daemon. | 18:45 |
mathiaz | SpamapS: what are the main features that scribe provides according to you? | 18:45 |
SpamapS | mathiaz: failover, spooling, and flexibility in targets (you can say write all locally, you can send them forward to another scribe, you can also do both) | 18:46 |
SpamapS | "Rsyslog has the capability to work with failover servers to prevent message loss. A perquisite is that TCP based syslog forwarding is used to sent to the central server. The reason is that with UDP there is no reliable way to detect the remote system has gone away." | 18:47 |
SpamapS | so, can it also work with RELP ? | 18:47 |
SpamapS | also, this is a bit confusing: "This selector processes all messages it receives (*.*). It tries to forward every message to primary-syslog.example.com (via tcp). If it can not reach that server, it tries secondary-1-syslog.example.com" | 18:48 |
SpamapS | what doe "can not reach that server" mean exactly? Does it rely on TCP timeouts? does it time things out itself? | 18:48 |
SpamapS | mathiaz: these are the sorts of tests that are really, really hard to get right, and even harder to repeat. | 18:52 |
kim0 | hey folks, I can't make today's meeting | 18:57 |
mathiaz | SpamapS: -> #ubuntu-meeting | 19:01 |
ivoks | mathiaz: HB! :) | 19:04 |
mathiaz | ivoks: HBO? | 19:05 |
ivoks | mathiaz: happy birthday, man | 19:05 |
mathiaz | ivoks: ah - thanks! | 19:05 |
icek | hi, my eth0 was getting an ip on dhcp but now it wont work, it keeps saying no DHCPOFFERS received..... it was working just great now it wont work :/ its plugged into my router any advice? | 19:08 |
ivoks | dhcp server is working? | 19:09 |
icek | ya my other comptuers get connection | 19:09 |
icek | from the router | 19:09 |
icek | it keeps saying DHCP discover on eth0 to 255.255.255.255 port 67 | 19:09 |
ivoks | and what does you router says? | 19:09 |
icek | i dunno, my router is just a little box | 19:10 |
ivoks | did you set up firewall on that box? | 19:10 |
icek | not firewall on the router but on my ubuntu with the eth0 problems i installed firestarter but firestarter wont start until eth0 gets an ip | 19:10 |
ivoks | that would be an odd behaviour | 19:11 |
ivoks | try sudo iptables -L | 19:11 |
ivoks | if you see firewall rules, disable firestarter | 19:11 |
icek | nah just see chain input chain forward chain output | 19:12 |
icek | target prot opt source destination | 19:12 |
ivoks | and no rules? | 19:12 |
ivoks | did you try set up a static ip? | 19:13 |
icek | no just dhcp, it was gettin an ip b4 | 19:13 |
icek | not sure why not now | 19:13 |
ivoks | well, if all you see is dhcprequest, then requests aren't comming trough | 19:14 |
ivoks | so, set up a static ip | 19:14 |
ivoks | and see if that works | 19:14 |
Bilge | Is it going to be a problem upgrading from 8.04 LTS to 10.4 LTS if I use LILO? | 19:15 |
Bilge | I assume the upgrade will replace my boot loader with GRUB | 19:15 |
ivoks | haven't tried, but i doubt upgrade would replace your boot loader | 19:16 |
icek | so if it is doing dhcp requests.... that means either my router isn't responding or the dhcp requests arent getting to my router or my ubuntu is responding to the acknowledgement from the router | 19:16 |
qman__ | it won't | 19:16 |
qman__ | I don't know how exactly it'll work, but old installs that use grub1 keep grub1 | 19:16 |
ivoks | icek: just try setting up static ip | 19:16 |
cfairles | postfix is the recommended mail server yes? | 19:22 |
mathiaz | JamesPage: hi! | 19:24 |
mathiaz | JamesPage: is the hudson master in EC2 still useful now? | 19:24 |
mathiaz | JamesPage: or can it be shutdown for the time being? | 19:24 |
JamesPage | mathiaz: as no ISO's are being produced lets shut it down until its needed (we can spin it up for UDS-N if need be) | 19:25 |
mathiaz | JamesPage: should I keep the data around? | 19:25 |
RoyK | cfairles: recommended MTA, yes | 19:25 |
JamesPage | mathiaz: that would be a good idea - the contents of the hudson account would be good. | 19:25 |
thesheff17_ | anyone see Command 'euca-register' returned status code 1: | 19:26 |
thesheff17_ | [Errno 113] No route to host on UEC on ubuntu 10.10? | 19:26 |
RoyK | cfairles: but it's not a POA, so for a full mail server, you might want to look into Dovecot | 19:26 |
RoyK | cfairles: https://help.ubuntu.com/community/MailServer | 19:26 |
cfairles | RoyK, hm. POA? my googling fails me | 19:28 |
RoyK | post office agent | 19:28 |
RoyK | the sort of software that exposes email with imap or pop | 19:28 |
cfairles | I see. I just need to send email actually. | 19:29 |
cfairles | not even receive | 19:29 |
RoyK | then postfix is good | 19:29 |
cfairles | RoyK, coolbeans, thanks | 19:29 |
smoser | mathiaz, see my query in -devel regarding preseed, i think you might know the answer. | 19:30 |
JKL_ | where is /etc/init.d/inetd? | 19:31 |
JKL_ | how to restart inetd? | 19:31 |
RoyK | JKL_: iirc it's in upstart, so just type "restart inetd" | 19:31 |
* RoyK can't remember last time he used inetd | 19:32 | |
JKL_ | inetd <3 | 19:33 |
JKL_ | sudo restart inetd | 19:33 |
JKL_ | restart: Unknown job: inetd | 19:33 |
RoyK | which version of ubuntu is this? | 19:35 |
RoyK | AFAICS only xinetd is in Lucid | 19:36 |
JKL_ | 10.04 server | 19:36 |
RoyK | xinetd should be used, then | 19:36 |
JKL_ | i installed samba and swat and there is file /etc/inetd.conf | 19:36 |
RoyK | openbsd-inetd | 19:36 |
JKL_ | what is configuration file for xinetd? | 19:37 |
RoyK | sorry - my fault - just use inetd | 19:37 |
RoyK | /etc/init.d/openbsd-inetd restart | 19:37 |
JKL_ | where does that name comes from? | 19:37 |
RoyK | probably because the old inetd comes from bsd | 19:38 |
JKL_ | seems to work now | 19:38 |
JKL_ | thx | 19:38 |
RoyK | xinetd is configured under /etc/xinet.d | 19:38 |
JKL_ | I stopped inetd but swat is still there | 19:39 |
icek | hey are there any good tools to use that will automatically handle my network connections? like my eth0 and eth1 to set them up? | 19:42 |
icek | and manage them | 19:42 |
RoyK | icek: what do you mean? | 19:42 |
icek | i am having a hell of a time getting my eth0 to get a dhcp ip | 19:43 |
RoyK | JKL_: perhaps it went into xinetd or even started as a separate daemon | 19:43 |
icek | it just keeps doing dhcpdiscover | 19:43 |
icek | and never gets a response | 19:43 |
icek | but i know my router is good | 19:43 |
icek | all the other computers work fine with it | 19:43 |
RoyK | icek: that should be done quite automatically - perhaps the scope is full? | 19:43 |
icek | scope? | 19:43 |
RoyK | the dhcp scope | 19:43 |
RoyK | number of addresses | 19:44 |
icek | its just a home network | 19:44 |
icek | lemmie check the router log thou | 19:44 |
RoyK | well, for starters, try a static ip | 19:44 |
JKL_ | RoyK: yeah it did something weird. I found inetd process running without parent. i killed it and swat is gone, luckily | 19:44 |
RoyK | JKL_: k | 19:44 |
icek | the pool is size 90 and i only have like 5 comps | 19:45 |
icek | *scope | 19:45 |
* RoyK wonders why people use things like swat and webmin^Webox in the first place when administrating boxes from the command line is so much faster | 19:45 | |
RoyK | icek: ok, try to setup a static ip | 19:46 |
icek | i did | 19:46 |
RoyK | icek: something may be wrong with the nic or the driver or something | 19:46 |
RoyK | and that worked? | 19:46 |
icek | no static didnt work but checking to make sure i did it right | 19:46 |
RoyK | icek: pastebin /etc/network/interfaces | 19:48 |
RoyK | well, might be a little hard if the NIC is down :þ | 19:48 |
JKL_ | any idea can I use swat without enabling password for root? | 19:48 |
RoyK | JKL_: I'd guess asking on #samba might give a better answer - I don't know anyone in here using swat | 19:49 |
JKL_ | ok, i better try my luck there | 19:50 |
icek | Royk my networking restart yields RTNETLINK answers: No Such process | 19:50 |
icek | but my RTNETLINK card was just workin a bit ago | 19:50 |
RoyK | which driver are you using? | 19:51 |
icek | default | 19:51 |
icek | rtnetlink is eth1 anyway but i set static on eth0 and it still dont work :/ | 19:51 |
RoyK | iirc there are at least two drivers for the realtek card | 19:51 |
RoyK | icek: do you have two NICs? | 19:51 |
icek | ya | 19:52 |
icek | eth0 and eth1 | 19:52 |
icek | and heres my eth0 snippet http://pastebin.com/8y79pK70 | 19:52 |
icek | im setting up a router box | 19:52 |
icek | i already got dhcpd runnin | 19:52 |
icek | on eth1 | 19:52 |
icek | just need eth0 to get internet so i can share it over | 19:52 |
RoyK | check the mac address from ifconfig -a and compare that with what's in /etc/udev/rules.d/70-persistent-net.rules | 19:52 |
icek | by mac do you mean attr address | 19:54 |
icek | same thing? | 19:54 |
icek | they are all good, match | 19:55 |
RoyK | ok | 19:55 |
RoyK | is one of the NICs online? | 19:55 |
icek | neither have internet, my eth1 has a static ip | 19:55 |
icek | well so does my eth0 now | 19:55 |
RoyK | so eth1 is online | 19:56 |
icek | i suppose technically | 19:56 |
RoyK | eth0 wants an IP from the router or the ISP? | 19:56 |
RoyK | have you tried swapping cables between them? | 19:56 |
icek | well its going to want it from the isp but for now i am testing it on my local network | 19:56 |
RoyK | what becomes eth0/1 isn't really fixed somewhere | 19:56 |
=== _TechAway_ is now known as _Techie_ | ||
icek | maybe i should try stopping the dhcpd? | 20:00 |
RoyK | might be a good idea if you want a static ip...... | 20:02 |
RoyK | try unplugging what you beleive is eth0 | 20:02 |
RoyK | run dmesg to see the kernel log | 20:02 |
RoyK | that'll show you which one was unplugged (if the driver supports that) | 20:02 |
icek | when it says DHCPDISCOVER on th0 no dhcpoffers recieved no working leases in persistent database - sleeping | 20:07 |
icek | does that just mean it didnt get a resposne from the dhcp server? | 20:07 |
icek | how do i ensure that dhcpd isnt running? | 20:08 |
drcode | hi all | 20:09 |
drcode | I have qustion on console | 20:09 |
drcode | can I see what type in main console from other ssh ? | 20:09 |
uvirtbot | New bug: #663455 in openssh (main) "Incorrect text found in openssh-client/auth-file.c:542" [Undecided,New] https://launchpad.net/bugs/663455 | 20:11 |
icek | What does it mean when i do ifconfig and it says eth0:avahi | 20:11 |
thesheff17_ | icek: that is your primary adapter connected through cat5. | 20:12 |
icek | is that a problem? | 20:13 |
icek | my eth0 wont work | 20:13 |
icek | :? | 20:13 |
RoyK | icek: did you check the cabling? | 20:13 |
icek | like a bad cable? | 20:13 |
icek | lemmie get another one to see | 20:13 |
thesheff17_ | icek: how is it not working? | 20:13 |
RoyK | does eth1 work? | 20:13 |
RoyK | icek: did you check what I just ask you to check? | 20:13 |
=== Barre_ is now known as Barre | ||
icek | ya | 20:14 |
RoyK | so you know which is which? | 20:15 |
RoyK | if so - does either eth0 or eth1 work? | 20:15 |
icek | no | 20:15 |
icek | i tried both dhcp and static | 20:15 |
icek | :? | 20:15 |
RoyK | and when you unplugged one cable, did you see that in dmesg? | 20:15 |
icek | royk i unplugged eth0 and dmesg says eth0: no ipv6 routers present | 20:16 |
RoyK | dmesg -c | 20:17 |
Bilge | I... I just upgraded my entire distro and rebooted and nothing broke | 20:17 |
RoyK | then replug the cable | 20:17 |
Bilge | How is this even possible | 20:17 |
RoyK | Bilge: ubuntu :) | 20:17 |
RoyK | icek: then run dmesg again | 20:17 |
icek | ya royk | 20:17 |
icek | works | 20:17 |
Bilge | Even my crypted filesystem and associated scripts are unaffected | 20:17 |
icek | eth0 | 20:17 |
icek | down up | 20:17 |
icek | up down | 20:17 |
icek | etc | 20:17 |
icek | :) | 20:17 |
RoyK | ok | 20:17 |
icek | so now i know which is eth0 | 20:17 |
icek | the one i suspected | 20:18 |
RoyK | which driver are you using? | 20:18 |
icek | i got a brand new ethernet cable | 20:18 |
icek | as well | 20:18 |
RoyK | no, which driver - rtl8139? | 20:18 |
icek | r8169 | 20:18 |
icek | eth1 is the realtek card | 20:19 |
icek | i unplugged eth1 for now | 20:19 |
icek | eth0 is onboard | 20:19 |
RoyK | first hit on google for r8169 http://adam.rosi-kessel.org/weblog/2008/06/21/a-much-simpler-fix-for-the-r8169-link-down-problem | 20:19 |
=== tschundeee_ is now known as tschundeee | ||
icek | royk is this implying that this card has aproblem with getting connection consistently? | 20:23 |
=== SWAT__ is now known as SWAT | ||
RoyK | I'd say it more implies that there is a driver issue, but I may be wrong | 20:24 |
RoyK | to be frank, I don't know if autoneg happens on the card or in the driver | 20:25 |
hhlp | i install ubuntu server 10.10 and has mysql-server 5.1.49 and i want to downgrade to lucid mysql-server 10.04 that is posible ... if posible an util how too. thx | 20:26 |
hhlp | i install ubuntu server 10.10 and has mysql-server 5.1.49 and i want to downgrade to lucid 10.04 mysql-server 5.1.41 that is posible ... if posible an util how too. thx | 20:27 |
RoyK | hhlp: if the box is freshly installed, I'd recommend reinstalling it with lucid | 20:27 |
RoyK | if the hardware is supported etc | 20:27 |
hhlp | Royk .. is not a fresh install is an upgrade | 20:28 |
RoyK | out of interest - why did you upgrade? | 20:29 |
hhlp | all the system and i only want to donwgrade mysql | 20:30 |
* RoyK reminds hhlp that 10.04 is an LTS release, meaning it's fully supported until March 2015 | 20:30 | |
coafcv | when generating a public/private key with RSA, is there any good reason why one shouldn't use really high key bit sizes (like 8192 or even higher)? (taking too much CPU time doesn't count as a good reason here) | 20:32 |
RoyK | coafcv: only if you're paranoid | 20:36 |
RoyK | but then, a wee bit of paranoia is usually a good thing for a sysadmin | 20:37 |
coafcv | it takes only 2-3 seconds to log in with them, so I guess the paranoia doesn't come at a high cost. | 20:37 |
RoyK | the public/private key pair is only used for encrypting symmetrical keys, so it shouldn't matter too much | 20:39 |
icek | hey royk, i have ethtools downloaded to a thumbdrive extracted onto my ubuntu | 20:39 |
icek | do i have to compile this? | 20:39 |
icek | before i install it? | 20:39 |
coafcv | RoyK: okay thanks | 20:39 |
icek | i am not too familiar with command line install besides apt-get | 20:39 |
RoyK | if this is a server, I'd suggest you use 10.04 instead of 10.10 if it's not too much of a problem reinstalling | 20:40 |
icek | y? | 20:40 |
RoyK | 10.10 will be supported in 18 months, as compered to 5 years for 10.04 | 20:40 |
RoyK | erm | 20:40 |
RoyK | wrong guy | 20:40 |
RoyK | :) | 20:41 |
RoyK | I was thinking of what hhlp was saying | 20:41 |
RoyK | but then, he left | 20:41 |
RoyK | icek: iirc ethtool should be on the cd, so you should be able to apt-get install it | 20:42 |
qman__ | it's only paranoid until you need it | 20:42 |
qman__ | if you can afford the CPU time, no reason not to | 20:43 |
RoyK | qman__: indeed | 20:43 |
coafcv | qman__: agreed | 20:43 |
icek | it doesnt seem to auto check the media devices | 20:43 |
RoyK | icek: download the .deb file and dpkg -i it | 20:43 |
RoyK | dpkg -i somefile.deb will install it like apt-get does | 20:45 |
qman__ | yeah, compiling from source should be a last resort | 20:45 |
RoyK | building from source will mess things up a bit | 20:45 |
icek | that was easy | 20:47 |
icek | ^^ | 20:47 |
uvirtbot | icek: Error: "^" is not a valid command. | 20:47 |
coafcv | … | 20:48 |
RoyK | ^kick uvirtbot | 20:48 |
uvirtbot | RoyK: Error: You don't have the #ubuntu-server,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified. | 20:48 |
RoyK | :) | 20:48 |
qman__ | not sure whose bright idea it was to make ^ a command character | 20:48 |
qman__ | just ignore it | 20:48 |
icek | royk that ethtool tutorial doesnt seem to do anythin | 20:59 |
RoyK | man ethtool? | 21:00 |
icek | i tried this http://adam.rosi-kessel.org/weblog/2008/06/21/a-much-simpler-fix-for-the-r8169-link-down-problem | 21:00 |
RoyK | ethtool -s eth0 speed 100 duplex half autoneg off | 21:01 |
RoyK | try that, then try to set an ip address manually with ifconfig | 21:01 |
icek | how do you want my interfaces to look? auto eth0 iface eth0 inet dhcp? | 21:02 |
icek | or with the thingie in the tutorial | 21:02 |
RoyK | icek: that doesn't matter if you configure the interface manually | 21:02 |
RoyK | it won't last over a reboot, but it will show you if it works | 21:02 |
Bilge | I thought init.d was replaced in 10.4; after just upgrading from 8.04 I can still use it to restart services, but is there a better way? | 21:02 |
RoyK | Bilge: some stuff has been moved to upstart, but not all, and there are still lots of scripts in init.d for backwards compatibility | 21:03 |
icek | ok so after i do ethtool -s eth0 speed 100 duplex half autoneg off what do you want me to do royk | 21:03 |
RoyK | ifconfig eth0 1.2.3.4/24 | 21:04 |
RoyK | for instance | 21:04 |
Bilge | But stuff still in init.d does not get started at system boot does it? | 21:04 |
RoyK | symlink it to rc2.d | 21:04 |
icek | what is /24? | 21:04 |
Bilge | CIDR | 21:04 |
RoyK | same as 255.255.255.0 | 21:04 |
RoyK | 24 bits | 21:04 |
icek | so like ifconfig eth0 192.168.2.18/24 for instance? | 21:05 |
RoyK | yes | 21:05 |
RoyK | if your netmask is 24 bits, which I guess it is | 21:05 |
icek | ok royk anything else? | 21:06 |
icek | or test it? | 21:06 |
icek | restart networking? | 21:06 |
RoyK | just try to ping the box | 21:06 |
RoyK | don't restart networking | 21:06 |
RoyK | that'll reset what you just did | 21:06 |
icek | from another computer i did: PING 192.168.2.18 (192.168.2.18): 56 data bytes Request timeout for icmp_seq 0 | 21:07 |
RoyK | what's this computer's ip address? | 21:07 |
icek | 192.168.2.3 | 21:07 |
RoyK | and the nic you just configured is on that network? | 21:08 |
RoyK | eth0 | 21:08 |
icek | ya plugged into the same router | 21:08 |
RoyK | same side of the router? a switch? | 21:08 |
icek | well its a router/wireless access point al in one, the ubuntu server i plugged into the router directly and i am on this laptop (192.168.2.3) wireless | 21:09 |
RoyK | try to plug the laptop in there as well using a cable, just to be sure | 21:09 |
smoser | ttx, ping | 21:11 |
uvirtbot | New bug: #663481 in mysql-5.1 (main) "JDBC: statement.setBinaryStream fails iff mysql logging is disabled" [Undecided,New] https://launchpad.net/bugs/663481 | 21:11 |
ttx | smoser: pong | 21:11 |
smoser | i was talking with stgraber | 21:11 |
RoyK | icek: btw, what is the mac address reported by ifconfig on that card? | 21:12 |
smoser | he'd like https://blueprints.launchpad.net/ubuntu/+spec/cloud-server-n-desktop-images scheduled sometime after tuesday's plenary | 21:12 |
smoser | as he is going to be demoing the edubuntu, and that will likely drive interest | 21:12 |
icek | royk by mac you mean hwaddr? | 21:12 |
RoyK | yes | 21:12 |
smoser | so can you plan that for wed or so ? ttx | 21:12 |
icek | 70:71:bc:18:2e:ed | 21:12 |
mathiaz | JamesPage: hi - I'd recommend to not set bp to drafting stage | 21:13 |
ttx | smoser: can you mention that on the blueprint itself ? | 21:13 |
mathiaz | JamesPage: as they may not be scheduled for UDS | 21:13 |
ttx | smoser: I'll place it but atht could serve as a reminder if I move it | 21:13 |
mathiaz | JamesPage: I'd suggest to leave the definition to New | 21:13 |
smoser | yeah. | 21:14 |
smoser | in whiteboard, ttx ? | 21:14 |
smoser | or summary ? | 21:14 |
RoyK | icek: erm - a PEGATRON card that seems to be | 21:14 |
RoyK | never heard of it | 21:14 |
icek | lol | 21:15 |
icek | weird | 21:15 |
ttx | smoser: whiteboard | 21:15 |
ttx | its on wed afternoon right now | 21:15 |
smoser | ttx, thanks. stgraber ^^ | 21:16 |
smoser | *** Please Schedule after Tuesday Plenary *** | 21:16 |
smoser | *** On Wednesday or so so people have time to *** | 21:16 |
smoser | *** react to the outstanding edubuntu demo *** | 21:16 |
RoyK | icek: out of curiosity - if you rmmod that driver and try to load rtl8139 - does it load? | 21:16 |
smoser | (added that to whiteboard) | 21:16 |
icek | how do i do that | 21:17 |
RoyK | icek: rmmod rt8139 | 21:17 |
icek | and Royk, this annoys me because i just had backtrack 4 installed on here and eth0 worked perfect! | 21:17 |
RoyK | icek: modproble 8139too | 21:17 |
RoyK | or 8139cp | 21:17 |
icek | module rt8139 does not exist in /proc/modules | 21:18 |
RoyK | lsmod | grep 81 | 21:18 |
RoyK | or even - pastebin the whole of lsmod | 21:18 |
stgraber | smoser: cool | 21:19 |
icek | lsmod: http://pastebin.com/TymqBxRV | 21:21 |
icek | royk | 21:21 |
RoyK | r8169 | 21:22 |
RoyK | try to rmmod that and see if any of the 8139 modules work | 21:22 |
icek | ok | 21:23 |
icek | i did rmmod r8169 | 21:23 |
icek | what you want me to do now | 21:23 |
RoyK | insmod 8139cp | 21:23 |
RoyK | insmod 8139too | 21:23 |
RoyK | one of those | 21:23 |
RoyK | dunno if the chipsets are compatible, though | 21:23 |
RoyK | if not, let's debug the 8169 | 21:24 |
icek | insmod 8239cp can't read 8139cp no such file or dir | 21:25 |
RoyK | 82? | 21:25 |
RoyK | or 81? | 21:25 |
icek | insmod 8239cp does the same | 21:25 |
icek | cant read | 21:25 |
RoyK | erm - sorry - not insmod - modprobe | 21:25 |
RoyK | insmod requires the full path | 21:26 |
icek | ok royk | 21:26 |
icek | seemed to work | 21:26 |
icek | with modprobe | 21:26 |
RoyK | and it's 8139, not 8239 | 21:26 |
RoyK | ifconfig -a | 21:26 |
RoyK | does that show your nic? | 21:26 |
icek | 8139 | 21:27 |
icek | just says lo | 21:27 |
RoyK | ok,rmmod that again | 21:27 |
RoyK | try the other | 21:27 |
icek | rmmod 8139? | 21:27 |
RoyK | just 8139? | 21:28 |
icek | ryok | 21:28 |
icek | ? | 21:28 |
RoyK | it should be 8139too or 8139cp | 21:28 |
icek | ohhh | 21:28 |
icek | ok got that | 21:28 |
icek | what do you want me to try now | 21:28 |
RoyK | you don't want both of them loaded | 21:29 |
RoyK | or you can't | 21:29 |
icek | OH | 21:29 |
icek | :D | 21:29 |
icek | i did both | 21:29 |
icek | are cp and too different? | 21:29 |
RoyK | heh | 21:29 |
icek | i thought they were the same one | 21:29 |
RoyK | nope, different drivers to the same or almost same chipset | 21:30 |
icek | neither seem to work | 21:30 |
RoyK | ok | 21:30 |
RoyK | go back to r8169, then | 21:30 |
RoyK | rmmod the other 8xx9 drivers | 21:30 |
RoyK | modprobe r8169 | 21:31 |
RoyK | ifconfig -a | 21:31 |
RoyK | then ifconfig eth0 x.x.x.x/24; ifconfig eth0 up | 21:31 |
RoyK | try to ping it | 21:31 |
RoyK | perhaps try 'ethtool -s eth0 speed 100 duplex half autoneg off' before upping the nic | 21:32 |
icek | ping wont work | 21:36 |
icek | it can ping itself but thats it | 21:36 |
icek | :D | 21:36 |
RoyK | even after ethtool and so on? | 21:36 |
icek | ya | 21:36 |
RoyK | can you doublecheck the cables? | 21:36 |
icek | indeed | 21:37 |
icek | one sec | 21:38 |
icek | ∞ | 21:38 |
lau | do I need to set up a Samba PDC in order to make Samba user auth via ldap when reading or writing to a Samba share ? | 21:44 |
RoyK | ∞ sec seems a long time to wait..... | 21:44 |
RoyK | lau: no | 21:44 |
RoyK | lau: but for better info on samba, try #wamba | 21:44 |
eriksson25 | Help me with folowing error "ubuntu-extras-keyring is not configured yet" on a newly updated 10.04 --> 10.10 | 21:57 |
eriksson25 | etting up ubuntu-keyring (2010.+09.30) ... | 21:58 |
eriksson25 | gpg: [don't know]: invalid packet (ctb=2e) | 21:58 |
eriksson25 | gpg: keydb_get_keyblock failed: eof | 21:58 |
eriksson25 | Realy need help with this, the machine runs fine. But cant install anything at all. | 21:58 |
mathiaz | JamesPage1: http://nexus.sonatype.org/ | 22:01 |
mathiaz | JamesPage1: could ^^ this help manage maven dependencies? | 22:01 |
mathiaz | SpamapS: ^^? | 22:01 |
SpamapS | mathiaz: "Nexus greatly simplifies the maintenance of your own internal repositories and access to external repositories." interesting! | 22:10 |
SpamapS | mathiaz: terrible name though. Calling a repository "Nexus" is like calling a car "Auto". | 22:11 |
SpamapS | mathiaz: I love the idea of being able to have a limited maven repository for builds, where only supported/tested versions are made visible. | 22:12 |
attention_chaud | hello, I have a weird question. on my file serv I'm getting an error that specifies that files with a path that has more that 218 characters cannot be saved but other files with 235 characters have been saved to the exact same folder in the past... is there a way to fix this? Not sure why it would add some files and be an exeption to the rul and others not so much | 22:18 |
attention_chaud | oops... is this a question for this room or samba? I just realized there's a samba room but if someone here could help that would be awesome. I don't want to cross post unless necessary | 22:20 |
SpamapS | Hey, is there anybody from the ubuntu-server LP team that can subscribe ubuntu-server to 'cheetah' for bugs? seeing as cloud-init depends on it, we should definitely add it to our triage list. | 22:47 |
SpamapS | err.. anybody with admin access I mean. | 22:47 |
netritious | Hi, I have setup syslogd on hardy i386 (older server) for remote logging from a pfSense firewall, and everything works except logging to a separate file. | 23:08 |
netritious | I placed "pfg.* -/var/log/pfsense.log" (without quotes) in /etc/syslog.conf, created the file /var/log/pfsense.log, chown'ed to syslog:adm, chmod'ed 640, restarted sysklogd, and /var/log/pfsense.log still has 0 bytes. | 23:08 |
netritious | /var/log/syslog is confirmed as receiving and recording the entries. What do I need to do at this point? I've tried everything I know to do and still coming up empty handed. | 23:08 |
uvirtbot | New bug: #663564 in ipvsadm (main) "Don't report persistentconns as activeconns" [Undecided,New] https://launchpad.net/bugs/663564 | 23:16 |
attention_chaud | hey anyone around? | 23:21 |
RoyK | attention_chaud: I would guess the correct way is to ask a question about something, not merely if someone's around | 23:34 |
attention_chaud | sorry RoyK I had asked earlier and didn't see any activity so I was just testing the waters | 23:34 |
attention_chaud | hello, I have a weird question. on my file serv I'm getting an error that specifies that files with a path that has more that 218 characters cannot be saved but other files with 235 characters have been saved to the exact same folder in the past... is there a way to fix this? Not sure why it would add some files and be an exeption to the rul and others not so much | 23:34 |
demonspork | there is no motivation for anyone to respond unless they have an answer to your question, so just ask away and we will try to help | 23:34 |
demonspork | first, why do you need files that have names that long | 23:35 |
attention_chaud | sorry I wasn't trying to be a jerk. | 23:35 |
RoyK | attention_chaud: first, is this utf8 filenames? | 23:35 |
demonspork | RoyK, you were second, stop stealing my thunder | 23:36 |
RoyK | and so, is this samba or something? | 23:36 |
RoyK | eriksson25: heh - just trying to help | 23:36 |
RoyK | demonspork: that one was for you | 23:36 |
attention_chaud | demonspork: it's the file structure that the department came up with not me | 23:36 |
RoyK | attention_chaud: samba? | 23:36 |
attention_chaud | yes it's a samba share. I'm not sure if it's utf-8 how would I find that info out? I kinda fail. | 23:37 |
RoyK | attention_chaud: if the characters in the file or directory name includes non-ASCII stuff, it'll be utf8 | 23:37 |
RoyK | if so, one character may take up several bytes, and samba may have a limit of 255 | 23:38 |
attention_chaud | like () in the file name and such? | 23:38 |
RoyK | not (), but non-english characters | 23:38 |
attention_chaud | oh hm let me check with an accent or something i know it doesn't allow for < > etc | 23:39 |
RoyK | æðøþåè | 23:39 |
RoyK | etc | 23:39 |
RoyK | http://lists.samba.org/archive/samba-technical/1999-February/003602.html | 23:40 |
RoyK | oh | 23:40 |
RoyK | that was old | 23:40 |
eriksson25 | Royk, what do you mean? | 23:40 |
RoyK | eriksson25: I meant to say that to attention_chaud | 23:41 |
eriksson25 | Ohh I see, =( got my hopes up, realy strugeling with this stipid thing. | 23:41 |
=== bastidrazor is now known as bastid_raZor | ||
attention_chaud | RoyK: yes it must be utf 8 I was able to save it in ubuntu with a french accent | 23:49 |
attention_chaud | hmm so that's weird. why would it allow for files to prevously be saved with 230+ characters and now revert to 218? is there a way to correct this so it's consistent? I get the 218 character limit \error in windows | 23:52 |
icek | hey, i set up a router ubuntu-server i used dhcpd and firestarter but now i want to use cacti to do cool analysis and graphs to watch my network.... how do i do this? just install cacti? | 23:52 |
attention_chaud | oh sorry I just saw your link | 23:52 |
icek | royk | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!