/srv/irclogs.ubuntu.com/2009/04/07/#ubuntu-server.txt

owhYesterday 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:18
giovaniowh: you're talking about a postfix bug?00:19
owhgiovani: I don't think it's a bug, I think it's a "feature".00:19
giovaniowh: ok, what do you want #ubuntu-server to do?00:20
giovaniis there a question?00:20
owhYes, I'm asking if there are thoughts on how postfix might be coerced into doing what I need it to do.00:20
owhOr if there are alternative approaches.00:21
giovaniso you have two ethernet adapters, and both are getting dynamically assigned ips?00:22
owhSome 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
owhYup00:22
giovaniwhy do they both have to be dhcp?00:23
friartuckowh just a thought, postfix should be behind a firewall and nat'd. why don't you set them up with static addresses?00:23
giovaniI'm not sure I'd advise NAT for any server, if avoidable00:25
owhStatic IP is also not really possible.00:25
giovaniyou can't realistically run a mail server on the internet today on dynamic addresses00:25
giovaniyou'll get spam-filtered at most ISPs ... totally prevented from sending mail00:25
owhWell, 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
bytor4232giovani, You have to forward the ports, so it kinda defeats the purpose of NAT.  I totally agree.00:26
owhIncoming mail is via fetchmail.00:26
giovanibytor4232: and NAT is just messy and never advisable unless required00:26
giovaniowh: ok, so you're not running an internet mail server00:26
giovanijust a local one00:26
owhYup00:27
giovaniso I'm still unclear why you can't just issue inet_interfaces = all00:27
giovaniand then have postfix use the default route00:27
giovanilike it will by default00:27
giovaniand listen on both interfaces00:27
bytor4232In the firefox profile directory, which file contains the stored password?00:28
bytor4232oops00:28
bytor4232sorry, wrong channel, sorry00:28
owhgiovani: 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:28
giovaniowh: it "grabs" your default route00:29
giovaniand if it can't resolve dns -- it sounds like your network settings aren't properly configured00:29
owhRight, so if the connected interface gets its IP address after postfix has started, it uses a bogus route and dies.00:29
giovaniuh00:30
giovaniyour dhclient process should be running much earlier than postfix in startup00:30
giovanibesides, how often is this server being rebooted that that's a problem?00:30
giovanimaybe you need to rearrange your startup scripts00:31
owhgiovani: The server is a laptop.00:31
giovani...00:31
giovanisigh00:31
giovanirearrange your startup scripts -- something is wrong00:31
giovanino server processes should be starting before dhclient executes and finishes00:31
giovaniotherwise they'd all have this problem00:31
owhWell, 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
giovanihaha00:32
giovanithis isn't a postfix problem00:33
owhExcellent.00:33
giovanithis is a ... don't run mail servers on laptops  with dual dhcp nics problem00:33
owhROTFL00:33
owhThanks, that was helpful :)00:33
giovaniwell, be serious00:33
giovanithis setup of yours creates tons of problems00:33
owhI'm open to suggestions.00:33
giovanidon't use a laptop00:34
giovanifor your mail server00:34
giovaniand why, if this is just an internal mail server, can you not use static ips?00:34
owhBecause it's a laptop and it moves around - onto other networks :)00:34
giovaniwell don't do that00:34
giovanisounds like you need an internet mail server00:34
giovanieither sitting at home on stationary hardware, or out on the internet on a $5/mo VPS00:35
cjwatsonowh: restart postfix in /etc/network/if-up.d/ once everything is up?00:36
owhThere 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
owhcjwatson: Will the id-up.d scripts run if Network Manager is in control?00:36
giovaniyep, that's actually a decent idea00:37
giovanilet's see if it works00:37
owhHmm, 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:38
owhThere is also one in if-down.d - also reloads.00:39
owhWhat if I change reload to restart - any nasty side effects anyone can think of?00:40
owhYou know, like mail vanishing that is currently being sent, "little" things like that?00:41
owhBRB00:47
owhHmm, 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
uvirtbotLaunchpad bug 336736 in network-manager "NetworkManager does not call /etc/network/if-pre-up.d scripts" [Medium,In progress] https://launchpad.net/bugs/33673600:50
wizardslovakhello people01:52
wizardslovaki am new to ubuntu server and i got couple questions01:52
wizardslovaki am about to to fresh install of os and how should i do my hard drive?? i mean boot, / , swap and more01:53
twbwizardslovak: how many users?  One, or more than one?01:54
wizardslovakthis will be my personal server for test and study purposes and LAN for now01:55
p_quarleswizardslovak: in addition to number of users, it really depends on what kind of applications it will be running01:55
wizardslovakadmin only me users only me01:55
twbwizardslovak: 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
wizardslovaki want to do web server (apache , mysql,php)01:55
twbOK, so it's a LAMP server?01:56
wizardslovakyes01:56
twbwizardslovak: are you using software RAID?01:56
wizardslovakthis is my old machine celeron 2.4 , 512mb 80gb hda01:56
wizardslovakno01:56
wizardslovakits for study purposes , i always wanted to learn servers and command line01:58
p_quarleswell, 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 machine01:58
twbI recommend you use LVM, first of all.01:58
twbLVM allows you to change your mind later.01:58
wizardslovaklogical volume manager?01:59
twbSecondly, 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
wizardslovakwhy?01:59
twbwizardslovak: yes.01:59
twb11:02 <twb> LVM allows you to change your mind later.01:59
twbLVM allows you to resize partitions or move them between disks *while the system is running*.01:59
p_quarlesyeah, for experimental stuff, it's hard to say in advance; better to put yourself in a position where you can change things as needed01:59
wizardslovakwell thats what i wanted how many Gbs to what01:59
twbIt's good to use LVM and only allocate what you need short-term, then lattr allocate more space when you need it02:00
twbe.g. 4GiB for root and 100GiB for /home (on a file server), and leave the other 376GiB unallocated.02:00
wizardslovaklol i got only 80gbs for now02:01
p_quarleson an 80 gb hard drive???02:01
wizardslovakyes02:01
twbwizardslovak: so allocate 4Gib and 10GiB.02:01
wizardslovakok 4gb root, 1.5gb swap and 10gb /home02:02
twbIt doesn't matter if you screw up with LVM, because you can allocate more later.02:02
p_quarlesthat system's unlikely to swap unless you go live with a high-traffic sight, so minimal swap should be okay02:02
p_quarleslike 256MB02:02
twbwizardslovak: well in your case you probably won't have anything in /home, right?02:02
p_quarlesagain, you can increase as necessary02:02
twbRight.02:02
wizardslovakwell no02:02
p_quarlesit might actually not make any sense to use a separate /home partition then02:03
p_quarlesseparate /var would be more useful, if anything02:04
wizardslovakwhere then i will install lamp and www docs?02:04
p_quarlesthe default httpdocs directory is /var/www02:04
p_quarlesyou can change that to anywhere you like, but might as well leave it as is until you have a specific reason to change it02:05
p_quarlesthe elements of the LAMP stack go in /usr, /etc, and /lib02:05
wizardslovakso 4gb root lest say 1gb swap and ??02:08
Dammwhat's a sane way to get hardy to get glibc 2.802:17
DammI need a patched pthread in hardy that just doesn't seem to exist in Ubuntu that exists in Debian02:17
Damm:|02:17
twbDamm: why 2.8?02:18
twbDamm: Debian, at least, never even shipped that (AFAIK).02:19
twbIf 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:20
Dammtwb, I'd rather upgrade to Jaunty02:23
Dammif i have to do that02:23
Dammtbh02:23
twbFair enough.02:23
Dammis Jaunty going to be LTS?02:24
twbCherry-picking from ubuntu+1 is safer than cherry-picking from Debian.02:24
Dammor Karmic Koala?02:24
twbKoala?  Bah.  I would have chosen Kookaburra.02:24
owhNot if the world is watching a Koala being watered during a bush fire :)02:24
p_quarlesthere was a two year interval between the last LTSs, so I'd guess the next one won't be at least until 10.0402:25
twbI concur with p_quarles02:25
Dammnaah02:25
Dammyep p_quarles02:25
Dammi saw that02:25
Dammwelp i might as well go Jaunty and see if it fixes it, if not I can reinstall02:26
Dammdefinetly easier then trying to apt-get dist-downgrade02:26
Dammgetting Ulrich to admit pthread bugs is like02:27
Dammtrying to scale the chrysler tower with 2 fingers02:27
Dammor is that too polite?02:27
wizardslovakshould i install lamp in os install or wait and install it later?02:27
twbDamm: 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:27
Dammtwb, reinstalling takes 15minutes02:28
Dammand it's automated02:28
twbDamm: well, if you have preseeding and know exactly what you want02:28
Dammtwb, no it's fai02:28
Dammand i didn't set it up02:28
p_quarleswizardslovak: I would install it later with tasksel; I recall that giving you more options02:28
twbYeah, fai is preseeding02:28
Dammbut by god it's easy enough to get done02:28
Dammwhen I have time I'll do the preseeding02:28
twbI'm not really a fan of FAI, I'd prefer a combination of manual preseeding and puppet.02:28
* Damm stabs puppet with a fork.02:29
Dammchef 4ever02:29
twbNot that I like puppet...02:29
wizardslovaktasksel??? can i use apt-get?02:29
p_quarleswizardslovak: tasksel is another front-end for dpkg, like apt-get; it's useful for deplying common setups, like lamp02:30
p_quarleswizardslovak: sudo tasksel install lamp-server02:30
cjwatson(tasksel is a front-end for apt-get/aptitude, actually)02:30
p_quarleswizardslovak: or tasksel --list-tasks for the options02:30
wizardslovakwhats the difference btw tasksel and apt-get and aptitude02:31
p_quarlescjwatson: which is a dependency resolving front-end for dpkg02:31
twbDamm: there's no wikipedia article for Chef, so it's obviously no good!02:31
cjwatsonp_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-get02:31
p_quarlescjwatson: true; tasksel is only useful if you want to deploy a common default; for wizardslovak's purposes, though, the default lamp stack should be ideal02:32
cjwatsonwizardslovak: 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:32
cjwatsonI basically agree with p_quarles though, just nitpicking :-)02:33
p_quarles:)02:33
Dammtwb, www.opscode.com02:33
Dammit's amazing that tasksel is pretty much the same as it was in Debian Potato02:35
twbThat's because nobody uses tasksel except newbies02:38
cjwatsonDamm: pretty different internally though :)02:38
owhtwb: Hmm, newbies eh?02:38
wizardslovaknewbies??02:39
wizardslovaki always used apt-get02:39
Dammcjwatson, I would hope so.02:40
Dammif the code stagnated from old versions of libc5 and still works on current glibc02:40
twbowh: yeah; tasksel's main job is to provide newbies an easy way to opt-in to getting Xorg and gnome installed :-P02:40
Dammwell you'd have to give that person a medal02:41
owhtwb: ROTFL02:41
cjwatsonDamm: it's in perl, so libc is not all that relevant02:41
Dammrofl02:41
Dammthat figures shows you how much I use tasksel02:41
cjwatsonDamm: and potato didn't use libc502:41
Dammpotato had elf02:41
Dammthat i do recall02:41
twbDamm: well, I noticed that ubuntu-server has some fancy different tasksel tasks02:42
Dammtwb, i hasn't noticed02:42
Dammfai kinda gets in the way of ubuntu being useful02:42
twbThere's now tasks like "I want lots of security holes", i.e. LAMP02:42
cjwatsonthe libc6 transition was in bo, two releases before potato02:43
cjwatsonerr, hamm, not bo02:43
Dammright02:43
Dammbut ole fashioned libc502:43
Dammor old libc was potato02:43
cjwatsonno it wasn't!02:43
Dammnot this new fangled stuff that Ulrich sold us on02:43
cjwatsonpotato was two releases after Debian switched to libc6; it did not use libc502:43
cjwatsonnot for anything of any importance anyway02:44
Dammused libc4?02:44
cjwatsonit used libc6. 5+1.02:44
cjwatsonI'm not sure how to be any clearer :)02:44
* Damm runs in terror02:44
Dammyou can't02:44
Dammand I've hit the moment that I can't takes no more02:44
* Damm remembers why he ran to freebsd from Debian now02:44
twbHey so guys, a stock ubuntu-server 8.04 install, and I deliberately break filesystem mounting (by removing /srv's disk).02:45
twbI get dropped into a recovery shell... in which /bin is not in $PATH02:45
twbSorry, /usr/bin is not in $PATH02:45
Damm/usr/bin/ls?02:45
twbYes, obviously02:45
cjwatsonDamm: (http://www.debian.org/doc/manuals/project-history/ may help to keep track of the codenames)02:45
twbBut the question is: how did it get to that point?02:45
twbPATH is /sbin:/bin02:46
cjwatsonthere are some code paths where you only get /bin and /sbin I think02:46
cjwatsonI usually just stick /usr/sbin and /usr/bin in there and don't worry about it02:46
twbI 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 reason02:47
cjwatsonthe unified PATH in /etc/environment is only effective for PAM sessions02:47
cjwatsonanything else gets to fend for itself so you may notice some desynchronisation02:47
* Damm laughs02:47
Dammwell that's a horrible way of making /etc/profile cleaner then02:48
twbcjwatson: this is clearly a bug, because if I manually run "bash -l", it also lacks PATH02:48
twb*lacks a proper PATH02:48
cjwatsontwb: it'll just inherit it from the parent02:48
cjwatsonoh, -l? not sure.02:48
twbcjwatson: I expect the system-wide PATH default to be set in /etc/profile or some other similar place02:48
cjwatsonsulogin should probably sort it out.02:48
cjwatsonthe problem with /etc/profile was that we got a different kind of desynchronisation02:48
cjwatson/etc/profile only applies to Bourne-style shells; there are a number of processes that start up in other ways and need a PATH02:49
twbcjwatson: yeah, you're right, this problem is caused by PATH setting being moved from /etc/profile to /etc/environment in Ubuntu02:49
twbcjwatson: that's a fair point02:49
cjwatsonand this actually was a practical problem - see http://wiki.ubuntu.com/OneTruePath02:50
twbThanks, looking02:50
twbcjwatson: btw, has this issue propagated into the Debian BTS?02:50
cjwatsontwb: I don't think so02:51
twbsulogin does NOT fix it, BTW02:51
cjwatsonwhen I said "should", I meant "ought to be made to" rather than "I believe it does so now"02:52
cjwatsonstupid English language02:52
twbSorry, I misunderstood.02:52
cjwatsonactually, it's curious that this happens at all, because upstart sets PATH02:53
cjwatsonand apparently has done since August 200602:54
twbI wish upstart hadn't been deployed until metainit was actually ready.02:54
twbI just don't see the benefit of upstart when it has to then go through a sequential sysvinit-compat layer02:55
cjwatsonmetainit couldn't have been made ready without experience with the initial deployment of upstart02:55
cjwatsonand the deployment was a lot easier this way02:55
cjwatsonScott does actually know what he's doing02:55
cjwatson(I'm not sure whether we'll actually use metainit, but.)02:55
twbI really meant "deployed as the default"02:56
infinityIt had to be the default to get tested.02:56
infinityDouble-edged sword, really.02:56
twbOn an unrelated note: upstart's shutdown(8) has no way to force a fsck on reboot...02:56
twbinfinity: yeah, I guess...02:56
infinityWe needed the intermediate sysvinit-compat rollout to be able to use it at all.02:56
infinitytwb: 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:57
twbEven fsck -f?02:58
twbIt takes a long time to do nothing...02:58
cjwatsonall that shutdown -F ever did was to touch /forcefsck before shutting down.02:58
twbI figured it was something like that02:58
infinityAnd, FWIW, checkroot.sh still honors that file.02:59
twbinfinity: ah, cool03:00
twbI just didn't remember what the exact name for the file was, or I'd have just touched it03:00
twbAs it is I'm plugging the root filesystem into my laptop to fsck -f -- it's a USB key :P03:00
infinity-f touched /fastboot, and -F touched /forcefsck03:00
infinityBoth are referenced in /etc/init.d/checkfs.sh03:00
cjwatsonwould be worth a bug to add those options, since they're trivial03:00
infinityThough it might be nice for you to file an upstart bug to get those options back in.  *shrug*03:01
twbIs there actually a way to defragment ext2?03:02
infinitySome people have written some tools.  Nothing that I've ever trusted, mind you.03:03
infinityext* 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
twbYou could do one that just called sleep(size-of-disk) :-)03:04
Dammamazing ubuntu did something right with libtool03:07
Dammyay03:07
twbcjwatson: regarding bash; I suggest making the default /etc/profile say something like "if path is <silly>, source /etc/environment"03:09
twbSince AFAICT that would be exactly a no-op for login shells that *do* go through pam_environment.so03:10
cjwatsontwb: /etc/environment is not guaranteed to be sourceable by a shell03:10
cjwatsontwb: it may happen to be in many cases, but the format is not the same as shell03:10
cjwatsonso it gets a bit tricky03:11
cjwatsonI'd rather fix the (few) places that are still showing up with broken paths03:11
twbcjwatson: it's not just lines of X=Y?03:11
twbYes, obviously actually fixing things is preferable :-)03:11
cjwatsonthe quoting rules are not the same as shell.03:11
twbcjwatson: ah, fair enough03:11
Dammhttpd: pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.03:12
Dammwell damn it's still there03:12
Dammi bet this is something in apache03:12
=== UdontKnow is now known as \0
=== \0 is now known as UdontKnow
starr0stealerhi everyone03:58
starr0stealeri have some questions on how i should setup a new server, for a apache mysql server04:01
ScottK!ask04:15
ubottuPlease 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. :-)04:15
vexicI have a question about setting up LAMP if anyone can help.05:21
anthony1Good morning05:45
anthony1Anyone available for a networking question on Ubuntu Desktop 8.04.2 ?05:45
anthony1I 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.105:45
anthony1I am able to assign a static IP address and DNS server information and connect just fine05:46
anthony1WEP is enabled on both the Verizon FIOS wireless router and Linksys wireless bridge05:46
anthony1I've tried #ubuntu and they suggested I try here05:47
twbanthony1: all I can think of to try is packet sniffing05:50
anthony1I don't understand how that would help05:50
twbanthony1: it will tell you if the DHCPREQUEST is hitting the router05:51
twbI'm assuming you actually have a shell on your DHCP server / router05:51
anthony1If so, I am unable to access via telnet or SSH05:52
anthony1There's a web interface but that's all I have access to05:52
twbI'd also obviously try turning off networkmanager, which always breaks everything.05:52
anthony1lol05:52
twbAnd I'd try running dhclient manually and watching its output05:52
anthony1twb, if you're still there, I got randomly disconnected05:59
twbYou can see that I'm here from /names05:59
anthony1Thanks05:59
miyakocould 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)05:59
anthony1twb: did you see the flood of output from dhclient?06:00
twbanthony1: no.06:00
twbanthony1: you should not be flooding the channel anyway06:00
twbanthony1: use a pastebin06:01
anthony1Long story short ....... No working leases in persistent database - sleeping.06:01
twbThat means it gave up06:01
twbMy other suggestions remain06:01
anthony1Say it again?06:01
twbanthony1: make sure network manager isn't running or installed.  ssh into your DHCP server / router and packet sniff there.  Packet sniff locally.06:02
twbOh, and look for suspicious output near the bottom of dmesg06:03
anthony1Thanks06:03
anthony1Ok06:03
=== 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
uvirtbotNew 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/35681807:41
uvirtbotNew bug: #352391 in dhcp3 (main) "AppArmor prevents DHCP from getting address" [Undecided,Incomplete] https://launchpad.net/bugs/35239107:42
Zubbbhello, 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:02
oh_noesCan 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 --mirror08:29
oh_noesor any other workaround I can try to get the same end result?08:29
uvirtbotNew 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/35509108:41
uvirtbotNew bug: #356851 in samba (main) "Sharing cups disables entire system with segmentation faults" [Undecided,New] https://launchpad.net/bugs/35685108:46
oh_noesAnyone know how to install jre with vmbuilder?08:58
twboh_noes: icedtea or sun?08:59
oh_noessun-java6-jre09:00
oh_noesBasically, if I try to install it vmbuilder fails because of the deb package prompting for user to accept the license agreement09:01
twboh_noes: provide the answer to that prompt in a preseed file09:04
twbdebconf-set-selections <<<'sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true'09:05
twbdebconf-set-selections <<<'sun-java6-jre shared/present-sun-dlj-v1-1 note'09:05
oh_noesThanks.  The problem is I dont know how to provide that answer with vmbuilder09:11
twboh_noes: me either; sorry.09:24
=== 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
CrummyGummyHi 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 swappiness10:17
CrummyGummyis 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?10:18
=== mdz_ is now known as mdz
simplexioCrummyGummy: killall java takes care java programs10:46
CrummyGummywow, thats amazing.10:53
CrummyGummy"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.10:55
simplexioCrummyGummy: well. no idea why it dosent swap, bu killing stuff helps to solve problem11:05
simplexioCrummyGummy: like see dmesg and seei f there has been anyproblems11:06
simplexioCrummyGummy: what kernel you use, i had problem with 2.6.27-7-server that it would oops when using dmraid0 swap drives11:07
CrummyGummy2.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
CrummyGummyerm s/Id/did/11:10
quizmehow do i install glib-2.0 ?12:01
cjwatsonquizme: 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:20
jurismI 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
quizmecjwatson yes exactly. thanks!12:25
quizmecjwatson:  Couldn't find package libglib2.0-0-dev12:26
jurismWill reboot -f help? I have only remote terminal available...12:27
cjwatsonquizme: read what I said very carefully. You appear to have mistyped.12:37
quizmecjwatson ok thanks12:37
simplexioquizme: do you mean /etc/init.d/apache2 start dosent work ?12:53
simplexioquizme: 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 runnign12:55
jurismhttp://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!13:51
orudie!seen ivoks14:13
ubottuI have no seen command14:13
=== adam7_ is now known as adam7
fevelhello14:35
fevelmy 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
fevel*skipped14:36
pascalouhi here, anyone has a very cheap drive bay (16TB) to suggest in order to do drive to drive to tape backups ?14:40
maxbfevel: Have a look at /etc/udev/rules.d/70-persistent-net.rules14:46
fevelyoure the man maxb14:48
fevelmaxb: how can I reset this file gracefully?14:49
maxbI think you can just edit it14:50
fevelok14:50
maxbYou can delete entries from it if you want it to regenerate them at next boot14:51
=== paul_ is now known as orudie
=== Zaraphrax is now known as Zaraphrax[Away]
jamesrflaI 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 is15:04
sommerjamesrfla: 11:00am15:06
jamesrflathanks sommer it looks like there is some other meeting going on in there right now. Be back at 11AM15:07
Doblehi - 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
ballDoble: "top"15:22
ball(in a terminal window)15:22
Dobleball: ahh cool, cheers!15:23
ballDoble: you're welcome.  That's common on most unix/Linux/BSD systems15:24
Dobleball: great, reading the man page now15:26
ballman pages are a good thing.15:27
giovaniDoble: you might also be interested in installing "htop"15:30
giovaniit's more featureful than top15:30
* ball wasn't aware of htop15:30
giovaniI would die without it15:30
giovanihttp://htop.sourceforge.net/15:30
Doblegiovani: 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
giovaniDoble: nagios monitoring is hardly a replacement for a process viewer15:31
giovanibut, it's definitely something you should incorporate also15:32
Doblegiovani: yes indeed, cheers15:33
Doblewell 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:34
giovaniwhat's the public ftp for?15:35
ballWhy public FTP?15:35
Doblewhen I say public, I mean its accessible from the internet, you still need a user/pass to access it :)15:36
giovaniwhy ftp at all?15:36
DobleI wanted to transfer some files from work15:36
ivoksah, no, not again... :)15:36
giovaniuse scp/sftp15:36
ivoksor webdav15:36
ivokswith ssl15:36
giovaniftp is incredibly insecure, both in its lack of protection for your username/password, and for the data15:36
Dobleyeah, I'm aware of the insecurity ... I'll look at what you suggested15:38
giovaniwell ... on top of that, ftp requries extra software, scp/sftp doesn't15:38
giovani(they're built in with openssh-server)15:38
Doblehm, I wasn't aware of that ... I'll check it out15:39
giovanireally, I'd immediately remove ftp from use15:39
giovaniit has no function for you15:39
ivoksgiovani: windows clients have ftp client by default, but not sftp/scp15:40
giovaniivoks: I'm quite aware of this15:40
ivoksgiovani: and you could even say that's the same case with OSX15:40
giovaniuh, since when?15:40
giovaniosx doesn't have openssh client by default?15:40
ballpsftp ftw15:40
ivoksgiovani: most of OSX users look at Finder as OSX, not the whole package15:41
ballivoks: MacOS X ships with sftp15:41
giovaniivoks: well, that's an inaccurate statement then15:41
giovanianyway, none of this is relevant15:41
ivoksi said 'and you could even say that's the same case with OSX'15:41
giovaniwe're talking about Doble, not "any user on the planet"15:41
giovanisurely if he can manage an irc client, he can manage an scp/sftp client15:41
giovaniotherwise, it sounds like you just want to start an argument for no reason15:42
ivoksi thought he was setting up server for other users, not for him self :)15:42
giovaninope ... we asked15:42
giovanihe said it's for himself, at work15:42
ivoksok then15:42
Doblethis 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
Dobleinstead of windows server15:43
Dobleso i appreciate the info15:43
giovaniDoble: all depends on the function, and what your level of knowledge is ...15:43
giovaniI'd recommend against stepping in and replacing windows servers at work until you're quite confident in your skills15:44
Dobleof 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 now15:45
Dobleprobably hugely insecure, unpatched and would make most sysadmins cry, but such is the place where I work :)15:46
Doblegiovani - 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 help15:50
jamesrflayeah I get to go to my first Ubuntu Server meeting :)15:51
jamesrflaI don't get to go to them because I am in school at 11AM Eastern US time15:52
ttxServer team meeting in 3 minutes in #ubuntu-meeting.15:57
jamesrfla+1 ttx15:57
Dobleis there a way to get a listing of packages I've installed with apt-get ?15:57
abcdasdsorry, my connection dropped and i dont know if this got through - is there a way to get a listing of packages installed?15:59
cjwatsondpkg -l | grep ^ii16:00
cjwatsonor dpkg-query -W, perhaps a more convenient format16:01
abcdasdcrikey thats quite a lot16:01
giovaniyep ... there are a lot of applications16:03
abcdasdokay, per your advice giovani, i've removed vsftpd, but when I do a dpkg -l it still shows up in the list16:04
giovaniyou probably didn't dpkg -l | grep ^ii16:05
giovaniwhich only shows installed packages16:05
abcdasdahh, there we go, thanks16:06
abcdasdsorry cjwatson, i thought that the ^ii was some kind of weird smiley! haha16:07
ycyhi there16:09
jamesrflaHi ycy16:09
ycyI 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:09
ivoksapt-listchanges maybe?16:10
sommerycy: apticron does a pretty good job of that16:10
ivokstimtowtdi16:11
ycythank you16:11
abcdasdgiovani: 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:18
abcdasder, this is doble by the way, my nick has gone a bit strange, heh16:19
=== abcdasd is now known as Doble
christian_hello I need use a e-mails accounts with postfix and dovecot16:21
giovaniDoble: you don't ...16:27
giovaniDoble: what files are you trying to change?16:27
ivokschristian_: ?16:31
ivokschristian_: you want to setup mail server?16:31
Doblegiovani: 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 PC16:34
giovaniyou should be doing so on the server, honestly16:34
giovaniyou could open root login, but, most ubuntu folks would advise against that16:35
giovanibetter to ssh into the server, and use sudo with a text editor there16:35
Dobleyeah, i agree16:36
christian_yes I need setup a mail server16:38
jamesrflathanks ivoks and sommer16:38
DobleI 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 server16:38
jamesrflachristian_: I recommend Citadel Mail server for beginners16:39
ivokschristian_: https://help.ubuntu.com/community/MailServer16:40
ivoksjamesrfla: this is an ubuntu channel16:40
ivoksanyway... take care16:40
jamesrflalater everybody have to work on some homework :(16:41
darkside_simmonsgood day everyone...16:45
ballhello darkside_simmons16:46
darkside_simmonsi was looking trying to join the team...I have been using ubuntu server for awhile and deployed multiple web servers, email servers etc16:47
balldarkside_simmons: do you use Samba for file servers?16:48
christian_thks16:48
darkside_simmonsyea I have been16:48
darkside_simmonssetup domain server for xp and few simple login scripts with rights16:49
Dobledarkside_simmons: I'm learning the linux way too :) coming from a windows environ16:50
darkside_simmonsyea its fun :) if your a technical guy like myself16:51
balldarkside_simmons: One of my users whinges incessantly about not being able to write-protect a file16:51
ballI can't figure out how to map Windows file permissions to an ext2 filesystem16:52
darkside_simmonsi used ldap group policies16:53
darkside_simmonsand then setup each windows account on my domain server16:54
Dobleball: maybe this will help - https://help.ubuntu.com/8.10/serverguide/C/samba-fileprint-security.html - look under share security, about 3/4ths way down16:54
orudie!seen ivoks16:57
ubottuI have no seen command16:57
vexicI have a question about setting up LAMP, would anybody be able to help?17:01
andol!ask17:01
ubottuPlease 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:01
darkside_simmonswhats going on17:02
ballDoble: thanks, it's almost useful.17:02
vexicThanks.  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:03
ballvexic: do you have Lynx installed?17:04
ball(on the server)17:04
darkside_simmonshttps://help.ubuntu.com/8.10/serverguide/C/samba-dc.html that may help too doble17:04
vexicball, no i don't think so17:04
darkside_simmonsoops i mean ball17:04
ballvexic: "sudo apt-get install lynx" perhaps17:05
vexicball: 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
darkside_simmonsvexic you are trying to see the basic apache server test pages I assume???17:06
vexicdarkside_simmons: correct17:07
ballvexic: once you have it installed, type "lynx http://localhost/"17:07
ball...and let us know whether you see your content.17:08
vexicball: 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:11
ballvexic: can you ssh to your server?17:12
darkside_simmonsvexic: yea or can you ping the pc17:12
vexicball: 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
darkside_simmonsifconfig or ifconfig eth0 to see you network interface status17:13
ballvexic: so you can see the Web pages from Firefox run on the server, but not from other machines on the same LAN?17:16
vexicball: that is correct17:17
ballvexic: sounds like a firewall issue.  Are you using the machine's IP address for the URL?17:17
ball...or a hostname?17:17
vexicball: i'm using http://localhost17:18
darkside_simmonsvexic need to determine if the computer is on the network can you go to google or any other website fine17:19
ballvexic: that won't work from the other machines on the LAN though.17:19
ballWhat are you using there?17:19
vexicball: 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:20
ballvexic: 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:21
vexicball: cool , thanks.  Could you tell me where I would set the hostname, so I don't have to use the ip?17:22
ballvexic: that's non-trivial.17:22
ballStick to the IP address for now.17:22
darkside_simmonsball 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 traffic17:25
balldarkside_simmons: no idea on Linux, sorry.17:25
=== ogra_ is now known as ogra
zoopsterdarkside_simmons: have you looked at analog?17:34
darkside_simmonsno I haven't17:36
darkside_simmonsneed something for the terminal or sql/web based since I don't have a gui on the servers17:36
balldarkside_simmons: you can run Xclients on a machine with no graphics hardware.17:36
ball(no mouse, graphics card etc.)17:37
darkside_simmonstell me more well I guess I can google it17:37
balldarkside_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
ball...just as though you were running it locally.17:39
ballX is great like that.17:39
ballMacOS X ships with an X server17:40
ball...most unices do.17:40
darkside_simmonsthat is wicked.....save me from getting another pc what i was thinking off17:40
ballWe've had that since the mid 1980s I think17:42
ballWelcome to the late C20th ;-)17:42
JanC198417:43
ballJanC: there you go.17:43
balldarkside_simmons: when people say that X is "network transparent", that's what they're describing.17:44
JanCX1 wasn't nearly as useful as X11 though  ;)17:44
ball...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:44
ballX11 is a Good Thing17:45
ballJanC: are you in Michigan?17:45
JanCno17:45
ballAh, different JanC then ;-)17:46
danny1How 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
danny1Because its a diskless thin client.18:16
balldanny1: why would you install Ubuntu on a diskless "thin client" box?18:17
danny1Right 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:22
ballWhat is AoE?18:24
giovaniATA over Ethernet18:24
balldanny1: Ah right, I wrote quite a lengthy email this morning about server-based computing18:24
ball(thin clients, graphical terminals etc.)18:25
giovanithis doesn't sound like server-based computing, honestly18:25
giovanithis sounds like virtualized storage for distributed desktops18:25
giovaniI 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 management18:26
danny1already 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 device18:26
danny1thats 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:27
giovaniprobably because it's pretty rare to run desktops on virtualized storage :)18:28
danny1still i should be able to get the iscsi initiator menu during the ubuntu server instalation, with the iscsi=true option18:31
giovaniis that documented somewhere?18:31
danny1the 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:34
giovanialright, let me pull up a VM and test it myself18:38
giovaniyou're using the 8.04 server install cd?18:38
danny1yes18:39
danny1tried the 8.10 dvd aswell18:39
danny1when 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 hehe18:41
giovaniesc?18:44
mindnulljust 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
giovanimindnull: "doesn't boot from raid" -- be more specific? what happens?18:45
danny1giovani > Escape the key in the left upper corner18:46
giovanidanny1: you sound like you're describing the grub menu ... not the installer18:46
mindnullskips it and goes to PXE18:46
giovanimindnull: sounds like your raid card/bios aren't properly configured18:46
mindnullit 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 PXE18:47
giovaniuh18:47
giovaniA: and C: are dos/windows terms18:47
giovanimaybe you didn't do your partitioning/mbr correctly in the install18:47
giovanidanny1: are you sure you aren't modifying grub boot options of an existing install?18:48
giovanithe ubuntu installer has a big ubuntu logo, and selects language, and then asks you to press F6 to change install options18:49
mindnullused 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 settings18:49
danny1giovani > 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 etc18:49
giovanidana_good: iscsi=true worked perfectly for me18:50
giovaniI think you did something incorrectly18:50
giovaniboot 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
giovaniI put "iscsi=true" before the "--" at the end of options18:50
giovaniworked just fine18:51
danny1<giovani> 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 line18:52
dana_goodgiovani: i was working on some iSCSI stuff, but i think you're talking to someone else18:53
giovanidanny1: well don't do that ...18:53
giovanidanny1: there are a bunch of installer options you need to have in there ... that ubuntu provides, which clearly you're not providing18:53
giovaniit says "F6 for boot options" -- follow that, it worked perfectly for me18:53
giovanidana_good: yes, sorry, tab-nick completion18:53
danny1that will be adding iscsi=true after quiet already tried that without luck, tried it again right now still no luck18:56
giovanihow are you evaluating if it worked that quickly?18:56
dana_goodgiovani: 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=true18:56
giovaniyou don't know until 10 questions into the installer18:56
danny1i have a laptop right beside me i tested it on18:57
giovaniand what happened? you went through the installer in 2 minutes?18:57
danny1i get to the part where it should start the disk part or the iscsi initiator, but instead it says "No disk drives found"18:58
giovaniwell ... you're gonna have to have a physical disk ...18:59
giovaniotherwise how is the computer going to boot?18:59
danny1gpxe19:00
danny1;)19:00
ballgiovani: USB flash :-)19:00
giovaniwho says that's supported, danny1?19:00
ballI suppose that counts19:00
ball...as a disk.19:00
giovaniit works perfectly for me ... and I have a local disk19:00
giovanibut it asks me for my iscsi server19:00
giovanijust like it should19:00
danny1first i know it works, that how we boot our diskless xp machines atm, no floppy no cdrom no usb keys, only gpxe chainloaded from pxe19:01
giovaniI didn't say that it COULDN'T work19:01
giovaniI said ... who said gpxe iscsi booting with ubuntu installer is supported?19:01
giovaniclearly ubuntu can install to an iscsi target ... I just tested it19:01
giovaniso, your complaint seems to be different now19:02
* ball hits the big blue button on the complaint-o-matic19:02
danny1well might be my cd thats to old, dont remember if its a plain 8.04 or 8.04.1 or 8.04.219:02
giovaninope, your cd is probably fine19:02
giovaninobody said you could do away with physical disks though19:03
giovanithat's not the same thing as saying "iscsi target installing is supported"19:03
giovaniclearly iscsi target installing is supported -- but maybe not in the specific, and unusual way that you want19:03
* ball sighs19:03
ballI'm tired.19:03
ball...but I have a window to scrub19:04
giovanicleaning windows does suck19:04
danny1heh how that that being unusual, whats the idea of booting the system of san when you need to have a physical disk ^^19:04
giovanidanny1: so that you don't need a huge physical disk ... and storage is centralized19:04
ballgiovani: this one has encrusted...gunk on it.19:04
ball...possibly even between the panes.19:04
ball(double-glazed)19:04
ballHandy having a local disk anyway, for swap.19:05
giovaniand an MBR ...19:05
giovaniI don't know why you aren't just using true thin-clients anyway19:05
giovaniit's a lot less work, and less cost and etc19:05
danny1gaah gpxe can load the mbr of the iscsi target19:05
ballgiovani: I was writing about those earlier today19:05
giovanidanny1: great ... who said that's supported by the ubuntu installer? did anyone represent that?19:06
ball...need to figure out how to do that stuff.19:06
danny1maybe because this is what we got, buying new machines would be more expensive than buying new windows licenses ;)19:06
ballgiovani: X terminals ideally.19:06
ball...though Sun Ray at a pinch.19:06
balldanny1: TCO though?19:06
giovanidanny1: you can use normal computers as real thin clients19:06
giovaniwe do19:06
giovaniwe have wyse thin clients, and some regular desktops19:07
giovanibut the regular desktops have HDs in them19:07
giovaniit's just amusing that you think because something can be done, theoretically, that it must be supported by ubuntu19:07
balldanny1: this thing you've got, it can boot via PXE?19:08
danny1well i dodnt think that it was a half ass job ;)19:08
giovaniit's not half-assed19:08
giovaniit's iscsi target support, nothing more19:08
danny1even windows 2008 server can boot entirely of iscsi with gpxe as the initiator.19:08
giovaniso pay for windows19:09
giovaniwe don't need trolling19:09
giovaniif you feel it's unacceptable -- I'm sure you'll file a bug report19:09
danny1anyways tried putting in a harddrive in the test machine, and now i get the iscsi initiator menu19:09
danny1thanks for the help19:10
ballI thought the test machine was a "thin client"?19:10
* ball is confused19:10
danny1its 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:11
ballThen don't call it a thin client if it's not.19:12
ballbrb19:12
ball...does anyone make X terminals any more?19:16
=== bguzzardi_ is now known as bguzzardi
giovaniball: not that I know of -- most of the industry has gone to ISA/RDP/VNC19:18
ballgiovani: wierd, though I suppose VNC at least gives you hot-desking19:19
=== incidenc1 is now known as incidence
PhotoJimI 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
PhotoJimno wonder my backups are so slow :)19:22
ballPhotoJim: would a custom kernel help?19:23
PhotoJimball: it doesn't look like it.  might be worth a try though.19:24
PhotoJimI 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
PhotoJimor, perhaps, a custom kernel with compiled-in 2.0 support, and a module for 1.119:24
PhotoJimthat might work.19:24
giovaniball: why is that weird?19:29
ballgiovani: I'm just surprised they're not readily available off-the-shelf any more19:30
ballI wonder why.19:30
giovanibecause very few people run linux desktops in an enterprise environment?19:31
giovaniRDP/ISA probably accounts for 95% of desktop virtualization now19:31
ballgiovani: X isn't specifically a Linux thing, but I see what you're saying.19:32
ballOh well, I'll see if I can find some VNC terminals19:33
giovaniX is specifically not a windows thing19:33
giovaniok19:34
ballgiovani: true, because Microsoft shun X.19:34
* ball sighs19:34
giovanibecause it has little to no function on windows19:34
ballVNC may be the way to go then.19:34
giovaniWYSE makes X Windows thin clients19:34
giovanihttp://www.wyse.com/products/hardware/thinclients/S50/index.asp19:34
ballgiovani: thanks19:34
JanChm, I've seen some 2nd hand WYSE thin clients at computer fairs recently19:40
JanCsomething Via-based19:40
PhotoJimball: 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:41
ballJanC: I'm waiting for the WY-50 to make a comeback ;-)19:42
JanCI don't remember what type it was, they cost something like 30 euro IIRC19:43
JanCand they have Windows on them, but running linux supposedly works  :P19:43
ballI'd go with Sun Ray if they opened up the server software19:45
giovaniJanC: doubtful you can reflash them19:48
giovanibrand new wyse thin clients only cost about $250 USD19:49
JanCthe vendor said he'd put linux on one of them19:49
=== zul_ is now known as zul
ballgiovani: that's less than I expected.19:49
giovaniball: they have to be price-competitive with $400-600 desktops I guess19:49
giovanigiven that with thin clients ... you still need the computing power on the backend19:50
ballgiovani: true enough.19:50
giovaniyou can find them on ebay, second-hand for less19:50
JanCheh, you can buy desktops for 250 USD  :P19:50
giovaniI've seen them as low as $100 (the newer models)19:50
ballJanC: right, but the TCO's higher19:50
giovaniJanC: unlikely ones an enteprise would buy19:50
JanCdepends 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  :P19:52
giovaniwhat I mean is ... most enterprises won't be buying the ultra-cheap desktops you're referencing at $25019:52
giovanithey'll buy dell/hp only, basically19:52
ballgiovani: Lenovo?19:53
JanCgiovani: you mean they buy a 300 USD Dell that comes with a 400 USD support contract?  ;)19:54
giovaniball: I haven't seen any large companies with lenovo desktops19:54
giovaniJanC: nope, a $600 dell with a $400 support contract19:54
giovanilenovo's low-end business desktop is $420 retail, btw19:54
giovanipretty much the same for dell19:55
giovanihp is slightly more19:55
giovanibut yeah, hardware cost is just the beginning of the cost savings for thin clients ...19:56
giovanithey last longer, much lower support cost, less damage possible, etc19:56
JanCgiovani: last longer than compaq desktops?20:07
ballJanC: in that they aren't declared obsolete by Microsoft, yes ;-)20:08
JanCat 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 sometimes20:08
JanCand of course there was the Microsoft problem (Office 2k7 doesn't run on Win2k)20:10
ballJanC: iPaq Desktop?20:10
ballWe have three of those20:11
ballWell, two on-site20:11
ballone has Windows 2000 and the other Xubuntu :-)20:11
JanCCompaq Evo desktops20:12
ballAh, we predate those20:12
JanCD310 and such20:12
ball...bought a dc5800 recently though20:12
ball...and an ML11020:13
ball...need to try Ubuntu Server on that at some point.20:13
JanCyou can buy stacks of the Compaq Evo D310 and similar HP Compaq models for 30-50 euro a piece here in Belgium  ;)20:14
ballJanC: nice.  I bet I could turn those into VNC terminals :-)20:15
ballOh well20:15
JanCof course, someone I know builds LTSP setups with these20:15
ballJanC: do they PXE?20:16
JanCball: yes20:17
JanCsome companies give them for free (it's for schools) but they don't give the hard disk with the PCs of course20:17
JanCI guess these companies are like: "these fucking machines won't die even if we throw them around, but we want new ones"  ;-)20:19
JanC(take care if you throw with them though, you can easily kill people)20:20
ballheh20:21
ballIs it difficult to set up a PXE boot server?20:21
JanChttp://www.howtoforge.com/ubuntu_pxe_install_server20:23
JanCit's a bit old  ;)20:23
JanCI'm sure there are other how-tos, and maybe the edubuntu disk already supports this OOTB?20:24
ballJanC: I've heard that it does, if you use the alternate CD20:26
giovaniJanC: 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+ years20:27
JanCgiovani: I believe you, those compaq desktops are 10yo too, and they are still used to setup LTSP-based school installations20:28
* JanC wonders if there are any ARM Cortex A8-based thin clients yet?20:31
ballI should go.20:40
orudieis DenyHosts  any good ?20:57
aciculait does what it says i suppose?20:59
orudiei need help configuring denyhosts.conf21:06
danny1google should help you do that ;)21:13
tcrossDoes anybody know why ubuntu-server uses vim-tiny and not vim21:40
aciculait's the ubuntu base profile default21:41
tcrossCan we get it changed.  It has issues when editing files21:41
friartucktcross sudo apt-get install vim21:42
tcrossI 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 vim21:43
aciculavim-full21:43
aciculathe default is what it is, you'd have to make a pretty good case and convince a lot of people to get it changed21:44
aciculavim-full autoreplaces tiny i think21:44
aciculawhats not working with the tiny version?21:44
tcrossokay,  thanks for talking about it.  this is my first time getting ivolved.21:44
tcrosswhen 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 remember21:45
aciculayeh it's a stripped version, dunno why that is, probably because of dependencies21:46
uvirtbotNew 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/35727421:46
tcrossI actually switched from Centos for my server and was a little annoid at not being able to just type in vi myfile.conf21:47
tcrossI was basically just wondering if there was a reason we use vim-tiny.  if we are trying to save a few megs than...21:47
aciculaprobably just because of some dependencies, it's in the base install metapackage at least21:48
tcrossall right.  thaks for your time acicula.21:48
christian_hello22:18
christian_I need know, about of vmail22:19
giovanichristian_: you've been in here many times, and gotten a number of recommendations on getting started with a mail server22:21
christian_I know, i follow the your instruccions22:22
christian_but I cant22:22
giovanithen maybe you aren't ready to be setting up a mail server yet22:23
christian_:(22:23
christian_now, I configure the postfix and dovecot22:24
christian_but I dont know the emails of my accounts22:24
christian_in the /vmail/domain1/user/new22:24
christian_No exist the email22:24
mrbulldoes 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:25
mrbullI'm only asking as I have an abnt2 keyboard and my AltGr and right Windows Keys are not showing up on xkeycaps22:26
mrbull(when I press them it says I'm pressing dot and return from the numpad)22:27
danny1christian_ kerio mailserver you should be able to set that one up it has gui administration tools :)22:28
slestakthere 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:32
christian_in my mail server22:37
christian_With the network tools22:37
christian_the accounts with the another domain22:38
christian_the account esponse22:39
christian_but I cant send mail with this doamin22:39
danny1giovani > 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:45
giovanidanny1: 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 possible22:55
danny1It 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:10
sebblucas1hi to all, i am requesting someone for help with setting up a LAMP server using Webmin23:31
sebblucas1any help out there?23:31
maxb!webmin23:33
ubottuwebmin 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
maxbGiven the above, you are unlikely to find help on that here, sorry.23:33
sebblucas1so how to setup a lamp server with ebox?23:34
giovani!ebox23:34
ubottuebox 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/eBox23:34
giovani:)23:34
sebblucas1thansk ubottu!23:35
sebblucas1another question23:35
sebblucas1i 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:35
sebblucas1say www.mydomain.com   <--- on my own LAMP/DNS server23:36
giovaniok, what's the question?23:36
sebblucas1is 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
giovanisure ... that's what you're doing when you set up LAMP/DNS23:37
giovanithat's the entire function of providing those services23:37
sebblucas1ok. :D hahaha sorry for the idiotic questions23:37
sebblucas1now.23:37
sebblucas1ive been reading up on "zones" and "reverse" addresses23:37
sebblucas1and its all very confusing.23:37
sebblucas1i've tried several different tutorials23:38
giovaniyeah, these concepts aren't going to be incredibly simple ... they take time to absorb23:38
sebblucas1right.23:38
sebblucas1so, 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
sebblucas1and register my own domain name to the world, and setup a WordPress blog on my machine23:39
sebblucas1i just need to be pointed in the right direction, where to look, who to ask, etc.23:39
sebblucas1theres probably no one out there who will take the time and guide me step by step, so i just need help here and there23:40
giovanihonestly, everything you're asking for is offered, in spades, on the interenet23:41
giovaniinternet*23:41
giovaniyou'll need DNS (either host it yourself, or pay for someone to host it for you)23:41
giovaniand you'll need Apache, with PHP, and a database (most likely MySQL for Wordpress)23:41
giovaniand that's it23:41
sebblucas1right23:42
sebblucas1there inlies the problem23:42
giovaniI'm unclear on what the problem is23:43
sebblucas1i 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 solve23:43
sebblucas1is how to make a domain name (www.example.com) public to the world23:43
giovaniyou'll need a DNS provider23:44
sebblucas1sorry for circling here and there. thats the ultimate question: how to setup a DNS server to host a domain name itself23:44
giovanieither host DNS yourself, or hire a company to do it for you23:44
sebblucas1how do i host DNS myself?23:44
giovanihosting DNS yourself isn't simple -- I'd advise against it23:44
giovani!dns23:44
ubottuDNS is an acronym for Domain Name System, and is an internet system used to translate names into IP Address.23:44
giovani!bind23:44
ubottuSorry, I don't know anything about bind23:44
sebblucas1i read up on BIND9 and BIND823:44
giovanihttps://help.ubuntu.com/8.04/serverguide/C/dns-configuration.html23:45
sebblucas1when you install the DNS server option while installing Ubuntu itself, it pre0installs BIND823:45
danny1Bleh im stuck, open-iscsi refuses to compile on ubuntu :S23:46
giovanidanny1: why do you need to compile it?23:46
giovaniand by "refuses to compile" what do you even mean?23:46
sebblucas1giovani thanks for all the help anyway23:46
sebblucas1ill do some more research23:47
sebblucas1take care.23:47
sebblucas1bye23:47
giovanisebblucas1: I've provided you with specific guides on how to do what you asked23:47
danny1giovani > need the iscsistart binary23:47
sebblucas1yes23:47
sebblucas1and i thank you23:48
sebblucas1:)23:48
giovanidanny1: what's it used for? ubuntu has an open-iscsi package23:48
danny1giovani > when compiling i get lots of errors util.c: In function âdaemon_initâ: & auth.c: In function âget_random_bytesâ: and lots more23:48
danny1giovani > yes i noticed but it does not contain the binary23:49
giovaniwell what's the binary for?23:49
giovanimaybe it's been renamed23:49
danny1i would guess for initiating the iscssi connection23:50
danny1iscsi*23:50
giovaniwell clearly the ubuntu package has to provide that feature23:50
giovaniI see zero mention of "iscsistart" in the Open-ISCSI readme23:51
giovanithat sounds like it could be a distro-specific binary23:51
giovaniand not required at all23:51
danny1the 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_IPADDR23:51
giovanimaybe it's distro-specific23:52
giovaniread the manpages for the binaries included with the open-iscsi package in ubuntu23:52
danny1hmm the guide is for debian23:52
giovanithat'd be the obvious thing to do23:52
danny1i noticed that during the ubuntu installer there is a binary called iscsi-start23:53
giovaniI don't see that anywhere in an ubuntu package23:54
giovanimaybe it's only in the installer23:54
danny1http://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=dk23:55
danny1that says clearly what iscsistart does :)23:55
giovaniso then what's the problem?23:55
giovanithat's from the ubuntu package23:55
giovaniI told you to check the ubuntu package first23:56
danny1well that i cant get that binary its not included in any of the packages apt provides me23:56
giovaniit's only supplied in ubuntu jaunty23:58
giovaniprobably a new binary23:58
giovanihttp://packages.ubuntu.com/jaunty/i386/open-iscsi/filelist23:58
danny1can i use that binary with hardy ?23:59
danny1or intrepid23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!