[00:23] yes, pam is a wonderful thing [00:23] I wish samba used pam instead of just adapting to it [00:32] Okay.. So my router, presently, has only a small annoyance. [00:33] When eth1, my net interface, comes up, it replaces /etc/resolv.conf with that retrieved via the DHCP. [00:33] I don't want that, I want it to stay as I put it, or to adjust it with resolvconf to settings specifically supplied by wherever it gets that. [00:34] Cause, I have my own domains. I have my own DNS, I don't want my router out of sync with that. [00:36] Not sure if you can change that for a single host [00:36] i think there are DHCP options you can disable globally to not push DNS resolvers [00:36] but not sure about a single host... [00:37] why are you having it grab an IP via DHCP? why not do it statically? === MianoSM4 is now known as MianoSM === clusty_ is now known as clusty === jerrcs2 is now known as jerrcs [04:11] New bug: #417211 in tomcat6 (main) "package tomcat6 6.0.18-0ubuntu6.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 (dup-of: 417212)" [Undecided,New] https://launchpad.net/bugs/417211 [04:12] holy crap the OpenLDAP instructions are completely useless [04:12] from what I'm reading, slapd in 9.04 isn't built against openssl [04:16] is this correct? [04:16] cos it sounds really really stupid. [04:16] though it explains why the SSL/TLS section of the OpenLDAP instructions don't work. [04:19] if you want to see stupid [04:19] https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/335933 [04:19] Launchpad bug 335933 in proftpd-dfsg "proftpd: Several SQL injection vulnerabilities" [Undecided,Confirmed] [04:19] mushroomblue: You might want to read /usr/share/doc/slapd/README.Debian.gz [04:19] why isn't that fixed yet? on ubuntu server edition.. your proftpd server is vulnerable... [04:20] jerrcs: Go ahead and post the debdiff needed to fix it, if you want it fixed fast. [04:21] mushroomblue: openldap is built against gnutls [04:25] jmarsden: I'm no good with that.. I'm just an ubuntu-server who is very pissed off that it's been half a year and a major ftp server package hasn't been fixed.. a security issue like this.. my home directory has been open to anyone who has used this.. luckily there's nothing too much on there, and i've only been running it for about a month. [04:26] an ubuntu-server user. [04:31] http://packages.ubuntu.com/search?keywords=proftpd&searchon=names&suite=jaunty§ion=all [04:32] that vulnerability is fixed in that version, 1.3.1-17ubuntu1 [04:32] as it states here: https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/329167 [04:32] Launchpad bug 329167 in proftpd-dfsg "Please merge proftpd-dfsg 1.3.1-17 (universe) from Debian unstable (main)" [Wishlist,Fix released] [04:32] "The ProFTPD Project team is happy to release 1.3.2 to the community. This is a bugfix release, including a SQL injection vulnerability fix. The RELEASE_NOTES and NEWS files contain the full details." [04:32] no it isn't [04:33] #7 Launchpad Janitor wrote on 2009-02-13: [04:33] This bug was fixed in the package proftpd-dfsg - 1.3.1-17ubuntu1 [04:33] There was another one then. [04:33] sub: I just exploited my own server. I have all my packages up to date. How can you tell me it's fixed? Not to mention I did a clean install of ubuntu-9.04 just about a month ago [04:34] then post the debdiff. its community-maintained software which means it doesn't get fixed until someone who uses the software (like you) fixes it [04:36] http://pastebin.com/m1c726b6f [04:37] sub: how can ubuntu penetrate the server market if they can't keep this up to date? I mean.. I understand. It's in a different repository.. but still. [04:37] Just bringing up a discussion. [04:50] Because much of Ubuntu's success has been not trying to do everything, but being the best at what they focus on. [04:56] I suppose. [05:09] ScottK: really? what does ubuntu focus on? [05:10] Generally we try to pick one package to support for each function. [05:10] an idiot-proof OS [05:10] For example we generally focus on Postfix as a mail server even though there are lots of others. [05:10] jerrcs: Not possible. [05:10] well sure ... other distros tend to do that too [05:11] Just more so here. [05:11] So if you're using packages that aren't supported (in Universe), don't expect them to be supported. [05:11] Some of them are well supported by the community, but it's uneven. [05:12] ScottK: what's the main, supported-by-ubuntu ftp server? [05:12] http://cardinaleducation.thirdreplicator.com/ <--- trying to get mod_proxy to work. Can somebody help? [05:12] I don't actually know. [05:13] proftpd is pretty popular. [05:13] I find I can use sftp for all my needs so it's been years since I worried about it. [05:13] yet there's a huge vuln in it. [05:13] I can't seem to find a major ftpd that isn't in universe [05:13] Yes.. I prefer sftp.. but I have clients which use regular ftp. [05:13] ScottK: but surely FTP is acknowledged as a major protocol still in use, for various reasons [05:14] giovani: Certainly, just saying I don't know. [05:14] ok [05:14] vsftpd [05:14] is in the main repo [05:14] so I guess that's the one ubuntu has chosen to support primarily [05:14] Odds of it having issues left long unfixed are relativley low then. [05:15] You could also look in the Ubuntu server guide and see what it suggests. [05:15] if i log into the server, and run "curl http://127.0.0.1:11000" it works, but when i access it via the URL. I get "Not found /" [05:15] I'll poke around with vsftp. [05:15] vsftpd* [05:15] vsftpd is security-focused anyhow [05:15] implied by the name ... [05:28] anybody know how to mod_proxy here ? [05:44] so wait. it's built against GnuTLS for a while now, but the documentation doesn't reflect this? [05:44] 8.10 and 9.04 server guide both give incorrect configuration steps for openldap, then. [05:45] you'd think someone would notice, and update the docs [05:45] what its built against doesnt really matter for the config iirc [05:45] certs are certs [05:45] steps to get a working system are different. [05:46] and if you're planning on following the server guide to configure your system, you're sorta out of luck. [05:46] that's poor documentation. [05:46] well, one of the fun parts of open source... you can volunteer to make it right :) [05:46] mushroomblue: Thanks for volunteering to update the docs ... where can we see your proposed changes? [05:46] talk with sommer ... he's the docs guy [05:46] oh, I'll be happy to submit changes [05:46] when I'm not drunk. :) [05:47] s/changes/docs/ [05:47] i've been planning to submit updates to it [05:47] todays fun was patching openldap though [05:47] jmarsden: you'll have to crack my skull open and take a peek. [05:47] sicko. [05:48] mushroomblue: My machine seems to lack the skullcrack-and-peek package, and it;s not in the repositories. [05:48] jmarsden: thanks for the readme, tho. :) [05:48] i think that package is called 'sendmail' [05:48] I'd like to think my brain is a lot more like git [06:33] hi [06:33] How much space do I need to allocate to an Ubuntu Server running in a VM? [06:33] (hard disk) [06:33] would 10GB be enough? [06:35] RudyValencia: It depends what you want to do with it, but for testing and experimenting, yes, probably. [06:35] jmarsden: Web serving. [06:36] Well, if you want to serve 100GB of videos, then 10GB won't be enough... :) [06:36] I can't get Apache to work right on the Windows host so I set the VM up to run a LAMP stack [06:36] As for storage, I use SMBFS shares [06:36] Then you should be fine with 10GB for the server itself. [06:37] I notice no appreciable difference between storing the data in the VM and storing the data on SMBFS shares [06:37] I have Ubuntu VMs with as little as 4GB for testing sometimes. [06:37] (because my server is a low-volume server.) [06:38] Is it better to 'pre-allocate' the disk file? [06:38] that is, have it make one 10GB file vs. a file that grows with the contents of the VM [06:38] Not usually; there is a slight disk performance gain by preallocating it. [06:40] Ah [06:40] I set it up with 512MB of RAM allocated to it [06:40] and bridged networking [06:40] No sound or other peripherals, except CD image access [06:43] RudyValencia: you using xen? [06:43] mattt: I don't have a computer capable of hardware virtualisation [06:44] RudyValencia: same, i'm old school like that also :) [06:44] My server is a repurposed 2.2GHz P4 [06:45] w/ 1GB RAM, 200GB and 250GB hard disks, DVD(+/-)RW drive, a cheap NIC, and a LaserJet 5L [06:48] i wish the newer versions of ubuntu still supported exn [06:48] *xen [06:50] mattt: I think newer versions of KVM can run on systems without hardware virtualization. I know virtualbox-ose can. [06:50] I tried to setup VMware Tools on my Ubuntu Server 8.04 install that had been untouched for a while [06:50] and it failed :( [06:50] jmarsden: oh, nice! [06:51] mattt: I was running multiple virtualbox-ose VMs here on an Intel E5200 (no hardware virt) until a few weeks ago (upgraded to a Q9550 as a birthday present to myself!) [06:52] I'm getting some pretty good life out of this old Pentium 4 [06:52] (I have a 2.8GHz as my main desktop) [06:53] RudyValencia: Yes, I do that too... but I've not tried VM stuff on older machines, at home or at work. [06:53] ah [06:53] I wish I could upgrade either of my systems [06:53] (or both) [06:53] jmarsden: so virtualbox-ose uses KVM? i didn't know that. [06:54] No, they are independent. [06:54] This 2.8GHz desktop is nice but doesn't run WinXP well [06:54] oops [06:54] I meant, Win7 [06:54] It runs WinXP now [06:54] (I still have to use Windows, for Creative Suite 3 does not run well on Linux w/ Wine) [06:55] I would've switched to Linux completely already if it were capable [06:55] RudyValencia: Run Ubuntu on the hardware, and Windows in a VM for the occasions when you need it :) [06:56] I need Windows to do development for IE [06:56] (I no longer support IE6, only 7+) [06:57] The Web browser has become an application platform with the advent of AJAX and other new technologies [06:58] Sure, but you can do that (run IE and whatever) in a Windows VM. You don't need to run it on the physical hardware. [06:58] I also do 3D with SketchUp [06:58] (which a VM can't handle) [06:58] and play the occasional 3D game [07:00] VirtualBox is supposedly able to do 3D in the VM for Windows guests now, although I have never tried it. [07:00] is it possible to run top on the console of a server with upstart or getty or something? [07:03] spowers: Sure. I think that is part of what the top "secure mode" stuff is all about... ensuring you can leave it running in a way that random passers-by can't abuse your server [07:04] the problems i'm having are more to do with terminal control [07:04] and how to run it at boot [07:05] on a real server, i'd stick it on tty12 and chvt to it in rc.local, but i'm running in xen so there's only one tty [07:05] what would be really awesome is to make a screen profile for boot time that had a secure top and could only spawn /bin/login instead of bash directly [07:06] screen itself would have to be more secure probably, so that might not be the right approach [07:06] and it's not like this is a real PROBLEM [07:06] per se [07:07] spowers: aybe set up a user called top whose shell is top ... and log in on the console as top ? [07:07] i'll give that a shot, it works well enough for an x server on my mythtv box, i'd forgotten about that [07:07] spowers: what are you trying to accomplish with this anyway (not fully understanding here) [07:08] boy, if i had a nickel for every time someone asked me that... [07:08] :) [07:08] i'm just hacking around [07:09] tho it is an interesting idea, i used to work at a hosting company and if that info was visible (even if hte machine was hung and the info stale) it'd be really helpful to support [07:09] i've got this mental image of a console that cycles through top/iptraf/some other monitor on the console [07:09] (and by visible i mean visible on the console) [07:09] like arcade games cycle through demos and logo screens [07:09] Sorry, network cable broke [07:10] mattt: leaving top running on a spare terminal was an oldtimers trick a decade or two ago, so when things went bad on your server you could see why... even when it was so bad you couldn't log in and run top because the server was so bogegd down... [07:10] top has existed for a decade or two? wow [07:10] i'm always in awe of unix tradition [07:10] Sure. I'm pretty sure I was using it in 1994 or so... [07:10] jmarsden: yeah, that's exactly what i'm thinking ... dunno why we never thought to do that :/ [07:10] even better, top in a screen session so you can disconnect [07:11] Boohbah: yeah, but if the system is unresponsive so is screen :) [07:11] (or the load's too high or whatever the case) [07:11] main thing would be to have something on the main console more useful than the last handful of boot messages and a login prompt [07:11] well then, remote serial console [07:11] even old netware had that silly snake that represented the load average [07:11] spowers: good idea, i like your thinking [07:12] when i boot up our linux vms, the console is always a mess [07:12] top looks nice and tiday [07:12] tidy [07:14] jmarsden: the 'top' user thing works a charm [07:15] Good :) [07:16] i remember hacking around with getty several years ago trying to start dosemu to run a WWIV bbs system [07:16] that did not work so well [08:08] I put the wrong hostname for my server in when I reinstalled [08:09] How do I change the hostname? [08:12] <_ruben> doing a find/replace in /etc with the old -> new name should cover most stuff .. depends on how much stuff is already installed as well though [08:13] probably easier to reinstall at this early stage [08:14] <_ruben> depends .. if its a clean install with not much extra tasks installed .. covering /etc/ would do just fine .. a simple sed/perl oneliner .. then again, reinstalls can be fairly quick as well depending on the method used [08:14] nah [08:14] Nothing installed yet [08:14] just /etc/hosts and /etc/hostname should cover it [08:14] ah [08:15] <_ruben> sub: unless for example postfix is installed as well as a task [08:15] sub: Maybe /etc/mailname if an MTA is installed [08:15] <_ruben> there's quite a few packages that use the hostname in postinstall scripts [08:15] then you can either reboot or use the "hostname" command to set the new hostname [08:15] I'll redo it [08:16] Perhaps [08:16] I have a new system running as well and I just did grep -Hr `hostname` /etc [08:16] very very easy [08:16] <_ruben> redoing install surely is the cleanest way .. but also a tad overkill ;) [08:17] time is unimportant here [08:17] i've changed hostnames more often than i'd like to admit ;p [08:18] <_ruben> i only looked into it once when looking into the options for 'templating' my virtual machines .. in the end i just setup a pxe environment with preseeded installs :p [08:20] hm, I have Remote Installation Services on the Windows side of my server [08:20] I wonder if it can install other OSes than Windows [08:20] like Ubuntu or whatever [08:21] Wow [08:22] I entered the static IP address in the installer and my network information and it picked up the hostname [08:22] (from my DNS) [08:22] http://cardinaleducation.thirdreplicator.com/ <--- I'm doing a proxy pass thing with webrick but i'm getting this.... [08:22] anybody know why ? [08:22] my mod_proxy is set up correctly cuz i'm using the same configuration on another site. [08:23] which is the best setting: relatime, noatime, or no option for such? [08:24] <_ruben> i use noatime for dedicated /var/log/ partitions on busy servers [08:26] ah [08:27] What exactly is a "Label" [08:27] ? [08:27] <_ruben> just that .. a label :) [08:27] Is that like the "volume label" on a FAT or NTFS volume? [08:27] <_ruben> kinda, yeah [08:27] ah [08:28] Hm, do you change /etc/issue or /etc/motd on your server(s)? [08:28] I like to change /etc/issue to display a warning [08:30] "WARNING: THIS SYSTEM IS RESTRICTED TO (COMPANY NAME) AUTHORIZED USERS, FOR LEGITIMATE BUSINESS PURPOSES ONLY..." [08:30] RudyValencia: If the logins are from the network, edit /etc/issue.net . For a standard warning text, see http://pastebin.com/f7098d623 [08:31] jmarsden: I already have one of my own [08:31] * RudyValencia pastebins it [08:31] * jmarsden hopes you are a good lawyer, if you write it yourself and want it to be legally correct :) [08:32] <_ruben> i never bother to edit those .. or read them if i'd log into a remote system (usualy, unless it does a good job on drawing attention) [08:32] cowsay tends to catch my attention [08:34] jmarsden: I borrowed it from another computer at a place I used to work at [08:34] http://pastebin.com/m2d02cbe7 [08:35] I substituted [COMPANY] where my business' name goes [08:36] OK. Your notice gives away info to the (hypothetical) hacker... you tell him who owns the system. Why give away that info? [08:36] I should remove the company name and reflow it to make sense [08:37] is that not already given away by ARIN registrations and reverse DNS? [08:38] sub: is it? Try it sometime? Usually you get the ISP, not the company or end user. [08:38] jmarsden: http://pastebin.com/m16f51a1d (amended) [08:38] depends, some ISPs update the registration for their netblocks [08:38] I work for an ISP, so I guess that's a moot point in my situation :) [08:38] :) [08:39] <_ruben> highly depends on the customer base too .. i doubt much isp would swip their adsl blocks :p [08:40] of course not, but most ISPs swip the blocks they give with leased/dedicated circuits [08:40] RudyValencia: Looks OK to me, but I am not a lawyer. [08:40] <_ruben> exactly [08:41] I forwarded my SSH port to a different number than 22 [08:41] (I hate getting SSH scans [08:42] also, my VM seems to be stuck at 'Validating libklibc' [08:44] Hm, I wonder what Linux does for consoles on computers that don't support text-only modes [08:44] (e.g. 68k/PPC Macs, etc.) [08:56] my VM has stalled :/ [08:56] I'm trying to get Ubuntu to install and the VM keeps stalling [08:57] nevermind [08:57] it returned [09:21] Okay.. So my router, presently, has only a small annoyance. [09:21] When eth1, my net interface, comes up, it replaces /etc/resolv.conf with that retrieved via the DHCP. [09:21] I don't want that, I want it to stay as I put it, or to adjust it with resolvconf to settings specifically supplied by wherever it gets that. [09:21] Cause, I have my own domains. I have my own DNS, I don't want my router out of sync with that. [09:24] one sec, I do the same thing here at home [09:27] You're going to want to edit /etc/dhcp3/dhclient.conf [09:27] And you can either add a prepend line to add your static servers before the ones given by dhcp, or you can just not request the DNS info [09:40] Hmm [09:40] I'd tried taking out requesting it, and it still overwrote my resolv.conf file. [09:41] But, so far, supersede domain-name-servers fixed my nameserver entries, but now I Just need to fix domain and search. [09:44] hm, I think there's a problem [09:45] W: Failed to fetch http://mirrors.kernel.org/ubuntu/dists/hardy/Release Unable to find expected entry main-updates/source/Sources in Meta-index file (malformed Release file?) [09:46] E: Some index files failed to download, they have been ignored, or old ones used instead. [09:46] Run sudo apt-get update again, or pick a different mirror and then try again. [09:47] It happens with several mirrors. [09:48] Tried Easynews, kernel.org, and OSUOSL [09:48] Odd. I should be asleep (almost 2am here), but I'll check it on an old Hardy VM I have... booting now... [09:49] Almost 3 here. [09:50] Seems to work fine from here (using us.archive.ubuntu.com as the mirror). [09:51] Maybe the mirrors are broken [09:52] Not working here [09:53] I just tried with mirrors.kernel.org and that worked for me too. [09:54] Are you out of disk space somehow on /var ? Not really sure what else to check... [09:56] df says only 8% of the disk is used [09:57] And you just created a single partition, not a separate /var ? Then that's not it... [09:58] That's not an absolutely show-stopping warning, it just means you may not be getting the very latest updates... [09:59] But it shouldn't be happening, at least not reliably and on multiple mirrors. [09:59] * RudyValencia reboots the VM [09:59] * jmarsden goes to bed :) Goodnight all. [10:02] <_ruben> could be a flakey (transparent) proxy interfering [10:03] No proxies here [10:14] _ruben: I made a typo. [10:14] That was why it failed [10:15] I shouldn't be writing a configuration file at 3AM [10:15] "passwd: Authentication token lock busy" any idea what that means? [10:15] I upgraded libpam-mysql from a working config, now I get this [10:16] I'm sure common-password is configured right as with old pam-mysql I could change the password (only as root, though) [10:43] hi RudyValencia [10:43] did you find a job yet? [10:44] Still at Walgreens [10:45] what location? [10:46] same as before [10:47] i forgot where that was [10:48] Greeley [10:48] 23rd Avenue and 16th St. [10:48] Nebraska? [10:49] CO [10:49] (Colorado) [10:49] also, how do I prepend the output of uname -a to a text file? [10:50] i don't know about prepend with bash [10:51] i can append [10:52] RudyValencia: using sed? [10:52] any method [10:52] <_ruben> nasty way: file=/some/file ; uname -a > $file.tmp ; cat $file >> $file.tmp ; mv $file.tmp $file [10:53] i prefer: sed 1ifoo file.txt [10:53] that's a really nasty way [10:53] I got it [10:53] <_ruben> "any" also covers "really nasty" in my book ;) [10:54] echo `uname -a` > newfile; cat originalfile >> newfile [10:54] sed 1i"$(uname -a)" file.txt [10:58] foolano: nice! [11:02] sudo dumpe2fs -b /dev/sda3 | wc -l [11:02] 65 [11:02] arhhh, it aint looking good [12:03] Anyone here having difficulty building VMware Tools or open-vm-tools on Ubuntu Server 8.04? [12:03] I can't get them to build [12:30] :( [12:30] Why won't VMware Tools build on Ubuntu 8.04.2 Server? [12:43] I've create a lvm volume a couple of months ago and store datas on it. I rebooted today after an simple upgrade, no more LVM ! pvdisplay, vgdisplay & lvdisplay are empty, What could I do to get back my files ? [12:54] morning [12:55] I've recently stopped using SpamAssasin, and instead just using Postfix restrictions (which is working very well), however I just saw in my logs this: postfix/smtpd[14337]: NOQUEUE: reject: RCPT from openzula.org[72.14.177.55]: 504 5.5.2 : Helo command rejected: need fully-qualified hostname; from= to= proto=ESMTP helo= [12:56] how come it is blocking openzula.org (which is a domain I own, and is 'on' this server), for not being a FQDN? How is that not a FQDN? [12:56] this email would have been a forum notification email to a user, from the board its self [13:31] AlexC_: because it's not identifying itself as openzula.org, it's identifying itself as "localhost" as far as I can tell [13:35] AlexC_: perhaps pastebin the output of 'postconf -n' [13:43] pmatulis: sorry, was away: http://paste2.org/p/395497 [13:49] AlexC_: output of 'hostname -f'? [13:55] 'localhost' .... that'll be why then, giovani =) [13:56] editing /etc/hosts to have the one I want first, made 'hostname -f' return what I wanted. I assume that would have fixed it now [14:00] what? [14:00] don't edit /etc/hosts [14:00] that's not where the hostname belongs [14:00] you want to edit /etc/hostname [14:00] I know, however that is not where hostname -f and where it looks up is from [14:01] huh? [14:02] as stated in 'hostname --help': "Unless you are using bind or NIS for host lookups you can change the FQDN (Fully Qualified Domain Name) and the DNS domain name (which is part of the FQDN) in the /etc/hosts file." [14:03] you don't need to that, but ok [14:03] well, /etc/hostname is already set to 'cypher.openzula.org', so it wasn't getting it from there [14:04] had you rebooted since that had been set? [14:04] it absolutely gets it from there [14:04] The host name is usually set once at system startup in /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by reading the conĂ¢ [14:04] tents of a file which contains the host name, e.g. /etc/hostname). [14:05] giovani: yes, server was rebooted yesterday in fact. However, the output of 'hostname' did give cypher.openzula.org - it was only when doing 'hostname -f' it gave 'localhost' [14:06] ok, 'hostname' shouldn't be providing the FQDN [14:07] /etc/hostname should contain just the first section of the hostname (the machine-specific part) [14:07] then you can add an entry in /etc/hosts with both the FQDN, and the hostname [14:09] giovani: so /etc/hostname to be just 'cypher'? === roaksoax_ is now known as RoAkSoAx [15:21] How do I run a script everytime I boot the machine, after the network has been brought up. I have tried putting the script in /etc/network/if-up.d/, but appearently, this does not work. How do I solve this? [15:24] tdn: there is the special cron '@reboot' value, though I am not sure if that is genearlly considered bad practice to do so [15:27] AlexC_, how do I find out? [15:27] AlexC_, is reboot not on shutdown? I need to run it on start up. [15:28] tdn: man 5 crontab, scroll down "@reboot Run once, at startup." [15:29] AlexC_, ok. How do I find out if it is bad practice? [15:29] ask people ;) [15:29] Ok :) [15:29] Here? [15:33] this is an asky place, so yeah I guess so [15:40] tdn: i would append it to /etc/rc.local [15:41] Boohbah, how? Just symlink the script in there? Do I need to do something else? _How do I make sure that it is run after network is up? [15:42] iirc /etc/rc.local runs last [15:42] tdn: not symlink, just call the script from there [15:42] Boohbah, /etc/rc.local is empty, so I just put it in there? [15:42] yup [15:43] Boohbah, ok. Thanks. [15:50] several times now, when setting up a system with raid or lvm, the installation stops, complaining it can't find any cd-rom and that no repository has been configured. I'm using 9.04 i386. Does anyone know why? The cd-rom has been tested ok. [15:52] XiXaQ: probably the raid controller driver. what model is it? [15:52] I'm using software raid. [15:52] oh [15:55] however, when the partitions are setup and I reboot, the install finishes properly. [16:08] oh, I think maybe my cd-rom drive is trying to tell me something. [17:32] hello. I really need help setting up a dhcp server and make my fresh installed ubuntu, a gateway.. === mdz_ is now known as mdz [18:11] Hi - could someone help me with an IP address issue that I'm having. Please look at http://pastebin.com/m575e62fd, I can bind public services to the first IP, but not to the others (*.87- onwards). [18:20] heh - Meiki waited for three minutes before he left :) [18:22] RoyK: huh [18:24] [19:11] Hi - could someone help me with an IP address issue that I'm having. Please look at http://pastebin.com/m575e62fd, I can bind public services to the first IP, but not to the others (*.87- onwards). [18:24] [19:14] * Meiki (i=568092bf@gateway/web/freenode/x-nylzhfnikmfuvzyp) has left #ubuntu-server [18:24] how do you try to bind to those IPs? [18:24] btw, the old eth0:x is not recommended anymore [18:24] says who? [18:25] rather use ip addr add 10.0.1.12/24 dev eth1 [18:25] or so [18:25] sub: the new method has been around for a while [18:26] well, it works, but I guess it'll be removed some day, since ip "aliasing" is something that were phased out close to 10 years ago [18:27] Meiki: anyway - how do you try to bind to those IPs? [18:27] it should work [18:28] The application should have a bind address of 0.0.0.0 to bind on all interfaces and you should doublecheck to ensure that you don't have any firewall rules that could block traffic to those other IPs [18:29] sub: possibly an application should bind to a specific ip [18:30] if using apache, bind to all, and add the respective address in the virtualhost [18:30] but if Meiki doesn't want to specify any details, he can't really get most help [18:32] RoyK: Right about binding to a specific IP, depends on what the requirements are =) and I agree [18:46] I run Ubuntu 8.04 LTS Server. apt-get is painfully slow when downloading large files. It starts out fast and goes down to under 25B/sec. I've tried using apt-mirror to make my own local repo, it starts out downloading fast, but that too, starts to be Bytes/second if I "du" the directory and watch the size. I've used multiple mirrors with the same issue. I can start again fast, and it slows down. Connected via a DS-3 [18:47] Also is happening with multiple installs of it... they [18:48] they're all running on the same box, vmware.. 64MB ram, 30 some GHz available [18:48] Any ideas? [18:51] ipauldev: sounds like network issues. just keep trying different mirrors. or do a speed test to some other site that should be fast and see what performance you get. [18:53] yeah it doesn't happen anywhere else on the network with other instances, so I wonder if it's a vmware issue or the networking on the vmware cluster [18:53] thanks [18:54] it could be, but that doesn't seem likely. [19:24] have kubuntu 6.10 dgy. how can i upgrade it to the latest.(the option of uqgrade doesnot appear when i fetch updates in adept package manager)> [19:24] Yeah, it does it with a wget too, of a large iso. If it re-establishes the connection, The router shows throughput on the interface of 10,000 Mbps, the limit setup.. then after a 30 or 60 seconds it drops off into nothingness... Foobar! lol [19:25] user1_ I think an apt-get dist-upgrade might get you there. [19:26] ok [19:26] not working [19:26] where are the files that contain the server address to download programs and updates by package manager or apt? [19:26] /etc/apt/sources.list [19:27] user1_: do-release-upgrade [19:28] user1_: you also may need to change /etc/update-manager/release-upgrades [19:28] there you can set the upgrade policy [19:30] what is the name of the lates kubuntu distro? may be i can toogle the name in sources.list with it at 'egdy'? [19:38] user1_: this is #ubuntu-server not #kubuntu [19:48] user1_: read what I wrote above [19:48] user1_: also, like giovani said, this channel is for server-specific questions, not general ubuntu stuff [19:51] FUI, I've got that local mirror running and things work fine using that, so my guess is that it's the router or the intrusion protection system blocking/slowing down the requests. I'll be looking at that with our netowrking/IPS team Monday. Thanks for the help. [19:51] YUI=FYI [20:50] hi [20:59] hello there ! Why does all the other computers on network have internet but my server doesn't? I can ssh to it (ip:192.168.2.3) but when i try to tell him to ping www.google.com it doesn't respond... Anyone have any ideas ? [21:03] Tsapoc^: likely to be misconfigured/non-configured DNS [21:08] yeap i figured that out just fixed it :) [21:08] but thanks m8 :) [23:10] hello [23:10] I just logged in to my ubuntu-server machine and got this [23:10] 3 packages can be updated. [23:10] 6 updates are security updates. [23:10] little strange [23:11] but how can I see wich packages can be updated? [23:11] sudo apt-get -s upgrade will do a simulated upgrade [23:11] thanks [23:11] No problem. [23:12] but can you tell me why it says 3 packages can be updated and then tells me 6 are security updated [23:12] Not really... that text is from the landscape-sysinfo client, right? If you run it directly landscape-sysinfo what does it say then? [23:13] just this [23:13] System load: 0.0 Swap usage: 0% Users logged in: 1 [23:13] Usage of /: 0.7% of 226.26GB Temperature: 28 C [23:13] Memory usage: 11% Processes: 114 [23:13] Graph this data and manage this system at https://landscape.canonical.com/ [23:13] nothing related to the updates [23:13] so... where did the text about updates come from that you quoted earlier? [23:14] below the info of the landscape-sysinfo [23:14] but it only appeared when I logged in [23:15] not now when I ran the command [23:15] hhumm I ran the apt-get command [23:15] Then either something changed, or there is some other piece of software running at login displaying that information for you [23:16] the updates are for apache2 apache2-mpm-prefork apache2.2-common [23:16] Hmm [23:16] Well, if appropriate you can do sudo apt-get upgrade to install those, and then see what happens when you log out and in again? [23:16] ubuntu 9.04 Server doesn't have IPP2P MATCH support? [23:17] The kernel that is. [23:17] jmarsden ok [23:17] I upgraded [23:17] but if I loggin again [23:17] nothing will be shown [23:17] Psi-Jack__: That might be in a module you need to load? [23:17] Acs: Then I'd say you are now up to date :) [23:18] jmarsden indeed :D [23:18] jmarsden: Hmm, what would the module be named to load, then? [23:19] That's not something I have used, but there are a bucnh of modules related to IP and netfilter that start with ip or nf respectively... [23:19] jmarsden thanks again for the help [23:19] Acs: No problem. [23:20] Psi-Jack__: Look under /lib/modules/2.6.28-15-generic/kernel/net/ipv4/netfilter/ and see if anything likely is there? [23:21] Well, according to a wordpress site, I'm seeing for Hardy at least, ipp2p match support has to be patched in, but I'm using 9.04 [23:22] But the wordpess articles' not in English, so hard to truely grasp what it's talking about. ;) [23:23] It may be the same for 9.04... you can always just apt-get install linux-source and see how it is configured. [23:23] * Psi-Jack__ nods. [23:24] Heh, basically trying to figure out how to get shorewall to tc torrent traffic. ;) [23:24] and ipp2p, is the suggested method. [23:24] Otherwise, I won't know how I'd set the port stuff appropriately. [23:24] don't* [23:27] Hmm, there is an xtables-addons source package that might be relevant, in Jaunty and Karmic. But its only there as a source package, not binary package. [23:28] Hmm, apt-cache search doesn't find that for me. [23:28] !find xtables-addons [23:28] Package/file xtables-addons does not exist in jaunty [23:28] Try rmadison xtables-addons [23:29] I don't have rmadison? heh [23:30] sudo apt-get install devscripts will fix that. [23:32] Gotcha. I'm seeing in in jaunty/universe as you said, as source only. [23:32] It has project pages on LP, too, at https://launchpad.net/ubuntu/+source/xtables-addons ... but I've not found online docs saying exactly what is in it... [23:32] http://ubuntuforums.org/showthread.php?t=1221877 [23:33] This is one thing I found about ipp2p for jaunty. [23:33] So far, everything''s leading to rolling a custom kernel. [23:34] That post grabs sources from all over the place... be *careful* if you follow that! [23:34] Yeah, exactly my thoughts [23:35] Does it look to appear to make a .deb package out of it all, to you, in the end? [23:36] I'd say either a custom kernel or at least a custom compiled kernel module, yes. I wonder if that xtables-addons package will let you build this capability as a module? [23:36] No, it looks like the post builds a kernel module and loads it. no package in sight. [23:36] Very 1990s :) [23:36] Wait.. [23:36] But it uses make-kpgk [23:37] Isn't that the ubuntu way to roll your own into .deb files? [23:37] is there a way to see very change in /var/log files? a sort of multi-tail of every file? [23:37] a sort of... cruise? [23:37] ycy: Hmmm., sounds to me like you would benefit with rsyslog. [23:38] ycy: With rsyslog, you could log into pgsql or mysql, and use phplogcon to view it. [23:39] jmarsden: YIKES! This posting, links /usr/src/linux to /usr/src/linux-2.8.26 [23:39] Heh [23:39] * Psi-Jack__ scratches this off the list, quickly! [23:40] Psi-Jack__: Ah, yes, so he does make a custom kernel package... but then after that he removes iptables and copies a kernel module directly into the filesystem and loads it... it looks... "interesting" [23:40] Hmmm [23:40] I don't like that either, then. LOl [23:41] So basically, for sure, getting ipp2p support is a chore. [23:41] Prolly worth it if ya need it, but a chore, regardless. [23:41] ycy: sudo apt-get install multitail [23:41] Psi-Jack__: Looks that way. [23:42] multitail? interesting. [23:42] http://www.vanheusden.com/multitail/ [23:43] Impressive. ;) [23:43] I still like my phplogcon method though. [23:43] Yes... look at the example: http://www.vanheusden.com/multitail/images/sd/lotsofwindows.png [23:43] That helped me determine my pgsql server box was having issues with acpi and the cooling fans. [23:43] End result, I had to pretty much annoyingly disable acpi altogether, which is sad. [23:44] I had an HP server tell me "fan 4" was dead and rebooting... trouble was, there were only 3 fans in the thing... I think we just replaced the chassis :) [23:44] Yep. [23:45] Mine only had FAN, 1 fan, and it couldn't turn it on. Every 6 seconds. [23:45] It thought the CPU needed to be -266 C [23:45] And it was hellfire bent on making it happen. ;} [23:45] All that server hardware smarts is great when it works... but sometimes it just doesn't [23:46] Yeah. [23:46] I just can't see -266 C being a good thing for a CPU. ;} [23:46] Well, that's a few degrees above absolute zero... might be able to overclock it quite a bit :) :) [23:46] I think it was the common problem that it used the 5-byte ACPI message codes, instead of the standardized 6-byte. [23:47] And Linux to current date, I don't think has workaround stuff for that, where-as FreeBSD does. [23:48] Anyway, I guess I'll try to tc torrent another way for now. [23:49] Without ipp2p, just to see if it'll work. [23:51] ERROR: SOURCE/DEST PORT(S) not allowed with PROTO all : /etc/shorewall/tcrules (line 15) [23:51] Bleh [23:52] I've got a command set to run in cron at 45 * * * * [23:52] when I run the command by hand it works [23:52] however it doesn't seem to be running by cront [23:52] cron* [23:52] any idea's why? [23:52] Blah! Even more blah! [23:52] PATH or environment variable differences, most likely. [23:53] I used the full path to the command [23:53] At least ubuntu, has shorewall 4.2.x, but gentoo, looking at my work servers, only has ebuilds up to 4.0, unmasked, 4.2 masked. [23:53] xenoterracide: what is the command in question? [23:53] it's a custom backup script I wrote [23:54] /var/www/oblivionet.com/scripts/backup.sh < that's the path [23:54] Then check the #! line at the top, and that all paths within the script are full paths or in a PATH you set at the beginning of the script. [23:54] #!/bin/bash [23:55] xenoterracide: You can also to MAILTO=me@mydomain.com in the crontab file before the line concerned and see if it sends you email about any errors... [23:55] that cron is right to run every hour at the 45 minute mark right? [23:55] Looks right to me. [23:57] Test with 40 * * * * /bin/date [23:57] Ayup. It's right. [23:57] and see if MAILTO=me@excample.com mails you the date and time, so you know cron itself is working. [23:59] ok I changed that to 0 and put the MAILTO at the top of the crontab for my user