=== hessml|away is now known as hessml|away|away | ||
=== hessml|away|away is now known as hessml|away | ||
dustin | what is the purpose of LTSP chroot? | 01:41 |
---|---|---|
=== hessml|away is now known as hessml|away|away | ||
owh | dustin: Huh? | 01:42 |
dustin | setting up ubuntu server 8.10 and there is an option to enable LTSP chroot and I was wondering if I need it | 01:43 |
dustin | well if nobedy here uses it I will assume that it is not necesary | 01:46 |
owh | I'm just having a little look-see. Gimmie a mo. | 01:46 |
twb | dustin: LTSP is the Linux Thinclient Server Project | 01:48 |
twb | dustin: unless you are setting up a thinclient server, you don't need LTSP | 01:48 |
owh | dustin: I'm not familiar with it, but it appears to relate to the LSTP client builder. I'm *guessing* that it is to allow you to chroot to the client image, so you can update it and modify it without affecting the server itself, but I may be wrong. | 01:48 |
owh | dustin: As twb says, if you're not using LTSP, then no. | 01:48 |
dustin | ok that makes sence | 01:49 |
dustin | is there a command line method to fix my grub it didnt burn right onto the disk | 01:50 |
twb | dustin: there is. | 01:50 |
twb | dustin: are you sure grub is at fault? What are the symptoms? | 01:50 |
dustin | during install the disk flagged an error loading grub | 01:51 |
dustin | as in installing | 01:51 |
dustin | but if I can run a live cd and fix it after installing I think that I can work it out | 01:52 |
twb | Hmm, are you still in the installer? | 01:52 |
dustin | yes | 01:52 |
twb | Switch to vt4. | 01:52 |
twb | Can you see anything about grub there? | 01:53 |
dustin | ah point!! | 01:53 |
dustin | brb | 01:53 |
dustin | beautifull grub didnt get installed on the disk my burner is doing some of the wierdest stuff | 01:55 |
dustin | at least this coppy had the base system on it :) | 01:55 |
owh | Perhaps you're trying to install grub on the wrong device? | 01:55 |
dustin | it didnt offer an option but I would think that its target is md0 which is my root | 01:56 |
twb | The target should be the disk itself, not a partition or md device | 01:58 |
dustin | wow I have had so many difficulties with this install........................................but it will be well worth the effort | 01:58 |
owh | And as a trick for new players, if you need to be able to boot from either drive if the array fails you need to manually copy the boot-block across too. | 01:59 |
owh | Unless there is a better way that I don't know of :) | 01:59 |
dustin | laemmy guess.........I shoulda partitioned for two virtual md devices and dedicated one as a /boot partition | 02:01 |
dustin | that way I would have my /boot on two drives in its own little place | 02:01 |
dustin | or am I miss reading you? | 02:02 |
twb | dustin: are you using RAID5 or RAID1? | 02:03 |
dustin | raid1 | 02:03 |
twb | dustin: then it ought to work... | 02:03 |
dustin | this is a very small server | 02:03 |
dustin | wow I just found out that apt-get isnt available in install bash | 02:08 |
dustin | ok I have a command line how do I install and configure grub from there | 02:19 |
dustin | I also have apt-get | 02:19 |
twb | dustin: chroot into the root filesystem (probably /target). | 02:22 |
twb | Oops, sorry. | 02:22 |
twb | Don't do that. | 02:22 |
twb | Instead, grub-install --root-directory=/target /dev/sda, where sda is the appropriate disk. | 02:22 |
dustin | lol | 02:22 |
twb | You may need to use --recheck. | 02:22 |
mattt | you guys have any suggestions for creating minimal chroot environments for users? | 02:22 |
mattt | debootstrap seems a bit overkill | 02:22 |
twb | mattt: define `minimal'. | 02:23 |
mattt | twb: ls, cat, find, tar, vi,e tc. | 02:23 |
twb | mattt: debootstrap creates a chroot that contains the minimum necessary to be a policy-compliant Debian system. | 02:23 |
infinity | mattt: debootstrap --variant=buildd probably gets you what you want, more or less. | 02:24 |
twb | mattt: though I think it defaults to standard, not minimal | 02:24 |
twb | infinity: thanks. | 02:24 |
mattt | ok, thanks guys | 02:24 |
twb | infinity: is that also what pbuilder uses? | 02:24 |
mattt | otherwise, i've seen jailer, which seems another option | 02:24 |
infinity | twb: Probably. I don't use pbuilder. | 02:25 |
twb | mattt: you should be aware that chroot(2) offers *zero* protection to your host system against the root user within the chroot. | 02:25 |
infinity | twb: (As the buildd maintainer, I use sbuild and chroots identical to the buildds...) | 02:25 |
twb | infinity: fair enough | 02:25 |
dustin | twb: bash grub-install: not found | 02:25 |
twb | dustin: yeah, OK, so you haven't got grub. You do need to chroot into target | 02:26 |
twb | mattt: if you want a secure chroot-like system, I suggest you look at xen and/or openvz. For more complete virtualization, there is kvm. | 02:26 |
mattt | twb: heh, well ... this is actually going to be used on a domU :P | 02:27 |
twb | mattt: OK, no worries | 02:27 |
mattt | twb: well, there are still issues ... because the domU runs stuff that i don't want the chroot to see | 02:27 |
dustin | twb: this may sound stupid but what is the command for the chroot | 02:27 |
twb | dustin: chroot /target, I think | 02:28 |
dustin | thats what I thought but wanted to confirm b4 messing up | 02:28 |
dustin | twb: bash: chroot: cannot change root directory to /target: no such file or directory | 02:30 |
twb | dustin: OK, you need to work out where it's mounted | 02:31 |
twb | dustin: look at /proc/mounts | 02:31 |
dustin | twb does this install have you agravated yet ;) | 02:31 |
twb | dustin: nope. | 02:31 |
dustin | well this might-- I am root and do not have permission to /proc/mounts | 02:32 |
dustin | should I cat /proc/mounts | 02:33 |
twb | That's what I said. | 02:33 |
dustin | ok then I misread u | 02:33 |
dustin | I see things that are wrong??????????? | 02:34 |
twb | Insufficient data. | 02:35 |
dustin | md0 is showing as ext2 and it is formatted to ext3 | 02:35 |
twb | That is OK. | 02:35 |
dustin | ok as long as u agree with it I will over look that part does it matter that it is reporting errors | 02:36 |
twb | dustin: what errors? | 02:36 |
twb | dustin: also, please use punctuation and capitalization appropriately. | 02:36 |
dustin | line reads /dev/md0 / ext2 rw, errors=continue 0 0 (maybe I am freaking out and missreading) | 02:38 |
twb | dustin: that says "if you see an error, continue". | 02:39 |
twb | dustin: it doesn't mean there ARE errors. | 02:39 |
dustin | I have been staring at this screen for 12 hours now so it is entirely possible that I am just freaking out | 02:39 |
twb | I am now confused as to what environment you are in. | 02:40 |
twb | I thought you were in the installer still. | 02:40 |
dustin | after installer failed to load grub I started in rescue mode so that I could access a command line | 02:41 |
twb | dustin: you mean that you ran the install CD in rescue mode? | 02:41 |
dustin | as far as I can tell I am in a "safe mode" command line | 02:41 |
twb | Please just answer the question. | 02:42 |
dustin | I am in rescue mode "NOW" | 02:42 |
dustin | would you like me to start from the beginning and reload from the start because I have nothing to loose by doing so | 02:43 |
dustin | twb: I am sorry for anny confusion I may have caused jumping around | 02:44 |
dustin | I am having a bit of a day | 02:45 |
twb | dustin: OK, please confirm that /usr/sbin/grub-install doesn't exist at the moment. | 02:45 |
dustin | confirmed | 02:46 |
twb | dustin: OK, is /usr/sbin mentioned in "echo $PATH"? | 02:46 |
dustin | yes | 02:48 |
twb | That's weird | 02:48 |
twb | 12:29 <dustin> twb: bash grub-install: not found | 02:48 |
infinity | twb: He said it wasn't installed. | 02:49 |
infinity | twb: (He confirmed its nonexistence...) | 02:49 |
twb | infinity: if it's not installed, then why is it in his path? | 02:49 |
twb | That's a pretty fundamental contradiction | 02:49 |
infinity | 19:45 < twb> dustin: OK, please confirm that /usr/sbin/grub-install doesn't exist at the moment. | 02:50 |
infinity | 19:46 < dustin> confirmed | 02:50 |
infinity | He comfirmed that it doesn't exist. | 02:50 |
twb | Oh sorry, brain fart | 02:50 |
twb | dustin: can you check if lilo exists in any of the directories in your $PATH? | 02:51 |
twb | dustin: don't run it, I just want to know if it's there | 02:51 |
dustin | its ok I have had to tripple confirm these errors to myself becouse I dont believe it | 02:51 |
twb | dustin: actually, you can just do "dpkg -l \*lilo*" and see if it has "ii" on the left | 02:51 |
dustin | output of $PATH= /sbin:/usr/sbin:/usr/bin | 02:53 |
dustin | "| status=not/inst/Cfg-files" ect | 02:56 |
dustin | last was dpkg output | 02:57 |
twb | dustin: yes, there should be a line at the bottom of dpkg's output saying either "ii" if it's installed or something like "pn" if it isn't. | 02:57 |
dustin | is "un" the one u want? | 02:58 |
twb | OK, interesting. | 02:58 |
twb | dustin: that means you have somehow managed to install this system without ANY bootloader. | 02:58 |
dustin | if I seem choppy or inattentive its becouse I run both my server and my desktop on the same monitor | 02:58 |
dustin | yes!! | 02:59 |
dustin | that is correct | 02:59 |
twb | dustin: well, that wasn't established before. | 02:59 |
twb | dustin: it might have been installed, but not installed into the MBR properly. | 02:59 |
dustin | sorry I am a bit off today | 02:59 |
twb | No problem. | 02:59 |
dustin | it might be the lortabs after my knee surgery | 03:00 |
twb | dustin: what you need to do now is get grub installed. That means getting either the install CD or the network working, then doing an "apt-get install grub". | 03:00 |
dustin | I will apt-get it | 03:00 |
dustin | brb | 03:00 |
dustin | "grub has no installation candidate"..........*moans* | 03:02 |
twb | dustin: edit /etc/apt/sources.list. | 03:02 |
twb | dustin: there should be a commented-out reference to the CD. | 03:02 |
owh | twb: Perhaps he didn't like your bed-side manner? | 03:16 |
twb | owh: hmm? | 03:16 |
owh | twb: The person you've patiently been helping for the past hour and a half. | 03:17 |
matthew-21 | Hi, how do I unmount a harddrive? | 03:18 |
owh | matthew-21: In what context? | 03:19 |
owh | matthew-21: As-in, what are you trying to do. The unmount command is umount, but if you're asking, I'm guessing that's not what you're looking for. | 03:21 |
dustin | my isp is about to get an earfull | 03:28 |
twb | dustin: do you think that will help? | 03:28 |
dustin | twb: u still on? | 03:28 |
dustin | I cant exit my editor....................................I have never used it b4 | 03:29 |
dustin | no I was typing into irc and found out that I was disconnected | 03:29 |
twb | Describe the editor. | 03:29 |
dustin | how do I save and exit vim? | 03:30 |
twb | I wish to know if it is nano or vi. | 03:30 |
dustin | its the newer version of vi | 03:30 |
friartuck | dustin :x | 03:30 |
twb | Type ESC :q RET | 03:30 |
friartuck | dustin save and exit=:x . exit without save=:q! | 03:32 |
dustin | I still cant install grub even with cd enabled | 03:33 |
dustin | I think it is missing from the disk | 03:34 |
owh | dustin: After uncommenting the source, did you run apt-get update? | 03:34 |
dustin | I felt like I missed something | 03:34 |
twb | Sorry, yes, you will need to run apt-get update. | 03:37 |
twb | You may also need to run apt-cdrom, IIRC it is particularly stupid about that. | 03:38 |
dustin | when I ran that update I was informed about apt-cdrom | 03:38 |
dustin | grub is unpacking huray!!!!! | 03:39 |
dustin | ok now to configure grub | 03:41 |
dustin | how do I check it to verify its current settings | 03:41 |
dustin | twb: can you walk me through grub settup in command line | 03:42 |
owh | dustin: May I suggest that you do some reading on the subject? | 03:43 |
twb | dustin: you should be able to just run "grub-install /dev/sda", where sda is the appropriate disk | 03:44 |
dustin | ok | 03:44 |
twb | Actually, that might not work. Try it and see. | 03:44 |
owh | twb: With an array? | 03:45 |
dustin | it seems to have liked that command | 03:46 |
dustin | I am going to reboot and see how it goes | 03:46 |
dustin | well thats a N/G but I am going to rub my eyes and take ten after that I will read the grub man file and try again | 03:50 |
dustin | thank all of you for your help and tollerance | 03:51 |
matthew-21 | How do I give users user quotas for home dir? | 03:55 |
twb | matthew-21: you need to install the quota package, then mount /home with -o usrquota, then generate an initiate quota database. | 03:57 |
owh | twb: You mean initial right? | 03:59 |
matthew-21 | Okay, I've installed the quota package, now how do I give them a certain quota to use? lol | 04:01 |
matthew-21 | I mean so they can only upload a certain amount of stuff. | 04:02 |
twb | owh: yes | 04:03 |
twb | matthew-21: oh yes, you also need to allocate each user a quota -- otherwise it won't be enforced | 04:03 |
matthew-21 | What are the commands to do this? | 04:03 |
twb | quota or edquota, IIRC | 04:04 |
twb | dpkg -L quota | grep bin/ will tell you | 04:04 |
owh | matthew-21: You could just click on the first link of this google search "linux home dir quotas" and read the whole thing from start to end. | 04:05 |
matthew-21 | would this quota system work if I was using an external harddrive? like giving them a quota on the harddrive. | 04:07 |
owh | matthew-21: Well, it likely depends on how you've mounted that drive. | 04:07 |
owh | matthew-21: If the external hard drive changes, you're possibly going to run into issues identifying which drive it is. If the drive is just in an external case, but always there, it makes no difference. | 04:09 |
matthew-21 | I typed this. "mount -t vfat /dev/sdb1 /var/www/tb/" | 04:10 |
twb | The quota system doesn't care WHERE the drive is, only that it is mounted with -o usrquota | 04:10 |
twb | Quotas may not work with vfat. | 04:10 |
owh | I suspect that it doesn't support vfat. | 04:10 |
matthew-21 | and then link it to a folder in the users home dir. | 04:10 |
twb | Do not use FAT, as it is a bloody awful filesystem | 04:10 |
twb | matthew-21: quotas do not span disks. | 04:11 |
twb | matthew-21: if you're trying to put quotas on, say, ~user/public_html, and public_html is a symlink, then you need to set up quotas for the place that public_html points to. | 04:11 |
owh | matthew-21: Let me suggest that you take a step back and actually describe what you're trying to do and how it's currently setup, because from what I'm reading here, there are some serious problems. | 04:11 |
matthew-21 | I have an external harddrive, that I am leaving plugged in to the server all the time. I want to set up quotas on it, and so far iv mounted it using the command "mount -t vfat /dev/sdb1 /var/www/tb" I'm just wondering how to prevent users from taking up the entire harddrive laughs. | 04:15 |
owh | matthew-21: That does not appear to be the whole story because you're mounting it related to the web-root but sym-linking to a user. | 04:15 |
matthew-21 | I haven't done that yet, I was checking here before I did anything else. | 04:16 |
owh | matthew-21: So, how are the user accounts related to the web-root? | 04:17 |
owh | matthew-21: Is the external drive ever used anywhere else on another machine? | 04:17 |
matthew-21 | it was before, but I'm trying to make it into a server drive. | 04:18 |
owh | matthew-21: What about the user home directories and their relationship to the /var/www/tb tree? | 04:19 |
matthew-21 | I want the files that users upload to be accessible on the internet, that's why I add in web-root. | 04:19 |
owh | matthew-21: I'm guessing there are multiple users? | 04:20 |
matthew-21 | yes | 04:20 |
owh | matthew-21: Are all their files going to be uploaded into the same directory? | 04:20 |
matthew-21 | no | 04:21 |
owh | matthew-21: So, how does that answer relate to linking their home directories with a sym-link to /var/www/tb ? | 04:22 |
matthew-21 | I would create seperate folders as I gave users space. | 04:22 |
owh | matthew-21: So, how would the structure look? | 04:23 |
matthew-21 | like if there was a user named bob, the tree would be /var/www/tb/bob | 04:23 |
owh | matthew-21: In addition to that structure, /var/www/tb/{username}, do the users also have /home/{username} | 04:24 |
matthew-21 | ah, how would I get quotas for each folder though? | 04:25 |
owh | matthew-21: It's per drive, per user/group | 04:25 |
owh | matthew-21: Read this: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch28_:_Managing_Disk_Usage_with_Quotas | 04:26 |
matthew-21 | is there a way to do this without partitioning? | 04:30 |
owh | matthew-21: Well, the external drive is a partition all by itself. | 04:31 |
matthew-21 | ah, I see. do I need to edit the /etc/fstab file? | 04:32 |
owh | Yup | 04:32 |
matthew-21 | or can I just say external harddrive is partition. | 04:32 |
owh | matthew-21: fstab is a mechanism to automatically mount a drive. I suppose you could manually mount it each time you reboot, but after a power-failure/reboot, the mount would not be there. | 04:33 |
twb | Normally you should refer to external drives' filesystems by UUID. | 04:34 |
twb | For FAT, I believe this is an eight-byte string XXXX-XXXX. | 04:35 |
owh | I gotta say that using FAT for a server mounted drive that is intended to support quotas and be served as a web-volume make little sense to me. | 04:36 |
matthew-21 | I would format the drive, but I have stuff backed up onto it and cannot put the files anywhere else. | 04:37 |
twb | matthew-21: if you aren't using RAID, then you have a SPOF already | 04:38 |
matthew-21 | ? what do you mean. | 04:38 |
twb | You ought to go buy a second disk, and RAID1 them. During that transition you could also convert the filesystem. | 04:38 |
owh | SPOF == Single Point Of Failure | 04:39 |
twb | matthew-21: I mean that if that hard drive dies (the Single Point of Failure) then you have lost that data forever | 04:39 |
matthew-21 | ah | 04:39 |
matthew-21 | okay, I would like to ask a different question if that's okay with you, how would I authorize my website so people would need a username and password to log in to the actual website? | 04:41 |
matthew-21 | I think that it is possible. | 04:41 |
matthew-21 | But I am not sure. | 04:42 |
matthew-21 | thank you for your help though, I really appreciate it. | 04:43 |
twb | matthew-21: that depends on a large range of factors. | 04:43 |
matthew-21 | I don't want anything really secure, just a way to secure apache and my site a bit. | 04:43 |
twb | Those phrases are rather contradictory. | 04:44 |
friartuck | matthew-21 http://ubuntu-tutorials.com/2007/10/06/limiting-access-to-websitesdirectories-with-htaccess/ | 04:45 |
owh | matthew-21: The moment your server is connected to the 'net, it's waiting to be compromised. A "little bit" of security is not a sensical statement. | 04:45 |
twb | You could, for example, only allow access to the website when connecting over an encrypted VPN (which you would set up). | 04:47 |
twb | You need to ask questions like "what is the threat model?" | 04:47 |
owh | twb: I'm not sure that what you're saying is meaningful in the context. I agree, but I don't think it helps. I've been struggling to communicate these same concepts in other channels, "How do you help those without any meaningful background." | 04:49 |
centaur5 | I'm trying to find out which port LTSP listens on cause I thought tftpd-hpa has to be running but I can't find an instance of that process. Anyone have some info? | 04:50 |
owh | twb: It's the phenomenon of: "This cannot be that hard, look, I can run the installer and it all just works." | 04:50 |
owh | twb: Unfortunately computing isn't quite yet as developed as say driving a car. | 04:51 |
owh | centaur5: Isn't it run by an inetd process - in which case, it's likely in /etc/services | 04:52 |
centaur5 | owh: Interesting, tftp is port 69 but netstat doesn't show anything waiting on that port. How does that work? | 04:54 |
twb | owh: haha, "explanations are hard so we resorted to car analogies" | 04:55 |
owh | centaur5: Hmm, does it work? As in, if you telnet to port 69, do you get a response? | 04:55 |
twb | centaur5: inetd should be listening to that port. | 04:55 |
PhotoJim | twb: car analogies can be used for almost anything :) | 04:56 |
owh | twb: If you have a better analogy, I'm all for it. | 04:56 |
twb | "security analysis isn't as easy as falling over" | 04:56 |
twb | "Just because you can catch a ball doesn't mean you understand differential calculus" | 04:57 |
owh | twb: Right, that's all fine, but how do you explain that to someone who comes to you with a differential calculus question without the knowledge to understand the answer? | 04:57 |
twb | owh: well the comments above are first meant to help the guy understand that he really doesn't know differential calculus | 04:58 |
twb | One they understand that they don't understand, you can move onto phase #2: gettin' some schoolin' | 04:59 |
PhotoJim | I lecture at a university. I find analogies to be highly effective at times. | 04:59 |
owh | And did you see evidence of this "moving to phase #2"? | 04:59 |
twb | PhotoJim: lecturing to filthy, delinquent undergrads, or lecturing to humans? | 05:01 |
owh | When I spend time in IRC, I find I'm trying for a balance between telling the person asking the question what the answer is and explaining where to find the answer. It's easy just to give the answer, but over time it takes more time. | 05:02 |
twb | Nod. | 05:02 |
PhotoJim | twb: All human, few filthy, very few delinquent. | 05:03 |
owh | I used to run a helpdesk and I spent many months arguing that teaching users was cheaper than helping them. Over time management began to see a drop-off in the number of calls because users began to get a clue. Until this happened though, the call stats were abysmal. | 05:03 |
PhotoJim | owh: short term pain for long term gain, as they say. | 05:04 |
twb | PhotoJim: lucky bastard. | 05:04 |
PhotoJim | twb: some students are a challenge of my patience, and some are a true pleasure. but that is true of most groups of humans. | 05:04 |
owh | twb: I respect that you are trying to show that a VPN is one approach, all I was doing was questioning if the person whom you were giving the advice to understood even the words, let alone the concepts. | 05:05 |
owh | PhotoJim: Yup. | 05:05 |
owh | A few months ago I started composing an email to ubuntu-devel-discuss about this phenomenon. As Ubuntu becomes more popular, we run the risk of being drowned in requests for help. | 05:06 |
PhotoJim | the Internet is a good example of that sort of effect. | 05:07 |
owh | That is, it might get to the point where we couldn't help despite our best efforts because there was too much need to get help. | 05:07 |
owh | PhotoJim: Yeah, and it's getting worse. | 05:07 |
PhotoJim | yes, that's true, although in defense of it, we wouldn't have multi-megabit cheap broadband if hardly anyone were on the Net. | 05:07 |
owh | PhotoJim: More an more people yammering for help, less and less actual help available. | 05:07 |
PhotoJim | yes, true. | 05:08 |
owh | PhotoJim: And more and more dis-information. | 05:08 |
owh | The internet is beginning to be a race to the bottom. | 05:08 |
twb | PhotoJim: here undergrads are mostly at university to drink and have promiscuous sex, AFAICT :-/ | 05:08 |
twb | They should all be locked up. | 05:08 |
PhotoJim | twb: I teach fourth-year business students. the horny clueless ones have dropped out by then. :) | 05:08 |
owh | I saw a forum recently where the answer voted by the forum members as being the most helpful was in-fact incorrect and the answer that was actually correct was voted down as being not relevant. | 05:09 |
Rafael | i have ubuntu serve and i am a newby. i have some question and hope somebody can help? | 05:09 |
PhotoJim | owh; heh. that's discouraging. | 05:09 |
* owh was gob-smacked. | 05:09 | |
owh | Rafael: Sure, ask away. | 05:10 |
twb | owh: well, forums are for people who are too stupid to use usenet. | 05:10 |
twb | (Assuming you mean web forums.) | 05:10 |
owh | twb: Hmm, I'm a list-moderator on a large list and we continually get requests to "upgrade" to a web-forum. | 05:10 |
twb | Smack them with gmane.org | 05:11 |
owh | twb: "No, don't you understand, that's not the same." "We want a web-forum with whim's and upload and..." | 05:11 |
mattt | any bash gurus here? :) | 05:12 |
Rafael | 1) i am trying to connect server to 3 window computer..i am assuming i hve to use samba..my first question is the following...can a network storage adapter be conected to a router and make backups of the data of server as windows documents? | 05:12 |
owh | mattt: That just depends on the level of guru required - specifically, what the actual question is :) | 05:12 |
mattt | owh: any idea why this doesn't work? bins="cp,ls"; for x in /bin/{$bins}; do echo $x; done | 05:13 |
owh | mattt: Separate it with a space. | 05:14 |
owh | mattt: The delimiter isn't a comma. | 05:14 |
Rafael | 2) any advise of any network storage enclosure that will connect to the server without any problem, and also if i would like to connect one at home how can i do this? | 05:14 |
mattt | owh: what i'm looking for it to do is echo /bin/cp and /bin/ls, not /bin{cp,ls} | 05:14 |
mattt | err /bin/{cp,ls} | 05:14 |
owh | mattt: Yes, I understand that, bins="cp,ls" is delimited with a comma. | 05:15 |
mattt | owh: space doesn't work ... and this does work "for x in /bin/{cp,ls}; do echo $x; done" | 05:15 |
PhotoJim | Rafael: few network enclosures, especially at the low end, support Linux networking. A cheaper way to accomplish that goal is to use a USB2 enclosure that you can use with native Linux filesystems. | 05:16 |
owh | mattt: bins="a b" ; for a in $bins ; do echo $a ; done | 05:16 |
PhotoJim | Rafael: there are higher-end drive enclosures that are called Network Attached Storage that will do Linux filesystems and networking natively, but they cost a lot more than ones that do Windows networking. | 05:16 |
mattt | owh: but if i have a common prefix (/bin in this case), /bin/{cp,ls} is a bit tidier | 05:16 |
twb | USB2 is pretty slow, though. | 05:17 |
mattt | owh: but i see what you're getting at | 05:17 |
twb | eSATA sounds sexy, but I haven't tried it myself | 05:17 |
PhotoJim | twb: the SMB drive enclosure I have is slower than USB2. | 05:17 |
twb | PhotoJim: haha | 05:18 |
owh | mattt: echo /bin/{cp,ls} | 05:18 |
PhotoJim | eSATA is great, if you can get compatible stuff. the only time I've tried it, the drive I got, combined with the enclosure and SATA card, wouldn't talk. | 05:18 |
PhotoJim | twb: could be the speed Linux does SMBFS, perhaps. but the enclosure is painfully slow. | 05:18 |
twb | ITYM CIFS | 05:19 |
Rafael | PhotoJim: sorry for my ignorance..the server (linux) is going to safe for example word documets, then if i am using samba, shouldnt it be windows compatible so it can safe in word format. ie..server goes down i can have windows computer look into enclosure and still read documents? | 05:19 |
owh | twb: I use rsync, USB2 is plenty fast :) | 05:19 |
owh | <grin> | 05:19 |
PhotoJim | USB2 isn't great but it's not awful either. USB1.1 is awful. :) | 05:19 |
twb | owh: I'm comparing the speed of USB2 to the speed of e.g. the SATA bus. | 05:19 |
owh | twb: Sure, depends on usage requirements though. | 05:20 |
twb | Nod. | 05:20 |
mattt | owh: bins=`echo /bin/{cp,ls}`; for x in $bins; do echo $x; done | 05:21 |
mattt | owh: is that what you mean? cuz that does ... seem to work. :) | 05:21 |
PhotoJim | the nice thing about USB2 (assuming one doesn't have a working Linux NAS or eSATA device) is that you can backup your whole disk into one device, and then remove it for safekeeping. | 05:21 |
owh | mattt: I was just showing you what different methods of expansion are available. Glad to see that you have what you need. | 05:21 |
twb | PhotoJim: another guy I know has a udev rule to do that automatically when it detects the drive (by UUID). | 05:22 |
PhotoJim | twb: oh, that's slick. | 05:22 |
mattt | owh: cheers | 05:22 |
twb | PhotoJim: so he just plugs it in when he gets home, esentially | 05:22 |
owh | twb: Did he document this anywhere - I mean, it's all nice and well fixing stuff, but if it ain't written down, it didn't happen. | 05:23 |
PhotoJim | I recently got a pair of terabyte drives and put them in RAID1. I think I'm going to get another pair, one for a spare RAID1 drive (online) and another in an enclosure for a removable backup drive. | 05:23 |
twb | owh: yeah, probably on a blog | 05:23 |
twb | owh: I can't be bothered finding the reference, sorry. | 05:23 |
* owh is reminded to make a post about MYOB running off a server drive, even if MYOB tells me that it doesn't work :) | 05:23 | |
owh | twb: That's cool :) | 05:23 |
twb | It was probably Russell Coker, if you wanna google | 05:23 |
Rafael | do not want to overwellm chat, but this is what i want to do: i am a doctor and build ubuntu server to store data (word and pdf documents). i want to make backups of this into and external drive (network attach enclosure), in a way that if server fails backups can be read from enclosure, at the same time would like to do same at home so baiscally have 2 backups...where can i read or learn about this? | 05:28 |
Rafael | also if i want to connect network attach storage from home to office, any suggestion on good router for office that will make this coenction easily and secure | 05:29 |
centaur5 | Is tftp (port 69) the only thing that LTSP requires or are there more ports that need to be open? | 05:31 |
owh | Rafael: You are setting up a whole lot of interdependent processes there. These are the ones I can see off the top of my head. | 05:31 |
owh | 1. Ubuntu Server, | 05:31 |
owh | 2. Samba server to serve word and pdf documents to users | 05:31 |
owh | 3. Network storage mount | 05:31 |
owh | 4. Server backups to same | 05:31 |
owh | 5. Network storage fail-over | 05:31 |
owh | 6. Remote access to LAN | 05:31 |
owh | 7. Remote access to remote storage | 05:31 |
owh | Crap | 05:31 |
owh | Sorry 'bout that. Seems <shift-enter> is a separate post. | 05:32 |
loginhelp | hello to all. just poppin in to ask if anyone knows a very simple way of setting up a network where a client computer boots up and authenticates to a server which will then load up the users home folder and desktop settings? | 05:32 |
friartuck | Rafael no, that cannot be done easily. you need a network admin for rent or just use one usb drive and take it with you to work and home. | 05:32 |
owh | loginhelp: The edubuntu server will do that out of the box. | 05:32 |
loginhelp | owh: does edubuntu server have lamp setup as well? right now i'm trying to config ubuntu server 8.04 | 05:33 |
owh | Rafael: This stuff is not complicated to learn, but it will test your patience. My question would be: "Is it cheaper to do this yourself, or is it cheaper to pay someone to do this?" | 05:33 |
owh | loginhelp: Well it's the same project. I suspect it also has a LAMP task. Of course you can also install LTSP into ubuntu-server. | 05:34 |
owh | Rafael: To give you a car analogy: "Do you maintain your own car, or do you pay a mechanic?" | 05:35 |
friartuck | ha | 05:35 |
owh | Someone was paying attention <grin> | 05:36 |
Rafael | owh: i like computers and to learn, that is a hobby for me even thought you might be rigth since linux is completely new for me....i buld the ubuntu server and hve install samba already and tsting with no problem...i am also plaing with webmin and ebox, but would like to have some type of security so that is why i am trying to do the backups | 05:36 |
friartuck | Rafael if you want security then uninstall webmin, that is very insecure. | 05:37 |
twb | Rafael: backups are "business continuity" or "disaster recovery". The term "security" usually means security against other people. | 05:37 |
twb | Yes, webmin is absolutely to be avoided. | 05:37 |
Rafael | owh: i do mantein all my windows computer but i am learning linux..so so far is fun, as long as i learn and progress, but you are rigth that if it becomes problematic then it can be a headache | 05:37 |
owh | Rafael: Well, as you've no doubt found out at this point, the questions you've already solved are not documented in one single place. The more you add, the bigger the resources you need to understand and build. | 05:38 |
loginhelp | twb: is webmin not good? | 05:38 |
Rafael | twb: sorry, when i mean security i mean..server crashes and data is safe ..sorry for gramar | 05:38 |
friartuck | loginhelp no, webmin is not good. it is full of vulnerabilities. | 05:38 |
owh | Rafael: As twb points out, "business continuity" is what you're really asking about and if we gave you "partial" information, there would potentially be liability issues. Don't get me wrong, and I suspect the same is true for twb, we are happy to help, but be mindful of the landscape you're stepping onto. | 05:39 |
loginhelp | any other alternatives to managing a server with gui on a client? | 05:40 |
owh | loginhelp: landscape and/or ssh | 05:40 |
Rafael | well i know tht webmin is not on the repository and ebox is, but i have configure the box on raid 1 and raid 5 and after erasing one of the 3 hard drives i can start the rebuld process in less than 1 minute..i agree from reading that is vulnerable to other things | 05:40 |
owh | Rafael: There is a reason it's not in the repository, the ubuntu-server team made that choice, specifically. We've discussed it several times even. | 05:41 |
twb | It's probably easier for #ubuntu-server to help with specific problems such as "how do I make <app> do <feature>" compared to broad things like "how can I make my server secure and fast" or "how can I share files on the internet?" | 05:41 |
owh | Fair summary. | 05:41 |
twb | For those kinds of broad questions, you probably want to talk to either a local professional, or to a local linux user group. | 05:42 |
Rafael | thanks guys for your help | 05:42 |
owh | Rafael: To note, there are amateurs and professionals in this channel, so don't be afraid of asking. | 05:42 |
twb | Regarding webmin, I have personally audited both parts of its core, and some modules. The code is absolute crap, and it WILL be full of horribleness. | 05:43 |
owh | May I observe that this is another example of the same phenomenon. The questions are legitimate, the need is real, but as a community we may not have the tools to help such a need. That worries me. | 05:43 |
Rafael | do not worry, but there are diferent type of doctors, some that does not know how o turn on a computer and some that we like and go deep into learning computer issues..when we divert the question to liabilites we loose the purpose of having amateurs and professional..that is fine and one moer etime thanks for the help | 05:44 |
friartuck | owh i disagree. people screw-up their cars all the time because they think they can fix it. (another car analogy.) | 05:45 |
twb | In my professional opinion as a sysadmin, *none* of the web-based administrative tools I have seen are of even remotely good quality. Admittedly, I have not closely looked at ebox. | 05:45 |
owh | Rafael: No, I think you mis-understand. | 05:45 |
Rafael | or they can learn mechanics and fix cars | 05:45 |
twb | For the simplest things such as "I want to add another user", I would probably try to deploy gnome-system-tools over VNC, only accesible from the local (i.e. trusted) network. I have not actually trialled this yet. | 05:46 |
loginhelp | so i am guessing there is no way i'm going to find a step A to step Z on how to get a school network going in 3 hours? | 05:46 |
owh | Rafael: I was trying to comment on the size of the question you were asking. It's not that I don't believe you can do it, or that we cannot help you achieve it, it's that there are *many* issues that will come up while you're doing it. Some of those relate directly to the running of your company. | 05:46 |
friartuck | loginhelp no, it's deep topic. | 05:47 |
owh | loginhelp: Boot from the edubuntu live cd. | 05:47 |
twb | loginhelp: you could certainly get *something* running, but it probably wouldn't be safe to deploy. | 05:47 |
Rafael | owh: you rigth and we should not go into webmin, i was just mentioning about 1 feature that is great but have learn that rest is a disater, but well..my question was that i am building this slowly nd was wandering how to do what i ask at the begining...thanks anyway | 05:47 |
owh | loginhelp: Safe to demo, not safe to run for real. | 05:47 |
Rafael | owh: will the forum be a better palce..or where should i start... | 05:48 |
friartuck | Rafael http://www.amazon.com/Beginning-Ubuntu-Server-Administration-Professional/dp/1590599233 | 05:48 |
loginhelp | i think after a month of reading ldap,nfs,nis i realize i should have stepped in here first. | 05:48 |
owh | Rafael: Let me suggest something to you. You can do with it what you will. Start a web-page. Write down what you're trying to achieve and document what you learn. Structure the document as a project plan, then complete the steps. As you learn, you will understand the landscape you are operating in. I'm sure that we'll be here to answer specific questions along the way. | 05:49 |
owh | Rafael: You may also start with reading the ubuntu server guide, it won't be complete, but it touches on many concepts: http://doc.ubuntu.com/ubuntu/serverguide/C/index.html | 05:51 |
owh | loginhelp: The reading was not a waste of time. It gives you an understanding of what you ask. | 05:51 |
Rafael | Owh: thanks for your advice | 05:51 |
owh | Rafael: Pleasure. | 05:52 |
Rafael | thanks and good nigth | 05:52 |
Rafael | owh: can all this http://doc.ubuntu.com/ubuntu/serverguide/C/index.html be download or found as pdf file | 05:58 |
loginhelp | thanks. i'm gonna try the edubuntu server. apart from the authentication, i'm also hoping to have mail, wordpress, gallery2, twiki, so that the school can have their own online manual, news, a place to display their works and blog. any words of wisdom so this attempt can be more successful? | 05:58 |
owh | Rafael: You can install it locally and move it to a portable drive. It's as HTML: apt-get install ubuntu-serverguide | 05:59 |
owh | Rafael: I don't know of a PDF version. | 05:59 |
friartuck | loginhelp mail will take the most work, security. | 05:59 |
Rafael | owh: last question for today..any advise of router (thinking about secure conecting from home to server) and about any brand for network storage adapter | 06:00 |
friartuck | Rafael you should consider a network admin to setup the vpn connection. | 06:03 |
loginhelp | oh, another thing, is it too taxing for a PIII server if i have a media server on it as well? | 06:03 |
owh | Rafael: A router that supports VPN would be smart. A network storage adapter that supports Windows File Sharing, since you want to be able to serve clients in the case of failure. The question really isn't one of "What do I buy?" - even though you think it is. | 06:03 |
owh | loginhelp: That depends on what it's doing, how much RAM it has and whom it's serving with what. Ie, that's like asking: "Is a Ferrari a good car to buy?" | 06:04 |
Rafael | owh:so what should the question be? and thanks for the repsonse... | 06:05 |
loginhelp | actually its a sony vaio, p4 1.2 GHz, 128 Mb | 06:06 |
owh | Rafael: I'm struggling to even form a coherent response to your question. The interdependencies are too great to give a meaningful answer. Things like: "What kind of existing LAN is there?" "What kind of users are there?" "What kind of internet connection is there?" "How much data is there?" "How often does it change?" "What size documents are there?" "How old is the existing server hardware?" - these are just questions that each go i | 06:08 |
owh | Rafael: This kind of conversation is normally done one-on-one by an expert. A forum like IRC is a potential place where you might have such a conversation, but I for one charge for that process. I'm willing to help you resolve problems, but I'm not able to justify providing answers like this because I'm not sure how I can make that sustainable. | 06:12 |
friartuck | Rafael you can find a local Cisco vendor and get an ASA for $800 and have it setup for about $500. security and expertise are important here. | 06:12 |
Rafael | owh: do not feel bad...i could anser this question but will do so when i really need it in future, so far i am in the testing fase..playing and slowly learning..so if no problems i continue..if it complicates then i drop it..so far is inside my hobby, and if it works and develops to be "bussines continuity"then fine, if not will conitnue as i am or look for profesional..my mistake was to mention i am a docotor, then liability was | 06:12 |
Rafael | mention..and so on..just imaging i am an amateur thrying to build what i mention...but very honestly..thanks for your answers, believe it or not they help a lot..no harm fealings | 06:12 |
owh | If others here have ways that they can think of where I sit here online and help like that and gain an income to pay the rent, I'm happy to entertain the notion. | 06:13 |
owh | Rafael: The doctor and the liability have no relation in my mind. The issue is because you are doing this in your business, regardless of you being a doctor. | 06:13 |
owh | Rafael: The same is true for others coming here and asking questions about backups and security. I shudder at the issues related to their "toy" being used for real and breaking. | 06:15 |
Rafael | owh: like i said..no harm feelings and thanks one more time ..beleive it or not your help is apreciat it..will keep palying and at the end will use or discard this projeect.... | 06:15 |
owh | For every complex problem there is an answer that is clear, simple, and wrong. --H L Mencken | 06:19 |
JanC | owh: For every complex problem there are even more answers that are confusing, complicated & wrong. --JanC | 06:21 |
loginhelp | owh: is landscape not free? | 06:21 |
JanC | ;) | 06:21 |
owh | JanC: And I am sure that I am responsible for some of those :) | 06:22 |
owh | loginhelp: Nope. | 06:22 |
owh | loginhelp: Uh, that should be yes :) | 06:23 |
owh | loginhelp: As in: "Yes, it's not free." | 06:23 |
JanC | well, a part of landscape (the client) is | 06:23 |
owh | Fat lot of good that will do you :) | 06:24 |
JanC | but that's not really useful on its own probably ;) | 06:24 |
loginhelp | does mac&win have ltsp support? | 06:37 |
Kamping_Kaiser | huh? | 06:41 |
goksu | hello again. :) | 08:19 |
mattt | evening | 08:26 |
jahor | morning ;o) | 08:50 |
=== chrisadams is now known as chris_d_adams | ||
kraut | moin | 09:30 |
rags | 'night | 10:02 |
=== asac_ is now known as asac | ||
Ethos | hi guys | 10:45 |
Ethos | anyone setup a connection to mssql before from ubuntu server? | 10:45 |
_ruben | !info freetds-dev | 10:49 |
ubottu | freetds-dev (source: freetds): MS SQL and Sybase client library (static libs and headers). In component main, is optional. Version 0.82-3ubuntu1 (intrepid), package size 411 kB, installed size 1224 kB | 10:50 |
_ruben | never used it though | 10:50 |
Ethos | I've tried installing some bits nad bobs and following a few guides but nothing seems to work | 10:50 |
domas | hehe | 10:52 |
domas | actually I did first 'freetds' package for an opensource distribution | 10:52 |
domas | that was ages ago, for freebsd | 10:52 |
domas | no other OS had freetds package Ä®) | 10:52 |
domas | funny though, I had some people telling me how they use freetds to me, and they were using my package not knowing it :) | 10:52 |
Ethos | heh | 10:54 |
Ethos | that's cool | 10:54 |
Ethos | So surely you must be able to guide me? :DD | 10:54 |
tomy | hello | 11:13 |
domas | Ethos: I can guide MySQL stuff way better nowadays :) | 11:13 |
goksu | question: is it possible to connect to a betrieve 6.5 database from ubuntu? | 11:46 |
goksu | btrieve that is. like odbc. | 11:46 |
goksu | where should I ask that question? which channel? | 11:49 |
goksu | domas: is it possible to connect to a btrieve 6.5 database from ubuntu? I am asking you because you have worked on a similar project years ago you said. | 11:51 |
domas | goksu: *shrug*, if there're linux drivers, yes :)) | 11:52 |
domas | but I don't see any packaged | 11:52 |
goksu | domas: I am using primavera planning software. the backend is a btrieve 6.5 db engine. runs on windows. But I want to do my work under linux. | 11:53 |
goksu | where can I ask? | 11:53 |
* domas points to http://www.pervasive.com/developerzone/platforms/linux.asp | 11:54 | |
domas | I guess you can use JDBC | 11:55 |
domas | (or linux-odbc) | 11:55 |
=== scfh_ is now known as scfh | ||
goksu | domas: I hope JDBC or linux-odbc connects to that old a db engine. thank you very much for the information. :) | 12:04 |
domas | goksu: use mysql! | 12:05 |
goksu | domas: I am using mysql for most of my work. primavera uses btrieve6.5 and that does not work under wine. | 12:17 |
uvirtbot | New bug: #351562 in mysql-dfsg-5.0 (main) "mysql server install failed" [Undecided,New] https://launchpad.net/bugs/351562 | 13:51 |
jahor | anyone could confirm "bacula in dapper (2.2.8) catalog upgrade from hardy (1.3.6)" https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/347206 ? | 14:21 |
uvirtbot | Launchpad bug 347206 in bacula "bacula in dapper (2.2.8) catalog upgrade from hardy (1.3.6)" [Undecided,New] | 14:21 |
ivoks | it's probably valid | 14:21 |
ivoks | there is a script for upgrade | 14:22 |
jahor | btw i don't know if it should be fixed when hardy is almost 1 year here | 14:22 |
ivoks | the fact is that bacula wasn't supported before hardy | 14:22 |
ivoks | for a reason | 14:22 |
ivoks | so we changed it's package scripts to get it included | 14:23 |
ivoks | its | 14:23 |
jahor | so it looks i missed that it was from universe ;( | 14:24 |
ivoks | well, we should've think about upgrade | 14:24 |
ivoks | but the problem was that it was too complicated to do it | 14:24 |
ivoks | since bacula in dapper used dbconfig for database management | 14:24 |
ivoks | and in hardy we used custom scripts | 14:25 |
ivoks | still, bug is valid | 14:25 |
orudie | is there a way to make it so that both mydomain.com and www.mydomain.com would both show as www.mydomain.com in the browser ? | 14:25 |
jahor | ivoks: ok. for now bacula looks that its working now | 14:26 |
ivoks | jahor: there are update scripts | 14:26 |
ivoks | irc | 14:26 |
ivoks | iirc | 14:26 |
ivoks | /usr/share/bacula-director/update_mysql_tables | 14:27 |
\sh | orudie: not using serveralias in apache but having a separate vhost for mydomain.com and Redirect / http://www.mydomain.com/ | 14:27 |
ivoks | what's wrong with serveralias? | 14:27 |
\sh | ivoks: ServerName www.mydomain.com + ServerAlias mydomain.com won't give "www.mydomain.com" as result when accessing "mydomain.com" ,-) | 14:28 |
ivoks | of course | 14:28 |
ivoks | why would someone require that? | 14:28 |
stickystyle | orudie: You can use a mod_rewrite rule. | 14:28 |
\sh | ivoks: don't ask me...ask orudie ;) | 14:28 |
ivoks | content is what counts, not the location bar | 14:28 |
ivoks | orudie: you really want to change URL in location bar or just render same web page? | 14:29 |
stickystyle | ivoks: Well the location can count with SEO. | 14:29 |
orudie | ivoks, change URL | 14:29 |
stickystyle | orudie: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html#url | 14:30 |
ivoks | 100 people, 100 ideas :) | 14:30 |
stickystyle | ivoks: That's what linux is all about ;) | 14:31 |
\sh | depending on what someone wants to achieve...using mod_rewrite could be expensive ... | 14:31 |
\sh | especially when mod_rewrite is used in .htaccess ,-) | 14:32 |
orudie | stickystyle, RewriteCond is in which file ? | 14:32 |
stickystyle | \sh: Yeah, well having AllowOveride on on a server is a performance hit in itself. | 14:32 |
\sh | orudie: in /etc/apache2/sites-available/<your vhost file> or in .htaccess under your docroot | 14:32 |
stickystyle | orudie: In the conf file for the site. | 14:32 |
\sh | stickystyle: yepp :) | 14:33 |
orudie | Invalid command 'RewriteCond', perhaps misspelled or defined by a module not included in the server configuration | 14:40 |
orudie | stickystyle ^ | 14:41 |
\sh | orudie: ls -al /etc/apache2/mods-enabled/ check for rewrite.conf | 14:41 |
\sh | or rewrite.load | 14:41 |
orudie | \sh ^ | 14:42 |
\sh | normally not enabled by default | 14:42 |
stickystyle | sounds like you don't have mod_rewrite loaded $sudo a2enmod rewrite | 14:42 |
ivoks | a2enmod rewrite | 14:43 |
\sh | orudie: have a look at https://help.ubuntu.com/8.04/serverguide/C/web-servers.html (when you use hardy) | 14:43 |
orudie | ok no error after sudo a2enmod rewrite , apache2 reload , but doesnt do the job still | 14:44 |
ivoks | orudie is an ex-win admin; they don't read :D | 14:44 |
\sh | ivoks: lol | 14:44 |
ivoks | apache2 force-reload | 14:44 |
ivoks | not reload | 14:44 |
ivoks | or restart | 14:44 |
orudie | i did restart | 14:45 |
orudie | same | 14:45 |
ivoks | RewriteEngine on | 14:45 |
ivoks | before RewriteCond or RewriteRule | 14:45 |
ivoks | then reload | 14:45 |
orudie | same | 14:46 |
ivoks | now you are lying | 14:46 |
orudie | no | 14:46 |
orudie | domain is selsovet.com | 14:46 |
ivoks | so what? | 14:47 |
ivoks | :) | 14:47 |
stickystyle | orudie: just worked for me. | 14:47 |
stickystyle | As in I went to selsovet.com and it redirected me to www.selsovet.com | 14:47 |
orudie | you tuped selsovet.com in the browser and it turned into www.selsovet.com ? | 14:47 |
ivoks | yep | 14:48 |
orudie | why doesnt work for me :( ? | 14:48 |
orudie | oh it just did | 14:48 |
ivoks | cause you are using internet explorer :) | 14:48 |
orudie | yay ! | 14:48 |
Nafallo | orudie: because your browser caches stuff. | 14:48 |
orudie | ivoks, no firefox | 14:48 |
Nafallo | ;-) | 14:48 |
ivoks | another lie | 14:48 |
ivoks | this orudie guy... lies all the time :D | 14:48 |
orudie | awwww come on | 14:49 |
ivoks | hehe | 14:49 |
zul | hey ivoks | 14:49 |
ivoks | zul: hi there! | 14:49 |
orudie | so it should be ServerName selsovet.com and below it ServerName www.selsovet.com so that they both point to the same dir ? | 14:49 |
Nafallo | ServerName www.selsovet.com\nServerAlias selsovet.com | 14:50 |
ivoks | um... | 14:50 |
Nafallo | that's how I would do it anyway. | 14:50 |
ivoks | right | 14:50 |
ivoks | where '\n' is enter | 14:51 |
ivoks | :D | 14:51 |
Nafallo | newline | 14:51 |
orudie | yay ! | 14:52 |
orudie | good stuff | 14:53 |
ivoks | orudie: web site is awsome :) | 15:06 |
orudie | which one selsovet.com ? | 15:10 |
ivoks | yes | 15:10 |
orudie | :) | 15:11 |
ivoks | omg... raid5 with 8 drives | 15:13 |
ivoks | disater waiting to happen | 15:13 |
goksu | is this IRC channel logged? can I get a copy of yesterdays comments? I need to reach the comments I used yesterday. | 15:16 |
yann2 | ivoks > why? | 15:16 |
yann2 | I got a raid5 on 5 drives, you're scaring me :) | 15:16 |
yann2 | 6 sorry | 15:16 |
ivoks | yann2: raid5 allows one failed drive | 15:17 |
yann2 | got 2 hot spares :] | 15:18 |
ivoks | with 8 disks, chances to have two failed drive at the same time isn't small | 15:18 |
ivoks | hot spares don't help here | 15:18 |
ivoks | http://www.hardwaresecrets.com/article/314/2 | 15:20 |
jahor | ivoks: back here .. there are update scripts for bacula catalog database, but not for that big version dump (i solved it by copying it from non-ubuntu package) | 15:23 |
ivoks | jahor: this one i pasted is for 1.3 to 2.4 upgrade | 15:23 |
beawesomeinstead | ivoks: do you have any plans on improving your mail stack before jaunty release? the reason i ask is that dovecot was updated to 1.2beta4 in intrepid and a bit afraid that jaunty mail stack will be moved to 1.2beta4 too | 15:23 |
ivoks | beawesomeinstead: dovecot in intrepid is 1.1.4 | 15:24 |
ivoks | and 1.1.11 in jaunty | 15:25 |
beawesomeinstead | $ dovecot --version => 1.2.beta1 on my desktop, weird | 15:25 |
ivoks | you are pulling that from somewhere else | 15:25 |
jahor | ivoks: its for 1.38 to 2.0, in dapper (universe) was 1.36 and that is the root of the problem | 15:26 |
ivoks | jahor: SQL interface in bacula has different version | 15:26 |
ivoks | jahor: there is 8 and 9, iirc | 15:26 |
ivoks | no, 9 and 10 | 15:27 |
ivoks | 1.38.x used 9, while 2.0.x used 10 | 15:27 |
ivoks | you are right, that script isn't enough for dapper->hardy | 15:27 |
jahor | ivoks: do not miss mi notice of 1.38.x vs 1.36 ;) | 15:27 |
ivoks | :) | 15:27 |
ivoks | beawesomeinstead: anyway, there are only packaging changes that should get into jaunty today or tomorrow | 15:28 |
ivoks | beawesomeinstead: no version updates are allowed in jaunty any more | 15:28 |
jahor | but i know that in dapper LTS it was in universe and so it was unsupported by LTS | 15:28 |
ivoks | still, it's a bug | 15:29 |
ivoks | we should've upgrade it | 15:29 |
ivoks | we shouldn't make that mistake with 8.04->10.04 | 15:29 |
ivoks | my mistake | 15:29 |
jahor | ivoks: ok i will try to prepare a fix and append it to the bug (maybe my first contribution to ubuntu ;o) | 15:29 |
ivoks | that would be great | 15:30 |
beawesomeinstead | oh cool | 15:30 |
jwstolk_work | I would like to power down (cleanly) my ubuntu-server when its power putton is pressed. (like ubuntu desktop). All I can find about this is that I probably need to install ACPI. | 15:30 |
jwstolk_work | but the "acpi-support" package also pulls in things like x11-xserver-utils... | 15:30 |
jwstolk_work | Is there a simple way to start a shutdown script when the power button is pressed? | 15:31 |
ivoks | you need acpid | 15:31 |
ivoks | not acpi-support | 15:31 |
ivoks | basically, you just need to load kernel modules | 15:31 |
ivoks | acpid will do that for you | 15:32 |
jwstolk_work | ok thanks. aptitude listed that one as "displays information on ACPI devices" so I was wondering if it actually did something :) | 15:32 |
=== hessml|away is now known as hessml|away|away | ||
uvirtbot | New bug: #351648 in mailman (main) "update mailman to 2.1.12" [Undecided,New] https://launchpad.net/bugs/351648 | 16:26 |
Iceman_B^Ltop | anyone familiar with 8.10 server? http://pastebin.ubuntu.com/140815/ <-- what do the lines 2-4 mean ? | 17:26 |
ScottK | kirkland: I think ^^^ is up your alley. | 17:27 |
erik1 | Hello, I used an Airlancer MC-11 (orinoco) wifi card during the install of Ubuntu Server. After a succesful install the interface voor the airlancer card does not show up. What can be wrong? | 17:30 |
kirkland | scfh: Iceman_B^Ltop: the two ecryptfs warnings are benign | 17:31 |
kirkland | ScottK: ^ | 17:31 |
kirkland | scfh: sorry | 17:31 |
friartuck | Iceman_B^Ltop friends in China? http://www.geoiptool.com/en/?IP=125.81.125.80 | 17:31 |
kirkland | ScottK: Iceman_B^Ltop: and are fixed (removed) in jaunty | 17:31 |
ScottK | kirkland: Thanks. | 17:31 |
kirkland | Iceman_B^Ltop: ScottK: i don't know about the UDP errors | 17:31 |
kirkland | ScottK: thanks for the heads up ;-) | 17:32 |
ScottK | kirkland: You're welcome. | 17:32 |
Iceman_B^Ltop | kirkland: I can explain the UDP errors | 17:33 |
Iceman_B^Ltop | Iwanted to know the other things :) | 17:33 |
kirkland | Iceman_B^Ltop: ah, okay, yeah those are two benign warnings | 17:33 |
Iceman_B^Ltop | okido | 17:33 |
Iceman_B^Ltop | friartuck: friends, I wish | 17:33 |
kirkland | unknown items that should be scrubbed from the ecryptfs mount string | 17:33 |
Iceman_B^Ltop | they are torrent noise | 17:33 |
Iceman_B^Ltop | those UDP things | 17:33 |
kirkland | if they're not scrubbed, the kernel says "i don't know what to do with these" | 17:34 |
Iceman_B^Ltop | okay | 17:34 |
kirkland | and drops them | 17:34 |
Iceman_B^Ltop | how can I perform Wireshark-like tasks from the command line? | 17:41 |
friartuck | Iceman_B^Ltop tcpdump on linux, snoop on solaris. | 17:41 |
Iceman_B^Ltop | Im having random disconnections when I'm SSH-ed into my server, from the local network | 17:42 |
Iceman_B^Ltop | this wasnt the case with 8.10 Desktop but ever since I installed server.....I;ve had them | 17:42 |
Iceman_B^Ltop | nobody with similar experiences? | 17:44 |
Iceman_B^Ltop | I;ve also had them when I ssh from a node that;s physically connected to the server machine | 17:45 |
Iceman_B^Ltop | and its very annoying :/ | 17:45 |
ScottK | Iceman_B^Ltop: As friartuck says, tcpdump is the package you want. | 17:48 |
sbeattie | Iceman_B^Ltop: I second tcpdump, but another option would be tshark, which is the text/cli version of wireshark. | 17:51 |
Iceman_B^Ltop | okay | 17:58 |
Iceman_B^Ltop | I have no GUI, in case that matters | 17:58 |
Iceman_B^Ltop | i'll install both Tshark and tcpdump | 18:00 |
jkakar | Is there any documentation describing how one uploads KVM images to a Eucalyptus cloud? | 18:00 |
jkakar | I followed the instructions in soren's blog on the weekend, but haven't managed to figure out how to upload an image. | 18:00 |
friartuck | Iceman_B^Ltop tcpdump is probably already there: http://www.tcpdump.org/tcpdump_man.html | 18:01 |
Iceman_B^Ltop | okay | 18:07 |
Iceman_B^Ltop | "software caused network about" is the message I keep getting form putty, and I can't ping my server right now | 18:09 |
Iceman_B^Ltop | and now it just started responding to pings again, this is too strange | 18:09 |
Iceman_B^Ltop | sorry, the putty error message reads "Network error: software caused connection abort" | 18:20 |
Iceman_B^Ltop | does anyone know if the OpenSSH package that ships on the Server cd differs significantly, config-wise, from the package you can get through apt-get ? | 18:27 |
JanC | I think there shouldn't be any difference except for security or serious bug fixes | 18:30 |
Iceman_B^Ltop | okay | 18:30 |
Iceman_B^Ltop | then I have no clue but I think my server is a bit dodgy, it keeps dropping the connection | 18:31 |
ScottK | Iceman_B^Ltop: It's identical unless there have been post release updates (as JanC says). | 18:31 |
Iceman_B^Ltop | alright | 18:32 |
Iceman_B^Ltop | so it can't be that | 18:32 |
Iceman_B^Ltop | I'v already asked in #ubuntu, if setting the card to half-duplex would make a difference | 18:33 |
ScottK | Iceman_B^Ltop: What kind of connection do you have? | 18:37 |
friartuck | Iceman_B^Ltop half duplex not good. look for errors on the nic: ifconfig -a | 18:37 |
Iceman_B^Ltop | ScottK: my current setup is [this laptop(XP)]------[switch]-------[router]------[server] | 18:38 |
Iceman_B^Ltop | all ethernet, 100Mbit | 18:38 |
ScottK | No firewall in there? | 18:38 |
Iceman_B^Ltop | there is also a modem connected to the router. | 18:38 |
genii | Iceman_B^Ltop: Maybe check that both ends of your network cable are wired 568-B compliant | 18:38 |
Iceman_B^Ltop | no, everything whould be bridged, its all LAN | 18:38 |
Iceman_B^Ltop | genii: I had 0 problems with the Dekstop install of Ubuntu, just that it all 256megs of my ram in that machine | 18:39 |
Iceman_B^Ltop | right now, even when I SSH into the router, and from there to my server, I get dropping connections | 18:40 |
ScottK | Do you get packet loss when you ping? | 18:41 |
genii | Iceman_B^Ltop: I've had this half-duplex problem previously, it ended up being cable that was ok at short distances and not 568-B wired... then on longer cable runs dhcp kept dropping, half-duplex, etc with same wiring order as short cord. It specifically had to be wired in the order 568-B standard requires | 18:41 |
Iceman_B^Ltop | when my connection breaks, yes. otherwise I can ping fine. I do get more pingdrops from my laptop then I get when I ping from my router | 18:41 |
Iceman_B^Ltop | oh, the cable is a factoray made Cat6 I think, but again, itworked fine with ibex desktop | 18:42 |
jmedina | Iceman_B^Ltop: could you pastebin the output from ethtool ethX from the server and desktop? | 18:56 |
Iceman_B^Ltop | I can only give you the output from the server, cause I dont have the desktop installed anymore | 18:57 |
Iceman_B^Ltop | hang on | 18:58 |
Iceman_B^Ltop | jmedina: http://pastebin.ubuntu.com/140874/ | 19:01 |
ivoks_ | mathiaz: any chance you could look at that dovecot-postfix bug/patch? | 19:05 |
mathiaz | ivoks_: hi - I've already look at it once. I still need to think about it a bit more. | 19:05 |
ivoks_ | ok | 19:06 |
mathiaz | ivoks_: how important is it for the release? | 19:06 |
ivoks_ | er... very :) | 19:06 |
mathiaz | ivoks_: right - right now the package works correclty. | 19:06 |
mathiaz | ivoks_: except for a specific use case. | 19:06 |
ivoks_ | not quite | 19:06 |
mathiaz | ivoks_: not quite? | 19:06 |
ivoks_ | on reinstall or new version, ucf is ignored | 19:07 |
ivoks_ | and smtp-auth with outlook doesn't work | 19:07 |
=== ivoks_ is now known as ivoks | ||
mathiaz | ivoks: oh right. These should be fixed for release then. | 19:07 |
mathiaz | ivoks: I was only refering to the case where dovecot.conf local changes weren't taking into account. | 19:08 |
ivoks | ah, well, i've added that to that patch | 19:08 |
ivoks | it's not big deal to do it | 19:08 |
ivoks | and it would be great addition for users | 19:08 |
ivoks | since some will upgrade their intrepid server and would like to have dovecot-postfix | 19:09 |
ivoks | merging their config in would be a big plus | 19:09 |
Nafallo | hmm | 19:09 |
Nafallo | how advanced is that dovecot-postfix thing? | 19:10 |
Nafallo | can it do postgresql backend? :-) | 19:10 |
mathiaz | ivoks: right. Doing so, since we already have the logic to merge in place, I though why not use the default dovecot.conf? | 19:10 |
ivoks | Nafallo: it uses shadow as backend | 19:10 |
mathiaz | ivoks: ie to merge the dovecot-postfix.conf file *into* the existing dovecot.conf? | 19:10 |
ivoks | mathiaz: we aren't allowed to do that | 19:10 |
ivoks | dovecot.conf is from another binary package | 19:11 |
Nafallo | ivoks: oh gah. not what I want then. thanks :-) | 19:11 |
ivoks | and -imapd and -pop3d are not doing a good thing changing dovecot.conf | 19:11 |
ivoks | Nafallo: dovecot-postfix is just configuration for dovecot and postfix, noting else | 19:11 |
mathiaz | ivoks: hm. I wonder if the fact that we use ucf to handle config changes wouldn't help. | 19:12 |
Nafallo | ivoks: yeah. mostly wondered if it had a dpkg-reconfigure wrapper for some more advanced configurations as well :-) | 19:12 |
mathiaz | ivoks: for -pop3d and -imap, I agree | 19:12 |
ivoks | mathiaz: my proposal was to use ucf and merge diff into dovecot | 19:12 |
ivoks | mathiaz: but cjwatson said that's wrong | 19:13 |
mathiaz | ivoks: I always wanted to look if it would be possible to split this configuration into its own configuration file | 19:13 |
mathiaz | ivoks: ok. | 19:13 |
mathiaz | ivoks: ie - have a configuration file to enable pop3 | 19:13 |
mathiaz | ivoks: another one to enable imapd | 19:13 |
mathiaz | ivoks: basically having one configuration file per service | 19:13 |
mathiaz | ivoks: or daemon | 19:13 |
=== mcasadevall is now known as NCommander | ||
mathiaz | ivoks: rather than having one monolitic configuration file. | 19:14 |
ivoks | mathiaz: that would be great... but this is something i'd rather see upstream doing | 19:14 |
Iceman_B^Ltop | jmedina: any clue ? | 19:14 |
mathiaz | ivoks: right. I think that the dovecot configuration supports include files. | 19:14 |
ivoks | mathiaz: iirc, not for every part of configuration | 19:15 |
jmedina | Iceman_B^Ltop: everyting looks ok, but I dont know if that is from desktop or server | 19:15 |
ivoks | only for ldap and sql | 19:15 |
jmedina | I asked for both | 19:15 |
mathiaz | ivoks: hm - in the case of pop3 and imapd we'd be interested in the protocol command line | 19:15 |
mathiaz | ivoks: hm - in the case of pop3 and imapd we'd be interested in the protocol option | 19:15 |
Iceman_B^Ltop | jmedina: what do you mean? I can only provide you with data from the server. I have no desktop. If you mean this machine, it's an XP Laptop | 19:16 |
mathiaz | ivoks: I wonder if something similar to the master configuration of postfix would be useful | 19:16 |
jmedina | Iceman_B^Ltop: well looks fine, did sniff with tcpdump for any problems? | 19:17 |
mathiaz | ivoks: anyway - these are just thoughts. | 19:17 |
ivoks | mathiaz: hm... it might... maybe we could do something with ucf and wrapper tool for config | 19:17 |
Iceman_B^Ltop | I would love to, but I'm new to this. meanign I have no idea what to sniff for | 19:17 |
mathiaz | ivoks: one day I'll look into what the dovecot configuration engine can exactly do | 19:17 |
mathiaz | ivoks: meanwhile I' | 19:17 |
mathiaz | ivoks: meanwhile I'll have another look at your patch for dovecot-postfix. | 19:18 |
ivoks | we should contact upstream | 19:18 |
mathiaz | ivoks: definetly. | 19:18 |
ivoks | (i should contact upstream) :) | 19:18 |
ivoks | mathiaz: i know it might be late in release schedule, but those changes are important - i worked on that patch for couple of days and tested it | 19:21 |
ivoks | mathiaz: so, it should be ok | 19:21 |
mathiaz | ivoks: well - these are clearly bug fixes | 19:21 |
mathiaz | ivoks: so we can include them in jaunty | 19:21 |
cuba | hey | 19:25 |
cuba | I'm giving an IP by dhcpd to 5 hosts, and only ubuntu-server doesn't react on dhcpd responses after dhclient requests....the packets are there, but the ubuntu server's dhclient ignores them | 19:25 |
cuba | it simply doesn't set the interface at all | 19:26 |
cuba | it is fresh installation | 19:27 |
ivoks | [dhclient interface] doesn't work? | 19:27 |
cuba | it is eth0, up and running | 19:27 |
cuba | in multicast | 19:27 |
ivoks | so, dhclient eth0 doesn't work? | 19:28 |
cuba | listening on LPF/eth0/08:00:27:95:0c:a6 | 19:29 |
cuba | sending on LPF/eth0/08:00:27:95:0c:a6 | 19:29 |
cuba | isn't that weird ? | 19:29 |
ivoks | no, that's normal | 19:29 |
ivoks | nothing after that? | 19:29 |
cuba | discover on eth0 to 255.255.255.255 port 67 | 19:30 |
cuba | but no result | 19:30 |
ivoks | logs on server? | 19:30 |
cuba | but tcpdump is catching the dhcpd response packets | 19:30 |
ivoks | dhcp server | 19:31 |
Iceman_B^Ltop | jmedina: any idea what I should sniff for? or should I capture everything for a minute or 3 ? | 19:31 |
cuba | ivoks, I need to go now, I'll be back later | 19:32 |
centaur5 | Does LTSP require that you have desktop packages on the server or does ltsp-build-client install desktop packages in the /opt/ltsp/ folder? | 19:34 |
=== ravi is now known as Iceman_B|SSH | ||
olcafo_ | is there an access control system in place for the iscsi service? I need to know it if I could set something up with multiple iscsi initiators access the same target. just doing priliminary research at the moment. | 19:53 |
=== olcafo_ is now known as olcafo | ||
olcafo | any good resources on the internet for implementing iscsi in linux/ubuntu would be great. | 19:55 |
ivoks | http://www.cuddletech.com/articles/iscsi/ | 19:56 |
ivoks | ? | 19:56 |
stickystyle | olcafo: you want more than one initiator to access the same target at the same time? | 19:57 |
olcafo | yup | 19:58 |
olcafo | great, something just came up. I'll be back. | 19:59 |
Iceman_B^Ltop | oh hey | 19:59 |
Iceman_B^Ltop | my server loses connections to the internet as well | 19:59 |
stickystyle | olcafo: Just wanted to make sure you where aware that you can't just do that with iscsi, you need to throw a clusterd file system into the mix also - like GFS. | 20:00 |
ivoks | maybe he doesn't want it mounted | 20:01 |
zul | mathiaz: ping you know for all of those bugs who dont chose a password for mysql why we do a big fat warning when they dont choose a password and let it continue or log it somewhere where we can ask users if they report a bug to check if they entered a password or not | 20:09 |
mathiaz | zul: are you triagging mysql bugs? | 20:10 |
mathiaz | zul: I'm doing the same :) | 20:10 |
zul | mathiaz: some of them | 20:10 |
mathiaz | zul: I'm going through the New bugs | 20:10 |
mathiaz | zul: which one are you doing? | 20:11 |
zul | im going through some of the old ones and newer ones | 20:12 |
juliux | hi can somebody take a look at the phpmyadmin package in hardy? see http://www.phpmyadmin.net/home_page/security/PMASA-2008-7.php | 20:14 |
juliux | hardy still has 2.11.3-1 | 20:14 |
=== zaid_ is now known as zaid_h | ||
drbobb | hello, i have an LVM question, just started to play around with it | 20:26 |
drbobb | why would lvextend refuse to grow my logical volume? | 20:27 |
drbobb | the message is: device-mapper: reload ioctl failed: Invalid argument | 20:27 |
ivoks | invalid argument | 20:31 |
genii | What arguments did you use with the lvextend command? | 20:32 |
drbobb | lvextend -l +100%FREE /dev/VG0/OPT | 20:32 |
ivoks | try without + | 20:33 |
drbobb | ok this is one of two lv's in its volume group | 20:34 |
drbobb | and my idea is to expand it to fill all remaining free space | 20:35 |
ivoks | then run vgdisplay | 20:35 |
ivoks | and check how much free extents are there | 20:35 |
ivoks | and then extend it | 20:35 |
drbobb | Free PE / Size 19022 / 74.30 GB | 20:35 |
drbobb | that's what you wanted to know? | 20:35 |
ivoks | lvextend -l +19022 /dev/VG0/OPT | 20:35 |
* genii ponders if it's -l or -I | 20:35 | |
ivoks | it's -l | 20:36 |
ivoks | small L | 20:36 |
drbobb | well i didn't make up that command, i followed the manpage | 20:36 |
genii | ivoks: I don't use it enough to know, thanks | 20:36 |
ivoks | l and I are different letters | 20:36 |
ivoks | you should consider different font :) | 20:36 |
drbobb | oh, exactly the same output | 20:36 |
drbobb | using number of extents made no difference | 20:37 |
ivoks | "lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" | 20:37 |
ivoks | hm | 20:38 |
ivoks | is the filesystem mounted? | 20:38 |
drbobb | i tried both ways, mounted and unmounted | 20:38 |
drbobb | made no difference | 20:38 |
ivoks | it must be unmounted | 20:38 |
drbobb | it still doesn;t work | 20:39 |
jmedina | umounted? /me always resize with mounted FS | 20:39 |
drbobb | nowhere do the docs say it must be unmounted | 20:39 |
drbobb | by i tried both ways anyway | 20:39 |
ivoks | right, that's true | 20:39 |
drbobb | s/by/but/ | 20:39 |
ivoks | filesystem is mounted, not the partition | 20:39 |
drbobb | right, and to resize a jfs, it must be mounted anyway | 20:40 |
ivoks | same with xfs | 20:40 |
drbobb | well i have jfs | 20:40 |
ivoks | how about | 20:41 |
drbobb | would it be a problem that the other lvm on this volume group houses my root fs? | 20:41 |
drbobb | s/lvm/lv/ | 20:41 |
ivoks | lvextend -L100%FREE /dev/VG0/OPT | 20:41 |
ivoks | capital L | 20:41 |
ivoks | bah | 20:42 |
ivoks | ignore that | 20:42 |
drbobb | nope | 20:42 |
ivoks | lvextend -L+74.30G /dev/VG0/OPT | 20:42 |
drbobb | same | 20:42 |
drbobb | no difference | 20:42 |
ivoks | huh?! | 20:43 |
drbobb | same message | 20:43 |
ivoks | ls -dl /dev/VG0/OPT | 20:43 |
drbobb | oh i forgot to say, there's one more line: | 20:43 |
drbobb | Failed to suspend OPT | 20:43 |
drbobb | it's a symlink, /dev/VG0/OPT -> /dev/mapper/VG0-OPT | 20:44 |
drbobb | btw this is all on a freshly installed ubuntu-server 8.04 | 20:45 |
ivoks | there weren't any lvm partitions on that disk before? | 20:45 |
drbobb | i repartitioned the whole disk at installation time | 20:46 |
genii | Maybe you need to use lvchange to have it mounted ro first | 20:46 |
ivoks | drbobb: never mind that, were there lvm partitions before installation? | 20:47 |
drbobb | ivoks: hey, now i don't recall, i wiped the previous system clean | 20:48 |
drbobb | i think it was a redhat 9 | 20:48 |
ivoks | note that formating disk (or even creating new partition table) doesn't do anything | 20:50 |
ivoks | metadata from previous partitions can be preserved even if the whole disk is repartitioned | 20:50 |
drbobb | well it does rewrite the partition table, doesn't it | 20:50 |
ivoks | it does | 20:50 |
ivoks | but you can recover partitions | 20:51 |
ivoks | so, clearly, not everything is formated :) | 20:51 |
drbobb | yes | 20:51 |
drbobb | but i've owerwritten much of the drive with new data by now | 20:52 |
ivoks | but, back to the problem... | 20:52 |
drbobb | well, about 80GB out of 200 | 20:52 |
ivoks | vgscan | 20:52 |
Iceman_B^Ltop | jmedina: still there? | 20:53 |
drbobb | yeah, worked fine | 20:53 |
Iceman_B^Ltop | any idea how long I should let the tcpdump run for ? | 20:53 |
drbobb | nothing extraneous found | 20:54 |
drbobb | Found volume group "VG0" using metadata type lvm2 | 20:54 |
drbobb | etc. | 20:54 |
ivoks | vgdisplay | 20:55 |
ivoks | paste it on pastebin | 20:55 |
ivoks | Iceman_B^Ltop: not too long :) | 20:55 |
ivoks | Iceman_B^Ltop: otherwise, you'll have very big file :) | 20:55 |
jmedina | Iceman_B^Ltop: yeap, but im busy doing real work :S, it is not about running and create a big file, is about analize dumped data and look for problems | 20:57 |
drbobb | ivoks: as you like | 20:57 |
drbobb | http://paste.ubuntu.com/140947/ | 20:57 |
drbobb | nothing unusual | 20:57 |
drbobb | the second vg is on another physical drive | 20:58 |
ivoks | drbobb: lvdisplay | 20:58 |
drbobb | yes, what do you want to know about it? | 20:59 |
drbobb | http://paste.ubuntu.com/140949/ | 21:00 |
ivoks | drbobb: everything | 21:00 |
drbobb | there it is | 21:00 |
ivoks | well, hm, it should wor | 21:01 |
ivoks | k | 21:01 |
drbobb | yeah i thought so too | 21:01 |
drbobb | brb | 21:02 |
Iceman_B^Ltop | jmedina: ah okay | 21:03 |
Iceman_B^Ltop | ivoks: I let it run for like 15 mns, and I have a 23k file | 21:06 |
ivoks | nice | 21:06 |
=== jdstrand_ is now known as jdstrand | ||
=== drbobb_ is now known as drbobb | ||
Iceman_B^Ltop | ivoks: I gave sudo tcpdump -c 1000 -w tcpdump_30mar now | 21:10 |
drbobb | ivoks: ok, so i've been able to extend the lv by smaller increments | 21:13 |
drbobb | but at the point where there are 249 free PE's, i can't extend it any more | 21:14 |
drbobb | so why would LVM insist that 996 MB of my VG must be wasted? | 21:18 |
uvirtbot | New bug: #322647 in mysql-dfsg-5.0 (main) "mysql-server fails to instal with apparmour errors" [Undecided,Incomplete] https://launchpad.net/bugs/322647 | 21:21 |
ivoks | drbobb: metatada | 21:25 |
drbobb | ok, it does seem like a lot though | 21:26 |
drbobb | and it still is kind of puzzling | 21:28 |
drbobb | on my second VG, which hosts a single LV, vgdisplay shows 0 free PEs | 21:28 |
drbobb | kind of inconsistent, isn't it | 21:29 |
ivoks | free PS should be 0 | 21:29 |
ivoks | PE | 21:29 |
drbobb | yeah what i mean | 21:29 |
drbobb | i see 249 PEs on VG0 | 21:30 |
ivoks | i really don't know where's the problem | 21:30 |
drbobb | free PEs that is | 21:30 |
drbobb | but LVM won't let me expand any LV | 21:30 |
drbobb | well i don't know what the problem is | 21:31 |
drbobb | but it sure soesn't make sense to me | 21:31 |
drbobb | s/soesn't/doesn't/ | 21:31 |
drbobb | i don't think i've seen it mentioned in the docs anywhere, that you should account for some PEs being taken by metadata when computing by hom much you can grow your LVs | 21:33 |
drbobb | s/hom/how/ | 21:33 |
drbobb | man how terribly i type | 21:34 |
ivoks | free PEs already have included metadata | 21:34 |
ivoks | so, at the end, you shouldn't have any free PEs | 21:34 |
ivoks | why you can't achive that, i can't tell | 21:35 |
drbobb | and it's not just a little, it's 249 PEs | 21:36 |
drbobb | actually i though the metadata area/s is/are separate, and not included in the count of PEs | 21:46 |
ivoks | it's not, it is separate | 21:50 |
orudie | ivoks, i'm in a terrible terrible mood today | 21:52 |
orudie | i feel like ripping someone's head off and then kicking it around | 21:53 |
drbobb | so, it ought to be possible to allocate all available PEs to LVs | 21:53 |
drbobb | hm, i've managed to create another LV out of the 249 free extents | 22:00 |
=== hessml|away|away is now known as hessml|away | ||
drbobb | hey maybe i do worry too much, but it makes me uneasy when something as essential as storage management doesn't work as expected | 22:06 |
kansan__ | how do i add a user such that they will only have access to a given directory and all subdirectories & files underneath that directory? | 22:06 |
=== hessml|away is now known as hessml|away|away | ||
ivoks | 10.04 will have nice name | 22:32 |
ivoks | ten-o-four | 22:33 |
ivoks | :) | 22:33 |
=== hessml|away|away is now known as hessml|away | ||
User777 | Okay so I have installed and configured (mostly) proftpd on a newish ubuntu server installation and the person i need to FTP in to this box is experiencing error 550. Could anyone tell me what I need to do to make the entire filesystem just 'open' to his user. I understand that may not sound secure but its what i need to happen. please help? | 22:46 |
jmedina | User777: dont chroot ftp users | 22:48 |
User777 | okay, so what can id o to let this FTP user upload/download anywhere in the filesystem? | 22:48 |
User777 | i do^ | 22:48 |
User777 | i am not a Linux expert by any stretch of the imagination | 22:49 |
Deeps | terrible idea, but ftp in as root user | 22:49 |
User777 | hmm | 22:49 |
User777 | there would a line in the config file that I would have to change right? | 22:50 |
User777 | i assume thats turned off by default | 22:50 |
Deeps | i have no idea i'm afraid, manuals come into play here | 22:50 |
User777 | thanks | 22:51 |
* User777 is looking around the config | 22:51 | |
User777 | connection established waiting for welcome message. Error: Could not connect to Server | 23:01 |
User777 | i put in what the manual says is the correct line...(RootLogin yes) | 23:01 |
User777 | restarted the server..and I get that | 23:01 |
User777 | any ideas? | 23:02 |
beawesomeinstead | User777: did you change the Port in sshd_config? | 23:06 |
beawesomeinstead | User777: shouldn't it be PermitRootLogin yes? | 23:06 |
Iceman_B^Ltop | okay, I have run tcpdump and I have a file now, where to go from here ? | 23:07 |
Iceman_B^Ltop | what do I do with the file ? | 23:07 |
User777 | i havent touched sshd_config....and according to the sites docs its RootLogin...I will try with PermitRootLogin now..whats this about sshd_config? | 23:08 |
beawesomeinstead | User777: where did you set RootLogin yes then? | 23:08 |
User777 | proftpd.conf | 23:08 |
User777 | was that not the correct place? | 23:09 |
beawesomeinstead | User777: ah, i thought you set similar option for SSH server, nevermind then | 23:10 |
User777 | i tried (PermitRootLogin on) and restarted..i am greeted with the same error in my ftp client "Unable to connect to server" | 23:11 |
User777 | I shouldnt have to add root to anything right? | 23:12 |
olcafo | is anyone using GFS? is it well supported in Ubuntu? | 23:14 |
ivoks | i do | 23:24 |
ivoks | no problems at all | 23:25 |
ivoks | 'night | 23:25 |
olcafo | ivoks: I'm thinking of using it with iSCSI | 23:25 |
olcafo | ha, maybe catch you later then. | 23:25 |
ivoks | i use it with drbd | 23:25 |
User777 | okay so i just got fed up and uninstalled proftpd | 23:27 |
User777 | can anyone reccomend an ftp server that is actually easy to configure? | 23:28 |
olcafo | User777: littel late here, but ProFTP works out of the box on a ubuntu install. | 23:28 |
User777 | appearantly not | 23:29 |
User777 | got to go | 23:29 |
olcafo | chances are that if it doesn't work, then there is somthing external happening that will prevent any other FTP client to work. | 23:29 |
olcafo | I need to know if I'm going down the right path here. I ultimatey need to have SMB shares that are ever increasing in size (TB wise) and also perhaps host virtual images through it. I'm thinking 10GbE, iSCSI, LVM, GFS with a couple of VM hosts accessing the VM images. | 23:35 |
olcafo | ok, so that was confusing. there's really two seperat thing I want to do with it. | 23:37 |
olcafo | 1. an SMB server connected to the targets, 2. a couple of KVM hypervisors connected to targets with the VM images. | 23:41 |
owh | That's clear as mud and twice as thick. | 23:43 |
olcafo | haha! :) | 23:43 |
jmedina | that looks fine, with that setup you can do livemigrations | 23:43 |
olcafo | that's the idea. I'm not of the rocker then, good! | 23:43 |
* jmedina is preparing a similar envyroment for a xen course, well less the 10GbE network | 23:44 | |
olcafo | wow, that's exacly what I wanted to hear. | 23:44 |
jmedina | that is common envirment for virtualized datacenters | 23:45 |
olcafo | then why am I having such a hard time finding documentation. I've sort of peiced all this together from different sources, but I've found nothing that talks about it as whole. | 23:46 |
jmedina | olcafo: well it s goog time to start documenting this scenario, I can help | 23:48 |
olcafo | that's a great idea. where do we start? | 23:49 |
jmedina | probably with the goals of the project | 23:50 |
olcafo | I'll be working on this for deployment sometime next year. | 23:50 |
jmedina | I read a document from suse describing a scneario like this, it is from 2006 | 23:51 |
olcafo | jmedina: yes, what I meant is what is the forum, or official place to do this online. | 23:51 |
jmedina | gooogle for suse xen live migration | 23:51 |
jmedina | olcafo: not sure, but I think you can use the wiki | 23:52 |
jmedina | I think that is the place for community contributions | 23:52 |
olcafo | well, I guess I'll finall have to set up an account ;) | 23:53 |
jmedina | olcafo: have you testd KVM live migrations? | 23:53 |
jmedina | olcafo: I havent used KVM, only Xen, but looks like it not too different in the implementation | 23:53 |
olcafo | no, not yet. although live migrations are not really one of the requirements for my deployment environment, it would be interesting to test out though. | 23:54 |
=== hessml|away is now known as hessml|away|away | ||
olcafo | jmedina: I currently don't have the hardware to try such a thing. most of the stuff in this office is pre-KVM compliant. Hence the big upgrade next year. | 23:56 |
jmedina | ok, that is why we use xen | 23:56 |
olcafo | I have zero experience using xen. limited VMware and a good amount of KVM is what I've been exposed to. | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!