[00:18] Yesterday I sent an email to the list about postfix and ethernet adapters. The two replies I got appear to refer to mapping postfix to an IP address, which in turn "connects" it to a physical adapter. Only, I cannot pre-determine what the IP address will be. What I really want is postfix to use whatever Internet connection there is. At the moment it just picks one and tells me that it cannot resolve an address. [00:19] owh: you're talking about a postfix bug? [00:19] giovani: I don't think it's a bug, I think it's a "feature". [00:20] owh: ok, what do you want #ubuntu-server to do? [00:20] is there a question? [00:20] Yes, I'm asking if there are thoughts on how postfix might be coerced into doing what I need it to do. [00:21] Or if there are alternative approaches. [00:22] so you have two ethernet adapters, and both are getting dynamically assigned ips? [00:22] Some background: There are two network adapters. They get their IP address from a DHCP server on the network. I'm running postfix to send out mail to an external smtp server. [00:22] Yup [00:23] why do they both have to be dhcp? [00:23] owh just a thought, postfix should be behind a firewall and nat'd. why don't you set them up with static addresses? [00:25] I'm not sure I'd advise NAT for any server, if avoidable [00:25] Static IP is also not really possible. [00:25] you can't realistically run a mail server on the internet today on dynamic addresses [00:25] you'll get spam-filtered at most ISPs ... totally prevented from sending mail [00:26] Well, if I connect via SSL to an external smtp server, all is just fine and dandy. I don't send mail out to the end-user, it goes via an extra hop. [00:26] giovani, You have to forward the ports, so it kinda defeats the purpose of NAT. I totally agree. [00:26] Incoming mail is via fetchmail. [00:26] bytor4232: and NAT is just messy and never advisable unless required [00:26] owh: ok, so you're not running an internet mail server [00:26] just a local one [00:27] Yup [00:27] so I'm still unclear why you can't just issue inet_interfaces = all [00:27] and then have postfix use the default route [00:27] like it will by default [00:27] and listen on both interfaces [00:28] In the firefox profile directory, which file contains the stored password? [00:28] oops [00:28] sorry, wrong channel, sorry [00:28] giovani: Well, inet_interfaces = all is already configured. It seems to just grab "the first interface" and then decide that it cannot resolve the smtp server. [00:29] owh: it "grabs" your default route [00:29] and if it can't resolve dns -- it sounds like your network settings aren't properly configured [00:29] Right, so if the connected interface gets its IP address after postfix has started, it uses a bogus route and dies. [00:30] uh [00:30] your dhclient process should be running much earlier than postfix in startup [00:30] besides, how often is this server being rebooted that that's a problem? [00:31] maybe you need to rearrange your startup scripts [00:31] giovani: The server is a laptop. [00:31] ... [00:31] sigh [00:31] rearrange your startup scripts -- something is wrong [00:31] no server processes should be starting before dhclient executes and finishes [00:31] otherwise they'd all have this problem [00:32] Well, the "server" goes to sleep. When it wakes up, it takes a little while for the network to be available. The adapters are managed by Network Manager, postfix is always running. [00:32] haha [00:33] this isn't a postfix problem [00:33] Excellent. [00:33] this is a ... don't run mail servers on laptops with dual dhcp nics problem [00:33] ROTFL [00:33] Thanks, that was helpful :) [00:33] well, be serious [00:33] this setup of yours creates tons of problems [00:33] I'm open to suggestions. [00:34] don't use a laptop [00:34] for your mail server [00:34] and why, if this is just an internal mail server, can you not use static ips? [00:34] Because it's a laptop and it moves around - onto other networks :) [00:34] well don't do that [00:34] sounds like you need an internet mail server [00:35] either sitting at home on stationary hardware, or out on the internet on a $5/mo VPS [00:36] owh: restart postfix in /etc/network/if-up.d/ once everything is up? [00:36] There is a long history behind this configuration. I am mobile. I have a satellite dish. I setup impromptu internet cafes alongside the road. People connect to my wifi hotspot and can send email. [00:36] cjwatson: Will the id-up.d scripts run if Network Manager is in control? [00:37] yep, that's actually a decent idea [00:37] let's see if it works [00:38] Hmm, there is already a postfix script there. It reloads if it's running, but I'm guessing that a reload won't re-check the route. [00:39] There is also one in if-down.d - also reloads. [00:40] What if I change reload to restart - any nasty side effects anyone can think of? [00:41] You know, like mail vanishing that is currently being sent, "little" things like that? [00:47] BRB [00:50] Hmm, seems no scripts are running at all. There is bug #336736 pointing at pre and post scripts not running, but up and down are. I'm not seeing any run. [00:50] Launchpad bug 336736 in network-manager "NetworkManager does not call /etc/network/if-pre-up.d scripts" [Medium,In progress] https://launchpad.net/bugs/336736 [01:52] hello people [01:52] i am new to ubuntu server and i got couple questions [01:53] i am about to to fresh install of os and how should i do my hard drive?? i mean boot, / , swap and more [01:54] wizardslovak: how many users? One, or more than one? [01:55] this will be my personal server for test and study purposes and LAN for now [01:55] wizardslovak: in addition to number of users, it really depends on what kind of applications it will be running [01:55] admin only me users only me [01:55] wizardslovak: are you going to use software RAID? Will there be a large amount of user data in /home (e.g. a file server)? [01:55] i want to do web server (apache , mysql,php) [01:56] OK, so it's a LAMP server? [01:56] yes [01:56] wizardslovak: are you using software RAID? [01:56] this is my old machine celeron 2.4 , 512mb 80gb hda [01:56] no [01:58] its for study purposes , i always wanted to learn servers and command line [01:58] well, not many web projects are going to use anything approaching 80 gigs, so partitioning isn't going to be a terribly big concern for this machine [01:58] I recommend you use LVM, first of all. [01:58] LVM allows you to change your mind later. [01:59] logical volume manager? [01:59] Secondly, I recommend you allocate 4GiB to the root partition (/), and then (possibly after installation) allocate say 10GiB to /var/www or wherever you expect to put your data. On a file server it would be /home. [01:59] why? [01:59] wizardslovak: yes. [01:59] 11:02 LVM allows you to change your mind later. [01:59] LVM allows you to resize partitions or move them between disks *while the system is running*. [01:59] yeah, for experimental stuff, it's hard to say in advance; better to put yourself in a position where you can change things as needed [01:59] well thats what i wanted how many Gbs to what [02:00] It's good to use LVM and only allocate what you need short-term, then lattr allocate more space when you need it [02:00] e.g. 4GiB for root and 100GiB for /home (on a file server), and leave the other 376GiB unallocated. [02:01] lol i got only 80gbs for now [02:01] on an 80 gb hard drive??? [02:01] yes [02:01] wizardslovak: so allocate 4Gib and 10GiB. [02:02] ok 4gb root, 1.5gb swap and 10gb /home [02:02] It doesn't matter if you screw up with LVM, because you can allocate more later. [02:02] that system's unlikely to swap unless you go live with a high-traffic sight, so minimal swap should be okay [02:02] like 256MB [02:02] wizardslovak: well in your case you probably won't have anything in /home, right? [02:02] again, you can increase as necessary [02:02] Right. [02:02] well no [02:03] it might actually not make any sense to use a separate /home partition then [02:04] separate /var would be more useful, if anything [02:04] where then i will install lamp and www docs? [02:04] the default httpdocs directory is /var/www [02:05] you can change that to anywhere you like, but might as well leave it as is until you have a specific reason to change it [02:05] the elements of the LAMP stack go in /usr, /etc, and /lib [02:08] so 4gb root lest say 1gb swap and ?? [02:17] what's a sane way to get hardy to get glibc 2.8 [02:17] I need a patched pthread in hardy that just doesn't seem to exist in Ubuntu that exists in Debian [02:17] :| [02:18] Damm: why 2.8? [02:19] Damm: Debian, at least, never even shipped that (AFAIK). [02:20] If you enjoy pain and instability, you can always (very carefully!) cherry-pick bits from Debian. But if you're not a DD, you probably don't have experience to do so safely. [02:23] twb, I'd rather upgrade to Jaunty [02:23] if i have to do that [02:23] tbh [02:23] Fair enough. [02:24] is Jaunty going to be LTS? [02:24] Cherry-picking from ubuntu+1 is safer than cherry-picking from Debian. [02:24] or Karmic Koala? [02:24] Koala? Bah. I would have chosen Kookaburra. [02:24] Not if the world is watching a Koala being watered during a bush fire :) [02:25] there was a two year interval between the last LTSs, so I'd guess the next one won't be at least until 10.04 [02:25] I concur with p_quarles [02:25] naah [02:25] yep p_quarles [02:25] i saw that [02:26] welp i might as well go Jaunty and see if it fixes it, if not I can reinstall [02:26] definetly easier then trying to apt-get dist-downgrade [02:27] getting Ulrich to admit pthread bugs is like [02:27] trying to scale the chrysler tower with 2 fingers [02:27] or is that too polite? [02:27] should i install lamp in os install or wait and install it later? [02:27] Damm: If you have spare space in your LVM, I strongly recommend making an LVM snapshot or otherwise keeping your old root filesystem around as-is while you do the test upgrade. [02:28] twb, reinstalling takes 15minutes [02:28] and it's automated [02:28] Damm: well, if you have preseeding and know exactly what you want [02:28] twb, no it's fai [02:28] and i didn't set it up [02:28] wizardslovak: I would install it later with tasksel; I recall that giving you more options [02:28] Yeah, fai is preseeding [02:28] but by god it's easy enough to get done [02:28] when I have time I'll do the preseeding [02:28] I'm not really a fan of FAI, I'd prefer a combination of manual preseeding and puppet. [02:29] * Damm stabs puppet with a fork. [02:29] chef 4ever [02:29] Not that I like puppet... [02:29] tasksel??? can i use apt-get? [02:30] wizardslovak: tasksel is another front-end for dpkg, like apt-get; it's useful for deplying common setups, like lamp [02:30] wizardslovak: sudo tasksel install lamp-server [02:30] (tasksel is a front-end for apt-get/aptitude, actually) [02:30] wizardslovak: or tasksel --list-tasks for the options [02:31] whats the difference btw tasksel and apt-get and aptitude [02:31] cjwatson: which is a dependency resolving front-end for dpkg [02:31] Damm: there's no wikipedia article for Chef, so it's obviously no good! [02:31] p_quarles: I'm aware of that, but I think it's relevant that it isn't a front-end to dpkg directly, since that makes it clear that anything you can do with tasksel you can also do with apt-get [02:32] cjwatson: true; tasksel is only useful if you want to deploy a common default; for wizardslovak's purposes, though, the default lamp stack should be ideal [02:32] wizardslovak: tasksel is a simplified interface that just offers you the ability to install or remove sets of packages corresponding to common tasks (or profiles, whatever you want to call them). apt-get and aptitude are full package managers that give you manual control over which packages are installed. [02:33] I basically agree with p_quarles though, just nitpicking :-) [02:33] :) [02:33] twb, www.opscode.com [02:35] it's amazing that tasksel is pretty much the same as it was in Debian Potato [02:38] That's because nobody uses tasksel except newbies [02:38] Damm: pretty different internally though :) [02:38] twb: Hmm, newbies eh? [02:39] newbies?? [02:39] i always used apt-get [02:40] cjwatson, I would hope so. [02:40] if the code stagnated from old versions of libc5 and still works on current glibc [02:40] owh: yeah; tasksel's main job is to provide newbies an easy way to opt-in to getting Xorg and gnome installed :-P [02:41] well you'd have to give that person a medal [02:41] twb: ROTFL [02:41] Damm: it's in perl, so libc is not all that relevant [02:41] rofl [02:41] that figures shows you how much I use tasksel [02:41] Damm: and potato didn't use libc5 [02:41] potato had elf [02:41] that i do recall [02:42] Damm: well, I noticed that ubuntu-server has some fancy different tasksel tasks [02:42] twb, i hasn't noticed [02:42] fai kinda gets in the way of ubuntu being useful [02:42] There's now tasks like "I want lots of security holes", i.e. LAMP [02:43] the libc6 transition was in bo, two releases before potato [02:43] err, hamm, not bo [02:43] right [02:43] but ole fashioned libc5 [02:43] or old libc was potato [02:43] no it wasn't! [02:43] not this new fangled stuff that Ulrich sold us on [02:43] potato was two releases after Debian switched to libc6; it did not use libc5 [02:44] not for anything of any importance anyway [02:44] used libc4? [02:44] it used libc6. 5+1. [02:44] I'm not sure how to be any clearer :) [02:44] * Damm runs in terror [02:44] you can't [02:44] and I've hit the moment that I can't takes no more [02:44] * Damm remembers why he ran to freebsd from Debian now [02:45] Hey so guys, a stock ubuntu-server 8.04 install, and I deliberately break filesystem mounting (by removing /srv's disk). [02:45] I get dropped into a recovery shell... in which /bin is not in $PATH [02:45] Sorry, /usr/bin is not in $PATH [02:45] /usr/bin/ls? [02:45] Yes, obviously [02:45] Damm: (http://www.debian.org/doc/manuals/project-history/ may help to keep track of the codenames) [02:45] But the question is: how did it get to that point? [02:46] PATH is /sbin:/bin [02:46] there are some code paths where you only get /bin and /sbin I think [02:46] I usually just stick /usr/sbin and /usr/bin in there and don't worry about it [02:47] I vaguely suspect that Ubuntu has been "clever" when it juggled stuff like /etc/environment and /etc/profile around, or just that this hasn't started a login shell for some silly reason [02:47] the unified PATH in /etc/environment is only effective for PAM sessions [02:47] anything else gets to fend for itself so you may notice some desynchronisation [02:47] * Damm laughs [02:48] well that's a horrible way of making /etc/profile cleaner then [02:48] cjwatson: this is clearly a bug, because if I manually run "bash -l", it also lacks PATH [02:48] *lacks a proper PATH [02:48] twb: it'll just inherit it from the parent [02:48] oh, -l? not sure. [02:48] cjwatson: I expect the system-wide PATH default to be set in /etc/profile or some other similar place [02:48] sulogin should probably sort it out. [02:48] the problem with /etc/profile was that we got a different kind of desynchronisation [02:49] /etc/profile only applies to Bourne-style shells; there are a number of processes that start up in other ways and need a PATH [02:49] cjwatson: yeah, you're right, this problem is caused by PATH setting being moved from /etc/profile to /etc/environment in Ubuntu [02:49] cjwatson: that's a fair point [02:50] and this actually was a practical problem - see http://wiki.ubuntu.com/OneTruePath [02:50] Thanks, looking [02:50] cjwatson: btw, has this issue propagated into the Debian BTS? [02:51] twb: I don't think so [02:51] sulogin does NOT fix it, BTW [02:52] when I said "should", I meant "ought to be made to" rather than "I believe it does so now" [02:52] stupid English language [02:52] Sorry, I misunderstood. [02:53] actually, it's curious that this happens at all, because upstart sets PATH [02:54] and apparently has done since August 2006 [02:54] I wish upstart hadn't been deployed until metainit was actually ready. [02:55] I just don't see the benefit of upstart when it has to then go through a sequential sysvinit-compat layer [02:55] metainit couldn't have been made ready without experience with the initial deployment of upstart [02:55] and the deployment was a lot easier this way [02:55] Scott does actually know what he's doing [02:55] (I'm not sure whether we'll actually use metainit, but.) [02:56] I really meant "deployed as the default" [02:56] It had to be the default to get tested. [02:56] Double-edged sword, really. [02:56] On an unrelated note: upstart's shutdown(8) has no way to force a fsck on reboot... [02:56] infinity: yeah, I guess... [02:56] We needed the intermediate sysvinit-compat rollout to be able to use it at all. [02:57] twb: These days, isn't "forcing fsck on boot" more a function of marking the filesystem dirty, since "running fsck" does pretty much nothing on a journalled FS that claims to be clean. [02:58] Even fsck -f? [02:58] It takes a long time to do nothing... [02:58] all that shutdown -F ever did was to touch /forcefsck before shutting down. [02:58] I figured it was something like that [02:59] And, FWIW, checkroot.sh still honors that file. [03:00] infinity: ah, cool [03:00] I just didn't remember what the exact name for the file was, or I'd have just touched it [03:00] As it is I'm plugging the root filesystem into my laptop to fsck -f -- it's a USB key :P [03:00] -f touched /fastboot, and -F touched /forcefsck [03:00] Both are referenced in /etc/init.d/checkfs.sh [03:00] would be worth a bug to add those options, since they're trivial [03:01] Though it might be nice for you to file an upstart bug to get those options back in. *shrug* [03:02] Is there actually a way to defragment ext2? [03:03] Some people have written some tools. Nothing that I've ever trusted, mind you. [03:04] ext* are fairly fragmentation-resistent anyway, though if you regularly redline between 90% and 100% usage, you'll be as screwed as the next FAT32 user... [03:04] You could do one that just called sleep(size-of-disk) :-) [03:07] amazing ubuntu did something right with libtool [03:07] yay [03:09] cjwatson: regarding bash; I suggest making the default /etc/profile say something like "if path is , source /etc/environment" [03:10] Since AFAICT that would be exactly a no-op for login shells that *do* go through pam_environment.so [03:10] twb: /etc/environment is not guaranteed to be sourceable by a shell [03:10] twb: it may happen to be in many cases, but the format is not the same as shell [03:11] so it gets a bit tricky [03:11] I'd rather fix the (few) places that are still showing up with broken paths [03:11] cjwatson: it's not just lines of X=Y? [03:11] Yes, obviously actually fixing things is preferable :-) [03:11] the quoting rules are not the same as shell. [03:11] cjwatson: ah, fair enough [03:12] httpd: pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. [03:12] well damn it's still there [03:12] i bet this is something in apache === UdontKnow is now known as \0 === \0 is now known as UdontKnow [03:58] hi everyone [04:01] i have some questions on how i should setup a new server, for a apache mysql server [04:15] !ask [04:15] Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [05:21] I have a question about setting up LAMP if anyone can help. [05:45] Good morning [05:45] Anyone available for a networking question on Ubuntu Desktop 8.04.2 ? [05:45] I am looking for some assistance on obtaining a DHCP IP address on Ubuntu 8.04.2 over a Linksys wireless bridge 802.11g, model number WET54G ver 3.1 [05:46] I am able to assign a static IP address and DNS server information and connect just fine [05:46] WEP is enabled on both the Verizon FIOS wireless router and Linksys wireless bridge [05:47] I've tried #ubuntu and they suggested I try here [05:50] anthony1: all I can think of to try is packet sniffing [05:50] I don't understand how that would help [05:51] anthony1: it will tell you if the DHCPREQUEST is hitting the router [05:51] I'm assuming you actually have a shell on your DHCP server / router [05:52] If so, I am unable to access via telnet or SSH [05:52] There's a web interface but that's all I have access to [05:52] I'd also obviously try turning off networkmanager, which always breaks everything. [05:52] lol [05:52] And I'd try running dhclient manually and watching its output [05:59] twb, if you're still there, I got randomly disconnected [05:59] You can see that I'm here from /names [05:59] Thanks [05:59] could anyone tell me how to add a trusted SSL certificate? I'm using dreamhost for email and their ssl cert doesn't seem to work (I added it to /etc/ssl/certs but I still get an error that the certificate is not trusted) [06:00] twb: did you see the flood of output from dhclient? [06:00] anthony1: no. [06:00] anthony1: you should not be flooding the channel anyway [06:01] anthony1: use a pastebin [06:01] Long story short ....... No working leases in persistent database - sleeping. [06:01] That means it gave up [06:01] My other suggestions remain [06:01] Say it again? [06:02] anthony1: make sure network manager isn't running or installed. ssh into your DHCP server / router and packet sniff there. Packet sniff locally. [06:03] Oh, and look for suspicious output near the bottom of dmesg [06:03] Thanks [06:03] Ok === Zaraphrax is now known as Zaraphrax|Laptop === Zaraphrax is now known as Zaraphrax[DESKTO === Zaraphrax[DESKTO is now known as Zaraphrax|Deskto === Zaraphrax|Deskto is now known as Zaraphrax [07:41] New bug: #356818 in bacula (universe) "package bacula-server 2.2.8-5ubuntu7.2 failed to install/upgrade: dependency problems - leaving unconfigured" [Undecided,New] https://launchpad.net/bugs/356818 [07:42] New bug: #352391 in dhcp3 (main) "AppArmor prevents DHCP from getting address" [Undecided,Incomplete] https://launchpad.net/bugs/352391 [08:02] hello, i'm trying to do something very easy: to configure a machine with ubuntu server as firewall that does masquerading. I configured shorewall and i can do pings to the net from a workstation but when i try to access some web there seems to be no data transfer... i'm i missing something evident? [08:29] Can anyone tell me how to manually edit /templates/sources.list.tmpl to point add a seperate repo into sources.list during vmbuildr runtime? I'm trying to --addpkg a package which isn't in --mirror [08:29] or any other workaround I can try to get the same end result? [08:41] New bug: #355091 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: /etc/mysql/conf.d/old_passwords.cnf: No such file or directory" [Undecided,Incomplete] https://launchpad.net/bugs/355091 [08:46] New bug: #356851 in samba (main) "Sharing cups disables entire system with segmentation faults" [Undecided,New] https://launchpad.net/bugs/356851 [08:58] Anyone know how to install jre with vmbuilder? [08:59] oh_noes: icedtea or sun? [09:00] sun-java6-jre [09:01] Basically, if I try to install it vmbuilder fails because of the deb package prompting for user to accept the license agreement [09:04] oh_noes: provide the answer to that prompt in a preseed file [09:05] debconf-set-selections <<<'sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true' [09:05] debconf-set-selections <<<'sun-java6-jre shared/present-sun-dlj-v1-1 note' [09:11] Thanks. The problem is I dont know how to provide that answer with vmbuilder [09:24] oh_noes: me either; sorry. === Zaraphrax is now known as Zaraphrax_dsktp === Zaraphrax_ is now known as Zaraphrax === andol is now known as andol_ === andol_ is now known as andol [10:17] Hi all, I have a bunch of java processes that use all the physical ram in my server and then hang it without swapping or terminating. By hang I mean most processes half work but can't do much because there is not enough memory. I can't even run ps because it tells me the process can't fork. I would assume from what I've read about kernel memory management that the processes should just get killed but this does not seem to be the case. My swappiness [10:18] is set to 60. free -m shows the free swap to be 1913 and used to be 0. Any one seen something like this before? Any ideas? === mdz_ is now known as mdz [10:46] CrummyGummy: killall java takes care java programs [10:53] wow, thats amazing. [10:55] "fix the bugs" would've been just as useful. All I'm worried about is my servers not going down when the memory management in the kernel should keep it up. [11:05] CrummyGummy: well. no idea why it dosent swap, bu killing stuff helps to solve problem [11:06] CrummyGummy: like see dmesg and seei f there has been anyproblems [11:07] CrummyGummy: what kernel you use, i had problem with 2.6.27-7-server that it would oops when using dmraid0 swap drives [11:10] 2.6.24-23-server but I've had this problem for years, I do use raid on my swaps. Id your problem go away with an upgrade? [11:10] erm s/Id/did/ [12:01] how do i install glib-2.0 ? [12:20] quizme: sudo apt-get install libglib2.0-dev (assuming you're trying to compile something and it's listed glib-2.0 as a missing requirement) [12:25] I have ata_aux 100% CPU usage after /etc/init.d/apache2 stop; pkill -9 apache2 what should I do now? I even can not restart server because reboot command not doing its job... [12:25] cjwatson yes exactly. thanks! [12:26] cjwatson: Couldn't find package libglib2.0-0-dev [12:27] Will reboot -f help? I have only remote terminal available... [12:37] quizme: read what I said very carefully. You appear to have mistyped. [12:37] cjwatson ok thanks [12:53] quizme: do you mean /etc/init.d/apache2 start dosent work ? [12:55] quizme: not 100% sure about ubuntu, but you could try zap or force-restart argument with init.d script or remove apache.running stamp from /var/cache/ ??.. not sure where ubuntu keeps track if service is runnign [13:51] http://pastebin.com/m37cc52feNo I have soft lockup problem ata_aux process usage is 100%, I can login into ssh but I can not even restart server. Thank You for answers! [14:13] !seen ivoks [14:13] I have no seen command === adam7_ is now known as adam7 [14:35] hello [14:36] my ethernets configured incorrectly it missed out eth1 and skupped numbering the interfaces directly eth2. How can I rename it to the right order? [14:36] *skipped [14:40] hi here, anyone has a very cheap drive bay (16TB) to suggest in order to do drive to drive to tape backups ? [14:46] fevel: Have a look at /etc/udev/rules.d/70-persistent-net.rules [14:48] youre the man maxb [14:49] maxb: how can I reset this file gracefully? [14:50] I think you can just edit it [14:50] ok [14:51] You can delete entries from it if you want it to regenerate them at next boot === paul_ is now known as orudie === Zaraphrax is now known as Zaraphrax[Away] [15:04] I got a e-mail from the Ubuntu server mailing list saying there is a meeting in #ubuntu-meeting at 15:00UTC. I am not sure what time that would be in US eastern Time. I spent 30min trying to figure out when it is [15:06] jamesrfla: 11:00am [15:07] thanks sommer it looks like there is some other meeting going on in there right now. Be back at 11AM [15:22] hi - im new to linux servers and I was wondering if there is something akin to the windows task manager in ubuntu, where I can get some idea of what the server is doing, and what kind of load it is under? [15:22] Doble: "top" [15:22] (in a terminal window) [15:23] ball: ahh cool, cheers! [15:24] Doble: you're welcome. That's common on most unix/Linux/BSD systems [15:26] ball: great, reading the man page now [15:27] man pages are a good thing. [15:30] Doble: you might also be interested in installing "htop" [15:30] it's more featureful than top [15:30] * ball wasn't aware of htop [15:30] I would die without it [15:30] http://htop.sourceforge.net/ [15:31] giovani: thanks i will check it out, I eventually plan to try out SNMP monitoring with nagios, but im still learning and just wanted to see what my system was up to - htop looks cool too! [15:31] Doble: nagios monitoring is hardly a replacement for a process viewer [15:32] but, it's definitely something you should incorporate also [15:33] giovani: yes indeed, cheers [15:34] well after a couple of days of resisting taking the 'easy' route with webmin and such, I now have a little home server doing DNS, file serving, and a public FTP! [15:35] what's the public ftp for? [15:35] Why public FTP? [15:36] when I say public, I mean its accessible from the internet, you still need a user/pass to access it :) [15:36] why ftp at all? [15:36] I wanted to transfer some files from work [15:36] ah, no, not again... :) [15:36] use scp/sftp [15:36] or webdav [15:36] with ssl [15:36] ftp is incredibly insecure, both in its lack of protection for your username/password, and for the data [15:38] yeah, I'm aware of the insecurity ... I'll look at what you suggested [15:38] well ... on top of that, ftp requries extra software, scp/sftp doesn't [15:38] (they're built in with openssh-server) [15:39] hm, I wasn't aware of that ... I'll check it out [15:39] really, I'd immediately remove ftp from use [15:39] it has no function for you [15:40] giovani: windows clients have ftp client by default, but not sftp/scp [15:40] ivoks: I'm quite aware of this [15:40] giovani: and you could even say that's the same case with OSX [15:40] uh, since when? [15:40] osx doesn't have openssh client by default? [15:40] psftp ftw [15:41] giovani: most of OSX users look at Finder as OSX, not the whole package [15:41] ivoks: MacOS X ships with sftp [15:41] ivoks: well, that's an inaccurate statement then [15:41] anyway, none of this is relevant [15:41] i said 'and you could even say that's the same case with OSX' [15:41] we're talking about Doble, not "any user on the planet" [15:41] surely if he can manage an irc client, he can manage an scp/sftp client [15:42] otherwise, it sounds like you just want to start an argument for no reason [15:42] i thought he was setting up server for other users, not for him self :) [15:42] nope ... we asked [15:42] he said it's for himself, at work [15:42] ok then [15:43] this discussion is very interesting to me either way, because if i can become fluent with ubuntu I'll be able to start using it at work with our servers :) [15:43] instead of windows server [15:43] so i appreciate the info [15:43] Doble: all depends on the function, and what your level of knowledge is ... [15:44] I'd recommend against stepping in and replacing windows servers at work until you're quite confident in your skills [15:45] of course ... however the advantage with linux seems to be set-and-forget, i've been amazed by the reliability - we have a DNS server running on SOL linux which was set up 4+ years ago by a previous sysadmin ... it's barely been touched apart from the occasional addition of a zone record and its running beautifully even now [15:46] probably hugely insecure, unpatched and would make most sysadmins cry, but such is the place where I work :) [15:50] giovani - i downloaded winSCP to try out the SFTP you told me about - looks great! i have access to the whole file system, this will be a big help [15:51] yeah I get to go to my first Ubuntu Server meeting :) [15:52] I don't get to go to them because I am in school at 11AM Eastern US time [15:57] Server team meeting in 3 minutes in #ubuntu-meeting. [15:57] +1 ttx [15:57] is there a way to get a listing of packages I've installed with apt-get ? [15:59] sorry, my connection dropped and i dont know if this got through - is there a way to get a listing of packages installed? [16:00] dpkg -l | grep ^ii [16:01] or dpkg-query -W, perhaps a more convenient format [16:01] crikey thats quite a lot [16:03] yep ... there are a lot of applications [16:04] okay, per your advice giovani, i've removed vsftpd, but when I do a dpkg -l it still shows up in the list [16:05] you probably didn't dpkg -l | grep ^ii [16:05] which only shows installed packages [16:06] ahh, there we go, thanks [16:07] sorry cjwatson, i thought that the ^ii was some kind of weird smiley! haha [16:09] hi there [16:09] Hi ycy [16:09] I have a server with ubuntu. Is there a way to send a mail (from the server) whenever "apt-get upgrade" has something to upgrade? [16:10] apt-listchanges maybe? [16:10] ycy: apticron does a pretty good job of that [16:11] timtowtdi [16:11] thank you [16:18] giovani: regarding SFTP - if I wanted to make changes to files which I would normally need to be sudo to change, how would I go about it? [16:19] er, this is doble by the way, my nick has gone a bit strange, heh === abcdasd is now known as Doble [16:21] hello I need use a e-mails accounts with postfix and dovecot [16:27] Doble: you don't ... [16:27] Doble: what files are you trying to change? [16:31] christian_: ? [16:31] christian_: you want to setup mail server? [16:34] giovani: thats fine if you can't, and i can understand why, i was just interested - wanted to see if i could edit config files and such from my windows PC [16:34] you should be doing so on the server, honestly [16:35] you could open root login, but, most ubuntu folks would advise against that [16:35] better to ssh into the server, and use sudo with a text editor there [16:36] yeah, i agree [16:38] yes I need setup a mail server [16:38] thanks ivoks and sommer [16:38] I want to see how much samba is loading files from memory cache and how much it is having to access its hard drive, what would be the best way to monitor that? ie - looking at drive transfer rates on the server [16:39] christian_: I recommend Citadel Mail server for beginners [16:40] christian_: https://help.ubuntu.com/community/MailServer [16:40] jamesrfla: this is an ubuntu channel [16:40] anyway... take care [16:41] later everybody have to work on some homework :( [16:45] good day everyone... [16:46] hello darkside_simmons [16:47] i was looking trying to join the team...I have been using ubuntu server for awhile and deployed multiple web servers, email servers etc [16:48] darkside_simmons: do you use Samba for file servers? [16:48] thks [16:48] yea I have been [16:49] setup domain server for xp and few simple login scripts with rights [16:50] darkside_simmons: I'm learning the linux way too :) coming from a windows environ [16:51] yea its fun :) if your a technical guy like myself [16:51] darkside_simmons: One of my users whinges incessantly about not being able to write-protect a file [16:52] I can't figure out how to map Windows file permissions to an ext2 filesystem [16:53] i used ldap group policies [16:54] and then setup each windows account on my domain server [16:54] ball: maybe this will help - https://help.ubuntu.com/8.10/serverguide/C/samba-fileprint-security.html - look under share security, about 3/4ths way down [16:57] !seen ivoks [16:57] I have no seen command [17:01] I have a question about setting up LAMP, would anybody be able to help? [17:01] !ask [17:01] Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [17:02] whats going on [17:02] Doble: thanks, it's almost useful. [17:03] Thanks. I followed some documentation on the ubuntu site on setting up a LAMP server, and thought I completed all of the steps, but I couldn't view the test pages on my other box's in the network, did I forget to do something? [17:04] vexic: do you have Lynx installed? [17:04] (on the server) [17:04] https://help.ubuntu.com/8.10/serverguide/C/samba-dc.html that may help too doble [17:04] ball, no i don't think so [17:04] oops i mean ball [17:05] vexic: "sudo apt-get install lynx" perhaps [17:06] ball: I'll try that, what exactly would that do to help me? (I followed the steps from here, https://help.ubuntu.com/community/ApacheMySQLPHP) [17:06] vexic you are trying to see the basic apache server test pages I assume??? [17:07] darkside_simmons: correct [17:07] vexic: once you have it installed, type "lynx http://localhost/" [17:08] ...and let us know whether you see your content. [17:11] ball: unfortunately I'm at work and can't test that at the moment, I'm just trying to get a general idea of what I missed. (I can see the content in firefox on the computer that I set it up on) [17:12] vexic: can you ssh to your server? [17:12] vexic: yea or can you ping the pc [17:13] ball: not yet, i was hoping to get to that step before i had to go to work, but am i new so i was too slow ;/ [17:13] ifconfig or ifconfig eth0 to see you network interface status [17:16] vexic: so you can see the Web pages from Firefox run on the server, but not from other machines on the same LAN? [17:17] ball: that is correct [17:17] vexic: sounds like a firewall issue. Are you using the machine's IP address for the URL? [17:17] ...or a hostname? [17:18] ball: i'm using http://localhost [17:19] vexic need to determine if the computer is on the network can you go to google or any other website fine [17:19] vexic: that won't work from the other machines on the LAN though. [17:19] What are you using there? [17:20] ball: that's what I was using...are you saying all i needed to do was use the machine's ip? or set it to hostname? [17:21] vexic: from the other machines on the LAN, it would be something like "http://192.168.1.64/" (or whatever your server's IP address is) [17:22] ball: cool , thanks. Could you tell me where I would set the hostname, so I don't have to use the ip? [17:22] vexic: that's non-trivial. [17:22] Stick to the IP address for now. [17:25] ball would you know of any good network logging software, I have cacti installed and played with bandwidthd but I wanted to log all blocked and accepted traffic [17:25] darkside_simmons: no idea on Linux, sorry. === ogra_ is now known as ogra [17:34] darkside_simmons: have you looked at analog? [17:36] no I haven't [17:36] need something for the terminal or sql/web based since I don't have a gui on the servers [17:36] darkside_simmons: you can run Xclients on a machine with no graphics hardware. [17:37] (no mouse, graphics card etc.) [17:37] tell me more well I guess I can google it [17:39] darkside_simmons: if you have a desktop Ubuntu machine (or any other machine with an X server), you can connect to your router from that and run software (including graphical software) there, but have the output displayed on the box you're sitting in front of. You send it mouse clicks, keystrokes and it sends you the end result. [17:39] ...just as though you were running it locally. [17:39] X is great like that. [17:40] MacOS X ships with an X server [17:40] ...most unices do. [17:40] that is wicked.....save me from getting another pc what i was thinking off [17:42] We've had that since the mid 1980s I think [17:42] Welcome to the late C20th ;-) [17:43] 1984 [17:43] JanC: there you go. [17:44] darkside_simmons: when people say that X is "network transparent", that's what they're describing. [17:44] X1 wasn't nearly as useful as X11 though ;) [17:44] ...when you run X clients on the same box as the X server (e.g. running Firefox locally), I think it talks via the network stack anyway. [17:45] X11 is a Good Thing [17:45] JanC: are you in Michigan? [17:45] no [17:46] Ah, different JanC then ;-) [18:16] How do i get ubuntu to install on iscsi, i have tried to pass the options "install iscsi=true" to the kernel when booting up from the server edition install cd (8.04), but when disk modules is loaded it just comes up with a window saying "No disk drive was detected blah blah" and wants me to select a module (already tried the iscsi_tcp module) just like it would when doing a normal server install. [18:16] Because its a diskless thin client. [18:17] danny1: why would you install Ubuntu on a diskless "thin client" box? [18:22] Right now im just testing it out, we have all our clients running windows xp through AoE, and we wont be buying new windows licenses when m$ stop making security updates for xp, so when that timee comes we are going to change into linux, ubuntu i hope since im quite familiar with debian/ubuntu. [18:24] What is AoE? [18:24] ATA over Ethernet [18:24] danny1: Ah right, I wrote quite a lengthy email this morning about server-based computing [18:25] (thin clients, graphical terminals etc.) [18:25] this doesn't sound like server-based computing, honestly [18:25] this sounds like virtualized storage for distributed desktops [18:26] I much prefer the virtualized desktop route -- but, I guess if you have hardware that you wish to use rather than real thin clients ... you can do it this way, it's just a lot more management [18:26] already made the ubuntu installer install on AoE targets with a little workarround ( ln -s /dev/ether/target /dev/sda ) but when it comes to install grub its complaining about the target not being an bios device [18:27] thats why i wanted to try out iscsi instead, and the reason im asking inhere is that so faar its only supported in the server edition (iscsi=true) [18:28] probably because it's pretty rare to run desktops on virtualized storage :) [18:31] still i should be able to get the iscsi initiator menu during the ubuntu server instalation, with the iscsi=true option [18:31] is that documented somewhere? [18:34] the only pages i could find about it is the release notes saying its posible with that kernel option ( http://209.85.229.132/search?q=cache:BC9W63zwbIYJ:www.ubuntu.com/testing/804rc+ubuntu+iscsi%3Dtrue&cd=6&hl=da&ct=clnk&gl=dk ) [18:38] alright, let me pull up a VM and test it myself [18:38] you're using the 8.04 server install cd? [18:39] yes [18:39] tried the 8.10 dvd aswell [18:41] when i get the default boot menu i press esc and get a boot: command line, where i type in : install iscsi=true, tried the default menu using F6 to pass it to the kernel also, still no luck, tried almost everything you can imagine hehe [18:44] esc? [18:45] just installed ubuntuserver on a server and during install it detected the disks fine and completed installation without error but now when it's restarted it doesn't boot from the RAID, any ideas? [18:45] mindnull: "doesn't boot from raid" -- be more specific? what happens? [18:46] giovani > Escape the key in the left upper corner [18:46] danny1: you sound like you're describing the grub menu ... not the installer [18:46] skips it and goes to PXE [18:46] mindnull: sounds like your raid card/bios aren't properly configured [18:47] it does say that it's trying to boot from cd-rom, trying to boot from a:, trying to boot from c: and then it goes to PXE [18:47] uh [18:47] A: and C: are dos/windows terms [18:47] maybe you didn't do your partitioning/mbr correctly in the install [18:48] danny1: are you sure you aren't modifying grub boot options of an existing install? [18:49] the ubuntu installer has a big ubuntu logo, and selects language, and then asks you to press F6 to change install options [18:49] used the guided - use entire disk option so I don't know how that could of been messed up, I'll go look at the bios settings [18:49] giovani > no its not grub, try starting a vm with the instal cd mounted, and when it boots up and ask you for language press escape, then it will say something like are you sure you want to blah blah and give you the old command line boot thing, where you in the old days could type "rescue" "install" etc etc [18:50] dana_good: iscsi=true worked perfectly for me [18:50] I think you did something incorrectly [18:50] boot off of the CD, select your language, then press F6 ... and append iscsi=true to the list of options already there (it shouldn't be blank, and won't say "install" [18:50] I put "iscsi=true" before the "--" at the end of options [18:51] worked just fine [18:52] the ubuntu installer has a big ubuntu logo, and selects language, and then asks you to press F6 to change install options <-- yes but if you press escape you can get the old stule debian boot command line [18:53] giovani: i was working on some iSCSI stuff, but i think you're talking to someone else [18:53] danny1: well don't do that ... [18:53] danny1: there are a bunch of installer options you need to have in there ... that ubuntu provides, which clearly you're not providing [18:53] it says "F6 for boot options" -- follow that, it worked perfectly for me [18:53] dana_good: yes, sorry, tab-nick completion [18:56] that will be adding iscsi=true after quiet already tried that without luck, tried it again right now still no luck [18:56] how are you evaluating if it worked that quickly? [18:56] giovani: np, i just thought it was weird i was working out some iSCSI troubles on my own and suddenly i get a little notification telling me to use iscsi=true [18:56] you don't know until 10 questions into the installer [18:57] i have a laptop right beside me i tested it on [18:57] and what happened? you went through the installer in 2 minutes? [18:58] i get to the part where it should start the disk part or the iscsi initiator, but instead it says "No disk drives found" [18:59] well ... you're gonna have to have a physical disk ... [18:59] otherwise how is the computer going to boot? [19:00] gpxe [19:00] ;) [19:00] giovani: USB flash :-) [19:00] who says that's supported, danny1? [19:00] I suppose that counts [19:00] ...as a disk. [19:00] it works perfectly for me ... and I have a local disk [19:00] but it asks me for my iscsi server [19:00] just like it should [19:01] first i know it works, that how we boot our diskless xp machines atm, no floppy no cdrom no usb keys, only gpxe chainloaded from pxe [19:01] I didn't say that it COULDN'T work [19:01] I said ... who said gpxe iscsi booting with ubuntu installer is supported? [19:01] clearly ubuntu can install to an iscsi target ... I just tested it [19:02] so, your complaint seems to be different now [19:02] * ball hits the big blue button on the complaint-o-matic [19:02] well might be my cd thats to old, dont remember if its a plain 8.04 or 8.04.1 or 8.04.2 [19:02] nope, your cd is probably fine [19:03] nobody said you could do away with physical disks though [19:03] that's not the same thing as saying "iscsi target installing is supported" [19:03] clearly iscsi target installing is supported -- but maybe not in the specific, and unusual way that you want [19:03] * ball sighs [19:03] I'm tired. [19:04] ...but I have a window to scrub [19:04] cleaning windows does suck [19:04] heh how that that being unusual, whats the idea of booting the system of san when you need to have a physical disk ^^ [19:04] danny1: so that you don't need a huge physical disk ... and storage is centralized [19:04] giovani: this one has encrusted...gunk on it. [19:04] ...possibly even between the panes. [19:04] (double-glazed) [19:05] Handy having a local disk anyway, for swap. [19:05] and an MBR ... [19:05] I don't know why you aren't just using true thin-clients anyway [19:05] it's a lot less work, and less cost and etc [19:05] gaah gpxe can load the mbr of the iscsi target [19:05] giovani: I was writing about those earlier today [19:06] danny1: great ... who said that's supported by the ubuntu installer? did anyone represent that? [19:06] ...need to figure out how to do that stuff. [19:06] maybe because this is what we got, buying new machines would be more expensive than buying new windows licenses ;) [19:06] giovani: X terminals ideally. [19:06] ...though Sun Ray at a pinch. [19:06] danny1: TCO though? [19:06] danny1: you can use normal computers as real thin clients [19:06] we do [19:07] we have wyse thin clients, and some regular desktops [19:07] but the regular desktops have HDs in them [19:07] it's just amusing that you think because something can be done, theoretically, that it must be supported by ubuntu [19:08] danny1: this thing you've got, it can boot via PXE? [19:08] well i dodnt think that it was a half ass job ;) [19:08] it's not half-assed [19:08] it's iscsi target support, nothing more [19:08] even windows 2008 server can boot entirely of iscsi with gpxe as the initiator. [19:09] so pay for windows [19:09] we don't need trolling [19:09] if you feel it's unacceptable -- I'm sure you'll file a bug report [19:09] anyways tried putting in a harddrive in the test machine, and now i get the iscsi initiator menu [19:10] thanks for the help [19:10] I thought the test machine was a "thin client"? [19:10] * ball is confused [19:11] its not a real thin client, its a small case with no space for harddrives, and i had to use a laptop with a harddrive in it to make this test ;) [19:12] Then don't call it a thin client if it's not. [19:12] brb [19:16] ...does anyone make X terminals any more? === bguzzardi_ is now known as bguzzardi [19:18] ball: not that I know of -- most of the industry has gone to ISA/RDP/VNC [19:19] giovani: wierd, though I suppose VNC at least gives you hot-desking === incidenc1 is now known as incidence [19:22] I figured out why my USB2.0 card on my server is running so slowly. kernel or udev bug. if you have both 1.1 and 2.0 USB, the 1.1 driver gets loaded first. 2.0 cards have integrated 1.1 controllers also, for legacy devices. so the 1.1 driver sees them, and attaches to them. [19:22] no wonder my backups are so slow :) [19:23] PhotoJim: would a custom kernel help? [19:24] ball: it doesn't look like it. might be worth a try though. [19:24] I could do a custom kernel and remove the 1.1 driver. that would work. but it would mean my 1.1 ports would be inactive. [19:24] or, perhaps, a custom kernel with compiled-in 2.0 support, and a module for 1.1 [19:24] that might work. [19:29] ball: why is that weird? [19:30] giovani: I'm just surprised they're not readily available off-the-shelf any more [19:30] I wonder why. [19:31] because very few people run linux desktops in an enterprise environment? [19:31] RDP/ISA probably accounts for 95% of desktop virtualization now [19:32] giovani: X isn't specifically a Linux thing, but I see what you're saying. [19:33] Oh well, I'll see if I can find some VNC terminals [19:33] X is specifically not a windows thing [19:34] ok [19:34] giovani: true, because Microsoft shun X. [19:34] * ball sighs [19:34] because it has little to no function on windows [19:34] VNC may be the way to go then. [19:34] WYSE makes X Windows thin clients [19:34] http://www.wyse.com/products/hardware/thinclients/S50/index.asp [19:34] giovani: thanks [19:40] hm, I've seen some 2nd hand WYSE thin clients at computer fairs recently [19:40] something Via-based [19:41] ball: that bug for USB is apparently fixed on 2.6.28-10.33 kernel for Ubuntu. I imagine that's only for jaunty, not for intrepid. [19:42] JanC: I'm waiting for the WY-50 to make a comeback ;-) [19:43] I don't remember what type it was, they cost something like 30 euro IIRC [19:43] and they have Windows on them, but running linux supposedly works :P [19:45] I'd go with Sun Ray if they opened up the server software [19:48] JanC: doubtful you can reflash them [19:49] brand new wyse thin clients only cost about $250 USD [19:49] the vendor said he'd put linux on one of them === zul_ is now known as zul [19:49] giovani: that's less than I expected. [19:49] ball: they have to be price-competitive with $400-600 desktops I guess [19:50] given that with thin clients ... you still need the computing power on the backend [19:50] giovani: true enough. [19:50] you can find them on ebay, second-hand for less [19:50] heh, you can buy desktops for 250 USD :P [19:50] I've seen them as low as $100 (the newer models) [19:50] JanC: right, but the TCO's higher [19:50] JanC: unlikely ones an enteprise would buy [19:52] depends on what they are needed for, but actually, a high-end thin client is also powerful enough to be used as a desktop for many tasks :P [19:52] what I mean is ... most enterprises won't be buying the ultra-cheap desktops you're referencing at $250 [19:52] they'll buy dell/hp only, basically [19:53] giovani: Lenovo? [19:54] giovani: you mean they buy a 300 USD Dell that comes with a 400 USD support contract? ;) [19:54] ball: I haven't seen any large companies with lenovo desktops [19:54] JanC: nope, a $600 dell with a $400 support contract [19:54] lenovo's low-end business desktop is $420 retail, btw [19:55] pretty much the same for dell [19:55] hp is slightly more [19:56] but yeah, hardware cost is just the beginning of the cost savings for thin clients ... [19:56] they last longer, much lower support cost, less damage possible, etc [20:07] giovani: last longer than compaq desktops? [20:08] JanC: in that they aren't declared obsolete by Microsoft, yes ;-) [20:08] at my previous job all the old compaq desktops were still running while half-as-old Dell desktops died at a rate of 10-a-week sometimes [20:10] and of course there was the Microsoft problem (Office 2k7 doesn't run on Win2k) [20:10] JanC: iPaq Desktop? [20:11] We have three of those [20:11] Well, two on-site [20:11] one has Windows 2000 and the other Xubuntu :-) [20:12] Compaq Evo desktops [20:12] Ah, we predate those [20:12] D310 and such [20:12] ...bought a dc5800 recently though [20:13] ...and an ML110 [20:13] ...need to try Ubuntu Server on that at some point. [20:14] you can buy stacks of the Compaq Evo D310 and similar HP Compaq models for 30-50 euro a piece here in Belgium ;) [20:15] JanC: nice. I bet I could turn those into VNC terminals :-) [20:15] Oh well [20:15] of course, someone I know builds LTSP setups with these [20:16] JanC: do they PXE? [20:17] ball: yes [20:17] some companies give them for free (it's for schools) but they don't give the hard disk with the PCs of course [20:19] I guess these companies are like: "these fucking machines won't die even if we throw them around, but we want new ones" ;-) [20:20] (take care if you throw with them though, you can easily kill people) [20:21] heh [20:21] Is it difficult to set up a PXE boot server? [20:23] http://www.howtoforge.com/ubuntu_pxe_install_server [20:23] it's a bit old ;) [20:24] I'm sure there are other how-tos, and maybe the edubuntu disk already supports this OOTB? [20:26] JanC: I've heard that it does, if you use the alternate CD [20:27] JanC: considering typical thin clients have no moving parts, and their CPUs don't get outdated the same way desktop CPUs do .. yes ... thin clients can easily stay current for 10+ years [20:28] giovani: I believe you, those compaq desktops are 10yo too, and they are still used to setup LTSP-based school installations [20:31] * JanC wonders if there are any ARM Cortex A8-based thin clients yet? [20:40] I should go. [20:57] is DenyHosts any good ? [20:59] it does what it says i suppose? [21:06] i need help configuring denyhosts.conf [21:13] google should help you do that ;) [21:40] Does anybody know why ubuntu-server uses vim-tiny and not vim [21:41] it's the ubuntu base profile default [21:41] Can we get it changed. It has issues when editing files [21:42] tcross sudo apt-get install vim [21:43] I know, i have done it but if I ever have to install it on another machine I would have to remove tiny. etc. I think the default should be the real vim [21:43] vim-full [21:44] the default is what it is, you'd have to make a pretty good case and convince a lot of people to get it changed [21:44] vim-full autoreplaces tiny i think [21:44] whats not working with the tiny version? [21:44] okay, thanks for talking about it. this is my first time getting ivolved. [21:45] when you get in it seems to have a few commands missing and puts in the wrong characters. I actually dont have to edit my configs for a long time. but from recolection that was what i can remember [21:46] yeh it's a stripped version, dunno why that is, probably because of dependencies [21:46] New bug: #357274 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 None [modified: /var/lib/dpkg/info/mysql-server-5.0.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/357274 [21:47] I actually switched from Centos for my server and was a little annoid at not being able to just type in vi myfile.conf [21:47] I was basically just wondering if there was a reason we use vim-tiny. if we are trying to save a few megs than... [21:48] probably just because of some dependencies, it's in the base install metapackage at least [21:48] all right. thaks for your time acicula. [22:18] hello [22:19] I need know, about of vmail [22:21] christian_: you've been in here many times, and gotten a number of recommendations on getting started with a mail server [22:22] I know, i follow the your instruccions [22:22] but I cant [22:23] then maybe you aren't ready to be setting up a mail server yet [22:23] :( [22:24] now, I configure the postfix and dovecot [22:24] but I dont know the emails of my accounts [22:24] in the /vmail/domain1/user/new [22:24] No exist the email [22:25] does anyone knows how to find out which keyboard X thinks you have? I'm asking here as I'm running server and X was installed by me. I don't have a DE. [22:26] I'm only asking as I have an abnt2 keyboard and my AltGr and right Windows Keys are not showing up on xkeycaps [22:27] (when I press them it says I'm pressing dot and return from the numpad) [22:28] christian_ kerio mailserver you should be able to set that one up it has gui administration tools :) [22:32] there is a patch on lighttpd released 2 months ago that I need for a SOAP service. It is not included in the 1.4.19ubuntu3.1 deb. between installing from source or patching the deb, which sounds prefreble? [22:37] in my mail server [22:37] With the network tools [22:38] the accounts with the another domain [22:39] the account esponse [22:39] but I cant send mail with this doamin [22:45] giovani > tricked the ubuntu instaler into installing on iscsi (also grub) by putting in a usb jumpdrive and removing it again when it prompts for iscsi host ( that way the iscsi drive ends up as sda ), it boots up but initrd cant find root filesystem, so now i just have to build an initrd with iscsi support ;) [22:55] danny1: cool ... you might consider filing a bug report then, to see if the requirement for a HD can be removed given the iscsi=true option, considering it seems technically possible [23:10] It should be posible to make that initrd using this guide http://etherboot.org/wiki/sanboot/debian_etch_iscsi , other dists for example fedora have it buildt in their initrd and they can do completely diskless boots from iscsi with only gpxe as boot initiator, and then ibft takes over when the kernel is loaded. [23:31] hi to all, i am requesting someone for help with setting up a LAMP server using Webmin [23:31] any help out there? [23:33] !webmin [23:33] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [23:33] Given the above, you are unlikely to find help on that here, sorry. [23:34] so how to setup a lamp server with ebox? [23:34] !ebox [23:34] ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox [23:34] :) [23:35] thansk ubottu! [23:35] another question [23:35] i am somewhat new to linux, and servers in general. i am getting help with configuring apache and using it as well as MySQL, thought what about hosting your own domain name? [23:36] say www.mydomain.com <--- on my own LAMP/DNS server [23:36] ok, what's the question? [23:37] is it possible to host your own domain name (www.mydomain.com) on a LAMP/DNS Ubuntu 8.04 LTS server and make it public to the world? as public as say, google.com? [23:37] sure ... that's what you're doing when you set up LAMP/DNS [23:37] that's the entire function of providing those services [23:37] ok. :D hahaha sorry for the idiotic questions [23:37] now. [23:37] ive been reading up on "zones" and "reverse" addresses [23:37] and its all very confusing. [23:38] i've tried several different tutorials [23:38] yeah, these concepts aren't going to be incredibly simple ... they take time to absorb [23:38] right. [23:39] so, what i'm looking for now, is some way to remotely administrate my server (using a web-based control panel [now looking up !ebox]) [23:39] and register my own domain name to the world, and setup a WordPress blog on my machine [23:39] i just need to be pointed in the right direction, where to look, who to ask, etc. [23:40] theres probably no one out there who will take the time and guide me step by step, so i just need help here and there [23:41] honestly, everything you're asking for is offered, in spades, on the interenet [23:41] internet* [23:41] you'll need DNS (either host it yourself, or pay for someone to host it for you) [23:41] and you'll need Apache, with PHP, and a database (most likely MySQL for Wordpress) [23:41] and that's it [23:42] right [23:42] there inlies the problem [23:43] I'm unclear on what the problem is [23:43] i can install ubuntu easilyyyy. i can pre-install (during installation) the LAMP server (so all the software, apache, mysql and PHP is taken care of and install) run updates and upgrades... the problem i need to solve [23:43] is how to make a domain name (www.example.com) public to the world [23:44] you'll need a DNS provider [23:44] sorry for circling here and there. thats the ultimate question: how to setup a DNS server to host a domain name itself [23:44] either host DNS yourself, or hire a company to do it for you [23:44] how do i host DNS myself? [23:44] hosting DNS yourself isn't simple -- I'd advise against it [23:44] !dns [23:44] DNS is an acronym for Domain Name System, and is an internet system used to translate names into IP Address. [23:44] !bind [23:44] Sorry, I don't know anything about bind [23:44] i read up on BIND9 and BIND8 [23:45] https://help.ubuntu.com/8.04/serverguide/C/dns-configuration.html [23:45] when you install the DNS server option while installing Ubuntu itself, it pre0installs BIND8 [23:46] Bleh im stuck, open-iscsi refuses to compile on ubuntu :S [23:46] danny1: why do you need to compile it? [23:46] and by "refuses to compile" what do you even mean? [23:46] giovani thanks for all the help anyway [23:47] ill do some more research [23:47] take care. [23:47] bye [23:47] sebblucas1: I've provided you with specific guides on how to do what you asked [23:47] giovani > need the iscsistart binary [23:47] yes [23:48] and i thank you [23:48] :) [23:48] danny1: what's it used for? ubuntu has an open-iscsi package [23:48] giovani > when compiling i get lots of errors util.c: In function âdaemon_initâ: & auth.c: In function âget_random_bytesâ: and lots more [23:49] giovani > yes i noticed but it does not contain the binary [23:49] well what's the binary for? [23:49] maybe it's been renamed [23:50] i would guess for initiating the iscssi connection [23:50] iscsi* [23:50] well clearly the ubuntu package has to provide that feature [23:51] I see zero mention of "iscsistart" in the Open-ISCSI readme [23:51] that sounds like it could be a distro-specific binary [23:51] and not required at all [23:51] the script i have to run on boot before mounting root fs run this command amongst others : iscsistart -i $iSCSI_INITIATOR_NAME -t $iSCSI_TARGET_NAME -g 1 -a $iSCSI_TARGET_IPADDR [23:52] maybe it's distro-specific [23:52] read the manpages for the binaries included with the open-iscsi package in ubuntu [23:52] hmm the guide is for debian [23:52] that'd be the obvious thing to do [23:53] i noticed that during the ubuntu installer there is a binary called iscsi-start [23:54] I don't see that anywhere in an ubuntu package [23:54] maybe it's only in the installer [23:55] http://209.85.229.132/search?q=cache:z2OwEG2T0vwJ:manpages.ubuntu.com/manpages/jaunty/man8/iscsistart.8.html+iscsistart+ubuntu&cd=2&hl=da&ct=clnk&gl=dk [23:55] that says clearly what iscsistart does :) [23:55] so then what's the problem? [23:55] that's from the ubuntu package [23:56] I told you to check the ubuntu package first [23:56] well that i cant get that binary its not included in any of the packages apt provides me [23:58] it's only supplied in ubuntu jaunty [23:58] probably a new binary [23:58] http://packages.ubuntu.com/jaunty/i386/open-iscsi/filelist [23:59] can i use that binary with hardy ? [23:59] or intrepid