/srv/irclogs.ubuntu.com/2009/03/12/#ubuntu-server.txt

EliteHey guys00:50
Noah0504Hey.00:54
=== hads_ is now known as hads
sgroverLooking for tips.  I VPN to a remote buntu server, and want to mount some of it's directories to the local workstation.  Do I really need Samba/NFS/sshfs to do this?  If so, which would your recommend?01:46
twbsgrover: to access a remote filesystem as part of the local directory tree, you need a network filesystem.01:48
twbsgrover: that's unavoidable.01:48
twbsgrover: as you are connecting over a VPN, I presume you do not need to encrypt traffic over the network filesystem, so NFS and CIFS are valid choices.01:49
twbsgrover: in general, you should use NFS for unix-to-unix networking, and CIFS if Windows is involved.  sshfs is only for emergencies, as it is not an efficient nor featureful filesystem.01:50
sgrovertwb: Thanks.  Just needed a sanity check before I began setting up Samba.  (I need to share/connect to Windows resources from that server anyways...)01:50
twbsgrover: if you already have Kerberos authentication set up, then AFS, NFSv4 or CIFS might be good choices.01:50
twbNote that in all cases, you *will* need a centralized authentication protocol (e.g. LDAP or NIS) -- or you will need to manually synchronize UIDs and GIDs between hosts.01:51
twbNIS is usually discouraged because -- though simple -- it is old, inflexible and has numerous security problems.01:52
sgroverI was going to keep it simple and avoid kerberos (for now).  For the most part, the server needs to mount a single windows share so a custom app can access files.  Me mounting the server's directories is for development purposes....01:52
twbLDAP servers are very difficult to set up if you aren't used to LDAP.  The client side is now pretty easy.01:52
twbOK, if you just need to mount CIFS (Windows share), then you can put that in /etc/fstab.01:53
sgroverI've gotten familiar with LDAP - our custom app is PHP based and uses the Active Directory server for authentication and management.01:53
twbRighto.01:53
sgroverThanks though.  Samba it is.  Perhaps with AD authentication... we'll see.. :)01:54
ballWhat's an appropriate choice to serve up filespace from an Ubuntu Server to Xubuntu workstations?03:11
JanCNFS ?03:13
ballJanC: that could work, conceivably.03:14
twbball: on a trusted network, NFS between Unix hosts is a good rule of thumb.03:15
balltwb: that was my first thought, but I didn't know if there was some modern replacement03:16
twbball: there isn't really.03:16
ballOkay, well that answers that one :-)03:16
twbball: all network filesystems suck badly, but the ways in which NFS sucks aren't so important for Unix on a LAN03:16
ScottKball: Is it on a secure LAN or does it touch the internet?03:17
ballScottK: there's a gateway to the Internet (NAS, with almost everything blocked inbound)03:18
ScottKBecause once you get out on the big bad Internet, I'm a fan of SFTP.03:18
twbScottK: that's not a filesystem, though sshfs is.03:20
twbHowever mounting something like /home over sshfs is not too fantastic.03:20
ScottKYes.03:20
ScottKMost any form of remotely mounted home has some serious downsides.03:20
twbAFS is the obvious, though hairy, choice for /home over the internet.03:21
twbSee e.g. hcoop.net03:21
ballokay, thanks.03:21
ScottKI've no idea how it is in Xubuntu but in Konqueror or Dolphin the fact that it's remote of SFTP is mostly hidden.03:22
JanCconsidering the upload speed of most internet connections, no network filesystem is useful for /home03:22
twbScottK: that's not at the filesystem level.03:22
twbScottK: so for example you can't cd into the SFTP directory and run "make" or "gcc"03:22
twbJanC: it depends on the usage for /home, too.03:23
twbJanC: I mean, a GNOME desktop uses /home very differently to a shell account on a VPS03:23
JanCtwb: on Ubuntu (and I suppose Xubuntu) you can use gvfs-fuse and make can work fine...03:24
twbJanC: that's basically the same approach as sshfs -- but that's no longer just SFTP.03:25
ScottKtwb: True.03:25
ballI'm literally failing to keep my eyes open.03:25
twbJanC: that's all I was saying by "SFTP isn't a filesystem"03:25
ballGoodnight everyone.03:25
JanCtwb: of course, it's jus tused as a filesystem  ;)03:25
ScottKtwb: I agree, but for a lot of use cases it's close enough.03:25
twbSFTP has locking issues -- not that NFS and AFS don't.03:25
twbYMMV, etc.03:26
ScottKIt is relatively simple to get up and running too.03:26
twbScottK: yes, definitely.03:26
twbScottK: especially if you already use ssh everywhere03:26
twbScottK: that, and it's easy to set up "ad hoc" mounts as necessary, without local root privileges.03:27
ScottKFor my own use I have yet to hit a need for anything beyond ssh + sftp.03:27
twbJanC: have you compared gvfs-fuse to sshfs?03:28
ScottKNow I don't know if it's because I'm not using the Gnome desktop, but just some apps, but in KDE apps I can file, save as, sftp://.... and save a file from any app.  I can't do that from Gnome apps at all.03:28
twbI'd be interested to read a technical compare-and-contrast.03:29
ScottKIs that typical?03:29
twbScottK: you're supposed to be able to do that in a full GNOME environment03:29
twbScottK: you might need to turn on some GNOME daemons or something03:29
* ScottK has no idea.03:29
twbScottK: is gvfs-backends installed, and is the gvfs daemon process active?03:29
ScottKNo to both.03:31
ScottKSo that's probably it.03:31
twbScottK: that's probably why03:31
ScottKThe kid's computer has it.  Thanks to aptitude why I can see a depends that needs fixing.03:32
TimReichharthi guys I need some help on fixing a problem with nagios3 I already posted this on the forums and it seems im not getting any help but here is the post on the forum http://ubuntuforums.org/showthread.php?t=109301804:20
uvirtbotNew bug: #341526 in mountmedia "Add support for Dell Driver Injection Disk" [Undecided,New] https://launchpad.net/bugs/34152605:36
Brando753anyone know how to get the server to work with a wifi card during install05:53
Brando753?05:55
tmarthave you seen this forum post? http://ubuntuforums.org/showthread.php?t=37628305:57
tmartnot sure if it will help05:57
Brando753ill take a look05:59
kirklandScottK: https://edge.launchpad.net/bugs/341237 is the qemu sync that awaits motu-release approval06:03
uvirtbotLaunchpad bug 341237 in qemu "Please sync qemu 0.10.0-1 (universe) from Debian unstable (main)." [Medium,In progress]06:04
TimReichhartanybody help me with the issue im having with nagios306:45
TimReichhartanybody help me with the issue im having with nagios306:49
twbOoh, qemu 0.10.07:01
coffeedudettx: morning.07:37
ttxhey07:37
ttxcoffeedude: anything for me ?07:38
coffeedudeHehehe. didn't expect you in so early local time.07:38
ttxdidn't expect you so late local time.07:38
coffeedudeYeah.  Have the patch and testing one more local rebuild.07:38
coffeedudeI don't think I'll be going to bed tonight.07:38
coffeedudeI'll send you the working patch while I'07:39
coffeedudewhile I'm still testing.07:39
ttxsure.07:39
ttxAlso if you have the blurb about new features, I could use it today.07:39
coffeedudeI'm working on getting that for you as well.07:40
ttxGreat.07:40
ttxThere is an openssl-gpl potential link in -lsass that I need to investigate too07:40
coffeedudeIf you need a license exception from me to link with openssl, I can manage that.  I know the openssl vs. gnutls is always an issue.  Hadn't thought about it affecting you before now though.07:41
ttxcoffeedude: yep -lsass and -rpc end up linked with openssl07:43
coffeedudeyou're gonna make me do something about that aren't you. :-P07:43
ttxcoffeedude: yes, I'll probably need something, I admit :P07:45
coffeedudeCan I add a linking exception clause for openssl to the likewise-open license files?07:46
coffeedudettx: work in progress patch files in route to you now.07:47
ttxcoffeedude: that would mean rereleasing the source tarball, right07:48
coffeedude./sigh...Maybe not.07:48
coffeedudeLet me think.07:49
coffeedudeneed to walk around some.....been sitting too long. be back in a few minutes.07:50
ttxcoffeedude: I'm fine with a new source tarball, but that might be complicated to release on your side.07:50
ttxk07:50
coffeedudettx: Found a few minor issues with the patches I sent you.  one more round I think.  Shouldn't take long.08:02
ttxk08:02
=== jwstolk1 is now known as jwstolk
uvirtbotNew bug: #334781 in bacula (universe) "bacula 2.4.4 configuration fails" [Medium,In progress] https://launchpad.net/bugs/33478109:55
twbSanity check: 255.255.255.252 is /30, right?09:58
hadshttp://krow.net/dict/subnet.html09:58
ivoksyes09:58
twbThanks.09:59
twbI hate the bloody decimal dotted quad notation09:59
ivoksif ip is .109:59
ivokser... ignore last comment :)09:59
twbivoks: actually I was going to use /31 with .2 and .3, but then I wondered if that would mean that .2 and .3 were actually the equivalent of .0 and .255 (i.e. broadcast IPs).10:00
Nafallotwb: they aren't10:00
twbThis is a "network" of two machines, see.10:00
ivokssudo apt-get install ipcalc10:00
Nafalloehrm. well. sipcalc 192.168.0.1/3110:01
hadsThe cheat sheet10:01
sorentwb: Interesting. I like that notation a lot.10:02
twbsoren: I would prefer dotted hex.10:02
twbC0:A8:00:00/2410:03
ivoksi would prefer ipv6 :)10:03
twbivoks: well sure10:03
ivokseverything else is just workaround10:04
sorenivoks: I disagree10:04
sorenYou can use that notation for other purposes than subnetting.10:04
ivokswell, i was refering only to subneting10:05
sorenExample: A company I used to work for hosted mail servers for other companies. They each had their own mail server. We dedicated a /24 subnet to each customer. The mail server was always XX.YY.ZZ.25 (IIRC). That enabled us to have a firewall rule allowing access to and from port 25 on 192.168.0.25/255.255.0.255.10:06
soren...instead of one firewall rule per customer per service.10:07
sorenThere's obviously no way to do that with CIDR notation.10:08
twbIn /etc/syslog.conf, does *.* match *everything*, or only things that have a dot?10:19
twbI mean, I see "auth" in the default syslog.conf and it made me uncertain.10:19
twbThe manpage seems to reassure me.10:21
=== cjwatson_ is now known as cjwatson
mrwessince root account is disabled, where does system mail goto?11:28
=== cjwatson_ is now known as cjwatson
Jeeves_Hi all!12:27
_rubenmrwes: check /etc/aliases12:28
_rubeng'day Jeeves_12:28
* Jeeves_ needs a hint12:28
Jeeves_I edited /etc/sysctl.conf to disable ipv6 RA. However, it seems the settings are not applied when rebooting.12:28
Kamping_KaiserJeeves_, hey mate12:28
Jeeves_Anyone here to hit me with the cluebat?12:29
Jeeves_Kamping_Kaiser: Hi!12:29
* Kamping_Kaiser smacks Jeeves_ with a cluebat (sorry , cant help with the problem though)12:29
Jeeves_:)12:29
henkjanJeeves_: block ipv6 ra with iptables?12:29
Jeeves_henkjan: yuk12:30
Jeeves_I'm looking for a solution, not a workaround :)12:31
simplexioJeeves_: if you add ipv6 yo kernel it will be. i think the problem ist that it load ipv6 module after you have tried to set ipv6 settings in sysctl.conf and ipv6 options arent availabe then12:32
simplexioJeeves_: offcourse you need first check that sysctl options really work12:33
Jeeves_simplexio: Hmm. That could be something12:33
Jeeves_sysctl works, that's tested12:34
simplexioJeeves_: in my system it compain that cant change nfs options but after boot process is ready and all nfs stuff is loaded it run sysctl without complains12:34
Jeeves_simplexio: ./rcS.d/S15module-init-tools12:35
Jeeves_simplexio: ./rcS.d/S17procps12:35
simplexioisnt there somekind rc.local tms file where you can put your own stuff that is run last in boot process ? .. add there sysctl -p12:35
Jeeves_So the options should be there12:35
Jeeves_simplexio: That's too late12:35
simplexiowhat ipv6 ra does ?12:36
Jeeves_When booting is completed, the box allready sent a sollicitation12:36
Jeeves_so it allready has it's RA-address12:36
simplexiowell offcourse, quick hack and remove module12:36
Jeeves_13:31 < Jeeves_> I'm looking for a solution, not a workaround :)12:37
simplexiowhat does that ra mean in ipv612:38
mrwes_ruben: ahh..ok, root: administrator is already there -- thanks12:38
simplexiohttp://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html12:38
simplexiothat tells just howto disable whole ipv612:38
Jeeves_http://zhadum.org.uk/2007/03/04/taming-the-edgy-eft/12:39
Jeeves_simplexio: Router Advertisement12:39
simplexioJeeves_: 100% way is just compile new kernel and remove ipv6 ra option from there.. im oretty sure that it there12:41
Jeeves_simplexio: Don't be silly12:42
Jeeves_I've got it now. Just add ipv6 to /etc/modules12:42
DeepsJeeves_: #ipv6 on freenode's a good place to ask about ipv6 related stuff12:42
Jeeves_that way it gets loaded sooner12:42
Deepspeople there generally tend to be quite clueful12:42
Jeeves_and sysctl works fine :)12:42
henkjanJeeves_: please document it on the wiki ;)12:44
simplexioi usually just compile stuff that i need into kernel, and stuff that idont need i just add in modules12:44
Jeeves_henkjan: Which wiki? :)12:44
Deepsbtw, what are you trying to do, accept_ra=0?12:44
henkjanJeeves_: wiki.bit.nl :)12:44
domasJeeves_: you can ask Jeeves!12:45
simplexiobut i like to run latest and greatest kernels. so for me compiling new kernel isnt that big problem12:45
henkjanstockkernels++12:47
Jeeves_simplexio: When you administer 100+ servers, you'll soon start to love stock kernels :)12:47
simplexio:) could be, or i learn howto create on apt-mirrors and own kernel packages12:49
simplexiolater is probably harder way :)12:49
Jeeves_We have our own package repository12:50
Jeeves_(and a mirror, nl.archive.ubuntu.com )12:50
simplexiobut if something brakes i can only blame me12:50
maswanJeeves_: Do you want to disable the automatic address generation?12:50
Jeeves_simplexio: I simply blame henkjan12:50
Deepsdifferent scales have different needs12:50
Jeeves_maswan: Yes, but I allready managed to do so12:51
Jeeves_Deeps: Indeed :)12:51
maswanah, ok12:51
maswanfrom our interfaces:12:51
maswan  pre-up modprobe ipv612:51
maswan  up /sbin/sysctl -q -w net.ipv6.conf.eth0.autoconf=012:51
simplexioand there is no right solution to problem, only bad and even more bad12:51
simplexiothere has been what 3 working solutions to problem allready :) have like linux12:52
maswanthis one has been working since dapper, IIRC. So we stick to it. :)12:53
simplexioadd ipv6 to modules, load ipv6 first in interface before interface is up, change kernel12:53
maswanI'm not sure adding ipv6 to modules covers it always.12:55
maswanWe did that for a while, and there were some kind of issue, I forget what though..12:55
maswanand yes, the inet6 interface has to come before the inet interface12:55
ivoksin jaunty, ipv6 isn't module12:56
Deepswayhey12:56
maswanivoks: Ah, is the autoconf disabling fixed then?12:56
ivoksmaswan: i don't know; i just noticed that it's built in, not a module12:57
petiaivoks, around ? its orudie i'm at work12:57
maswanivoks: Hm. Maybe we should try it out on some server then12:57
ivokspetia: yes12:58
petiaam i interrupting,  ?12:58
ivoksno12:58
cemcivoks: umm, so ipv6 can't be disabled in Jaunty?12:59
petiaafter we set up the mail server i tested it the email client and used  mail.mydomain.com as an incoming server, did it still use pop3 protocol ?13:00
ivokscemc: i'm sure it can, appending ipv6=off or something to kernel line13:00
ivokspetia: it's impossible to tell what you have used, just based on hostname13:01
ivokshostname doesn't define protocol13:01
petiais there a way to tell though ?13:02
ivoksone server (servers have hostnames) support lots of protocols; http, pop3, ssh, imap, smtp...13:02
ivokspetia: you should hire someone to set up mail server for you, since obviously you don't understand basic network concepts13:02
ivokspetia: hostname doesn't define protocol13:05
ivoksit's just a name13:05
ivoksit could've been mysuperserver.domain.com13:05
petia:)13:06
petiaright, but maybe you could have a look and let me know which hostname i should use in the incoming server according to the way the server is set up13:07
Jeeves_cemc: Why would you want to disable ipv6?13:07
^law^guys , i just installed ubuntu server in virtual box after that i can't boot it . it shows need pae enabled, but i can't enable the pae in my virtual box it can't be checked it is disabled. what shoud i do then ? XD13:09
ivokspetia: server has only one hostname13:10
ivokspetia: it can have aliases13:11
ivokspetia: and, i repeat, hostname of the server doesn't decide what protocol your client will use13:11
petiaivoks, ok13:11
ivokspetia: in most of the cases, user that uses that client decides which protocol will be used13:11
ivoksby selecting the protocol during configuratiob13:12
=== mdeslaur_ is now known as mdeslaur
petiaivoks, well i know for sure that pop3 protocol is set up on the server, i just didnt try it yet13:12
ivokss/b$n/13:12
ivoksthen try it13:12
petiaivoks, i'm fucken scared lol13:13
petiaivoks, cuase if this shit is not gonna work my boss is gonna kill me13:13
petiaivoks, i'm about to point DNS to the new server13:13
jussi01petia: please try keep the language clean ;)13:13
ivokspetia: what did you do till now?13:14
ivokswhat did you configure?13:14
petiapostfix/dovecot and roundcube webmail client13:14
=== `6og is now known as Kamping_Kaiser
^law^guys , i just installed ubuntu server in virtual box after that i can't boot it . it shows need pae enabled, but i can't enable the pae in my virtual box it can't be checked it is disabled. what shoud i do then ? XD13:15
cemcJeeves_: because I don't use it (yet) and I don't want to change all my running servers (apache, ssh, whatnot) not to listen on ipv6 too ?13:15
petiatested emails with outlook and thunderbird, howver i used mail.example.com as an incoming server13:15
Jeeves_cemc: If you don't use it, what's there to disable? :13:15
petiapetia, imap is set as well, so therefore i'm not sure which protocol mail.* used13:15
ivoksyou really don't get it?13:16
ivoksserver serves protocols13:16
petiai understand that hostname does not define protocol13:16
ivoksclient *decides* which protocol will be used13:16
petiauhu13:16
petialol13:17
petiai think i got it13:17
petiai dont work on the client side too much dude13:17
ivokswell, you should know what your clients are using, if you want to setup server13:17
ivoksservers exists so that they could serve clients13:18
ivoksthat's their whole purpose13:18
petiawell if we take thunderbird for instance which is what i have on my desk13:18
ivoksok13:18
petiain the add new email account13:18
petiait doesnt ask you if your email acount is using pop3 or imap13:19
ivoksi'm sure it does13:19
petiaok i'm in the add account wizard13:19
cemcJeeves_: have you looked at 'netstat -nlp' with ipv6 enabled? or 'ip a' with o lot of interfaces/IPs ? and generally I like to not run stuff I don't need :) especially on servers which are low on memory ;)13:20
petiait asking, select the type of account you would like to set up : the choices i have is Email, Rss, Gmail, or newsgroup account13:20
petiai go to email13:20
ivokspetia: http://www2.cit.cornell.edu/computer/email/thunderbird/account-both.html13:20
Jeeves_cemc: ipv6 does not require much more memory :)13:20
ivoks3rd screen13:20
petiaok now i see13:20
petiayes13:20
petiayeah13:21
petiaok13:21
petia:)13:21
cemcJeeves_: still I believe that what you don't need it's not supposed to run ;)13:26
Jeeves_cemc: You should enter the 90's :)13:34
cemcJeeves_: :)13:39
markbecause obviously you won't ever need to communicate with those computers which get ipv6 instead of ipv4 in a few years ;)13:41
cemcmark: I did not say it needs to be removed. But if I want to, I should be able to disable it ;) especially if I won't be using it soon13:43
markbeing able to disable is good13:43
cemcand I definitely will know if and when I need it, so I won't forget I disabled it :)13:44
Jeeves_cemc: Just start using it! Saves you the frouble of disabling it :)13:45
cemc;)13:45
=== Guest98153 is now known as tfb
=== tfb is now known as nob
=== nob is now known as nobz
=== nobz is now known as nob_z
nob_zhi, who can help me with spamassassin sa-learn?13:51
Jeeves_nob_z: Whats the problem?13:58
nob_zspamassassin seems to not use the learned mails13:59
nob_zI followed the install of spamassassin+postfix-dovecot+amavisd-new in the ubuntu server guide14:01
Jeeves_nob_z: You needs at least 200 messages before bayes gets used14:02
Jeeves_200 of both types14:02
petiaivoks, you there? the email mesages are not coming in14:02
nob_zJeeves_, I use more than 200, around 1000, but nothing changed14:02
nob_zseems that I dont used sa-learn in the right form14:03
Jeeves_nob_z: There is a way that you can see if bayes is being used14:03
Jeeves_nob_z: sa-learn said 'xx messages read (xx used)' or something like that?14:03
nob_zJeeves_, yes... and sa-learn --dump magic increades the number of nham nspam tokens14:04
Jeeves_nob_z: Than it's used14:06
Jeeves_nob_z: And if you run14:07
Jeeves_spamassassin --lint -D114:07
Jeeves_?14:07
uvirtbotNew bug: #326235 in samba (main) "Winbind crashes with new samba-package (3.5)" [Low,Incomplete] https://launchpad.net/bugs/32623514:07
Jeeves_Do you see bayes-notices there14:07
Jeeves_?14:07
nob_ztrying...14:07
nob_zJeeves_, yes, there are bayes-notices14:11
nob_zJeeves_, sa-learn must be used as root or by every user?14:12
Jeeves_nob_z: That depends how you configured bayes14:13
nob_zwhere I can check it?14:13
Jeeves_/etc/spamassassin/local.cf ?14:17
fevelHow can I make squid show an html page I made as homepage?14:17
Jeeves_fevel: http://www.visolve.com/squid/squid24s1/miscellaneous.php14:20
ivokspetia: yes?14:25
petiaivoks,14:25
petiaivoks, how can i change the output of this postconf | grep mydestination ? it needs to be a new domain, the old domain is still there14:26
ivokspostconf -e "mydestination=blablabla"14:27
petiaivoks, there was a file where i remember i specified the mydestination14:31
ivokspetia: postconf -e will edit it14:32
ivoksso...14:32
ivokspostconf -e "mydestination=blablabla"14:32
petiaivoks, paul@atlantalin:~$ postconf | grep mydestination14:37
petiamydestination = jpiamerica.com, localhost.jpiamerica.com, localhost14:37
petianow i have this14:37
petiawhich is the correct domain14:37
ivoksok14:37
ivokslooks good14:38
petiais anything else needs to get changed when changing the domain address ?14:38
petiai mean14:38
petiawhen changing the domain name14:38
ivokshm... maybe myorigin14:38
petiai think it working now :)14:39
fevelthanks Jeeves_14:45
fevelalways_direct14:46
Jeeves_:)14:47
kirklandmathiaz: okay, i tested the hardy kvm-84 packages in my ppa a bit more thoroughly14:50
kirklandmathiaz: i've published an update to ~ubuntu-virt's ppa14:51
mathiazkirkland: great. I'll give it a try then.14:51
mathiazkirkland: have you made some progress on the kernel part?14:51
kirklandmathiaz: yes14:52
kirklandmathiaz: you can now install and run the kvm-source to get the kernel module14:52
kirklandmathiaz: it's installable now14:52
kirklandmathiaz: will require dkms, though, don't know if that's a problem for you14:52
mathiazkirkland: awesome - well I'm running hardy - would it be?14:52
kirklandmathiaz: shouldn't be14:53
mathiazkirkland: *a problem*14:53
kirklandmathiaz: i just reinstalled my test box with hardy amd6414:53
mathiazkirkland: awesome - I'll give it a try once alpha6 is released14:53
kirklandmathiaz: running kvm-84 kernel and userspace14:53
kirklandmathiaz: i left it running last night, testing nested virtualization14:53
kirklandmathiaz: a virtual machine running a virtual machine14:53
kirkland(something that was just introduced in kvm-82)14:54
mathiazkirkland: did it freak out?14:54
kirklandmathiaz: i was going to blog about that :-)14:54
mathiazkirkland: are you able to run a bundle of guest inside a kvm guest?14:54
mathiazkirkland: or is it just one-one14:54
kirklandmathiaz: it did not freak out14:55
kirklandmathiaz: it's been running over night14:55
kirklandmathiaz: with the guest's guest doing debuild qemu in a loop :-)14:55
kirklandmathiaz: no errors yet, on either host14:56
kirklandmathiaz: it's not one-to-one14:56
ivoksmathiaz: i think i have solution for that dovecot bug...14:56
kirklandmathiaz: basically, the first guest can modprobe kvm, and get a /dev/kvm14:56
kirklandmathiaz: the second guest isn't nearly as fast as the first14:56
kirklandmathiaz: but it's not as slow as emulation either14:56
mathiazkirkland: oh it does qemu debuild - this is why it doesn't freak out. The guest *knows* about it and is just very gentle and peaceful...14:56
kirklandmathiaz: :-D14:57
kirklandmathiaz: i should try mysql instead14:57
mathiazkirkland: that will bring down your mythtv setup - be careful14:57
mathiazkirkland: !14:57
mathiazivoks: yes?14:57
ivoksmathiaz: i added comment to the bug14:58
mathiazivoks: ok  - I'll get to it then14:58
kirklandmathiaz: one note about nested virtualization ....14:58
kirklandmathiaz: it only works on amd cpus14:58
mathiazivoks: during my daily bug folder processing14:58
ivoksmathiaz: sure... no rush14:58
mathiazivoks: thanks for following up!14:58
mathiazkirkland: awesome - that's what I have :)14:58
ivoksmathiaz: well... here's c/p: I suggest we check if dovecot.conf (minus ^protocols.* line) is different than the default one (minus ^protocols.* line) and, if it is, in preinst we copy that file into dovecot-postfix.conf and let the ucf do the rest. What do you think?14:58
mathiazivoks: hm - so why not always do that and get rid of dovecot-postfix.conf?14:59
mathiazivoks: even for the normal case?15:00
ivoksi suggested that in first place15:00
ivoksbut then we would have to steal dovecot.conf from dovecot-common15:00
ivokscjwatson said that wasn't good idea15:00
cjwatsonattempting to share or move configuration files among packages is generally a recipe for creating bugs, especially if the movement is in any way conditional, yes15:01
mathiazcjwatson: even between binary packages?15:01
fevelcan I set apache to listen on the same port as my proxy? they are both on the same server15:02
cjwatsonconfiguration files are only ever owned by binary packages15:02
cjwatsonit doesn't matter if they're in the same source package15:02
cjwatsonyou *can* move a configuration file from one binary package to another, but it absolutely has to be unconditional, and it ought to be permanent15:02
ivoksand that's not the case here15:03
cjwatsonit's also a lot of fiddly code to get right; naive approaches will fail in messy ways15:03
* cjwatson has been there and done that15:03
mathiazcjwatson: right. I think we're talking about modifing a config file from a another postinst binary package15:03
cjwatsonmathiaz: absolutely forbidden15:03
ivoksright, i've myself was trying to find a sane logic for ucf stealing and i didn't come up with a good one15:03
mathiazcjwatson: even if both binary packages are from the source package?15:04
cjwatsonmathiaz: (from the policy point of view, as well as sanity)15:04
cjwatsonmathiaz: yes.15:04
cjwatsonthat makes no real difference15:04
mathiazcjwatson: hm - well then I know a couple of package that do that15:05
cjwatsonmathiaz: if they're from the same source package, then the binary package that currently owns the file can and should take steps to expose some proper interface by which the other binary package can do what it needs to do15:05
cjwatsonmathiaz: "proper interface" does not include the other package editing the configuration file15:05
ivokslike postconf15:05
cjwatsonmathiaz: yes, I know of buggy packages too ;-)15:05
cjwatsonbut I don't think that means we should design in bugs15:05
mathiazcjwatson: the dovecot package for example, where dovecot.conf is shipped by dovecot-common and -pop and -imap change one line to enable their respective protocoal15:05
mathiazprotocol15:05
cjwatsonthis really is a case that Debian and Ubuntu policy has historically been very firm about, because it IS a cause of upgrade disasters15:06
cjwatsonthere are plenty of ways to do this sort of thing that do not involve messing about with configuration files between packages15:06
cjwatsonyou just need to be creative15:06
mathiazcjwatson: ok - thanks for the clarification15:06
cjwatsonhaving packages include configuration files from a .d directory or similar is one traditional solution15:06
mathiazcjwatson: I thought the rule about config file would only apply to src packages15:06
ivokscjwatson: so, how about proposed idea; bug 33996615:07
uvirtbotLaunchpad bug 339966 in dovecot "dangerous action: dovecot-postfix force-installs new conf file" [Low,Confirmed] https://launchpad.net/bugs/33996615:07
ivokscjwatson: does that sound sane?15:07
mathiazivoks: well no15:07
mathiazivoks: oh hm yes15:07
mathiazivoks: probably since you're not modifying dovecot.conf but dovecot-postfix.conf15:07
ivoksright15:08
cjwatsonivoks: I haven't checked it in detail for feasibility, but it sounds like a workable approach15:08
ivoksi'll test it later today15:08
cjwatsonit's basically migrating across the configuration file changes already applied by the sysadmin15:08
cjwatsonthis sort of bug is exactly the kind of rat's nest you get into with a poor design, btw ;-)15:09
ivoksi have to expand this a bit15:09
cjwatsonbut it's very difficult when it's not done right up-front of course15:09
ivokswe should copy dovecot-postfix.conf to /usr/share and check ucf on upgrades15:09
ivoksif we changed something, show the diff, if we didn't change anything, don't bother admin15:10
ivokstake care, bbl15:14
mathiazkirkland: are you also working on improving hardy as KVM guest?15:15
mathiazkirkland: IIRC virtio devices weren't supported in hardy15:16
petiais there such thing as a free outgoing mail server for all isps ?15:16
mathiazkirkland: IIRC virtio *block* devices weren't supported in hardy15:16
Deepspetia: you can run your own, however open relays generally get shut down or blacklisted as spammers will find them and use them15:17
kirklandmathiaz: which bug?15:20
mathiazkirkland: hm - I don't think there is such a bug.15:21
mathiazkirkland: you'd better talk to dendrobates or soren about that one.15:21
kirklandmathiaz: then i'm probably not working on it :-)15:21
kirklandmathiaz: i'm living by those bugs15:22
mathiazkirkland: hopefully you're not living *only* by those bugs15:22
kirklandmathiaz: that's all i'm eating15:22
kirklandmathiaz: i like the shiny blue ones the best15:23
kirklandmathiaz: the brown ones are kinda gross15:23
kirklandmathiaz: can vegetarians eat bugs?15:23
mathiazkirkland: ohhhhh - don't get me started on that one15:24
kirklandmathiaz: mmmm, boiled crawfish!15:24
acidborghi15:27
sorenmathiaz: I think actually the problem with virtio devices in Hardy were on the host.15:30
soren....and only for block devices. Network was fine.15:30
sorenWell... Except when it hanged.15:30
mathiazsoren: yes - I remember network was fine.15:30
mathiazsoren: then... it was *not* fine?15:31
sorenmathiaz: For most people in most situations, yes.15:31
sorenFor some people (like yann2), it just seemed to hang after a while. kirkland and aliguori seem to have tracked down the problem, so that should be either fixed already or be on its way to be fixed.15:32
yann2soren > mostly using SMP15:32
yann2fine with single CPU15:32
sorenyann2: Ah, yes.15:32
yann2is not fixed though15:32
sorenkirkland: You were working on an SRU for that, right? (removing the odd-ball patch from Debian's ancient QEMU, that is)15:33
bhsxif i install ubuntu 8.10 and use tasksel to uninstall the ubuntu-desktop, what else would i need to strip out to get a base "server" without having to DL 8.04 server edition?15:34
kirklandsoren: oddball patch"es"15:34
bhsxi know there are a couple of kernel differences in server edition15:34
sorenkirkland: Even better :)15:34
kirklandsoren: i actually put that aside, i think trying for a bump to -84 would be far more beneficial15:34
bhsxbut i'm just talking for a home server... i dont need anything major, but it's an old box, so i want to squeeze a lot out of it15:34
yann2soren > tested that one, didnt fix it15:34
sorenyann2: Oh.15:35
kirklandsoren: and what yann2 just said ... didn't solve his problem15:35
yann2may have fixed the rtl one15:35
kirklandsoren: his problem is using SMP15:35
yann2kirkland > btw, maybe you can try to reproduce now? :)15:35
sorenShame.15:35
kirklandsoren: SMP is completely broken in kvm << 79ish15:35
yann2kirkland > don't say that... how badly broken?15:35
kirklandsoren: yann2: alguori explained it to me this way ....15:35
sorenI found it to be racy under some circumstances, yes.15:36
kirklandin older kvm (definitely 62, probably 72 as well)15:36
kirklandcpu and io are both handled in the same thread15:36
sorenThe extracting I/O into a separate thread didn't go completely flawlessly.15:36
kirklandwhich introduces a number of race conditions15:36
kirklandmost which manifest themselves by a vm sort of "hanging" until you give it some io15:37
petiawhere can i specify the maximum size of the file attachments for dovecot email server ?15:37
kirklandlike hitting a button, or clicking in the vm15:37
kirklandthere are other issues too, enough for aliguori to say that he'd have no confidence run smp on kvm-6215:37
bardyrHey, how can i mount a software raid0 on a live cd?15:49
Vog-workbardyr: mdadm I think....15:52
Jeeves_bardyr: mdadm -a etc etc etc15:52
Vog-workhttp://ubuntuforums.org/showthread.php?t=40846115:53
Vog-workbardyr: that last link has everything you should need.15:54
bardyrVog-work, thanks15:54
petiawhere can i specify the maximum size of the file attachments for dovecot email server ?16:08
jmedinaI dont think that is controlled via dovecot, instead in the MTA, well you can use dovecot's MDA16:09
=== tiago_ is now known as nob_z
Vog-workpetia: If you are using postfix I htink you can manipulate the message_size_limit parameter found in main.cf16:18
Vog-workhttp://muhdzamri.blogspot.com/2007/02/postfix-mailbox-size-limit-and-message.html16:19
storrgiejust installed apache2 with the taskel lamp install. But i get a 403 when trying to view my index.html16:20
yann2check permissions on documentroot16:22
yann2www-data needs read access16:22
Vog-workcheck permissions wherever you have your web folders /var/www/ for example.  If your web user (www-data or something like that) dosen't have read or write permission it won't work16:22
W8TAHhi folks: - i did a stupid, and need some help.... when i built my ubuntu server, i configurd LVM but forgot to tell the partitioner to mount it to /data i could rebuild the box but ive already got samba configured and would rather avoid re-doing that if possible -- how do i find out what is necessary to put in /etc/fstab and whatever else i need16:26
mrwesJust installed Denyhosts and it keeps adding my login IP from my laptop to the hosts.deny file -- why?16:26
mrwesW8TAH: what device is it?16:28
W8TAHmwares there are a total of 3 drives that have LVM physical volumes on them16:29
storrgieVog-work: yann2: its /var/www16:29
W8TAHoops - im sorry mrwes there are a total of 3 physical drives with LVM physical volumes on them16:30
uvirtbotNew bug: #302148 in samba (main) "Installing wine starts winbindd as a daemon" [Low,Confirmed] https://launchpad.net/bugs/30214816:31
W8TAHim about 90% sure they are sda sdb and sdc16:31
W8TAHmrwes?16:34
storrgiewho should the /var/www be owned by?16:34
racecar56u?16:35
storrgiemy user?16:35
storrgieor root?16:35
W8TAHok thanks anyway folks --16:35
Vog-workstorrgie it should be owned by www-data16:35
racecar56i gtg i'll still be logged on but i won't be active for a long time16:35
Vog-workW8TAH: people work for a living while helping in the channel, responses aren't always immeadiate.16:36
Vog-workAs for myself I don't know the answer to your question.16:37
giovani3W8TAH: do you see the partition in /etc/fstab?16:44
W8TAHVog-work:  i understand that -- as do i -- i wasnt mad -- was more indicating a closure to my question -- the box is reformatting now and ive properly activated the LVM this time -- i meant no unkindness or disrespect16:44
giovani3oh ok16:44
W8TAHgiovani3: it was not there thanks anyway16:44
Vog-workW8TAH: that's cool, thanks for clearing up the confusion.16:45
giovani3in the future, W8TAH16:47
giovani3you should be able to run lvdisplay, and find the missing UUID16:47
petiaDeeps, i'm looking at /etc/postfix main.cf , no where i could find message_size_mimit16:47
giovani3and manually add it to /etc/fstab16:47
petiaVog-work, i'm looking at /etc/postfix main.cf , no where i could find message_size_mimit16:47
giovani3petia: it doesn't need to be in there -- you need to ADD it16:47
petiaoh16:47
Vog-workpetia: You can add the line yourself16:47
petiai see16:48
petiaso thats for all the files in the message, or for individual files ?16:48
Vog-workThe message size all together.16:48
petiaso umm, lets say i want it to be 30 megabytes, what should i put message_size_mimit = 30mb16:49
petia?16:49
giovani3what's mimit?16:49
Vog-workthat config option dosen't limit the size of the attachement, it limits the size of the e-mail and any attachments added to it.16:49
giovani3you mean limit?16:49
petiayeah16:50
petialimit16:50
giovani3and no, the number is in bytes16:50
petiasorry16:50
giovani3so 30 megabytes would be 3145728016:50
Vog-workyeah postix can only parse the number in bytes16:50
petiaso its16:51
petiamessage_size_limit = 3145728016:51
giovani3yep16:51
Vog-workyep16:51
giovani3and then restart postfix16:51
thewrathhello all16:51
Vog-workpetia: there is also a another channel called #postfix if yoiu have more complicated postfix questions.16:52
petiano thats it :)16:52
petiai have questions but not postfix related16:53
petiaso if i'm able to login to the mail server with wemail client and send messages in webmail, why cant i use it as outgoing smtp server ?16:53
kirklandNafallo: ping16:53
kirklandNafallo: when you get a chance, upgrade to screen-profiles 1.3716:54
kirklandNafallo: and put the following in ~/.screen-profiles/status16:54
kirklandmenu=016:54
kirklandwhoami=116:54
kirklandhostname=116:54
kirklandNafallo: and hit F5-enter16:54
Vog-workpetia: do you have it registered under dns with proper my records?16:55
giovani3petia: there are two servers you're interfacing with -- postfix is an MTA, it only does SMTP, if you want to access your mail via webmail, you use something like dovecot, whcih provides imap/pop16:55
petiai'm confiused16:55
Vog-worksorr myrecords  is supposed to read mx records16:55
giovani3you can use postfix as your outbound smtp server, you just need to configure it so that it will accept mail from you (the best way is to set up SASL) -- but these are more questions about postfix, and are best directed at #postfix16:55
thewrathi wnat to run a private home server16:56
thewrathi have ubutu server but gui is the bets16:56
giovani3thewrath: we don't support GUIs here16:56
giovani3but ubuntu enables you to install one, if you like16:56
thewrathall right16:56
thewrathi am trying ot install drbl stuff on  my server16:56
thewrathi do some imaging16:57
thewrathfrom http://samiux.wordpress.com/2008/10/22/howto-penguinzilla-drbl-on-ubuntu-8041/16:57
thewrathsays i have to crate a /tftpboot partition in ext316:57
giovani3how does that relate to having a GUI?16:57
thewrathi ahve not that done that before hwo i do that?16:57
thewraththe guy who works with me was hoping for me to do a gui interface16:58
giovani3well I told you, ubuntu allows you to install one16:58
giovani3but we don't recommend it, and don't support it here16:58
giovani3so it's your choice16:58
mrwessetting up a server with ONLY command line is the best way to truly learn linux --IMHO17:00
thewrathok17:04
thewrathfrom http://samiux.wordpress.com/2008/10/22/howto-penguinzilla-drbl-on-ubuntu-8041/17:04
thewrathsays i have to crate a /tftpboot partition in ext317:04
thewrathi ahve not that done that before hwo i do that?17:04
thewrathany idea guys have?17:09
Vog-workthewrath: what are you hoping to do with drbl?17:17
Vog-workI'm not sure it is what you need.17:18
trondkla_qcan I ask apache2 questions here? :)17:18
thewrathimage the windows machines17:20
thewrathits a private server here at thes chool i help with17:20
thewrathwell the school district17:20
Vog-workok.17:21
thewrathso i just use a live ubuntu desktop cd to do the reimaging?17:21
Vog-workno.... you'll need to learn about pxe boot and other stuff.17:22
Vog-workdrbl isn't a simple setup process.17:23
trondkla_qHi, i've tried to change apache2 to UTF-8, but it's still outputting ISO-5589-1. Ive set /etc/apache2/conf.d/charset to utf-8, and added IndexOptions Charset=UTF-8 to /etc/apache2/apache2.conf17:23
Vog-workthewrath: https://wiki.edubuntu.org/SettingUpClonezillaDRBLonUbuntu I used this at a local school17:23
thewrathok thank you Vog-work17:24
thewrathbrb17:24
thewrathi assum u r there now>?17:24
Vog-workthewrath: It's a good idea to use drbl / clonezilla for what you want but you'll need to do some reading before you start configuring the server.17:24
Vog-workThere might be better how to's out ther eas well.17:25
bromic94_back17:25
=== bromic94_ is now known as thewrathjr
Vog-worktrondkla_q: might be a better question for #apache17:26
thewrathjrVog-work: can you send that to me again i didnt get a chance to copy it before i moved net connections17:26
trondkla_qthanks :)17:26
Vog-workthewrathjr: https://wiki.edubuntu.org/SettingUpClonezillaDRBLonUbuntu17:27
Vog-workthewrathjr: It's a good idea to use drbl / clonezilla for what you want but you'll need to do some reading before you start configuring the server.17:27
thewrathjryea i have been told that17:28
thewrathjri just want to preliminary set it up17:28
Vog-workFollowing a how to will not tell you the whole process, like settign up the clinets.17:28
thewrathjrwe have some stuff with vista nad what nto that for some reason does not want to work wtih zenworks17:28
thewrathjrhow do i create that parition it talks about17:28
Vog-workhttp://www.users.bigpond.net.au/hermanzone/p17.htm#help_on_partitioning17:32
Vog-workthewrathjr: http://www.linux.com/feature/11520817:33
bitsbamhey all, needing some advice regarding creating temporary tables17:54
petiai just went through this tutorial https://help.ubuntu.com/8.10/serverguide/C/postfix.html , but dont get the same output shown in the example when i do telnet mail.jipamerica.com 2517:54
petiaVog-work, i'm confused17:54
Deeps!paste | petia17:55
ubottupetia: pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)17:55
Deepswhat output do you get?17:55
petiaDeeps, k 1 sec17:55
petiaDeeps, http://pastebin.com/m65afd15d17:56
petiaDeeps, i did everything on that page without any errors or problems before the section of testing it with telnet17:56
Deepspetia: indeed, thats the welcome banner, you need to send the 'ehlo' command to get the following output as described on that page17:56
bitsbammy deal is: our customers log into our website to check the conditions of their machines, each machine reports many times a day, and we use this to draw charts etc.. so the machine history is long long and we pull hundreds of thousands of records. how many is too many temporary hash tables to have on a server . Do any of you use temporary tables?17:57
fevelhey friends17:57
fevelhow can I make squid redirect web access to a certain homepage whenever a browser is launched?17:57
bromic94_hey sorry i was out17:57
bromic94_i had to use the facilities and locked out of the office17:57
=== bromic94_ is now known as thewrath
thewrathhow can i create a ext3 partition for drbl after i installed ubutnu server all ready17:58
thewrathalso when i do sudo apt-get update i get 11 resources temp unavaiable how can i change that17:58
petiaDeeps, a lot better, but slightly different17:58
thewrathnever mind ont eh last question17:58
petiaDeeps, can i show you ?17:59
Deepspetia: sure, pastebin away17:59
Deepsalthough if you're paying attention, you'll notice the guide says18:00
petiaDeeps, i'll pastebin in pm ok ?18:00
Deeps"If you see the following lines among others, then everything is working perfectly."18:00
Deepsok18:00
petiaDeeps,  so in outlook how should it be configured then , i mean the outgoing smtp server18:02
petiaDeeps, i should put smtp.jpiamerica.com ?18:02
Deepsyep18:02
Deepswhat's up filipe_xD?18:03
stanman1hi, anyone running ubuntu-server and sbs2003 on one box?18:03
thewrathhow can i create a ext3 partition for drbl after i installed ubutnu server all ready18:03
filipe_xDDeeps, fine, i'm just testing here18:04
filipe_xDDeeps, ignore this18:04
ivoksstill configuring mail server?18:05
Deepsfilipe_xD: k18:05
petiaivoks, working on smtp-auth atm18:05
ivoksvia dovecot?18:05
petiasince using our isp's smtp server is not suffecient because we are gonna run into problems when traveling18:05
petiaivoks, yeah dovecot18:05
ivoksi see you are discovering benefits of running your own mail server :)18:06
petiaivoks, :)18:06
petiaits stressfull cause i get pressure from my boss, but i love working on this stuff18:06
ivoksyou should've play with it in virtual system or at home18:07
ivoksdeploying mail server isn't playing minesweeper18:07
petiaivoks, i think its ready, waiting for smtp domain to propagate18:08
thewrathhow easy is it to do a new parition for drbl18:08
ivoksdrbl?18:08
thewrathopen source imaging software18:09
thewrathclonzilla?>18:09
petiahow can i test if smtp server is working before the domain propagates ?18:10
ivoksconnect to it and send mail18:11
petiaheh18:12
petiaconnect via ssh ?18:12
ivoksyou have thunderbird, right?18:12
petiayeah18:12
thewrath do you know clonezilla ivoks ?18:12
ivoksset up an account in it and put your new server as incoming and outgoing server18:12
ivoksthewrath: nope18:12
petiayes thats what i am trying to do ivoks , but my isp still thinkgs smtp.jpiamerica.com is an old ip18:13
ivokspetia: well, you have an IP of that server, right?18:13
petiaivoks, i have an ip for the new server that i am trying to get working yes18:13
ivoksip of your new server18:13
ivoksso, instead of hostname, enter IP18:14
thewrathdoes anyone know how to set up a second parition or what not after you installed ubuntu server?18:14
ivoksthewrath: cfdisk18:15
thewrathjust run cfdisk in ssh or on the server live and follow the steps?18:15
jmedinathewrath: create the partition with fdisk or cfdisk, format the new particion with mkfs.ext3 for example18:15
petiaivoks, Relay Access Denied when trying to send mail :(18:15
jmedinacreate a mount point for example mkdir /newvolume, add the entries to your fstab18:15
jmedinasomething like18:16
giovani3petia: because you need to authenticate to your SMTP server18:16
ivokspetia: that's good18:16
jmedina /dev/sdb1    /newvolume    ext3  defaults 0 018:16
thewrathjmedina: i have never done this before18:16
thewrathwith paritioning after install18:16
petiaso i should use "this server requires authentication" ?18:16
ivokscfdisk /dev/sda18:16
ivoksif you want to patition disk sda18:16
ivokspetia: yes18:16
jmedinathewrath: where is the new partition?18:17
jmedinaa new disk, existing disk?18:17
petiaivoks, heh it worked :)18:17
thewrathsame same hard drive18:17
thewrathso eya18:17
thewrathexisting disk18:17
petiai love you guys18:17
ivokspetia: now try sending mail to your email18:18
petiathis is awesome18:18
ivokspetia: and then, to some gmail account18:18
ivoksto see if everything works18:18
petiaok18:18
petiafirst thing i tried is to send to my gmail account and it worked18:18
thewrathjmedina: ?18:20
ivoksthewrath: cfdisk /dev/sda18:21
jmedinathewrath: use 'sudo cfdisk /dev/sda' and check if your disk has free space18:21
thewrathi know it does18:21
petiahmmmm, didnt work between internal accounts18:21
jmedinawell then selecto free space and create a new partition18:21
ivokspetia: check /var/log/mail.log18:22
thewrathsda1 boot primary linux ext3 38502.5418:22
jmedinathen write changes, you need to restart your system in order to detect new partition so you can create a new file system (format) in the new partition18:22
ivoksjmedina: ????18:22
thewrathsda5  logical linux swap / solaris 1513.4618:22
ivoksrestart?18:22
ivoksin which century do you live? :D18:22
jmedinaivoks: or run partprobe18:22
ivoksjmedina: cfdisk does all that for you :)18:23
jmedinaivoks: sometimes it is not possible to the kernel detect new partitions, the /dev/file is not created18:23
thewrathivoks: to create a new parition after running that cdisk command to see if i have space what do i do then?18:23
ivoksthewrath: i didn't understand the question18:24
thewrathi only have bootblae, delete, help, max, print, quit, type, units and write oeptions18:24
jmedinathewrath: do you have free space?18:24
thewrathyes alot18:24
ivoksthen highlight free space18:24
ivoksand select new18:24
ivokspress the arrow key 'down'18:25
ivoks:)18:25
jmedina:D18:25
petiaseems like the problem of receiving messages now :(18:25
jmedinathewrath: your mouse doesnt work in cfdisk18:25
petiano matter where they are coming from, messages are not received18:25
thewrathi have no optino for new18:25
ivokspetia: well, check the /var/log/mail.log18:25
thewrathi know that jmedina18:25
ivoksyou'll have New, when you highlight FREE SPACE18:26
jmedinathewrath: then you dont have free space, thewrath pastebin the output of cfdisk18:26
thewrathhold on when i installed ubuntu server i installed it to take up the entire hard drive18:26
thewrathis that my issue18:26
jmedinathewrath: do you have something like "                                           Pri/Log         Free Space                                        70285.02" ?18:27
thewrathno18:27
thewrathbc i installed it to take the hard drive18:27
thewraththe entire hard drive18:27
jmedinathen you dont have free space18:27
ivokshehe18:27
thewrathhow can i "re parition" it18:27
thewrathdo i have to use a live ubuntu desktop cd18:27
ivoksyes18:27
thewrathok hold on18:27
ivoksthen resize filesystem18:27
ivoksand then resize partition18:27
jmedinaI like minidistro parted image18:27
jmedinait is 10MB iso18:27
jmedinaparted magik18:28
thewraththere should be one or somethin gont he ubuntu 8.04 install cd right or do i need a live cd?18:28
Vog-worklive cd would be good18:28
thewrathokay then i might need to go and dnwoload it then18:29
thewrathwhere do i get that18:30
thewrathhaving issue with the ubuntu site to find it18:30
jmedinaof course, make sure you have a backup :D18:30
ivokspetia: so, anything in logs?18:30
thewrathi have nothing the server at this point18:30
petiaivoks, can i pasten the logs to you in a pm ?18:31
ivokspetia: ok18:31
thewrathpastebin18:31
thewrathjmedina: where can i download the ubuntu live cd18:31
jmedinaubuntu.com I guess18:31
ivoksthewrath: you could use ubuntu server CD too18:31
Vog-workthewrath: www.distrowatch.com ?18:31
ivokshm... or not?18:31
ivokshm..18:31
petiaivoks, pm18:31
thewrathlive or standard install18:32
thewrathbc i have teh instandard cds18:32
thewrathbut not the live cds18:32
thewrathnvm18:33
thewrathwhat  am i looking for when i get into the live cd18:33
jmedinathewrath: just download ubuntu desktop18:33
thewrathi ahve it18:34
thewrathit is booting from the cd in the server now18:34
thewrathwell maybe18:34
thewrathlol18:34
thewraththere we go just really slow lol18:35
thewrathi am in so i am looking for what exactlyu'18:36
thewrathparition editor?18:36
thewrathunder /dev/sha1 it says unused space 34.39gb18:37
ivokssha?18:37
giovani3new encrypted drive device ;)18:37
thewrathi meant sda18:38
thewrathi am in the prarition editor18:38
thewrathdo i click on sda1 resize18:38
thewrathreduce that by 10gb18:38
thewrathand what after that?18:38
ivokswell... if it says unused space18:38
ivoksthen it's free space, right?18:39
thewrathi would assume so18:39
thewrathso i want to create a new partition from it18:39
giovani3ivoks: he means the editor is evaluating the free space within the partition, not unpartitioned space18:39
thewrathhow do i do that from here18:39
ivokspaste on pastebin:18:39
ivokssudo fdisk -l /dev/sda18:39
thewrathmer?18:39
thewrathwhat does that do?18:39
giovani3it lists partitions18:39
ivokslists partitions18:39
thewrathafter i run taht what do you want me to do18:40
ivokspaste it on the pastebin18:41
thewrathk18:41
furicleAnybody else using iSCSI on 100bT and crud equipment?  It's running 50% slower than SMB to/from same machine. Thought it would be closer to par or slightly faster...18:42
thewrathhttp://pastebin.com/m6fff020c18:43
ivoksso... no free space :)18:44
incorrectI want to have a user that can change users without sudo18:45
thewrathhow do i create free space18:45
ivoksfirst, disable journaling on sda118:45
ivokslike this:18:45
incorrectI want to be able to deploy my software and then run a script to execute it, but i want to change user18:45
ivokstune2fs -O^has_journal /dev/sda118:45
petiaFYI everyone : ivoks rules !18:45
ivoks:)18:45
thewrathso tune2fs -0^has_journal /dev/sda118:46
thewrath?18:46
ivoksright, with sudo18:46
ivoksO18:46
ivoksnot 018:46
ivoksbig o18:46
thewrathso the letter18:47
thewrathgood18:47
thewrathafter that what do i ahve to do18:47
ivoksrun parted /dev/sda18:47
thewrath^has_journal invalid18:47
uvirtbotthewrath: Error: "has_journal" is not a valid command.18:47
ivokssudo tune2fs -O^has_journal /dev/sda118:48
thewrathletter or n umber18:49
ivoksletter18:49
ivoksdid you backup your data? :)18:50
thewrathi did the last command18:51
thewrathnow says (parted)18:51
thewrathnow what18:51
thewrathlol18:51
ivoksquit parted18:51
thewrathjsut ctrl c?18:51
ivokstype quit18:51
thewrathdone18:51
ivokscheck filesystem:18:51
ivokse2fsck -f /dev/sda118:52
thewrathwhat shoudl it shwo18:52
ivoks(disclaimer: this worked for me every time, but you are warned to backup the data)18:52
ivoksit should start checking your partition18:52
thewrathalready normalized it says18:53
thewrathwhich i have nothign on it18:53
thewrathlol18:53
ivoksok then18:53
thewraththis is going to be a dedicated imaging/multicasting image server18:53
ivokshow big do you want it to be?18:53
thewraththe new one like 15gb18:53
ivokshow big is the current?18:54
thewrathused is 1.47gb18:54
thewrathunused 34.3918:54
ivoksok18:54
ivoksso you want /dev/sda2 to be 15GB or /dev/sda1?18:55
ivokscurrent partition or the new one we will create18:55
thewrathcreate the new one18:56
ivoksresize2fs /dev/sda1 20G18:56
thewrathit needs to be named tftpboot18:56
thewrathCreate a /tftpboot partition in ext3 or reiserfs in the size of 200MB per client at least,18:56
ivoksdid you run resize?18:57
thewrathno not yet18:58
thewrathi was following your instructions to the t18:58
ivoksso... gparted is graphical tool?18:59
ivoksand it can do it18:59
ivokslol... i didn't know that18:59
ivoksdid you resize it?19:00
ivoksif not, don't19:00
ivoksuse gparted :)19:00
thewrathhow i use gparted19:00
thewrathand where is it19:00
ivoksgksudo gparted19:01
thewrathhold on i am on the phone19:01
thewrathin there19:02
thewrathfound phone has speaker phone sincei  dont work here i dont know all the kool technology the school has lol19:02
thewrathneed to leave soon so any thing right now to get this finshed quick or what not greatly appreciate it19:03
ivoksif you can't find your way out using gparted19:03
ivoksthen i can't help you19:03
ivoks:)19:03
ivoksit has slider and what not...19:04
thewrathim in gparted and resize it and reduce it by 15 gb?19:05
ivoksright19:06
uvirtbotNew bug: #312437 in samba (main) "version `GLIBC_2.8' not found (required by /lib/security/pam_smbpass.so) (dup-of: 256238)" [Undecided,New] https://launchpad.net/bugs/31243719:06
thewrathdone19:08
thewraththen right click on unallocated and select new?19:08
thewrathhow do i call it tftpboot?19:09
ivokspartitions can't be called19:09
ivoksthey don't have names19:09
thewrathok19:10
thewrathbut am i right about righc click on unallocated and seelct new19:10
ivoksyou can mount them in directory, but you can do that after you create them19:10
ballhow do I get a list of the installed packages?19:10
ivoksyes19:10
ivoksdpkg -l19:10
thewrathwhat?19:10
thewrathoh ok19:10
ballthanks19:10
thewrathnvm19:10
thewrathivoks:  then click on apply?19:11
ivoksyes19:11
thewrathwell ivoks ty i am goign to leave19:12
thewrathand let this run over night19:12
thewrathu going to be in tomorrow?19:12
thewrathhow do i mount the parition btw after i am done19:12
ivoksover night?19:13
ivoksit'll finish in couple of seconds19:13
thewrathwell i have to go anyways19:13
thewrathits taking a whiel to resize stuff19:13
thewrathhow do i mount the parition btw after i am done19:13
thewrathr u goign to be in here tomorrow19:13
ivoksmount /dev/sda2 /mnt/my_other_partition19:14
thewrathits done19:15
thewrathso to orrow i can do teh rest for drbl19:15
thewrath/mnt/my_other_parititon?19:15
thewrathsda319:16
thewrathbtw19:16
thewrathbut i got to roll i should be back19:16
thewrathttyl19:16
loshokasdf19:33
incorrectI need to give a user that is not root the ability to change user without needing a password19:34
jmedinaincorrect: what you mean by "change user"?19:34
incorrectI want to copy on my apps as user X, then i want to start them over ssh19:36
incorrectso i would ssh su - user -c /script19:37
incorrectits just not the root user19:38
incorrectideally i would like to restrict which users they can be19:39
bromic94_hello all19:39
=== bromic94_ is now known as thewrath
ivoksi didn't understand anything19:41
=== giovani3 is now known as giovani2
thewrathhey ivoks19:42
thewraththanks for the hel[19:42
ivoksnp19:43
thewrath*help19:45
thewraththe reason i was talking to you about the information was this link and how they worded it19:45
loshokasdf19:45
loshoksdf19:46
thewrathhttp://samiux.wordpress.com/2008/10/22/howto-penguinzilla-drbl-on-ubuntu-8041/ under step 119:46
thewrathhi loshok19:46
loshokdamn19:46
loshokits orudie19:46
thewrathits wat19:46
ivoks?19:46
loshokivoks,19:46
loshokcant send to outside emails now for some reason19:46
loshokcan you please have a look at the logs ?19:46
ivoksyou said you've sent it to gmail account before19:47
loshokivoks, yeah i havent changed anything stopped working all the sudden19:47
thewrathyea19:47
loshoknow get system administrator error undeliverable19:47
loshokbut only when sending to outside19:47
ivoksand, what the error says?19:47
ivoksthere's some meaningfull info in the message19:48
loshokhttp://pastebin.com/m674c2b6519:48
ivoksand who is the sender?19:48
thewrathre authenticate19:48
thewrathi used realying with xampp19:49
loshokpaul@jpiamerica.com19:49
ivoksyou need to authenticate19:49
thewrath?19:49
loshoki did19:49
ivoksyour server isn't open relay19:49
loshokit was working19:49
ivokspaste main.cf somewhere19:49
thewrathwhat mail server you using?19:49
loshokdovecot19:49
ivokspostfix19:50
loshoki am authenticated, i have that option checked in the email client19:51
thewrathclose it down and do it again19:51
ivokspaste the main.cf already!19:51
thewrathsoemtimes that happens19:51
thewrathlol19:51
thewrathivoks: do you understand what it meant on that link i sent you abotu the /tftpboot parition19:51
thewrathor is that the mounted name?19:52
ivoksthat's mount name19:52
ivoksnot a partition19:52
thewrathok19:52
incorrectthere has got to be a way to allow a non-root user exec scripts without needing to enter a password19:52
ivoksscripts not, programs yes19:52
ivoksyou can setup setuid bit19:53
ivoksand make that script executable only by some group19:53
thewrathso sudo mount /dev/sda3 /tftpboot?19:53
ivoksand in that group would be users you will grant execution of that script19:53
loshokhttp://pastebin.com/m2ded421e19:54
ivoksthewrath: you need to create filesystem on it19:54
thewrathyea it has ext319:54
ivoksthen just mount it19:54
thewrathwith the command i said?19:54
ivoksyes19:54
ScottKlamont: Nice things said about your work on postfix-users yesterday.19:54
ScottKActuall nice things about Ubuntu Server with Postfix generally.19:55
ivoksyay! :)19:55
loshokit worked in thunderbird but doesnt work in outlook19:55
loshokmaybe it has to do with accepting the certificate19:55
ivoksi've heard this before19:56
ScottKloshok: I didn't read the backscroll but works on thunderbird not outlook makes me guess the answer is login19:56
ScottKYou need it and you don't have it.19:56
loshokit worked fine before19:56
loshoki configured everything19:56
loshokauthentication and stuff19:56
loshokand stopped working all the sudden19:56
incorrectthat doesn't really scale19:57
incorrectmust be another way19:57
loshokhttp://pastebin.com/m69191aea19:57
loshokscope006,19:57
loshokScottK, http://pastebin.com/m69191aea19:57
loshokits authenticated, testing settings ok19:58
ScottKDovecot or Cyrus for SASL?19:58
loshoksend and receive19:58
ivoksdovecot19:59
loshokivoks, any suggestions ?19:59
* ScottK doesn't know the config file for dovecot.19:59
loshokplease.....20:00
ScottKloshok: Are you sure you offer both login and plain for sasl?20:00
loshokivoks,20:00
loshokScottK, yes20:00
ScottKWhat do your logs say about the error?20:01
loshokmaybe it has to do with the certificate20:01
ivoksi think that outlook doesn't authenticate20:01
thewrathit does20:02
* ScottK wants to see logs.20:02
loshokit does20:02
thewraththere is a setting you sneed to set20:02
loshokit was working earlier20:02
loshoki set it20:02
ivoksfrom outlook it probably doesn't work20:02
loshokyeah but it was working earlier with outlook too20:03
ScottKIf you haven't looked in the logs and found the error there, then you aren't looking in the right place for an answer.20:03
loshoki made several tests before20:03
ScottKThere are quite a few reasons you could get that error message.20:03
loshoksending to internal users work, but not outside20:03
* ScottK won't speculate.20:03
loshoksending to the users created by me on the server works fine in outlook20:03
ivoksfor that you don't need to authenticate20:04
ivoksserver must accept mail for them20:04
loshokit has to use TLS20:04
ivoksit's when you use it to send outside, then you need to authenticate20:04
loshoki dont see a setting for TLS in outlook20:04
ivokssecure or something like that20:04
ivokshttp://www.rescom.psu.edu/ssl/outlookssl.htm20:05
ivoksthis is for POP320:05
loshokivoks, thats for incoming, the problem is with outgoing20:05
ivoksyou should set it for SMTP too20:05
ivokswell, open your eyes20:06
* ScottK is deciding he's pleased the lack of logs save him having to spend time on this.20:06
ivoksScottK: :)20:06
ivokshttp://help.expedient.com/mailnews/ssl.shtml20:07
ivoksthere20:07
ivokssorry, it doesn't have pictures20:07
ivoksi hope you'll be ok with that20:07
thewrathlol20:08
loshokloll20:08
loshokdude20:08
loshoki have it checked already20:08
loshoki am trying everything20:09
ivoksdid you enable SSL in postfix?20:09
ScottKTrying everything except providing logs.20:09
loshokhang on i'll give you logs20:09
ScottKI'll be asking for the output of postconf -n next.20:10
loshokscope006, ivoks logs http://pastebin.com/m3a60067f20:13
loshokScottK, sorry20:13
ivoksit doesn't authenticate20:15
loshokso what should be done in autlook i'm checking the box where it says "this server requires authentication"20:16
ivoksenable smtps in postfix20:16
scope006loshok, did you need something?20:16
ivoksloshok: open /etc/postfix/master.cf20:16
loshokscope006, sorry wrong message20:17
scope006lol np20:17
ivoksloshok: find a line smtps     inet  n       -       -       -       -       smtpd20:17
ivoksloshok: and uncomment it20:17
loshokivoks, done20:17
ivoksrestart postfix20:17
ivoksand then try again20:18
ivokswhich outlook version is that?20:18
ScottKMake sure you point Outlook at port 465 too.20:18
ivoksfor outgoing server20:18
ScottKloshok: Where in that log is a failed attempt to send outgoing mail?20:18
loshoksame20:19
ivoksgives us the log20:19
ivoksthe real log20:19
ivokswhat you pasted before isn't related to the problem you are talking about20:19
loshokbut where can i find the other log  ?20:19
ScottKYou got the correct logfile, just not the right spot in it.20:20
ivoksfind the address you were sending mail for20:20
ivoksand then paste couple of lines before and couple of lines after it20:20
ivoksdovecot-postfix should solve issues like this :)20:21
loshokhttp://pastebin.com/md92f60f20:22
ivoksit doesn't authenticate20:23
ivoksit uses TLS, great, but doesn't authenticate20:24
jmedinawhat is the ubuntu virtualisation channel?20:24
ivoksloshok: you have 'broken_sasl_auth_clients = yes' in main.cf?20:25
jmedinaisnt broken for old outlook clients using login instead of plain?20:26
jmedinaI think it only affected outlook express before 5 version20:26
loshokivoks, broken_sasl_auth_clients = yes20:26
loshoki have that in main.cf20:26
ivoksok20:26
loshokivoks, what can i do  ?20:27
ScottKloshok: Pastebin the output of postconf -n please.20:28
ivoksgrep mechanisms /etc/dovecot/dovecot.conf20:28
loshokhttp://pastebin.com/m57a21d2020:29
loshokmechanisms = plain20:30
ivoksnow... adding login there would be wise, right?20:31
ivoksAnother plaintext mechanism is LOGIN. It's typically used only by SMTP servers to let Outlook clients perform SMTP authentication.20:31
ivokshttp://wiki.dovecot.org/Authentication/Mechanisms20:31
ivoksadd login in that line20:32
ivoksrestart dovecot20:32
ivoksrestart postfix20:32
ivoksand then try again20:32
* ScottK headdesk.20:33
ivoksScottK: ? :)20:33
ScottK[16:00:34] <ScottK> loshok: Are you sure you offer both login and plain for sasl?20:33
ScottK[16:00:44] <loshok> ScottK, yes20:34
ivoks:)20:34
ivoks250-AUTH PLAIN20:34
ivoks250-AUTH=PLAIN20:34
giovani2haha20:35
ivoksloshok: you know what to do?20:35
loshokno20:35
ivoksloshok: open /etc/dovecot/dovecot.conf20:35
loshokok20:35
ivoksfind auth default {20:35
loshokopend20:35
ivoksline ~77020:36
ivoksthere should be:20:36
ivoksmechanisms = plain20:36
loshokyes i see it20:36
ivoksadd login:20:36
ivoksmechanisms = plain login20:36
loshokok i did it20:37
ivokssave20:37
loshok:) saved20:37
ivoksrestart services:20:37
loshokwheew20:43
ivoksVog-work: right, it doesn't20:43
ivoksVog-work: we don't have anything like that20:43
ivoksVog-work: i use rc.local for that20:43
ivoksVog-work: maybe you should take a look at ufw20:44
incorrectin sudoers can i do wildcards?20:44
Vog-workivoks: I would except this is a production server I need to make changes on.20:44
giovani2incorrect: wildcards on what field?20:45
ivoksloshok: point your boss to http://dovecot.org/donate.html20:45
loshokheh20:45
incorrectwell i have something like /customdir/*/bin/startscript.sh20:45
ivoksVog-work: there's something you can do20:45
loshokivoks, you are super my friend20:46
ivoksVog-work: /etc/network/interfaces supports pre-up pre-down etc20:46
loshoki will definetly experiment with future ubuntu server releases20:46
ivoksVog-work: so pre-up could have 'iptables-restore /some/file/with/rules'20:46
loshokbut i'll doubt i'll change anything on company's host since its working20:46
ivoksVog-work: while pre-down could have 'iptables-save /some/file/with/rules'20:47
ivoksor, just save the rules in that file20:47
ivokswithout pre-down20:47
ivoksthat way you can have firewall rules per interface20:47
ivoksand common stuff can be under lo interface20:47
ivokswhen i think of it... this sounds very cool and flexibile20:49
ivoks:)20:50
Vog-workos is my only other option to go and manually edit iptables.conf in /etc and restart the service from init.d20:52
ivoks?20:54
jmedinaVog-work: you can create a rc script that loads iptables -restore20:55
Vog-workjmedina: does that address the need to save the changes I made to the config before restarting?20:56
Vog-workso... sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT20:56
Vog-workor something20:56
Vog-worksudo /etc/init.d/iptables save    would work but  it dosen't make the changes permanent20:56
Vog-workthen sudo /etc/init.d/iptables restart20:57
jmedinaVog-work: if properly configured, it will run iptables-save on init 6 and 020:57
jmedinaand iptables-restore in default runleves20:57
Vog-workI don't think rebooting should be necessary....20:58
Vog-work(referriung to init level 6)20:58
ivoksreboot?20:58
ivoksam i missing something?20:58
ivokswhat is it that you are trying to do?20:59
Vog-workI was under the impression init level 6 would reboot the machine20:59
ivoksyou asked how to make changes permanent20:59
ivoksi guess everybody thinks of that as 'available after reboot' right?20:59
Vog-workAll I'm trying to do is save changes to an iptables config and then restart the service to have the edited changes made permanant21:00
ivoksi see, now i understand what you want21:00
Vog-workThe server itself being a production mail server shouldn;t be restarted in the middel of the business day. I don't think my users would be happy :)21:01
ivoksno one said you need to reboot21:01
Vog-workMy misunderstanding then21:02
ivoksyou just want to flush your iptables, right?21:02
ivokswith some predefined rules21:02
Vog-workjust sec.... think I got it...21:03
Vog-workflush triggered a memoey....21:03
* ivoks smells flushing with DROP as default policy :)21:04
Vog-workAhhh.... a classic case of PEBKAC21:07
Vog-workI was attempting to update changes to iptables while running as a user other than root.... or sudo21:08
* Vog-work needs coffee21:08
Vog-workthinks a bash script like this will make things simpler... http://pastebin.ca/135932721:12
ivoks_modprobing is done via /etc/modules21:13
ivoks_kernel setup via /etc/sysctl.d/21:13
ivoks_take care21:14
Vog-workivoks: good pointa21:17
lexbuenas21:22
lexuna ayudita21:22
lexFAIL2BAN21:23
lexPLEASE21:23
MianoSMlex is that a question?21:27
MianoSMif so, I think the answer is: to the left of your "a" key.21:27
jmedina:D21:28
lexspanish?21:32
MianoSMFull sentences are pretty neat-o too. ;)21:35
pjsturgeonanyone have trouble getting samba shares to follow symlinks in leopard?21:38
giovani2leopard?21:38
giovani2this doesn't sound ubuntu-server related21:38
pjsturgeonits on an ubuntu server, using samba and viewing in leopard21:39
giovani2heh21:39
pjsturgeon;)21:39
giovani2well if the problem is isolated to a single leopard box ... I don't see how it's an ubuntu issue21:39
giovani2if it's a samba issue ... it belongs in #samba21:39
pjsturgeonthats the way with IRC, bouncing between chatrooms. I am setting this up on an ubuntu server and im sure im not the only mac user here21:40
pjsturgeonI have NEVER recieved a useful answer in samba IRC, and am not aware of a leopard IRC? :p21:40
MianoSMpjsturgeon: I'm pretty sure leopard and samba have had issues for the past 2 years...21:40
pjsturgeonahh, darn21:41
ScottKgiovani2: Until you know it's not related to an Ubuntu specific issue in the samba package I'd suggest it's premature to push people away.21:41
MianoSMIt's been a known issue since November of 2007, possibly earlier. Sorry about that m8.21:41
pjsturgeonno worries. let me explain my setup and see if anyone has an idea of how to solve. I have a headless ubuntu box acting as an automated torrent grabber and UPnP media sharer. I have a folder that contains 3 symlinks, one to videos, one to music and one to photos all on another HDD. I also have a torrents folder on the ubuntu disk. Each of these folders is a samba share.21:42
pjsturgeonWhen I use a GUI to move files around between the shares, it sees it as a remote transfer and does it over the network, which is SLOW!21:43
pjsturgeonif i mount a samba share to the media folder root, I see symlinks which go nowhere. how to get around this problem?21:43
MianoSMIf you were to ssh into it and move files that way....that wouldn't alleviate your problem?21:43
pjsturgeonyes indeed it would21:44
pjsturgeonbut it takes me a while to do that. If 10 files have downloaded, organising them via terminal is not fun21:44
Deepspjsturgeon: if each samba share is on a separate mount, that is why21:44
Deepsand afaik there's no way to get around that21:44
Deepsas it copies the data from the remote store to your machine, and then back again21:44
* MianoSM agrees with Deeps.21:44
Deeps(Essentially)21:44
Deepsif you had a single mountpoint that you were shifting between, this issue wouldn't occur21:45
pjsturgeonbah, I should make torrents folder a symlink too and mount a samba folder directly to my 2nd HDD. That would break none of my scripts and get me under a single mount21:45
pjsturgeonits not pretty but it just might work21:45
Deepsif you're transferring between different mountpoints, as far as i know it'll always be slow21:45
Deepsrather than simply being a case of modifying the paths in the inodes21:46
Deepsas it actually involves shifting the data around21:46
giovani2yeah, there's no FXP equivalent for samba21:46
Deepsif you try with a windows box shifting data between 2 shares, it'll be slow there too i think21:47
Deepsas it still involves moving the data21:47
pjsturgeonnot sure why i didnt put torrents folder on the 2nd HDD in the first place actually. nevermind, i have my solution! one of those "figure it out as you explain it" problems21:47
Deepsif you still have 3 seperate shares and mountpoints, it'll probably still be slow21:48
pjsturgeonit wont be anymore. the issue was i couldnt mount 1 to A) the media folder (containing a few  symlinks + a real folder) or B) the 2nd hard drive. if all folders are on the HDD and all have symlinks on the first drive, i can set samba to look at the 2nd HDD and problem solved :)21:49
pjsturgeonthanks anyhow guys21:49
thewrathokay i am back21:53
thewrathlol21:54
Vog-workpjsturgeon: my main problem with samba and lepoard is that when you have multiple users using one share changes one user make are not seen by a user who already has the directory open until they reconnect to the smb share.21:56
Vog-workhas somehting to so with the way that lepoard chches the contents of the directory21:57
Vog-work^^caches21:57
uvirtbotVog-work: Error: "^caches" is not a valid command.21:57
pjsturgeoni noticed a delay on file changes, but i dont think it waits for a reconnect. they pop up after a while for me21:57
pjsturgeonhaha, you invoked the bot21:57
Vog-worklucky you, I work with a bunch (200 +) of clueless technophobe reporters who can't be bothered to reconnect to see a new file recently added to the share.21:58
pjsturgeonthat ius unlucky! just little old me here on a home network so its a non-issue really21:59
Vog-workHad to make a apple script to periodically reconnect to the share.21:59
pjsturgeonim sure they'll get there in they end >.<21:59
pjsturgeonif only apple bothered turning up to the interoperability meetings like the other big players21:59
Vog-workYeah they do. BUt not without hassling me first21:59
pjsturgeonbut thats a rant for another channel21:59
Vog-worklol22:00
Vog-workwell... when dealing with samba and interoperability, it not like M$ shows up either...\22:00
Deepsnot really in their interests to, it should be in apples22:01
thewrathwhen you mount a drive how do you make sure the permissions or the owner of that drive?22:02
pjsturgeonthewrath: I use a single login who owns the files anyway, but if you use "admin list" you can force all those users to act as root22:03
pjsturgeonwarning, that'll only work if the disk is in a unix friendly format, lost 3 days trying to get it working on a fat 32 >.<22:03
pjsturgeonthewrath: ignore me, we arent talking samba anymore are we :$22:04
thewrathan honest answer anyone?22:10
kpettitI had some network speed issues and resolved them by changing some "ethtool" options.  Where is the proper place to put those changes for boot?  All the docs I've found point to some older sysconf directory that isn't in ubuntu 8.1022:44
jmedinakpettit: in /etc/network/interfaces, something like this:22:49
jmedinapost-up ethtool -K eth1 tx off22:50
jmedinain the iface options22:50
kpettitok22:50
kpettitthanks, I like that alot better than some of the other suggestions I've seen on the net.  Clean and simple22:51
kpettitIs ethtool options better to do as a pre or post-up?22:51
jmedinaI use it in my machines, when they dont work properly, for example to change speed, or disable tcp offloading22:51
jmedinaand prevent TCP bad checksums in xen enviroments22:52
kpettitman I was getting 16-32k down/up speeds from my 10MB fiber until I did that change.  It couldn't auto-negotiate correctly22:52
jmedinakpettit: I having some problems with Windows paravirtualized drivers in a fully virtualised xen enviroment22:54
kpettitsounds fun22:56
thewrathhey all23:01
bitsbamif i plug in a usb storage device, how do i know what /dev/whatever it was assigned so i can mount it?23:04
bitsbamthewrath: hey23:04
jmedinabitsbam: most of times you can use 'dmesg'23:04
kpettityou can type dmesg or tail /var/log/messages23:05
bitsbamyup, there it is, thanks kpettit23:05
unit3Hey, just backported the mysql-server-5.1 package to hardy for use in a cluster, and discovered all the NDB/Cluster stuff is missing.23:05
bitsbamjmedina: was in dmesg23:05
kpettitI usually like to "tail -f /var/log/messages" so I can see what goes on when I plug/unplug things23:05
unit3Is there some docs as to what's going on with 5.1?23:05
bitsbamkpettit: yep, going to have to add it to conky now23:06
unit3or anyone who knows?23:06
jmedinaunit3: what about launchpad?23:06
jmedinaI read apost about mysql 5.1 in universe in the ubuntu server blog23:06
unit3Oh, that might be what I'm looking for.23:07
unit3I'll check there.23:07
unit3hrm... just says it's available, no info on why clustering is MIA.23:08
jmedinaunit3: you can file a bug in launchpad23:10
unit3Yeah, maybe the easiest. Just make my life harder, since I'm supposed to be rolling this cluster out in the next week or so. :(23:10
unit3But I'll start with that, and see if someone can let me know what's going on.23:10
jmedinahttps://bugs.launchpad.net/mysql-server23:11
ScottKunit3: If you're planning on production using 5.1, you're probably on shaky ground anyway.23:11
ScottKjmedina: Wrong package.  5.1 is a separate package.23:11
jmedinaScottK, you are right, I just remember that after paste23:12
unit3ScottK: I was under the impression they'd worked out the launch problems?23:12
unit3Maybe I'll just drop back to 5.0, and make sure I've got enough RAM in the systems. :P23:12
ScottKunit3: It's pretty new, so I'd want to test it pretty hard first.23:12
ScottK5.0 is safer and more supported.23:12
unit3Yeah. Just the NDB stuff is also a lot more limited, from what I've seen.23:13
unit3Oh well, it looks like it'll be the better option for now.23:13
unit3I can look at upgrading to 5.1 once Jaunty's out and more people are using it, I guess.23:13
olcafokpettit, I find "tail -f |dmesg" has more useful information. But that might be overkill.23:15
=== Nicke_ is now known as Nicke

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