[00:05] Begs: sudo chmod 0755 somefile # In other words, make sure you have root privileges when running the chmod ? [00:06] anyone know why my USB wireless connection seems to be disconnecting when I changed my port forwarding configuration on port 80 [00:08] every single time I change it, it disconnects === jmarsden_ is now known as jmarsden [02:12] 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] maybe your cpu is maxed out? [02:17] nope, i have ran top and have been watching the cpu and the most usage that happens is about 2 or 3% [02:17] run "vmstat 5 5" [02:18] and paste the output at www.pastebin.ca [02:19] http://www.pastebin.ca/1367716 [02:20] this is while it's rebuilding raid? [02:20] correct [02:20] it has been building for about 24hrs now [02:21] yeah, honestly, I don't know -- that seems odd, how little disk traffic there is [02:21] sorry I can't be of more help [02:21] so vmstat is for diskusage? [02:22] no, vmstat shows a variety of things, as you can see from the column headers there [02:22] it shows memory, disk io, cpu usage, etc [02:23] my raid is reshaping not rebuilding would that matter any? [03:12] while my raid is reshaping would it be a bad idea to copy files to it, would the reshaping take longer? [03:13] 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] it will probably take a little longer [03:16] not sure about rebooting while the reshaping is busy though [03:16] ok, thx [04:22] 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] AnArrayfulOfPerl: why would your DNS server be providing DNS services to the WAN? [04:36] cause my domain's registrars' DNS servers ar shitty [06:57] hey all [06:57] 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] hey again [07:00] AnArrayfulOfPerl: I would not expect a DNS server to listen to upstream interfaces. [07:01] i mean i am having my modem forward DNS to my server and it does kinda work [07:03] AnArrayfulOfPerl: what are you actually trying to achieve? [07:04] 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] 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] hosting the A record for my own machine [07:06] I don't know why you'd bother. Just use zonedit or dyndns or whatever. [07:06] because i already have a domain and i don't want to have to pay for DNS [07:08] zoneedit claims to be gratis for the first few domains. [07:08] hey all [07:09] k, i never have heard of zonedit [07:09] everydns also works nicely [07:09] k [07:09] run by the same guy who started opendns [07:09] i wuv opendns [07:09] i use zoneedit [07:09] never had a complaint [07:11] how long can a MySQL replication slave be down before it might be a problem re-syncing with the master? [07:12] Dunno; I tend to prefer postgres or, for toys, sqlite. You could try #mysql. [07:12] right, will do [07:48] 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] BentFranklin: you need a mail transport agent. [07:49] Hi twb! [07:49] Ok, all I need is the client stuff. The mails erver is one my ISP [07:51] Maybe I just install Thunderbird? I suppose there is a way to control it from command line. [07:52] You can use Mutt to send E-Mails from the CLI, might do what you want [07:52] BentFranklin: thunderbird is an MUA, not an MTA. [07:53] Telnet and google ;-) [07:53] 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] 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] But any modern MUA does talk SMTP, even Mutt these days [07:54] Telnet and google [07:54] This is particularly bad if e.g. SMART or cron errors rely on emailing you to notify you of problems. [07:54] AnArrayfulOfPerl: mailfrom: ? [07:54] Yes, I want messages from cron jobs [07:55] rcpt to: :) [07:55] yes [07:55] Old school :) [07:55] 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] 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] Of the two MTAs in the `main' category, I would recommend postfix over exim4. [07:56] Sorry i've not been in serverey stuff for a looooooooooong time think perl 2 ;) [07:58] So, sendmail is an email server? Or do I tell it the IP of my SMTP server? Or both? [07:58] No love for qmail? :) [07:58] more like qfail [07:58] BentFranklin: I don't know what an "email server" is. [07:59] 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] 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] Interesting... [08:00] 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] BentFranklin: that "smart host" will be your ISP or company mail server. [08:00] 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] exim gave me hives just reading about it, so I never really tried it [08:21] I'm going to try postfix. [12:17] moin === jwstolk is now known as jwstolk_lurking [15:16] 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] /dev/sdc1 on /media/sdc1 type ext3 (rw,noexec,nosuid,nodev,user=juser) [15:24] ScottK, around ? [15:24] CarlFK: right ... you don't have permissions [15:25] giovani3: I chmoded the mount point before it was moutned. that reall makes a difference? [15:25] CarlFK: ext3 has permissions inside of it ... [15:26] ls -l /media/sdc1 [15:26] and paste the output on www.pastebin.ca [15:26] oh, sorry - got it working [15:28] hi i'm trying to set up mail fliter get this error http://pastebin.com/m5887ecda [15:31] giovani3, ... [15:34] http://pastebin.com/m6ded6e4d [15:34] i'm at this guide trying to set up mail filter https://help.ubuntu.com/8.10/serverguide/C/mail-filtering.html [15:41] i removed the user [15:41] but i guess not entlirely ? [15:41] I guess not ... why did the user exist in the first place? [15:41] because this is the second time i'm following this guide [15:41] remember ? [15:41] i had problems before [15:42] no, of course I don't remember [15:42] ok [15:42] sudo grep -i amavis /etc/passwd [15:42] run it [15:43] ok i did [15:43] any results? [15:44] yeah shows system user [15:44] guess you didn't remove the user then [15:44] i did deluser amavis [15:44] ok now i did [15:47] giovani3, http://pastebin.com/m303bd229 [15:47] sounds like you've completely messed up your system [15:47] I can't help you [15:48] maybe someone else here can [15:48] completely messed up my system ? [15:49] here is the entire output [15:49] http://pastebin.com/m439715da [15:52] messed up my system? the only commands i run are were from this guide [16:14] can spamassassin be set up without antivirus ? [16:15] spamassassin doesn't do antivirus at all [16:15] 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] l337ingDisorder: /etc/rc.local is your friend [16:16] awesome, thanks :) [16:16] and that'll run even if no one has logged in yet? [16:16] ivoks, hi my friend [16:16] l337ingDisorder: open it and read it :) [16:17] 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] not when someone logs in either, just when the system first starts up [16:18] l337ingDisorder: so, you really don't know what runlevel is, right? [16:18] linux has runlevels [16:18] 0 1 2 3 4 5 6 [16:18] 0 is shutdown [16:18] well I have a vague understanding.. runlevel 0 = off, 1 = root, etc [16:18] 1 is single user [16:18] 6 is reboot [16:18] ivoks, http://pastebin.com/m439715da [16:18] others are available for customization [16:19] to make story short, user can't even login before the end of runlevel [16:19] so, /etc/rc.local is really what you want [16:19] 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] ivoks, chown: invalid user: `clamav:adm' [16:19] l337ingDisorder: you don't log into runlevel [16:20] runlevel runs [16:20] ends and then users can login [16:20] ahh ok [16:20] check /etc/rc2.d/ [16:20] thanks :) [16:20] 2 is default runlevel in ubuntu [16:20] when everything from /etc/rc2.d/ is finished, users can log in [16:20] notice that last is 'starting rc.local' [16:21] last question.. if I want to execute something with rc.local do I need 'exec' at the beginning of the line? [16:23] no [16:24] ivoks, do you feel like helping today ? [16:25] 'ivoks, do you feel like doing my job?' [16:25] lol [16:25] i just need to set it up and forget about it [16:26] that's worst thing you can do [16:26] so,you don't want antivirus,but still, you install it [16:26] why? [16:26] i mean for forget about it for now [16:27] i dont know if i need antivirus for mail [16:27] ivoks: thanks eh! [16:28] well, do you get viruses over email? [16:28] but surely spamassassin i need to have set up [16:29] fighting spam is more complex than just installing spamassassin [16:29] i would imagine [16:30] so should I go on with the guide ? [16:30] yes [16:30] next command is this sudo apt-get install dkim-filter python-policyd-spf [16:31] should i run it ? i'm afraid its gonna give an error i tried it before [16:32] well, you didn't finish installing amavis and clamv [16:32] people don't read these days? [16:32] ivoks, i'm just really stuck [16:33] this stuff is totally new to be but yet it needs to get set up [16:33] then install clamav [16:33] sudo apt-get install amavisd-new spamassassin clamav [16:34] ivoks, http://pastebin.com/m5b7f4dba [16:35] chown: invalid user: `clamav:adm' [16:36] ivoks, this talks about this error http://bit.ly/Qc9x === jwstolk_lurking is now known as jwstolk [16:37] 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] yes [16:38] ivoks, http://pastebin.com/m14f03569 [16:39] better, but some errors [16:40] what ubuntu version is that? [16:40] 8.10 [16:41] 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] sure they can be on different machines [16:42] but you should somehow deliver mail to another machine [16:43] you can use MTA for that, or on a lower level, NFS/DRBD [16:43] You mean mount the mailstore from the MDA on the MTA? [16:43] yes [16:44] or other way arround [16:44] =) [16:44] depends on where the load is higher [16:44] ivoks, not sure whats next [16:45] orudie: sudo apt-get purge clamav.* [16:45] orudie: sudo apt-get install clamav clamav-daemon [16:46] awww what a beauty [16:46] :) [16:46] i seriously just said that at loud [16:47] no errors ivoks daemons started [16:47] * Starting ClamAV virus database updater freshclam [ OK ] [16:47] * Starting ClamAV daemon clamd [ OK ] [16:48] ivoks, sudo apt-get install dkim-filter python-policyd-spf [16:48] ? [16:48] should i run that now ? [16:49] yes, continue with the guide [16:49] do i need pyzor and / or razor ? [16:49] it says its optional [16:50] razor is good for shaving :-) [16:50] Nafallo, and whats pyzor good for ? [16:50] :) [16:51] orudie: dunno. shaving pythons? :-P [16:51] lol [16:52] ivoks, any thought on pyzor / razor ? [16:53] if you don't know what they are, don't use them [16:54] E: Couldn't find package unzoo [16:54] is that a typo ? [16:54] unzoo ? [16:55] .zoo archives [16:56] ivoks, do i need to do sudo adduser clamav amavis [16:56] ? thouse users are already created right ? [16:56] yes [16:56] you are adding clamav user to amavis group [16:56] ok done [16:58] Starting SpamAssassin Mail Filter Daemon: spamd. [16:58] it didnt tell me if it was started OK [16:58] but no errors so i guess its fine ? [17:00] i'm upto the step where it tells me to uncomment 4 lines in /etc/amavis/conf.d/15-content_filter_mode [17:01] now need to edit /etc/amavis/conf.d [17:03] you shouldn't be doing this on a production system [17:04] since you don't know exactly what you are doing... [17:04] ivoks, i know but i dont have any other choice [17:05] i'm upto postfix config [17:05] this is whats really throwing me off [17:06] ivoks, it tells me to add a whole bunch of text to the master.cf [17:06] that's right [17:06] and that's ok [17:06] you need that [17:06] so just copy paste all that to the buttom of master.cf right below the last line ? [17:07] then it says add another 2 lines right below "pickup" transport service [17:08] so right below this line ? pickup fifo n - - 60 1 pickup [17:08] yes [17:08] ok done [17:09] http://pastebin.com/m181e44d1 [17:09] ivoks, [17:10] yes? [17:12] now cant connect to smtp [17:12] same as i when i tried this on my own a few days ago [17:12] check the logs [17:12] /var/log/mail.log [17:12] yep looking at the logs here [17:12] always remember to look at the logs [17:12] http://pastebin.com/m239cfce5 [17:13] if something doesn't work, you aren't lost, you can always find out what's wrong [17:13] yup i am looking at logs tail [17:13] there, it even said which line [17:13] observing whats happening [17:13] now, take a look at the guide [17:13] i see , line 24 [17:13] but [17:13] that was before i tried [17:13] content_filter doesn't go into master.cf [17:14] you've didn't read carefully [17:15] you mean this ? sudo postconf -e 'content_filter = smtp-amavis:[127.0.0.1]:10024' [17:15] 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] orudie: right... [17:15] it is also disconnects often but not always whenever i run a certain gimp script [17:15] orudie: paste your master.cf on pastebin [17:15] and i have to replug in my USB wireless device to get it working again, i have no idea why [17:15] ivoks, so remove this line from master.cf ?ok i will [17:18] 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] moz_: on server? [17:19] ivoks: yeah [17:19] * ivoks doesn't see connection between gimp and server [17:19] ivoks, http://pastebin.com/m76d25eb5 [17:20] 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] and will fail to reconnect untill i replug my usb wireless device [17:21] orudie: put [tab] in front of the lines you added bellow the pickup [17:21] orudie: guide tells you to put some space [17:21] strange... dmesg shows nothing? [17:22] orudie: http://pastebin.com/m5b9f44 like this [17:22] yup done [17:23] ivoks: im a bit new, i see dmesg is a kind of device log? how can i see its recent activity? [17:23] moz_: tail -f /var/log/dmesg [17:23] thanks [17:23] moz_: then do whatever you do to break the connection [17:24] ivoks, ok well mail is working now at least [17:24] not sure if spam is blocked though [17:24] orudie: check the source of the mail [17:24] orudie: headers [17:25] it should have 'X-Virus-Scanned' header [17:25] and that's very basic anti-spam [17:26] anyway, i'm leaving now [17:26] ivoks, wait bro how do i check the source ? [17:26] you mean html source ? [17:27] mail isn't html [17:28] ivoks: typical it works! but i'll leave this log open no doubt it'll go wrong soon [17:28] ivoks, http://pastebin.com/m2540ae90 [17:30] orudie: follow the guide [17:30] Troubleshooting [17:31] ok i will, how does main.cf look though ? [17:33] i think im getting that error because i didnt add $myhostname = 'mail.example.com' to /etc/amavis/conf.d/50-user file [17:34] omg [17:34] If you see the following error in /var/log/syslog when amavisd is trying to scan a message: [17:34] ? [17:35] thats the reason ? [17:40] he left :( === chrisadams is now known as Chrisadams === Chrisadams is now known as chris_d_adams === Noah0504 is now known as Noah0504|away [19:41] hey I was wondering if anyone tried installing http://mixblendr.com/ === Noah0504|away is now known as Noah0504 [19:51] can anyone reccomend a popular USB wireless stick that works natively with ubuntu-server, im tired of having problems with them [19:51] that i wont have any driver issues with and is also a reliable stick === hessml|away is now known as hessml|away|away === Noah0504 is now known as Noah0504|away === Noah0504|away is now known as Noah0504 [20:52] 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] supertanker: well, yes, if you need to compile things, you need the build-utils; that's not really theory [21:03] supertanker: Just install it when/if you need it. build-essential is a convienient meta-packages. [21:03] Thanks [21:07] 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] Noah0504: i might help if you specify the exact problem :-) [21:29] Wow, andol, build-essential *really* is convenient! Thanks [21:32] would anyone know about smart monitoring in linux? [21:33] sourceforge has some good info [21:34] 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] 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] Noah0504: you can user security as 'user' and use [private] and [public] sections, thats how i setup my samba server [21:49] 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] 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] Ah, okay. Well, I'll keep going at it. I think I'm getting close to accomplishing everything now. [21:53] Thanks. [21:54] np, hope it works if not let us know.. if we can we will help out === Noah0504 is now known as Noah0504|away === asac_ is now known as asac