[00:29] If i suspect I have a corrupted local apt-mirror [00:29] do I have to delete it and download he 26GB+ again? [00:29] JanC: any particular reason for this on a non-"/" drive? [00:29] is there a command I can give to apt-mirror to do a crc/md5 against all files? [00:32] oh_noes: Not to apt-mirror, but you can use find and xargs and md5sum to construct one yourself... but I'm headed out the door... back soon I hope... [00:32] jetsaredim: I don't remember all the details (I read about it somewhere), but e.g. file system maintenance tasks (like fsck) might need that space [00:32] fair enough [00:33] seems a waste [00:33] jetsaredim: and it helps prevent fragmentation too [00:33] 20G is a decent chunk [00:33] jmarsden: yep .. already in the middle of a find | xargs md5 .. but doing 50G is slow :) [00:33] I thought I'd ask while I wait. [00:33] that's why I said to make it smaller ツ [00:35] JanC: you don't know of any "rules of thumb" for that do you? [00:35] not really [00:35] fair enough [01:36] hi === techsupport is now known as orudie [01:36] how to change the ip address in apache2 server ? [01:45] how do i change bound ip for apache2 in ubuntu 8.10 server [01:51] by default, where does apache2 bind ip ? [01:55] orudie: probably somewhere in /etc/apache/ [02:12] What's the "virtual machine host" option when installing ubuntu? [02:28] tsrk: ISTR kvm is the officially sanctioned way [02:29] ISTR? [02:30] hello, i would like to ask how is it with support of sparc64 in 8.04, should i upgrade from 6.06? [02:31] there is not much info on the web [03:16] is it possible to dial in remotely via ssh and view video files on your server [03:17] view video files located on the server? yes, theres a couple of ways you could try [03:24] is there a windows application available [03:24] no idea. [03:24] well im looking to be able to play movies from the server [03:25] we'll i'd mount it into my filesystem and play it like that ... but my OS supports sshfs ... [03:26] im able to log in remotely using filezilla and download files [03:26] has anyone heard of 2x application server? [03:27] but instead of downloading them i would prefer to view them from the server [03:27] i am having some problems with parameters that im trying to pass and i was wondering if anyone would know [03:27] what does the Fs mean [03:27] file share? [04:59] vorian: http://xana.scru.org/xana2/ranticore/oldbdbsqueeze/ <-- Debian libdb maintainer. Not the list and maybe there's hope. [05:16] ok im having some problems with my IPtables... right now my server does not have internet access when i apply the rules... i am wondering if anyone knows what i need to set to ensure my server has internet [05:17] anyone, how do i save a specific program that is already installed so i wont have to config everything all over again for another pc? [05:17] Myst, hi! [05:18] hey [05:21] Im running ubu-server 8.10 and i have installed an additional NTFS HD as slave for extra-storage for my home-server, for File sharing accessibility. How can i get ubu-server to recognize the drive? [05:24] why have it as ntfs? [05:25] well, my family uses windows xp pro and they're going to be storing and file sharing. [05:26] If you're sharing it over the network it doesn't need/want to be NTFS [05:26] im creating a Fiel Server for mainly Home Network for Media such as music and files. [05:26] Really. [05:27] i didn't know, just figured it would be so, since they are all running xp pro. [05:27] so xp can recognize the network hard drive. [05:28] So it does not have to an ntfs drive. [05:28] what would be the best option ? [05:31] format drive to ext3 [05:32] try http://www.cyberciti.biz/faq/mounting-windows-partition-onto-ubuntu-linux/ [05:32] hopefully that helps [05:32] shows u how to do it through the terminal [05:33] Alright, but is best to keep it as ntfs file system or convert it to ext3 [05:35] ext3 [05:36] then use samba to share between the windows machines [05:37] or [05:37] is everyone using the same machine? [05:37] no right [05:37] ? [05:37] no. [05:37] the workstations are xp right? [05:38] each family members have there own computers. [05:38] ok i guess it's best to format it to ext3 then use samba to share files [05:38] !samba [05:38] Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and http://help.ubuntu.com/ubuntu/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT. [05:40] alright, but is it best to keep it as ntfs or another file system, for this type of Server usage? [05:43] well it is a linux server so use ext3 [05:44] since u cant seem to mount it, try to make it ext3 [05:45] Don't forget to mount NTFS filesystems with -t ntfs3g, *not* -t ntfs. [05:48] Nytrix, it is mounted. [05:48] im able to view it. [05:48] as ntfs [05:48] great [05:48] :) [05:48] thanx [05:49] when i run command: ls /dev/sdb5 [05:49] you will still need samba i think to be able to share over a network [05:49] it shows up " yellow " [05:49] Yes, i can do that. [05:51] Nytrix, Thanks for the help [05:53] i tried [05:53] np [05:55] Cyntek: device files are coloured yellow by default, to distinguish them from files. [05:55] Cyntek: to look at the contents of the filesystem on /dev/sdb5, you need to call ls on the mountpoint (e.g. /media/data). [05:56] hmm. [06:03] Does this look right: http://rafb.net/p/sVC0Mq22.html === mib_dlqrbxpl is now known as llragsll [08:03] I have an ubuntu gateway hare through which all traffic goes. I need a way to monitor the data transferred through this machine. any suggestions? [08:08] llragsll: ALL data? [08:10] yes... [08:10] I have been using munin to graph..ok..but it shows only the rate.. [08:10] I want the total data going in and out... [08:11] any packages to do this? [08:11] ah, you mean a byte count ? [08:11] yes [08:12] a byte count...say the amount of data transfered every day..with a global counter showing the entire amount of data transfered. [08:13] is there any packed doing this...I tht it would be something simple...l want the data tht is seen next to the n/w connection. data in/out [08:14] phpsysinfo will do it I think [08:14] let me check [08:14] I found one called darkstat [08:14] http://dmr.ath.cx/net/darkstat/ [08:15] llragsll, nope only total transfer from time up [08:15] hmm..ya..looks similar to munin [08:16] Titan8990, at least till time up is better... [08:16] but something persistent will be nice...there should be something definitely [08:17] well, if you already have apache + php you can check out phpsysinfo [08:17] if not, I would say its not worth setting up for that [08:18] ya I got lighttpd/php...it's setup for munin. [08:20] will bwm help [08:20] i am going thru it... [08:22] if I recall correctly, bwm is some tiny monitoring software, like dstat, or iptraf [08:22] hey great...bwm-ng is the package...."It shows total of in and out as well as total of all Interfaces. Several different output methods are supported (curses, plain, csv and html). " [08:23] cemc,i guess iptraf will do to [08:24] thxl\ guys [08:53] moin [10:19] <_ruben> which part is supposed to take care of starting md raid volumes? i created 2 raid volumes using mdadm, rebooted the box, dont show up [10:21] _ruben: do you have a /etc/mdadm.conf file, or anything in it ? [10:22] <_ruben> nope [10:23] <_ruben> ah /etc/mdadm/mdadm.conf .. had missed it at first [10:24] is there anything in it ? [10:26] <_ruben> http://paste.ubuntu.com/122751/ [10:28] and when you boot, there's nothing in /proc/mdstat? [10:30] <_ruben> nope .. doesnt even exist as no raid modules get loaded .. tried adding ARRAY lines to that config (based on a mdadm scan), doesnt help [10:45] <_ruben> hmm .. mdadm itself doesnt seem to autostart either .. strange [10:47] what release are you trying this on ? [10:49] <_ruben> 8.10 [10:49] <_ruben> the "funny" part is, i have 2 nearly identical boxes .. one works as it should, the other doesnt [10:54] <_ruben> hmm .. one difference, one's upgraded from 2.6.27-9-server kernel to -11 .. the working one was installed as -11 directly .. [10:54] * _ruben senses a reinstall coming up [10:55] ;) [10:56] do you have autoraid on the partitions ? [10:56] I mean the partition types [10:57] <_ruben> yes [11:05] holy crap, ubuntu just freaked me out [11:05] I was typing vgcr[tab] and it completed to 'vgcreate', I pressed [tab] once more, and it filled in existing volume group name, I pressed [tab] and it filled in device in it [11:05] this looked scary [11:07] _ruben: the only thing I found is in /etc/udev/rules.d/85-mdadm.rules for starting up RAID [11:08] domas: ubuntu iz smart :) [11:10] cemc: well, it was stupid [11:10] <_ruben> bashcompletion is kinda handy every now and then [11:10] cemc: I was creating VG, so reusing old name didn't work :) [11:10] :)) [11:10] and... it picked a device that was in VG already, while there was another unassigned one [11:11] but still [11:11] <_ruben> cemc: adding "raid10" to /etc/initramfs/modules did the trick [11:15] /etc/initramfs-tools/modules ? [11:15] <_ruben> which i had tried before, but the /boot partition seems to not be properly mounted always [11:15] <_ruben> uh, yeah [11:15] <_ruben> memory doesnt have autocomplete :P [11:15] ;) [11:18] you added raid10 so it loads the module when booting up [11:21] <_ruben> which isnt needed on the other node, there the mdadm hooks handled the inclusion of the raid10 module properly [11:22] hm [11:36] _ruben: maybe you should try adding the RAID device to /etc/fstab, remove the modules from the initramfs-tools/modules, and then update-initramfs, see what happens [11:37] <_ruben> cemc: it isnt listed on /etc/fstab on either boxes .. as the md's are exported over iscsi [11:37] i see [12:12] I am setting up a local mirror, i noticed that if i mirror from a 64bit server i only get 64bit debs, I would like to get both 32 and 64 [12:14] incorrect: How are you doing mirroring? [12:15] apt-mirror [12:16] Dunno then. [12:20] incorrect: think you have to add arch in sources.list [12:20] apt-mirror doesn't seem to use sources.list ? [12:20] incorrect: sorry. mirror.list [12:21] incorrect: hang on [12:21] set arch ? [12:21] like so I guess: http://www.howtoforge.com/local_debian_ubuntu_mirror#comment-3875 [12:22] thanks!! === JanC_ is now known as JanC [13:23] hello all [13:23] I'm trying to install a webradio on my Ubuntu Server 8.10 [13:24] What's a "webradio"? [13:24] web streaming radio [13:24] I'd like to use Icecast2 [13:24] my problem is that with Ices2 it can only play .ogg files [13:25] can somebody recommend something else instead of Ices2 to play .mp3 music? [13:25] you know mp3 patent situation? :) [13:25] Hello, gents. I want to set up a DNS server for my local network, but it occurred to me: why do DNs cost money if just anyone can set them up? [13:26] yes domas, I know :) [13:27] subchee: so look for packages outside core repo [13:27] mac9416_2: there's the cost of hardware, hosting and maintenance of course [13:27] though according to package description, 'icecast2' package should stream mp3 properly :) [13:27] mac9416_2: maybe because it costs money to admin the server, to upgrade it now and then, to run in 24/7, the bandwidth, etc ;) [13:27] I've googled all the day to find a package instead of Ices2... but I couldn't :( [13:28] I was thinking about to use Shoutcast (sc_server + sc_trans) but it doesn't want to start... (glibc6 is installed) [13:29] Hmmm. Yeah, now it doesn't seem so easy. OK, is there a really good instruction guide out ther efor setting up DNS? Any forum HowTo I find is very confusing. [13:31] I"ve looked at books I like, but I really need a quick/free howto [13:31] mac9416_2: seen this: http://ubuntuforums.org/showthread.php?t=236093. Basic setup. Hardly confusing [13:31] subchee: you can install compat libc [13:31] subchee: then shoutcast will work :) [13:34] domas: you mean "libghc6-regex-compat-prof"? [13:35] nope [13:36] sorry, "libc6" and "glibc-2.7-1" are installed... so what should I install? :) [13:38] which is failed dependancy? [13:40] Thanks oCean_ [13:41] there is no failed dependancy... if I want to start sc_serv there is an error msg: ./sc_serv: There is no such file or directory. [13:42] the .log file and the .conf file is in the same directory and the user has the right to write into the .log file [13:43] anyway, there's nothing wrong with vorbis!! :) [13:43] yeah, I know [13:43] but all my music is mp3 [13:43] I don't want to spend days with converting them :) [13:44] subchee: how do you start sc_serv exactly? [13:44] just typing this: ./sc_serv [13:44] subchee: you can always recompile icecast to support mp3 :) [13:45] domas: really? I didn't know about that... good news :) [13:45] subchee: what is 'ls -la sc_serv' saying ? [13:45] -rwxr-xr-x 1 14775 1687 137088 2007-02-28 21:17 sc_serv [13:46] sorry, I didn't use pastebin :( [13:46] np, one line won't kill anybody :) [13:46] did you tried with ./sc_serv file.conf ? [13:46] err... did you try* [13:46] yes, and the result is the same [13:48] subchee: strange though, icecast2 package _should_ be able to play mp3 [14:02] thank you everybody, bye-bye (apt-get install libc6-i386 solved the shoutcast problem) [14:02] subchee: have fun [14:03] turns out he was on 64 bit ;) [14:06] New bug: #330138 in samba (main) "Ubuntu (8.10 with latest patches (patched on 16. Feb. 2009, 8.04.1 without patches) ignores filename cases on cifs-mount in an error-prone manner" [Undecided,Incomplete] https://launchpad.net/bugs/330138 [14:21] New bug: #334346 in dhcp3 (main) "PATH problem in /lib/dhcp3-client/call-dhclient-script may lead to root compromise" [Undecided,New] https://launchpad.net/bugs/334346 [14:57] hello. i running ubuntu-server 8.10 and i have installed an additional ide hard drive as slave. I'm bit confused about how to add files or folders into that particular hard drive. How would i know if im moving files onto that hard drive and not the ubuntu-server hard drive? [14:58] Cyntek, you mount the driver to specific location after making filesystem do it if it doesnot have one [14:58] then you if you move files to that mountpoint [14:58] they will be on that new drive [14:59] kinnaz, when i run ls -l command it says this: lrwxrwxrwx 1 root root 10 2009-02-25 04:32 SeaGateBaracuda -> ../../sdb5 [15:01] if im understanding you correctly, that says its pointing to that hard drive and will store my files to that specific hard drive and not the ubuntu home? [15:03] How can i view the files on that hard drive for verification ? [15:07] where did you mount it? [15:07] check there [15:08] Cyntek, mount /dev/sdb5 /data [15:08] cp /home/myuser/somedatadir/* /data [15:08] ah mkdir /data [15:08] at first [15:10] all i did was installed it internally thats it. [15:10] i figured ubuntu-server would recognize it and auto mount it. [15:11] New bug: #334374 in libnss-ldap (universe) "libnss-ldap should not depend on libpam-ldap" [Undecided,New] https://launchpad.net/bugs/334374 [15:12] http://rafb.net/p/yk3MFx29.html [15:16] <_ruben> ubuntu-server doesnt do auto-mounting of new harddisks [15:17] oh. [15:17] so i have define it in MTAB [15:17] <_ruben> no .. fstab .. but you'll need to partition and format it first before you can actually use it (as in: store data on it) [15:20] hi, i need help changing hostname , name of the computer [15:21] <_ruben> only a handful of files in /etc/ hold the system's hostname .. edit those, reboot, done [15:24] reboot what ? [15:24] this hard drive will be for file sharing for window machines. what would be the best file system to use for Media files, [15:25] i set hostname in /etc/hostname and ip hostname in /etc/hosts [15:25] not sure what else [15:30] reboot === Abracadabr4 is now known as Abracadabra [16:04] should there be swap space for an second hard drive? [16:05] how can I enable tab completion in a server ...I connect with ssh and I lack the autocomplete [16:06] Cyntek: you mean if you need to create a swap partition on the second drive? you don't [16:06] k, thanks [16:06] so i just need to create the file system and that's it.right. [16:07] sadiq_: it should work. what do you try to autocomplete with tab? what shell do you use when logged in with ssh ? [16:07] cemc I donno :( [16:07] Cyntek: you can create one big partition if you like, and create the file system on it [16:08] 8.04 ...should be bash right? [16:08] it's a 300 GB hd. [16:08] sadiq_: if you didn't change anything, then it should be bash, yea [16:09] and TAB doesn't do anything at all? [16:09] i want this hd to be accessible via windows machine's. [16:09] it uses spaces [16:09] like in normal text editors [16:10] sadiq_: try this: echo $SHELL [16:11] what does it say ? [16:11] nothing...it prints a newline [16:11] $ echo $shell [16:11] $ [16:11] $SHELL, it's case sensitive [16:12] oh...sry [16:12] /bin/sh [16:12] thanks for the help guys [16:13] so you're using sh, and not bash. sh doesn't know autocomplete [16:13] ok...so how do I change to bash?? [16:13] Cyntek: you can create one big partition, format it as ext3, and use samba [16:13] cemc, if i format to ext3...windows will read it? [16:13] and write to it. [16:13] nope [16:14] thats what i need. [16:14] then why put it in an ubuntu server? :) [16:14] this server is for home file server for sharing and accessing. [16:15] Cyntek, over samba windows client can read/write do it [16:15] you can format it as ext3, and then use samba to share it to other windows machines on the network [16:15] thank you . [16:16] sadiq_: try usermod -s /bin/bash [16:16] usermod: unable to lock password file [16:16] sudo?? [16:16] yep, with sudo, sorry [16:16] oh...the user is not in sudoers group [16:16] su ?? [16:17] you need the root password for that i guess [16:17] I have that :) [16:17] then su -, and do the usermod as root [16:19] that line worked as root... [16:19] but still no autocompletion [16:19] now log in on another console, [16:19] and try it [16:20] oh..ok...that works :) [16:20] ty [16:20] any side effects from using bash instead of sh?? [16:21] slightly more memory usage I guess [16:22] but apart from that I don't think so [16:33] If you're logged in as a user that doesn't have sudo rights, su to the user that does and then sudo. [16:54] is root user available(as in I can log as root) in the server install??? [16:55] Not by default. You can enable it, but you generally don't need to. [16:56] ok [16:56] i tried moving the files to the new hard drive in it's new directory i created but i got a error i think: andrew@Home:~$ cp /home/movies/* /dev/sdb1 /movies/* cp: omitting directory `/home/movies/action' cp: omitting directory `/home/movies/anime' cp: omitting directory `/home/movies/comedy' cp: omitting directory `/home/movies/drama' cp: omitting directory `/home/movies/horror' cp: omitting directory `/home/movies/Scifi' cp: can [16:56] not stat `/movies/lost+found/sdb1': Permission denied [16:57] what's the right way of doing it? [16:59] Cyntek, probably you wanted something like: cp -a /home/movies/* /movies [16:59] k, ill try that. [17:00] nope, that did not work. [17:00] im trying to move it from /dev/sda /home/movies to /dev/sdb1/movies. [17:01] Cyntek, use mc for file managment [17:02] what is mc? [17:03] Midnight Commander [17:03] yes [17:04] mortal combat [17:04] mortal combat....whoot [17:05] sudo apt-get install midnight commander [17:05] Cyntek, wherever you have /dev/sda mounted and /dev/sdb1 mounted is what you're interested in copying from and to [17:05] maybe i missed something, but you almost certainly dont want to actually copy /dev/sdaX or /dev/sdbX [17:09] http://rafb.net/p/1bNOzF81.html [17:13] woot, i finally did it. [17:13] man that took a while. [17:14] banging my head against wall, trying to figure what i was doing wrong. [17:14] forgot to set permission on the new Directory " /movies" [17:14] kept getting permission denied. [17:15] listen well learned. [17:15] lol [18:01] New bug: #334470 in nut (universe) "FFE: Network UPS Tools 2.4.1-2" [Undecided,New] https://launchpad.net/bugs/334470 [19:56] hi all what is the best tool to encrypt a folder from command line (using 8.04 server) [19:57] archive-like encrypt or you want it to be usable ? [19:58] can you tell me about both pro/cons if you dont mind [19:58] zim: https://help.ubuntu.com/community/FolderEncryption [20:00] ty [20:01] No problem. [20:45] hello [20:46] hey [20:46] i was kinda surprised today to find that there exist 2.8GHz Xeon CPU's that don't support 64bit mode [20:46] did u weep [20:47] not quite, but i needed to burn a 32bit ubuntu server cd [20:48] btw which flag or whatever in /proc/cpuinfo tells you whether 64bit is supported or not? [20:48] haha the thing now with cds, I burn so many for no reason, cause I have a stack of 100 and there are still about 70 on it [20:48] not sure I come here to learn xD [20:49] well i have several broked cd/dvd burners [20:49] broken, even [20:50] they tend to die right after the warranty expires [20:50] especially those for laptops [20:52] thats a bitch xD [20:52] oh and i had to abandon that old xeon box for the time being, i installed ubuntu but it turned out unbootable [20:53] it seems grub has a problem with hdd's hung on addon controller cards [20:55] btw has anyone tried grub2? is it ready to become the default any time soon? [20:55] drbobb, I have had no problems [20:55] drbobb, with my 3com RAID card [20:55] drbobb, are you sure your card is supported by linux kernel? [20:55] Titan8990: i have no problems most of the time as well [20:56] Titan8990: pretty much sure, i found a redhat9 running on that machine when i was given it [20:56] drbobb, what I did have a problem with, is drives not plugged into the discrete card would change drive letters, in the middle of doing something and it would cause massive i/o errors and crash the server [20:56] drive letters? [20:57] drbobb, device names [20:57] drbobb, /dev/sda1 would become /dev/sdb1 in the middle of copying something.... [20:58] drbobb, it may have been a problem with the board actually, because sometimes the BIOS didn't even read the extra hdds [20:58] the installer saw mine as /dev/sda and had no problem setting it up with lvm, partitions & filesystems [20:58] and it's the single hdd on the system [20:59] now boot hangs on grub loading, or whatever the message is [21:00] before any menu appears that is [21:26] I have 2 servers running 8.10, the hardware is different. Server 1 crashes with moderate access to a cifs mounted file system, while server 2 doesn't have the problem. I'm new to linux administration and I'm not sure how to troubleshot this situation. Any ideas for a noob? [21:26] redbluefish: crashes like how? kernel panic, freeze, some error msg ? [21:36] New bug: #333813 in mysql-dfsg-5.0 (main) "MySQL daemon crashes daily on logrotate's flush-logs" [Undecided,Confirmed] https://launchpad.net/bugs/333813 [21:37] drbobb: I _think_ you could look for the 'LM' flag to check if a system is 64-bits, but I'm not sure... [21:46] JanC: thx that might be it [21:47] (btw there really ought to be a `man cpuinfo') [21:48] write it! [21:48] Deeps: i have no clue [21:49] :( [21:49] get clue and then writ it! [21:50] write* [21:50] (i would, but it always seemed fairly self-explanitory to me, the bits that mattered to me at least) [22:25] you know how much fun doing partitioning in the ubuntu installer is on a box with 48 disks, over a 9600bps serial connection? [22:25] :) [23:20] Hey Everyone, i have just configured my server the way i want it and would like to back it up so that i do not have to redo any of the configurations if i have to upgrade the machine etc... is there a way of doing that without ghosting the hard drive? [23:31] Myst: If you want to track changes to /etc too then etckeeper is probabbly your answer. IMHO it is better only to backup changes to /etc, which etckeeper can track for you [23:31] Myst: that's a big question - what do you want to backup - files or the whole filesystem? [23:32] Myst: I havnt tried etckeeper yet though [23:32] Myst: I use backuppc for my server backups [23:32] I need help getting my shoutcast server running, whenever I start it, it gives me this http://pastebin.ca/1347290 crap and I can't keep the process running [23:33] Myst: rsnapshot is also usefull for file backup [23:33] Myst: dd is my favorite for filesystem (partition) backup [23:34] basically i would like to be able to use the configuration file to configure the exact same server on different hardware should this hardware die... [23:35] i dont think the /etc copier program would work because i have a samba server running with shares elsewhere... [23:36] Myst: I think rsnapshot is what you want [23:36] Myst: you can specify what files to copy and at what intervals [23:36] Myst: and it keeps the directory structure intact on the files you do copy [23:37] ok so if i setup another server i can use the rsnapshot to bring it to the current config of the other server? [23:37] Myst: and it uses rsync and hard links on preserve space [23:37] well, rsnapshot maeks the backup [23:37] you restore the backup by hand i think [23:37] but that's not hard using rysnc [23:38] in this case, restoring to a differnet computer is all [23:38] rather than the original [23:38] sounds good ill take a look at it... [23:39] Myst: hope it helps [23:39] goofey, thx... if you have any websites that are good tutorials thatd help [23:41] Myst: this is what I used: http://www.rsnapshot.org/howto/ [23:42] are there any crash dump features to be included in the comming release?