[00:05] <jmarsden> Begs: sudo chmod 0755 somefile   # In other words, make sure you have root privileges when running the chmod ?
[00:06] <moz_> anyone know why my USB wireless connection seems to be disconnecting when I changed my port forwarding configuration on port 80
[00:08] <moz_> every single time I change it, it disconnects
[02:12] <sparky_> Ok, so I have a raid 5 setup on a 8.04.2 home server.  I added another drive to it and it is in the process of reshaping.  I have uped the speed_limit_min from 1000K/s to 10000K/s but I only see a raise in speed from 1500K/s to 3700K/s.  From what I have found thur google it should have increased alot more the just 1200k/s and I have tried other speeds too (lower and higher values).  The max is set at 200000K/s, any sugge
[02:16] <giovani3> maybe your cpu is maxed out?
[02:17] <sparky_> nope, i have ran top and have been watching the cpu and the most usage that happens is about 2 or 3%
[02:17] <giovani3> run "vmstat 5 5"
[02:18] <giovani3> and paste the output at www.pastebin.ca
[02:19] <sparky_> http://www.pastebin.ca/1367716
[02:20] <giovani3> this is while it's rebuilding raid?
[02:20] <sparky_> correct
[02:20] <sparky_> it has been building for about 24hrs now
[02:21] <giovani3> yeah, honestly, I don't know -- that seems odd, how little disk traffic there is
[02:21] <giovani3> sorry I can't be of more help
[02:21] <sparky_> so vmstat is for diskusage?
[02:22] <giovani3> no, vmstat shows a variety of things, as you can see from the column headers there
[02:22] <giovani3> it shows memory, disk io, cpu usage, etc
[02:23] <sparky_> my raid is reshaping not rebuilding would that matter any?
[03:12] <sparky_> while my raid is reshaping would it be a bad idea to copy files to it, would the reshaping take longer?
[03:13] <sparky_> also, if i shutdown my server in the middle reshaping will it resume reshaping after the start up or will start reshaping from the begining?
[03:14] <JanC> it will probably take a little longer
[03:16] <JanC> not sure about rebooting while the reshaping is busy though
[03:16] <sparky_> ok, thx
[04:22] <AnArrayfulOfPerl> my dns server works fine when i call it by it's internal name but is does not work when i call it by my outside ip address. what's wrong?
[04:33] <twb> AnArrayfulOfPerl: why would your DNS server be providing DNS services to the WAN?
[04:36] <AnArrayfulOfPerl> cause my domain's registrars' DNS servers ar shitty
[06:57] <bitsbam_> hey all
[06:57] <AnArrayfulOfPerl> my dns server works fine when i call it by it's internal name but is does not work when i call it by my outside ip address. what's wrong?
[06:59] <bitsbam_> hey again
[07:00] <twb> AnArrayfulOfPerl: I would not expect a DNS server to listen to upstream interfaces.
[07:01] <AnArrayfulOfPerl> i mean i am having my modem forward DNS to my server and it does kinda work
[07:03] <twb> AnArrayfulOfPerl: what are you actually trying to achieve?
[07:04] <AnArrayfulOfPerl> my domain's registrars' DNS servers are shitty and i have a very nice network connection so i would like to host my own DNS server
[07:05] <twb> AnArrayfulOfPerl: do you mean hosting a cache of an upstream DNS server, or do you mean hosting the A record for your own machine?
[07:05] <AnArrayfulOfPerl> hosting the A record for my own machine
[07:06] <twb> I don't know why you'd bother.  Just use zonedit or dyndns or whatever.
[07:06] <AnArrayfulOfPerl> because i already have a domain and i don't want to have to pay for DNS
[07:08] <twb> zoneedit claims to be gratis for the first few domains.
[07:08] <bitsbam_> hey all
[07:09] <AnArrayfulOfPerl> k, i never have heard of zonedit
[07:09] <timburke> everydns also works nicely
[07:09] <AnArrayfulOfPerl> k
[07:09] <timburke> run by the same guy who started opendns
[07:09] <AnArrayfulOfPerl> i wuv opendns
[07:09] <bitsbam_> i use zoneedit
[07:09] <bitsbam_> never had a complaint
[07:11] <bitsbam_> how long can a MySQL replication slave be down before it might be a problem re-syncing with the master?
[07:12] <twb> Dunno; I tend to prefer postgres or, for toys, sqlite.  You could try #mysql.
[07:12] <bitsbam_> right, will do
[07:48] <BentFranklin> 3:45 I have Kubuntu 8.10.  I want shell scripts to be able to send emails.  Do I need sendmail?  What else?
[07:49] <twb> BentFranklin: you need a mail transport agent.
[07:49] <BentFranklin> Hi twb!
[07:49] <BentFranklin> Ok, all I need is the client stuff.  The mails erver is one my ISP
[07:51] <BentFranklin> Maybe I just install Thunderbird?  I suppose there is a way to control it from command line.
[07:52] <ropetin> You can use Mutt to send E-Mails from the CLI, might do what you want
[07:52] <twb> BentFranklin: thunderbird is an MUA, not an MTA.
[07:53] <AnArrayfulOfPerl> Telnet and google ;-)
[07:53] <twb> In theory, MUAs are not supposed to speak SMTP natively; they are supposed to rely on an MTA on the localhost to accept and relay the mail.
[07:54] <twb> Unfortunately Outlook and friends have started a trend of doing SMTP inside the MUA, meaning that only end users (and not scripts) can send mail.
[07:54] <ropetin> But any modern MUA does talk SMTP, even Mutt these days
[07:54] <AnArrayfulOfPerl> Telnet and google
[07:54] <twb> This is particularly bad if e.g. SMART or cron errors rely on emailing you to notify you of problems.
[07:54] <ropetin> AnArrayfulOfPerl: mailfrom:<me@myserver.com> ?
[07:54] <BentFranklin> Yes, I want messages from cron jobs
[07:55] <ropetin> rcpt to: :)
[07:55] <AnArrayfulOfPerl> yes
[07:55] <ropetin> Old school :)
[07:55] <twb> AnArrayfulOfPerl: you cannot use netcat (or if you really insist, telnet) to inject mail into gmail unless you can speak SSL by hand.
[07:56] <twb> BentFranklin: you will want to install an MTA, then.  This will provide a file /usr/sbin/sendmail which scripts will use to forward mail to the appropriate person.
[07:56] <twb> Of the two MTAs in the `main' category, I would recommend postfix over exim4.
[07:56] <AnArrayfulOfPerl> Sorry i've not been in serverey stuff for a looooooooooong time think perl 2 ;)
[07:58] <BentFranklin> So, sendmail is an email server?  Or do I tell it the IP of my SMTP server?  Or both?
[07:58] <ropetin> No love for qmail? :)
[07:58] <AnArrayfulOfPerl> more like qfail
[07:58] <twb> BentFranklin: I don't know what an "email server" is.
[07:59] <twb> BentFranklin: sendmail is a mail transport agent (MTA).  All Unix MTAs provide a file "/usr/sbin/sendmail", which bears only historical ties to the sendmail MTA.
[07:59] <ropetin> BentFranklin: the problem is most people these days don't understand really how email works, so the idea of an 'email server' isn't really valid
[08:00] <BentFranklin> Interesting...
[08:00] <twb> BentFranklin: you probably want to configure your MTA to forward all outbound mail to a "smart host", and to not accept inbound mail at all.
[08:00] <twb> BentFranklin: that "smart host" will be your ISP or company mail server.
[08:00] <ropetin> AnArrayfulOfPerl: I agree with the qfail comment, but I spent so long supporting it I know bunches of little tricks for it, so it ends up being easier for me to use than postfix
[08:01] <ropetin> exim gave me hives just reading about it, so I never really tried it
[08:21] <BentFranklin> I'm going to try postfix.
[12:17] <kraut> moin
[15:16] <CarlFK> u-server.. I am trying to mount a external drive.  so that the user can write to it.  I can mount it, but touch: cannot touch `/media/sdc1/x': Permission denied
[15:17] <CarlFK> /dev/sdc1 on /media/sdc1 type ext3 (rw,noexec,nosuid,nodev,user=juser)
[15:24] <orudie> ScottK, around ?
[15:24] <giovani3> CarlFK: right ... you don't have permissions
[15:25] <CarlFK> giovani3: I chmoded the mount point before it was moutned.  that reall makes a difference?
[15:25] <giovani3> CarlFK: ext3 has permissions inside of it ...
[15:26] <giovani3> ls -l /media/sdc1
[15:26] <giovani3> and paste the output on www.pastebin.ca
[15:26] <CarlFK> oh, sorry - got it working
[15:28] <orudie> hi i'm trying to set up mail fliter get this error http://pastebin.com/m5887ecda
[15:31] <orudie> giovani3, ...
[15:34] <orudie> http://pastebin.com/m6ded6e4d
[15:34] <orudie> i'm at this guide trying to set up mail filter https://help.ubuntu.com/8.10/serverguide/C/mail-filtering.html
[15:41] <orudie> i removed the user
[15:41] <orudie> but i guess not entlirely ?
[15:41] <giovani3> I guess not ... why did the user exist in the first place?
[15:41] <orudie> because this is the second time i'm following this guide
[15:41] <orudie> remember ?
[15:41] <orudie> i had problems before
[15:42] <giovani3> no, of course I don't remember
[15:42] <orudie> ok
[15:42] <giovani3> sudo grep -i amavis /etc/passwd
[15:42] <giovani3> run it
[15:43] <orudie> ok i did
[15:43] <giovani3> any results?
[15:44] <orudie> yeah shows system user
[15:44] <giovani3> guess you didn't remove the user then
[15:44] <orudie> i did deluser amavis
[15:44] <orudie> ok now i did
[15:47] <orudie> giovani3, http://pastebin.com/m303bd229
[15:47] <giovani3> sounds like you've completely messed up your system
[15:47] <giovani3> I can't help you
[15:48] <giovani3> maybe someone else here can
[15:48] <orudie> completely messed up my system ?
[15:49] <orudie> here is the entire output
[15:49] <orudie> http://pastebin.com/m439715da
[15:52] <orudie> messed up my system? the only commands i run are were from this guide
[16:14] <orudie> can spamassassin be set up without antivirus ?
[16:15] <ivoks> spamassassin doesn't do antivirus at all
[16:15] <l337ingDisorder> Can anyone help? I'm running ubuntu server and I've installed the partimage-server package. Everything works when I run it manually, but I'd like to have it automatically run on startup. I can find how-to's for running on startup for gnome, but with ubuntu server there's no gnome.. Does anyone know how to auto-run a program with the command-line-only Ubuntu Server?
[16:16] <ivoks> l337ingDisorder: /etc/rc.local is your friend
[16:16] <l337ingDisorder> awesome, thanks :)
[16:16] <l337ingDisorder> and that'll run even if no one has logged in yet?
[16:16] <orudie> ivoks, hi my friend
[16:16] <ivoks> l337ingDisorder: open it and read it :)
[16:17] <l337ingDisorder> ivoks: Hmm.. seems to imply that runs at the END of the runlevel.. I need this to run when the system starts up, not when someone logs out
[16:17] <l337ingDisorder> not when someone logs in either, just when the system first starts up
[16:18] <ivoks> l337ingDisorder: so, you really don't know what runlevel is, right?
[16:18] <ivoks> linux has runlevels
[16:18] <ivoks> 0 1 2 3 4 5 6
[16:18] <ivoks> 0 is shutdown
[16:18] <l337ingDisorder> well I have a vague understanding.. runlevel 0 = off, 1 = root, etc
[16:18] <ivoks> 1 is single user
[16:18] <ivoks> 6 is reboot
[16:18] <orudie> ivoks, http://pastebin.com/m439715da
[16:18] <ivoks> others are available for customization
[16:19] <ivoks> to make story short, user can't even login before the end of runlevel
[16:19] <ivoks> so, /etc/rc.local is really what you want
[16:19] <l337ingDisorder> but I would tend to think the "end" of the runlevel would be when the system finishes that runlevel (ie, if I was logged in as runlevel 5, which I believe is standard, then that runlevel would end when I log out). Is that incorrect?
[16:19] <orudie> ivoks,  chown: invalid user: `clamav:adm'
[16:19] <ivoks> l337ingDisorder: you don't log into runlevel
[16:20] <ivoks> runlevel runs
[16:20] <ivoks> ends and then users can login
[16:20] <l337ingDisorder> ahh ok
[16:20] <ivoks> check /etc/rc2.d/
[16:20] <l337ingDisorder> thanks :)
[16:20] <ivoks> 2 is default runlevel in ubuntu
[16:20] <ivoks> when everything from /etc/rc2.d/ is finished, users can log in
[16:20] <ivoks> notice that last is 'starting rc.local'
[16:21] <l337ingDisorder> last question.. if I want to execute something with rc.local do I need 'exec' at the beginning of the line?
[16:23] <ivoks> no
[16:24] <orudie> ivoks, do you feel like helping today ?
[16:25] <ivoks> 'ivoks, do you feel like doing my job?'
[16:25] <orudie> lol
[16:25] <orudie> i just need to set it up and forget about it
[16:26] <ivoks> that's worst thing you can do
[16:26] <ivoks> so,you don't want antivirus,but still, you install it
[16:26] <ivoks> why?
[16:26] <orudie> i mean for forget about it for now
[16:27] <orudie> i dont know if i need antivirus for mail
[16:27] <l337ingDisorder> ivoks: thanks eh!
[16:28] <ivoks> well, do you get viruses over email?
[16:28] <orudie> but surely spamassassin i need to have set up
[16:29] <ivoks> fighting spam is more complex than just installing spamassassin
[16:29] <orudie> i would imagine
[16:30] <orudie> so should I go on with the guide ?
[16:30] <ivoks> yes
[16:30] <orudie> next command is this sudo apt-get install dkim-filter python-policyd-spf
[16:31] <orudie> should i run it ? i'm afraid its gonna give an error i tried it before
[16:32] <ivoks> well, you didn't finish installing amavis and clamv
[16:32] <ivoks> people don't read these days?
[16:32] <orudie> ivoks, i'm just really stuck
[16:33] <orudie> this stuff is totally new to be but yet it needs to get set up
[16:33] <ivoks> then install clamav
[16:33] <ivoks> sudo apt-get install amavisd-new spamassassin clamav
[16:34] <orudie> ivoks, http://pastebin.com/m5b7f4dba
[16:35] <orudie> chown: invalid user: `clamav:adm'
[16:36] <orudie> ivoks, this talks about this error http://bit.ly/Qc9x
[16:37] <orudie> ivoks,  should i do sudo adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav
[16:38] <ivoks> yes
[16:38] <orudie> ivoks, http://pastebin.com/m14f03569
[16:39] <orudie> better, but some errors
[16:40] <ivoks> what ubuntu version is that?
[16:40] <orudie> 8.10
[16:41] <roy_hobbs> Is it possible to have your MTA (postfix) and MDA (dovecot) on separate machines?  Or in general does every MDA need at least a simple MTA on the same machine?
[16:42] <ivoks> sure they can be on different machines
[16:42] <ivoks> but you should somehow deliver mail to another machine
[16:43] <ivoks> you can use MTA for that, or on a lower level, NFS/DRBD
[16:43] <roy_hobbs> You mean mount the mailstore from the MDA on the MTA?
[16:43] <ivoks> yes
[16:44] <ivoks> or other way arround
[16:44] <roy_hobbs> =)
[16:44] <ivoks> depends on where the load is higher
[16:44] <orudie> ivoks, not sure whats next
[16:45] <ivoks> orudie: sudo apt-get purge clamav.*
[16:45] <ivoks> orudie: sudo apt-get install clamav clamav-daemon
[16:46] <orudie> awww what a beauty
[16:46] <orudie> :)
[16:46] <orudie> i seriously just said that at loud
[16:47] <orudie> no errors ivoks daemons started
[16:47] <orudie>  * Starting ClamAV virus database updater freshclam                                                                         [ OK ]
[16:47] <orudie>  * Starting ClamAV daemon clamd                                                                                             [ OK ]
[16:48] <orudie> ivoks, sudo apt-get install dkim-filter python-policyd-spf
[16:48] <orudie>  ?
[16:48] <orudie> should i run that now ?
[16:49] <ivoks> yes, continue with the guide
[16:49] <orudie> do i need pyzor and / or razor ?
[16:49] <orudie> it says its optional
[16:50] <Nafallo> razor is good for shaving :-)
[16:50] <orudie> Nafallo, and whats pyzor good for ?
[16:50] <orudie> :)
[16:51] <Nafallo> orudie: dunno. shaving pythons? :-P
[16:51] <orudie> lol
[16:52] <orudie> ivoks, any thought on pyzor / razor ?
[16:53] <ivoks> if you don't know what they are, don't use them
[16:54] <orudie> E: Couldn't find package unzoo
[16:54] <orudie> is that a typo ?
[16:54] <orudie> unzoo ?
[16:55] <orudie> .zoo archives
[16:56] <orudie> ivoks, do i need to do sudo adduser clamav amavis
[16:56] <orudie>  ? thouse users are already created right ?
[16:56] <ivoks> yes
[16:56] <ivoks> you are adding clamav user to amavis group
[16:56] <orudie> ok done
[16:58] <orudie> Starting SpamAssassin Mail Filter Daemon: spamd.
[16:58] <orudie> it didnt tell me if it was started OK
[16:58] <orudie> but no errors so i guess its fine ?
[17:00] <orudie> i'm upto the step where it tells me to uncomment 4 lines in /etc/amavis/conf.d/15-content_filter_mode
[17:01] <orudie> now need to edit /etc/amavis/conf.d
[17:03] <ivoks> you shouldn't be doing this on a production system
[17:04] <ivoks> since you don't know exactly what you are doing...
[17:04] <orudie> ivoks, i know but i dont have any other choice
[17:05] <orudie> i'm upto postfix config
[17:05] <orudie> this is whats really throwing me off
[17:06] <orudie> ivoks, it tells me to add a whole bunch of text to the master.cf
[17:06] <ivoks> that's right
[17:06] <ivoks> and that's ok
[17:06] <ivoks> you need that
[17:06] <orudie> so just copy paste all that to the buttom of master.cf right below the last line ?
[17:07] <orudie> then it says add another 2 lines right below "pickup" transport service
[17:08] <orudie> so right below this line ? pickup    fifo  n       -       -       60      1       pickup
[17:08] <ivoks> yes
[17:08] <orudie> ok done
[17:09] <orudie> http://pastebin.com/m181e44d1
[17:09] <orudie> ivoks,
[17:10] <ivoks> yes?
[17:12] <orudie> now cant connect to smtp
[17:12] <orudie> same as i when i tried this on my own a few days ago
[17:12] <ivoks> check the logs
[17:12] <ivoks>  /var/log/mail.log
[17:12] <orudie> yep looking at the logs here
[17:12] <ivoks> always remember to look at the logs
[17:12] <orudie> http://pastebin.com/m239cfce5
[17:13] <ivoks> if something doesn't work, you aren't lost, you can always find out what's wrong
[17:13] <orudie> yup i am looking at logs tail
[17:13] <ivoks> there, it even said which line
[17:13] <orudie> observing whats happening
[17:13] <ivoks> now, take a look at the guide
[17:13] <orudie> i see , line 24
[17:13] <orudie> but
[17:13] <orudie> that was before i tried
[17:13] <ivoks> content_filter doesn't go into master.cf
[17:14] <ivoks> you've didn't read carefully
[17:15] <orudie> you mean this ? sudo postconf -e 'content_filter = smtp-amavis:[127.0.0.1]:10024'
[17:15] <moz_> im getting really frustrating problems, where my wireless connection is being lost not always but often whenever i perform a certain action, like trying to view on ftp a directory called "user", and its not simple losing signal as i have another wireless windows machine im on at the moment next to it working fine
[17:15] <ivoks> orudie: right...
[17:15] <moz_> it is also disconnects often but not always whenever i run a certain gimp script
[17:15] <ivoks> orudie: paste your master.cf on pastebin
[17:15] <moz_> and i have to replug in my USB wireless device to get it working again, i have no idea why
[17:15] <orudie> ivoks, so remove this line from master.cf ?ok i will
[17:18] <moz_> i just tried it again, 3 times in a row my wireless connection disconnects when I view a certain directory i cant get to it, anyone have any idea whats happening, what oculd be causing this sort of problem ?
[17:19] <ivoks> moz_: on server?
[17:19] <moz_> ivoks: yeah
[17:19]  * ivoks doesn't see connection between gimp and server
[17:19] <orudie> ivoks, http://pastebin.com/m76d25eb5
[17:20] <moz_> ivoks: this time its ftp, whenever i open the directory /var/www/user/ which has a list of about 150 pictures, it will disconnect
[17:20] <moz_> and will fail to reconnect untill i replug my usb wireless device
[17:21] <ivoks> orudie: put [tab] in front of the lines you added bellow the pickup
[17:21] <ivoks> orudie: guide tells you to put some space
[17:21] <ivoks> strange... dmesg shows nothing?
[17:22] <ivoks> orudie: http://pastebin.com/m5b9f44 like this
[17:22] <orudie> yup done
[17:23] <moz_> ivoks: im a bit new, i see dmesg is a kind of device log? how can i see its recent activity?
[17:23] <ivoks> moz_: tail -f /var/log/dmesg
[17:23] <moz_> thanks
[17:23] <ivoks> moz_: then do whatever you do to break the connection
[17:24] <orudie> ivoks, ok well mail is working now at least
[17:24] <orudie> not sure if spam is blocked though
[17:24] <ivoks> orudie: check the source of the mail
[17:24] <ivoks> orudie: headers
[17:25] <ivoks> it should have 'X-Virus-Scanned' header
[17:25] <ivoks> and that's very basic anti-spam
[17:26] <ivoks> anyway, i'm leaving now
[17:26] <orudie> ivoks, wait bro how do i check the source ?
[17:26] <orudie> you mean html source ?
[17:27] <ivoks> mail isn't html
[17:28] <moz_> ivoks: typical it works! but i'll leave this log open no doubt it'll go wrong soon
[17:28] <orudie> ivoks, http://pastebin.com/m2540ae90
[17:30] <ivoks> orudie: follow the guide
[17:30] <ivoks> Troubleshooting
[17:31] <orudie> ok i will, how does main.cf look though ?
[17:33] <orudie> i think im getting that error because i didnt add $myhostname = 'mail.example.com' to /etc/amavis/conf.d/50-user file
[17:34] <ivoks> omg
[17:34] <ivoks> If you see the following error in /var/log/syslog when amavisd is trying to scan a message:
[17:34] <orudie> ?
[17:35] <orudie> thats the reason ?
[17:40] <orudie> he left :(
[19:41] <jerrymcfarts> hey I was wondering if anyone tried installing http://mixblendr.com/
[19:51] <moz_> can anyone reccomend a popular USB wireless stick that works natively with ubuntu-server, im tired of having problems with them
[19:51] <moz_> that i wont have any driver issues with and is also a reliable stick
[20:52] <supertanker> Hey, this is more of a sort of linux 'theory' question...should my little Ubuntu server have Make and such on it so I can, say, compile an ircd?
[20:53] <p_quarles> supertanker: well, yes, if you need to compile things, you need the build-utils; that's not really theory
[21:03] <andol> supertanker: Just install it when/if you need it. build-essential is a convienient meta-packages.
[21:03] <supertanker> Thanks
[21:07] <Noah0504> Eh, can anyone help me out with Samba?  I've been able to configure it in the past, but I was trying to make it a little more secure, but all of the documentation I read is a little confusing.
[21:28] <zox> Noah0504: i might help if you specify the exact problem :-)
[21:29] <supertanker> Wow, andol, build-essential *really* is convenient! Thanks
[21:32] <storrgie> would anyone know about smart monitoring in linux?
[21:33] <MianoSM> sourceforge has some good info
[21:34] <storrgie> MianoSM: i saw one on there that was a boot utility... i want to be able to check on a booted up machine... have a big array I would like to be checking.
[21:36] <Noah0504> zox: Well, I used to just have one share that had different folders in it for people or things around the house.  I started looking into sharing home directories, which appears to work on my Mac, but Windows won't let me log in.  Also, I need to make a share that is basically public for my media center.
[21:48] <zox> Noah0504: you can user security as 'user' and use [private] and [public] sections, thats how i setup my samba server
[21:49] <Noah0504> zox: I have that set up for home shares right now.  I can log in perfectly on my Mac, but Windows isn't having it.  Also, how do I set permissions for a public share?
[21:52] <zox> Noah0504: guest only = yes; guest ok = yes and you must also specify the guest account in [global] section and also that user must have write permissions to the path
[21:53] <Noah0504> Ah, okay.  Well, I'll keep going at it.  I think I'm getting close to accomplishing everything now.
[21:53] <Noah0504> Thanks.
[21:54] <zox> np, hope it works if not let us know.. if we can we will help out