=== bromic94_ is now known as thewrath [00:55] Hey everyone... does anyone know of a cd/dvd buring program that uses command line interface? [00:55] mkisofs / growisofs [00:55] genisoimage now, I think. [00:56] Traditionally genisoimage (nee mkisofs) is used to create an .iso, and this is then burnt with cdrecord. [00:56] For DVDs, the growisofs tool can perform both steps at once. [00:57] ok so growisof [00:57] Incidentally, most (all?) GUI burning tools end up just calling the CLI tools internally. [00:58] yeah... just the server im using has no GUI and i would prefer not to have a gui installed in order to keep the system hardened [00:59] That won't really "harden" the system much. [01:00] But using a GUI remotely is often slow, and in this case is certainly unnecessary. [01:00] will "weaken" [01:00] most vulnerabilites are found with GUIs and if i install one then i have to go through a battery of tests to ensure that the system is hardened [01:01] Myst: if those GUIs can only be used by ssh -X, then you're only as weak as ssh. [01:01] Unless end users have shell access to your server, I guess. [01:03] the last time i installed a GUI for linux it had alot of processes that ran at startup, which in turn created some vulnerabilities during the testing... so i have avoided using guis on any server... [01:04] Installing a single graphical application is different to what you call "installing a GUI". [01:04] along with all the xauth etc. packages that are then needed for x-forwarding [01:04] I'm not advocating installing ubuntu-desktop or anything, just e.g. xcdroast. [01:05] Deeps: well, openssh-server Recommends xauth anyway [01:05] recommend, doesn't depend [01:05] Deeps: recommend is opt-out now [01:05] twb: i opt out [01:05] yeah... just if i want to run a burning utility and need the gui to do it all those unnecessary processes run... but ill look into xcdroast [01:05] i'd take the opposite attitude to twb here, and i'd avoid any X related applications on a server [01:05] Deeps: well so do I [01:06] especially since like he says, in the case of cd/dvd burning, they all just end up using the same cli tools internally anyway [01:06] Deeps: I'm just saying that of all the things that you can do to harden a server, refusing to install libx11 is pretty negligible. [01:06] so skip their front ends and just do it yourself [01:07] Removing anything non-essential listed in netstat -nap or in /etc/init.d/ or /etc/inetd would be a start. [01:07] Installing a firewall, possibly auto-applying security updates. [01:08] Compared to installing, say, xdu or xterm, those will have far more impact. [01:08] hehe... i didnt mean to start a debate about hardening a system... but advice is always welcome [01:08] Myst: no worries, I should be working... [01:15] Regarding smartmontools... [01:15] I need to tell it my drives are SATA, not SCSI. I can add /dev/sda and /dev/sdb to smartd.conf. [01:15] But what happens if the device names happen to change (e.g. because USB gets modprobed before SATA for some reason)? [01:16] Does it know about UUID? [01:16] Can I tell smartd to identify devices by a UUID or serial, or even just to default to assuming SATA? [01:17] eh, it should detect all drives automaticly? [01:17] JanC: yes, but it detects them autoamtically as SCSI [01:18] Because of the SAT emulation layer in the kernel. [01:18] (That's why drives are called /dev/sda not /dev/hda nowadays) [01:18] of course, but it's easy enough for them to see that it's really a SATA disk... [01:19] JanC: smartd apparently doesn't know to do that. [01:19] smart works fine with my sata drives [01:20] I don't know anyone who's had a problem ... can you describe exactly what's going wrong? [01:22] giovani2: I have to add -d sat. [01:23] giovani2: this means explicitly listing the drives, AFAICT. [01:23] giovani2: this means that if the drives change names, smartd.conf will be wrong. [01:23] what happens if you don't? [01:23] Device /dev/sda: ATA disk detected behind SAT layer [01:23] Try adding '-d sat' to the device line in the smartd.conf file. [01:23] For example: '/dev/sda -a -d sat' [01:23] ...in syslog. [01:24] odd, that doesn't happen for any of my SATA drives, is the SAT layer non-default? [01:24] giovani2: AFAIK this is a stock Ubuntu 8.04 Server install. [01:24] https://help.ubuntu.com/community/Smartmontools [01:24] did you read that? [01:25] the script on the bottom seems to be a solution, as it's doing "-d ata" -- you could simply swap that out with "-d sat" [01:25] it's iterating through /dev/disk/by-id/ [01:28] twb: it should also understand the device links in e.g. /dev/disk/by-id/ [01:29] and probably the other ones under /dev/disk/ too [01:31] giovani2: sorry, I'm multiplexing multiple tickets. Looking now... [01:31] giovani2: OK, that link seems to basically be circumventing the existing init.d infrastructure entirely. [01:32] Oh, no, I see, they're talking about using that script as a replacement for the default scanner execed in smartd.conf [01:35] Hmm, this actually looks like it works: [01:35] Just add "-a -d sat" to the DEVICESCAN line itself. [01:37] Wish I knew how to simulate a smart failure on a remote machine, though :-) [01:38] on my system SATA drives are automaticly recognized as such, it seems... [01:45] twb: don't have any old, bad drives around? [01:46] New bug: #342056 in samba (main) "Samba automatic account creation assumes local accounts" [Undecided,New] https://launchpad.net/bugs/342056 [01:48] giovani2: the machine is in a data center [01:48] And more to the point, I'm not [01:49] I'm usig ufw for firewall. if a port is not ALLOW, does it not mean DENY? what defference does explicitely DENY make? === bromic94_ is now known as thewrath [01:50] anyone know anything about this: http://linux.slashdot.org/article.pl?sid=08/02/13/0227231 [02:00] doginize: run "iptables-save" and pastebin the output. [02:00] doginize: if you look at the top of that output, you'll see something like... [02:00] :INPUT ACCEPT [0:0] [02:00] :FORWARD DROP [0:0] [02:00] ...those lines mean that INPUT defaults to ACCEPT and FORWARD defaults to DROP. [02:01] Unless you're working on a router, you mostly care about the INPUT chain. [02:02] doginize: however what you might find is that the default policy for INPUT is ALLOW, but at the bottom of the chain ufw has a rule like "otherwise, always reject". [02:02] I haven't used ufw enough myself to know if that's the case by default, and I don't have a ufw-enabled box nearby to check. [02:03] twb: here is the output: http://dpaste.com/13850/ [02:04] doginize: OK, so the default policy for INPUT is DROP. [02:04] DROP is like REJECT, only the packet is thrown away without sending a "piss off, loser" packet to the other computer. [02:06] thanks, twb [02:06] What that means is the other end will just see something like "connection timed out" instead of "connection refused". [02:06] And I can't see any generic "otherwise -j REJECT" at the bottom of the INPUT chain. [02:09] Greetings [02:10] any way to get real time logs to show on tty? [02:10] tail -f logfilename? [02:10] twb: i dont know what those output mean. any suggestion for me to read? [02:11] ScottK... hehe. My bad for not articulating. [02:11] That did seem too easy. [02:11] I'd like to have syslog show in realtime on a tty straight from boot. [02:12] I can always switch to another tty to log in... [02:13] but typically I do all from SSH and the server doesn't have keyboard/mouse... just a monitor [02:13] doginize: basically ufw is an abstraction layer over a more powerful (and more complex) system called "iptables". [02:13] doginize: so to know what ufw did, I looked at what the actual iptables settings were "under the hood". [02:14] doginize: unfortunately I don't know a good single reference for iptables, I just kind of picked it up as I went along. [02:14] * Fenix|home mumbles about iptables... which is like learning icelandic through greek, through latin, through chinese and you don't know any of those languages. [02:16] doginize, wanna learn IPTables... go to the project homepage at http://netfilter.org/ [02:16] be prepared though... it's a rough ride [02:16] ok, thanks. [02:20] alright... have a good night boys and girls. [02:47] Eh, the iptables homepage never really helped me grok iptables [02:47] I needed to actually try it, and see working examples, and read articles on how to do specific things (e.g. DNAT) with it [03:24] Is there any point in zeroing (dd if=/dev/zero of=/dev/sda1) md RAID1 nodes prior to creating the array? [03:34] twb: not really [03:47] How do I discover the UUID of a swap partition? [03:48] vol_id will probably tell you [03:50] ajmitch: where is that? [03:50] in /sbin [03:50] Hmm, not on the Etch box I'm pinching bits from. [03:50] Apparently that's provided by udev [03:51] sorry, I assumed you were using ubuntu [03:51] No worries, I'm duplicating it *to* ubuntu [03:51] This box being Etch was a bit of an accident. [03:51] why do you need to copy the UUID? [03:51] since it probably won't have one on that swap partition [03:52] swaps have UUIDs [03:52] they aren't required to [03:53] Ah. [03:53] In general I'm copying the UUIDs so that when I copy the OS from one set of disks to another, /etc/fstab and menu.lst and such will be correct without me needing to munge them. [03:54] Last time I did this for an Ubuntu box, which uses UUIDs more than this silly Etch system. [03:54] * ajmitch is different & has LVM, so the swap volume is just addressed by name on this sid box [03:54] but has a UUID on the hardy system here [03:54] ajmitch: even though it's on LVM, it's addressed by UUID here. [03:54] (On the Ubuntu example I'm looking at) [03:55] But then I probably set up LVM on it via d-i [03:55] either way works [03:55] Nod. [04:30] hi... can anyone help me? i want to get an online file host... any recommendations? [04:31] something cheap but very good and FAST, though it doesn't have to have a ton of storage space [04:31] joanki123: file host for what purposes? backups? remote access? media delivery? [04:31] backups [04:31] just for me personal [04:31] for a few files - not a ton [04:31] amazon s3 works great for me [04:31] mostly for convenience, so it doesnt' have to be anything large [04:31] they only charge you for what you use, so it's good for small usage [04:32] 15cents per gb [04:32] i have less than 1 gig of stuff to backup [04:32] per month [04:32] is there anything flatrate or annual so i don't have too stres about using too much? [04:32] to* [04:32] why would you stress? [04:32] and stress rather [04:32] unlimited is a bad idea [04:32] because tomorrow's files are going to be HUGE [04:32] i have to do a one time large transfer [04:32] no service is unlimited, and nyone that sells it are overselling [04:33] ok i see [04:33] http://aws.amazon.com/s3/ [04:33] .15 /gb not bad [04:33] I asked you how much you wanted to back up, you said less than one GB [04:33] now it's more? which is it? [04:33] tomorrow it will be like 100 [04:33] 100GB? [04:33] for a day [04:33] and then it will reduce to like 1 gb [04:33] do you have a connection to upload that amount? [04:33] on average [04:34] it will take time, of course.... [04:34] so flat-rate file server is hosting is not.... adviseable [04:34] i would think one would just prefer to know what she is paying for ahead of time [04:35] you would know ... because you know your usage [04:35] why pay every month for something you're not using? [04:35] if you pay $5/mo [04:35] for a year [04:35] you've paid $60 [04:35] but, if you average 1GB per month on s3 ... you pay $1.80 per year [04:35] how is the former better? [04:36] lol [04:36] ok [04:36] if you need to store 100GB for a year [04:36] that's different [04:36] but, I wouldn't trust anyone who provides 100GB of backup for $5/mo [04:37] they are losing money, and overselling to provide it to you [04:37] they also charge for data transfer [04:37] what is a tb? [04:37] yes? backups aren't retransfered all the time [04:37] Terabyte? 1024 Gigabytes [04:37] for backups, you should be using rsync [04:37] which only transfers the files that have changed, and not everything [04:37] rsync [04:38] ok [04:38] rsync is software [04:38] for linux [04:38] i will look it up [04:38] http://samba.anu.edu.au/rsync/ [04:38] but can you backup to a file server? [04:38] an online one [04:38] from that program? [04:38] rsync doesn't care where you're backing up to [04:38] how often do you backup your personal computer? [04:38] you mount your s3 account on your linux computer [04:38] i think i want to do it every month [04:38] and then rsync to that mount point [04:38] I run rsync nightly [04:38] ohhhh coool [04:38] if you run rsync nightly.... do you transfer data to s3 nightly? [04:39] yes ... only what has changed [04:39] which is probably 50-100MB at most [04:39] ooo i see [04:39] and you can choose which files to back up [04:39] i was using an external harddrive [04:39] of course ... [04:39] I have to go [04:39] good luck [04:39] aww [04:39] ok i will get rsync [04:39] thank you [04:41] has anyone actually ever got to get ubuntu working on a hp mediasmart ex4xx? [04:44] sorry dell here [04:45] i gotta go... bye everyone === jwstolk1 is now known as jwstolk === jwstolk1 is now known as jwstolk [10:11] hi, we have a strange problem on 8.10, we recently upgraded from 8.04 to 8.10 and now the system refuse to boot (it cannot find the root partition), fstab contains /dev/disk/by-uuid references. In BusyBox if we wait a while devices starts to appears and we can mount them (sort of delay problem?). We use ata_piix for disks. Any clue? [10:12] nomoa: If you look in the release notes there's a note about failure to boot with Intel 945. It's now known to affect more broadly than that. [10:13] What you have sounds somewhat like that. [10:13] In busybox if you wait a few minutes what happens if you just exit (don't manually mount anything)? [10:14] ScottK: I'm going to try [10:14] OK. [10:17] ScottK: It works [10:18] nomoa: Add rootdelay=90 (90 works for me, you might have to adjust) to the boot parameters in /boot/grub/menu.lst. [10:18] Also there's a bug you should comment in. Let me find it. [10:20] nomoa: Bug 290153 <-- Please comment with the particulars of your hardware. Also there's a recent request for testing with newer kernels you might consider. [10:20] Launchpad bug 290153 in linux "Fails to find boot device in Intel D945Gnt" [High,In progress] https://launchpad.net/bugs/290153 [10:20] ScottK: We deactivate our scsi LTO-2 medium autochanger wich takes ages to load, I'll check with it and adjust the delay [10:20] ScottK: ok many thanks [10:20] YW. [10:27] anybody here use screen? [10:27] is there an easy way to save sessions in screen if your server's going to reboot? [10:28] chrisadams: far as i knoe there isnt anyawy to save screen session [10:28] damnation [10:28] ah, nevermind [10:28] offcourse there is way around it [10:28] I guess I should be using screen rc to save settings anyway... [10:29] yeah.. the way around it is use virtual machine which you can transfer toa nother computer [10:29] i think Xen supports it, maybe little overkill for just keep screen running [10:29] lol [10:29] definitely :) [10:37] so ... in jaunty one of the last days broke my nfs mount [10:37] that worked for ages [10:37] i get "authentication failure" [10:38] anyone has any clue how to debug this? [10:51] problem is in authentication part :) [10:51] kirkland: looks good. an extra space I'm not sure where it's from, but otherwise what I expected. [11:18] I have a vps running ubuntu 8.10, and lately that server suddenly just freeze so i have to force restart it.. anyone else here have the same problem? === asac_ is now known as asac === scfh is now known as scfh_ === scfh_ is now known as scfh [12:35] Nafallo: if you pull 1.38 from the PPA, there's an item in the Menu that lets you configure on/off each of the status indicators [12:36] ah yea. kewl. [12:37] kirkland: found a bug then... === bromic94_ is now known as thewrath [12:37] Nafallo: what's that? [12:37] Nafallo: the whitespace? [12:37] hey all how do i mount a new drive to server? [12:37] kirkland: I turned off mem-available and mem-used now says: ,46% [12:37] sudo mount /dev/sda3 /tftpboot ? [12:38] Nafallo: so that's the same problem as with the whitespace [12:38] kirkland: ah. after the hostname. yea pretty much. [12:38] :-) [12:38] Nafallo: enabling/disabling those status items doesn't actually remove them from your profile [12:38] Nafallo: it just makes the scripts exit 0 [12:38] Nafallo: immediately [12:38] ha. oki. [12:39] the status line is still [12:39] # Status string, last line [12:39] hardstatus string '%{+b kr}\%{= ky}o%{=b kY}/%{=b Wk} %100` %{= Wk}%112` %= %{=b bW}%102`%{= Wk} %{=b rW}%101`%{= Wk} %{= Wg}%108`%{= Wk} %{= Yk}%106`%{= Wk} %{= Wk}%104`%{=b cW}%103`%{= Wk} %{=b gW}%105`%107`%{= Wk} %Y-%m-%d %0c:%s' [12:39] Nafallo: I haven't thought of a good way to clean that up [12:40] anyone?> [12:40] as long as you don't have to care about / read it ;-) [12:41] Nafallo: ? [12:42] kirkland: I don't see that line when I use the application :-) [12:42] kirkland: ...so not as bothered :-) [12:45] Nafallo: cool [12:45] Nafallo: so besides the leading/trailing chars, you like? [12:45] kirkland: I've got arch now :-) [12:45] kirkland: yea. it's fine. [12:46] Nafallo: \o/ [12:46] kirkland: except of course... the constant annoyance you're already told about multiple times :-) [12:47] plain, light, dark [12:47] Nafallo: too many colors [12:48] kirkland: plain, light, dark, random ? and the random one can generate stuff like green text on pink background? :-) [12:48] Nafallo: [12:48] Nafallo: would you please file a wishlist bug on that one? [12:48] Nafallo: requesting the colored profiles be split out to screen-profiles-extras [12:48] kirkland: if you consider it a serious suggestion I will :-) [12:48] ah [12:48] doh [12:49] Nafallo: not green/pink :-) [12:49] kirkland: random could generate whatever really ;-) white on white? :-P [12:49] Nafallo: yeah, that would increase security [12:53] Bug #342244 [12:53] * Nafallo pokes the bot! [12:53] Nafallo: Error: Could not parse data returned by Launchpad: The read operation timed out [12:53] bug 342244 [12:53] Nafallo: Error: Could not parse data returned by Launchpad: The read operation timed out [12:54] uvirtbot: why do you hate freedom? [12:54] Nafallo: Error: "why" is not a valid command. [12:58] is there a way to identify a device (e.g. /dev/sgX) with a script by reading an entry in a file like /proc/scsi/scsi (we had a usefull device /dev/tape/by-id/XXX but it disappears after we upgrade from 8.04 to 8.10)? [13:02] hi I've installed nagios3 for server 8.10 - do I still need to download plugins off the site or is this included when installing nagios? [13:03] bn43: you might want to install the "nagios-plugins" package [13:04] bug 342244 [13:04] Launchpad bug 342244 in screen-profiles "Split out the themes to screen-profiles-extras" [Undecided,Confirmed] https://launchpad.net/bugs/342244 [13:04] ^-- kirkland [13:04] Nafallo: Error: "--" is not a valid command. [13:04] ah - silly me I was just doing a sudo aptitude search nagios3 [13:04] god damn bot! [13:04] I see I have "i A" next to nagios-plugins [13:05] does it have to trigger on any god damn character :-P [13:05] what does the A mean? [13:18] I can see a whole lot of scripts in /usr/lib/nagios/plugins - I don't see this on the web interface ie check_disk - what gives? [13:19] <_ruben> those are the scripts used by the actual checks === photon_ is now known as photon [13:22] _ruben: but how do they get activated and configured? I can't see how to do this on the webpage [13:25] bn43: Look in /etc/nagios/commands.cfg or something like that. [13:25] bn43: It defined the names of commands you can use for service checks. [13:25] Sometimes there's a one-to-one mapping between those and the scripts in /usr/lib/nagios/plugins, sometimes there's not. [13:27] ah ok that has rung a bell - on the web interface, there is a commands page where I can see all the scripts and switches [13:27] now I just got to figure out what they all mean [13:27] I have a script in cron.daily and it doesn't run -- what should I be checking? [13:28] it's owned by root too [13:28] mrwes: does it run manually? [13:29] yah [13:29] 25 9 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) [13:29] it's a blocklist script to udpate transmission blocklist [13:30] it didn't run at 9:25 [13:30] so it runs sometimes? [13:30] no, never from the cron.daily [13:31] do I need to 'activate' root's cron? [13:31] i know I had a weird one previously - its the naming of the scripts [13:32] did not accept [13:32] _ for instance [13:32] check for that [13:32] the script is called blocklist.sh [13:32] maybe it's the .sh ? [13:33] yeah - check that [13:33] rename and see [13:33] k [13:34] set to run in 2 minutes... [13:34] Liinux servers are powerful -- what a great way to really learn Linux [13:35] yeah I'm learning constantly - I'm a noob but can do some funky stuff now [13:35] running a couple of servers and having fun [13:35] same here -- been running this server for hrmm.. maybe a week :) [13:35] just a simple file and print server [13:35] me too [13:35] and transmission-daemon too [13:36] script still didn't run [13:36] er [13:37] bugger [13:37] hrmm...script won't run without the sh blocklist [13:38] it's chmod +x too [13:38] mrwes: Do you have cron installed? [13:39] ?? u took the sh out right? so its "blocklist" [13:39] hrmm [13:39] yah installed :) [13:39] bn43, yah blocklist [13:40] so if you ./blocklist it does not run? [13:40] and it's sitting in /etc/cron.daily [13:41] administrator@ubuntu:/etc/cron.daily$ sudo ./blocklist [13:41] Waiting for the daemon to exit done [13:41] blocklist updated [13:41] Starting bittorrent client transmission-daemon... [13:41] Starting bittorrent client transmission-daemon succeeded [13:41] and the level1 file is there [13:41] wtf am I missing here? heh [13:42] mrwes: How can you tell it isn't run? [13:43] soren, I deleted the level1 file and had the cron.daily set to run at 9:25am, then I checked for the level1 file after that time and it wasn't there [13:44] maybe it ran and there's an error? [13:44] and when you edit crontab you go "sudo crontab -e" right? [13:44] mrwes: Perhaps your script doesn't like running without a controlling terminal. [13:44] bn43, that's not necessary for cron.daily [13:44] mrwes: check your e-mail. cron sends the output of the commands it runs to root. [13:44] soren, no mail :( [13:45] mrwes: No mail because you don't have an mta or no mail because it didn't send any? [13:45] yes but it ensures that root is running the script - not the user [13:45] and I have an alias root=administrator [13:45] bn43: you still there [13:45] yeah [13:46] try getting to https://www.wasd.k12.pa.us [13:46] bn43, /etc/crontab calls out to cron.daily [13:46] you don't need to 'install' it [13:47] says that right in /etc/crontab [13:47] thewrath: why am I looking at that website? [13:48] cuz cron.daily is run by root [13:48] er [13:48] ?? no each user has there own as far as I know [13:48] crontabs don't belong to root only [13:49] yah I know that [13:49] # /etc/crontab: system-wide crontab [13:49] # Unlike any other crontab you don't have to run the `crontab' [13:49] # command to install the new version when you edit this file [13:49] # and files in /etc/cron.d. These files also have username fields, [13:49] # that none of the other crontabs do. [13:49] it's system wide [13:49] ok then I'm talking outa my behind! not sure how to help [13:50] and crontab is running [13:50] soren, any ideas? [13:50] but just to xperiment - can you try it in root crontab? [13:51] bn43, yah I was about to do that [13:51] I just wanted to use cron.daily for what it's designed for [13:52] mrwes: Still: It's possible your script doesn't like getting run without a controlling terminal. [13:52] thewrath: u still there? [13:52] this looks right [13:53] 55 9 * * * cd /etc/cron.daily && ./blocklist [13:53] mrwes: Try running it like 'some command < /dev/null' and see if it does what you expect it to. [13:53] k [13:54] let me see if the root cron runs [13:54] I can use MAILTO=root no? [13:55] or is that automatic [13:55] That's automatic. [13:55] bingo! it ran [13:55] why would it run from root's cron and not the cron.daily ? [13:59] <_ruben> i had a similar issue, forgot how i fixed/worked around it though :p [13:59] oh...thanks :P [14:00] <_ruben> ah .. i put a job in a /etc/cron.d/ instead, and decided to run it 4 times a day as well :) [14:01] well..I'm just confused on why cron.daily won't run it, that's what it's for [14:02] can't comment as I use root crontab only for system scripts [14:03] was not aware of cron.daily - will look into it [14:06] I'm still not figuring out nagios plugins [14:07] is there some idiot proof how to configure plugins? [14:07] shit...now it appears the cron.daily ran -- I got an email [14:07] heh [14:07] good for you! [14:08] gotta test that again [14:09] Ok..now if someone can speed up file transfers with cifs I'd be very happy [14:09] heh...shit is way slow [14:09] bn43: yes i am [14:09] what was that link about? [14:10] sorry i stepped out for a littl ebit [14:10] wantedu to see if outside access is not reestablished [14:10] ?? [14:10] all this week this website was not accessible to the outside network [14:11] oh....well glad to help - got to it [14:11] anyone here knows nagios? [14:12] hey, i have ubuntu server 8.04.2, and i updated it yesterday, the packages updated included xen hypervisor 3.2 [14:13] unforunately i am no longer able to ssh or xm console into my xen instances, does anyone know what could be wrong? [14:13] i can still see the websites they are serving [14:30] hello VK7HSE [14:31] VK7HSE: any packet down by you? [14:32] mrwes: Do you have anacron installed? [14:32] ball: 20m 2m [14:33] VK7HSE: people around here tell me packet's dead [14:33] g'morning [14:33] * ball shrugs [14:33] * ball <- KB9YLW [14:34] ball: pretty much! but I like to make a noise! [14:34] I've got some issues with the "NetXtreme BCM5754M" network card, it just isn't working. Network interfaces are all setup correctly, routes are good - it just sits there. If however I switch over to the onboard network card, it works perfectly fine (with same settings) [14:34] I've got the 'tg3' module loaded, can someone help debug what the issue actually is? [15:00] ivoks, hi [15:00] hi [15:17] Probably a stupid question, but is there a way to port forward from ubuntu server? [15:17] forward port? [15:19] K, i just got an old box and i'm trying to set it up as a home server- problem is, it just doesn't have the HD space. What I'd like to do is set it up so if i try to connect via ftp, it sends me to xp box [15:19] Genericnoob13: that's just silly. [15:20] ...though I suppose it's doable with Samba [15:20] well, I'm a noob. Obviously [15:20] samba? [15:20] and strapped for cash, so actually upgrading old box isn't really an option [15:20] How much space do you need it to have? [15:20] I can relate to being strapped for cash. [15:20] * ball <- impoverished (and now unemployed) student. [15:21] Well, on my windows box I have a 500gig drive I use for media- it's about 1/5th full last i checked [15:21] this box has like 54 gigs total. [15:21] How much free space on the Ubuntu box? [15:22] 42 [15:22] gigs [15:22] ...and that's not enough for what you want to do? [15:25] Well, I have 100 gigs of media- and I'd like to be able to access that whenever. I set up ftp on my xp box, but that either means somehow getting another free dynamic dns account, or having to remember the IP for xp-box [15:26] so i just wondered if it'd be possible to point ftp client at ubuntu box's url, but have the server send the connection along to xp [15:27] yeah, there's probably a really easy way to do what i want that i just know nothing about [15:27] Why are you using ftp instead of sftp? [15:27] Genericnoob13: there are ways to do it, but probably also reasons not to. [15:28] Eh, once i get it set up, I feel competent enough at setting up accounts/permissions etc. [15:29] aaand also on my todolist is moving all my important personal information to a truecrypt drive [15:30] Genericnoob13: that's pointless if you're going to use ftp to access it. [15:30] ftp sends passwords in cleartext [15:31] Well, i'm not against learning how to set up something more secure [15:31] and actually, I don't think i'd be accessing personal information via ftp- I'm mainly thinking if i am elsewhere and want a movie, or music, or want to share my collection with a trusted friend [15:32] the truecrypt thing would just help ensure if someone did somehow get full-access to my box, they wouldn't have access to said information [15:33] Hmm, I could probably set up a folder and samba share it, but most tutorials etc I'm finding on google are for sharing ubuntu files with MS, rather then the reverse. [15:33] samb [15:35] hi guys, i'd like to take an image of a current ubunt-server and then restore it onto an identical machine for testing [15:35] I've tried "ping" but it's .. well shit [15:35] Any recommendations please? [15:45] in the intrepid setup there is an option for virutal machine host -- what VM system is that installing? [15:46] W8TAH: kvm and libvirt [15:47] thank you soren [16:09] hi all [16:09] anyone here can install Ubuntu 8.04.2 in Server IBM System x3105??????????????????? [16:10] Guest98439: where? [16:10] in IBM System x3105 [16:11] what is the problem? [16:11] are you asking for compatibility? [16:11] I didn't know there was an x3105. Have you tried it? [16:13] well the hardware are this [16:14] CPU: AMD single-core Athlon processor or dual-core Opteron processor [16:14] NIC: Broadcom 5721 10/100/1000 [16:16] CPU is AMD Opteron [16:16] Im going to have problems with hardware drivers during the instalation? [16:17] Guest98439: Just try it -- does it boot from the CD OK into Hardy? In LiveCD mode can it see the NIC? [16:18] but i like to use Server Edition, not Destktop edition, and Server edition dont have Live CD [16:18] Guest98439: Ah, that's why I didn't see that model, I looked mostly at Intel [16:18] Guest98439: my workstation has 2 single opteron and broadcom, it used to be a server [16:19] is a DUal Core Opteron AMD 1210? [16:19] is a Broadcom 5721? [16:19] nop [16:19] :D [16:20] is a Broadcom 5721? [16:20] most of servers we install are amd, never had problems [16:20] even in sun workstations [16:21] Guest98439: why not boot it with a live cd and test your hardware [16:21] jmedina but Hard server edition dont have Live CD [16:21] * ball tested someone's RAM yesterday via a Xubuntu liveCD [16:22] Guest98439: it is a live server [16:22] boot with cd [16:22] Guest98439: Test it with the Desktop Edition CD [16:22] and change to TTY2 [16:22] :D [16:22] and test your hardware === jmarsden_ is now known as jmarsden [16:23] Guest98439: do you already have this server? [16:25] yes I have [16:25] I installed ubuntu server in Dell Power Edge 6850, 1950, 2950 without problems [16:25] also in a IBM System x3200 M2 [16:26] jmedina, you recommend me to run with a Live CD Desktop edition and try my hardware??? [16:27] yeap [16:27] ok [16:27] im tri [16:27] im going to try [16:27] thanks [16:27] or you can use server edition, but you need to know how to test hardware in the command line [16:27] but anyone here use IBM System X Servers???? [16:27] jmedina Ubuntu Server have a Live CD??? [16:28] Live cd for test hardware ??? [16:28] Guest98439: No, just use the desktop edition CD. [16:28] Guest98439: you can change to a TTY when the installer is loaded, [16:29] jmarsden but the desktop edition have the same drivers like a Server edition ? [16:30] Guest98439: Yes. It has a differently configured kernel, and a different selection of packages, but the same drivers. [16:31] ok [16:31] thanks all [16:31] im going to try first before install [16:32] regarding Darwin Calendar Server. Last time I used it, which was quite some time ago, it wasn't possible to connect it to an OpenLDAP directory. Does anyone know if this is still the case? [16:37] http://trac.calendarserver.org/wiki/DirectoryService suggests it can use LDAP... [16:37] yes, the problem was using it on Ubuntu. The library it used to connect to an LDAP server was only available on Mac OS X, I think. [16:39] Then you can either try the latest Debian/Ubuntu package of it, or just build it from latest source, and see how far you get :) [16:39] there aren't any packages, I think. But I thought maybe someone knew. There was some interest for it. [16:40] There are Debian packages, definitely... [16:40] http://packages.qa.debian.org/c/calendarserver.html [16:40] really? :) [16:41] it's actually in intrepid! :) [16:42] in that case, I think I'll have to test that properly and update http://wiki.ubuntu.com/CalendarServer [16:42] Go for it :) [16:45] heh, we wrote that guide when 7.10 was an infant. :) [17:06] how much space do a minimal installation of ubuntu take? [17:12] HiebY: i think it was about 100mb [17:14] ok [17:36] Epiphany web browser is pretty nice -- and fast === bromic94_ is now known as thewrath [17:53] hey i just put another network card in my computer [17:53] how do i configure it [17:56] thewrath: is it detected? [17:56] check with [17:56] ifconfig -a [17:56] no not that i know of [17:56] yes its detected [17:57] i tried to go into the /etc/network/interfaces and added auto eth1 iface eth1 inet dhcp [17:57] then /etc/init.d/networking restart [17:57] nothing [17:58] then read https://help.ubuntu.com/8.04/serverguide/C/networking.html [17:58] use [17:58] ifup eth1 [17:59] thati s what i needed thanks jem [18:04] jmedina: can you see if youc an get to https://www.wasd.k12.pa.us/helpDesk/index.php [18:04] want to make srue outside access has been restored [18:04] it was up and down today [18:07] thewrath: yes with expired cert [18:09] that is fine [18:09] its a self signed anyway [18:09] i have to talk to network admin [18:09] how do you mount a partiiton and how do you call it something [18:09] anyone here had trouble deploying rails with ubuntu intrepid, and mysql gems of late? [18:10] I'm getting a 'MissingSourceFile (no such file to load -- mysql):' error, and I can't work out why [18:10] http://gist.github.com/78672 [18:10] is it sudo /mount /dev/sda3 /tftpboot ? [18:16] mkdir /tftpboot [18:16] mount /dev/sda3 /tftpboot [18:17] dejavu? i think it was already answerd [18:17] jmedina: it was, couple of times [18:18] ivoks: do you use openvpn?> [18:18] I mean OpenLDAP [18:18] both :) [18:18] vpn with ldap auth? [18:18] hehehe no [18:19] what services are your authenticating to ldap? [18:20] mail, http, web page, radius (and then ppp, wifi)... [18:20] ivoks: with radius, that auth mech? [18:21] ? [18:21] im interested, I deployed radius+ldap groups and vlans, undocumented :S [18:21] are you using ldap groups in you wifi setup? [18:21] no [18:21] just auth and accounting [18:22] how do you limit user access? [18:22] by attribute? [18:22] or any ldap user has access to wifi? [18:22] bah... sorry, my fault [18:22] radius uses mysql as backend [18:22] :( [18:23] well, I think im going to beging again from scratch :S [18:23] but very soon i'll use as ldap backend for radius [18:23] for cisco vpn [18:23] ivoks: whats the command in server you told me to use when i want to look at different partitions? [18:24] any ideas how to fight against syn flood? :/ [18:24] I use it but right now is autenitcating every user, then I need to allow by groups and then set a vlan to each group with different access policies [18:24] i'll need something like that too [18:25] ivoks: do you know if there is any effort to translate server guide? [18:25] it is translated [18:26] where? [18:26] in help.ubuntu.com I only found english version [18:27] https://translations.launchpad.net/ubuntu/jaunty/+source/ubuntu-docs/+pots/serverguide/ [18:27] Shows status of all translations of it :) [18:28] there, it's possible to translate it [18:28] pick your language and start :) [18:28] jmedina: What language are you hoping to find a translation of it in? [18:29] jmarsden: spanish [18:29] I know there is one for Spanish already somewhere... [18:33] the documentation is in docbook right? [18:41] well, I found docbook xml in ubuntu-docs package [19:14] if you do a netinstall from the ubuntu-server cd does it install the default ubuntu-profile? since i do have a ubuntu-standard meta package installed, i expected something along the lines of ubuntu-server? === zoopster is now known as jpugh-TMI === jpugh-TMI is now known as zoopster [19:16] acicula: ubuntu-standard is the minimal "server" install [19:17] I'm unclear on what you're looking for -- could you rephrase? [19:21] giovani2: trying to understand the difference between ubuntu and ubuntu server i guess [19:22] acicula: the "desktop ubuntu install" (which is what most people mean when they say just "ubuntu") installs a GUI, specifically Gnome, and many desktop-oriented applications [19:23] "ubuntu server" installs a minimal command-line setup, ready for you to install only what you need (servers are supposed to be kept minimal, so as to increase performance, among other things) [19:23] yeah i did not install that, i used the netinstall images of the ubuntu-server iso and installed the base install and openssh, nothing else yet really [19:23] right [19:23] so you have a base server install [19:23] well i swapped to the kernel image [19:23] yes, the server install also has a different kernel image [19:23] but you can always change that manually, as you've found [19:24] well it installed a generic image by default, is that the same that is used on vanilla ubuntu(desktop), or is that already a different kernel [19:24] I believe that's the one that installs with ubuntu desktop [19:25] when most people install servers -- they do so with the server install iso [19:25] and that will provide the -server kenel [19:25] kernel* [19:25] hmm, well it didnt here, but that's probably because i used the netinstall from the cd instead of booting the cd [19:25] where'd you get the netinstall iso? [19:26] i didnt use the iso either, in the server iso there is a netinstall directory somewhere which contains a kernel and initrd [19:26] ohh, ok [19:26] booted those via grub, as i cannot change the cdrom iso in the vm [19:26] why can't you change the cdrom iso in the vm? [19:27] The provider installed centos by default, and provides the iso to do a reinstall, you can only change it to another iso+install [19:27] for which incidently you have to pay [19:27] oh, that's no fun [19:27] so i went with the default centos at first, but i found it to be a bit impractical [19:27] and since i can do local logon i'm only limited to installing what i can boot from inside the vm [19:28] anyhow do you know any documentation about optimizing a kernel to run inside a vm? [19:28] I'd consider moving to a more user-friendly VPS provider [19:28] if I were you [19:28] there used to be a special installer (with a special kernel for that) called Ubuntu JeOS [19:28] well apart from that i have no real problems with them [19:29] and it's my furst one [19:29] *first [19:29] but, I believe all of the virtualization optimizations were migrated into the standard -server kernel [19:29] http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos [19:29] yeah but i think i read something about the kernel image having some differnt settings such as disabling preemting? [19:29] yes, as of ubuntu server 8.10, the jeos optimizations are offered in the installer [19:30] giovani2: i looked at that but doesnt that mostly focus on a small install base? [19:30] what do you mean? [19:30] my current install uses just 30mb after deducing cache, that's with a openssh and some bash shells open, seems ok [19:30] memory that is [19:30] ok [19:30] yeah, you can remove some of your TTYs [19:30] to save some ram [19:31] I do that on my low-ram VPSes [19:31] well this one has 256mb, seems ok [19:31] ok, so what's the issue, exactly? [19:32] that i wasnt sure if i installed the server metapackage instead of the default ubuntu-base package, but it seems there is no difference between the two [19:32] the kernel is the only difference I'm aware of [19:32] guess i'm good then :) [19:33] but feel free to stick around -- someone might have a more confident answer than I do :) [19:33] then i'm just looking if there any tweaks to make to a kernel which runs inside a vm, or if the defaults are good enough [19:33] it appears there-s the linux-image-xxxxxxx-virtual kernel [19:33] which, it seems, is geared towards vm clients [19:33] i'll check that out [19:33] you running intrepid? [19:34] also i get a message about some tools not being in my path because i do not have administrative privilidges, where can i change that? [19:34] yes [19:34] linux-image-2.6.27-9-virtual [19:35] that'd be the virtual kernel then -- do some research and make sure it's what you want -- and don't install it directly [19:35] the linux-virtual metapackage seems to be the best way to make sure it gets updated properly [19:35] yeah i only use those [19:35] you do not have administrative privs? [19:35] well i can do a local logon when booting [19:36] are you familiar with ubuntu's policy of "disabling" root login, and encouraging the use of sudo instead? [19:36] yes, that's not what i meant [19:36] if i type chkconfig as a user [19:36] i get the message that its not in my path, because of lacking privilidges [19:37] adding the correct Path variables fixes that [19:37] right ... but if you run sudo chkconfig? [19:37] however, chkconfig isn't used in debian/ubuntu afaik [19:37] that works since sbin/ usr/sbin is in the root path [19:38] right ... because chkconfig is only meant to be run with root privs [19:38] you don't need root-only dirs in your user path [19:38] /sbin/ contains apps that unprivledged users use too [19:39] i like tab completion, and some sbin programs work fine with normal user privlidges, chkconfig lists the runlevels, even with just user privs [19:39] i was just wondering if this being an administrative user was explicitly defined somewhere [19:39] your user should be a member of the 'admin' group [19:39] ah [19:39] the installer should've done that [19:39] for your first user [19:40] hmm i am [19:41] hmm instead of chkconfig, use update-rc.d? [19:43] #ubuntu-se [19:43] acicula: ubuntu uses upstart [19:43] now [19:44] Wrong channel, sorry [19:44] ah [19:47] is there a reason to not mount the same partition under /tmp and /var/tmp, or am i better of symlinking it/leaving it alone [19:48] not ubuntu specific, but /var/tmp is supposed to be kept after reboots, etc [19:48] so, it's typically separate from /tmp [19:48] hmm that makes sense, since i think /tmp is wiped on reboot [19:48] it isn't always ... but can be [19:49] so, /var/tmp is used, afaik, when data needs to be kept longer [19:52] ah thanx, i made a seperate partition for tmp so it could be mounted with noexec, but i suspect doing that with /var will break some things === photon is now known as manatwhattheheck === manatwhattheheck is now known as photon === bromic94_ is now known as thewrath [20:18] can i get the ubuntu server 8.04lts guide in pdf format? [20:28] thewrath: not that I'm aware of -- however, html to pdf converters are easy to come by [20:31] is anyone familiar with setting up a spam filter for dovcot/postfix ? [20:33] orudie: dovecot is just the imap/pop server, so spam filtering is usually done on the postfix side [20:33] giovani2, i see [20:33] I've done RBLs, greylisting, etc, but no spam filtering like spamassassin, if that's what you meant [20:33] what are you looking to do, specifically? [20:33] amavis/spamassassin are probably the most common [20:33] giovani2: html to pdf converter? [20:34] i want it all in one p df file [20:34] not in 50 [20:34] well since my company switched to the mail server i set up , now everyone is complaining about spam [20:34] use a barracudda spam firewall [20:34] lol [20:34] orudie: while this is probably not the answer you want ... I advise strongly against jumping into production spam filtering without a lot of experience [20:34] great peice of equipment [20:34] Riight [20:34] barracuda is awful [20:34] what [20:35] we have it at both schools i help out with [20:35] overpriced, for what it delivers [20:35] giovani2, well what if i will configure it for minimal filtering [20:35] spam has reduced alot [20:35] what other features would you add to it for the price [20:35] orudie: it's up to you -- but spam filtering is complex if you haven't had experience [20:35] thewrath: I wouldn't -- it's overpriced [20:35] oh ok [20:35] giovani2, i have minimal experience, but what is spamassassin about? [20:35] orudie: I'd start with checking HELO, using spamhaus and postgrey myself. [20:35] giovani2: are you talking about a html to pdf converter? [20:36] thewrath: yeah, that's what I said -- I didn't realize it wasn't offered as a single html page [20:36] yea [20:36] anyone else have any ideas? [20:36] orudie: spamassassin is a framework for applying all sorts of filters [20:36] orudie: personally, I've found greylisting and RBLs to be effective -- but they're not for everyone, and I'd advise against using them in production without playing around with them a lot [20:37] giovani2, do you think with my minimal experience in this i actually will be able to set it up ? just for minimal spam filtration [20:37] orudie: I don't know your level of experience, I'm leaving that up to you to judge [20:37] as well as how mission-critical your use is [20:38] Ubuntu documents amavisd-new with spamassassin and clamav reasonably well. [20:38] It does take adjustment and understanding for your particular situation. [20:40] great, ScottK do you have a url ? [20:40] i'm reading the spamassassin wiki right now [20:41] * ScottK looks [20:41] eheh [20:45] has anyone used some sort of imginag server on ubuntu server to image windows and linux based comptuers [20:47] I get "There is 1 zombie process" when I login, how do I check which process and information about the crash? [20:55] orudie: https://help.ubuntu.com/8.10/serverguide/C/mail-filtering.html for Intrepid. [20:55] how do you see if an ethernet interface is up? [20:55] whats the command that you run [20:55] very cool thanx scope006 [20:56] ScottK, [20:56] scope006, is gonna be like , WTF? again lol [20:56] just like yesterday [20:56] Is is necessary to have a rate limit rule in iptables ? [20:58] If you want to rate limit. yes. [20:59] rate limit does what ? [21:00] well..I have denyhosts running, i was thinking of limitiing a brute force, say 8 in 60 seconds [21:00] yumm...damn good Malbec :) [21:00] denyhosts last update was back in 2006 right? [21:00] shrug [21:01] works on my bo [21:01] x [21:01] mrwes: i was just curious [21:01] that is what i saw i thought on sourceforge when is aw it [21:01] mrwes: is it easy to set up/ [21:01] yah [21:02] has nayone done anythign with drbl? [21:02] http://ubuntuforums.org/showthread.php?t=450853 [21:02] ? [21:03] nvm the ? [21:03] just make sure you don't have any failed login attempts from where ever you login, cuz that IP will get added to the hosts.deny, so add your IP to the hosts.allow [21:03] how do you see if an ethernet interface is up? [21:04] wahts teh command [21:04] ifconfig [21:04] to see if it detected [21:04] i thought it was something else [21:04] lol [21:04] nope [21:04] ifconfig will show the interface, and it's UP/DOWN status [21:04] :) [21:05] google is your friend [21:05] it's exactly what you're looking for :) [21:05] i could run if eth1 ifup or something [21:05] heh [21:05] how do you bring up an interface [21:05] you can run ifup eth1 ... to bring up the interface/config [21:05] oh ok [21:06] that is what it is lol [21:06] but that's not what checks to see if it's up or down [21:06] right [21:06] that just brings it up [21:06] right [21:06] and ifdown [21:06] is self explanatory :) [21:06] right :) [21:06] i wish i had alot more time to mess with DRBL lol [21:06] and ifright does what? [21:06] you configure the settings it runs, etc in /etc/network/interfaces [21:06] :) [21:10] does someone know how I get the xferlog of proftpd into a fifo file ? [21:17] New bug: #338982 in samba4 (universe) "evolution crashed with SIGSEGV during MAPI authentication" [Medium,New] https://launchpad.net/bugs/338982 [23:02] New bug: #342556 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu7 failed to install/upgrade: underprosessen post-installation script returnerte feilstatus 1" [Undecided,New] https://launchpad.net/bugs/342556