/srv/irclogs.ubuntu.com/2008/08/03/#ubuntu-server.txt

=== nop is now known as Guest39655
=== Guest39655 is now known as nop_
=== nop_ is now known as nop__
KapliAlso, how can i specify a root directory for a specific user?00:18
ScottKKapli: man adduser00:20
Kapliwill adduser --home restrict the user from every other directory00:25
Kaplimeaning when he connects with ssh client he will be in that directory and cant go anywhere else00:25
jamesrflaHi00:30
jamesrflawow lots of people00:30
ErikWestruphi there00:34
Kaplii dont want a user to go anywhere than his home directory, how to do this?00:39
jamesrflapermissions00:40
jamesrfladon't share /home00:40
jamesrflahope that helps GTG00:43
Kaplihome dont understand :S well i found something called jail will try it00:43
PrivateVoidhttp://www.ustream.tv/channel/the-tech-guy-at-work01:00
PrivateVoidgirls dancing01:01
PrivateVoidnuma numa at my house01:01
ErikWestrupPrivateVoid is that a live thingy? If so: pretty cool01:07
ErikWestrupbut I hate what it's showing (numa numa)01:08
PrivateVoidyea01:08
PrivateVoidmy daughter and her friends01:09
PrivateVoidmilk and cereal01:10
* ScottK notes the topic and is confused about the current discussion.01:12
TechPepsidoes anyone use Vent?01:15
TechPepsiwhat needs to be in the log  in file for vent to be started?01:15
Kaplinot much01:21
Kaplilet me check01:21
dustyIs it a clever idea to put your gpg public key on your website? won't that mean that anyone that has that could potentially intercept the email and read it with your public key that you made available to them via your personal website ?01:22
KapliTechPepsi: 3.0 or 2.1 ?01:22
TechPepsi3.001:22
Kapliwell then theres basically nothing u need to do in the ini file to make it work01:23
hadsdusty: That's what public keys are all about. Protect your private key and publish your public key.01:23
Kaplibut u probably want to edit the name, auth if u want passworded server and the password and also edit the adminpassword01:24
Kaplii am off01:24
=== freaky[t] is now known as c1|freaky
TechPepsiis there any irc server soft we can wget?02:37
ScottKTechPepsi: If packages.ubuntu.com weren02:42
ScottKweren't down, search it would give you a result similar to http://packages.debian.org/search?keywords=irc+server&searchon=all&suite=unstable&section=all02:42
ScottKHave a look there for something that seems right.02:42
TechPepsiwhy is it down?02:47
TechPepsiit's down, right now02:48
ScottKDunno.  Just know it's not responding.03:10
TechPepsiis there irc server software that we can edit?03:52
ScottKDoes UFW have an option to block outbound connections?03:55
javagamerCan anyone help me setting up a simple mail server?  I've been following https://help.ubuntu.com/community/PostfixBasicSetupHowto#Postfix%20virtual%20Aliases%20for%20separate%20domains%20and%20Linux%20system%20accounts after getting loss on several other guides and I've gottne to switching Postfix to Maildir, but when I go to test it I sent a message to fmaster (the test account) and I can see a new message in04:00
javagamer/home/fmaster/Maildir/new/, but when I log in to fmaster and type mail it says fmaster has no mail. What should I do?04:00
javagamerWoops, looks like 'mail' doesn't work with Maildir.04:06
ScottKI'm guessing configure your mail reader correctly.04:06
jdstrandScottK: ufw the command does not, but you can add stuff in /etc/ufw/*.rules as needed04:13
ScottKjdstrand: I'm thinking that would be a good feature.04:14
ScottKIt's very common in Windows firewalls.04:14
hadsThere is a version of 'mail' that can handle maildir. Can't remember what package provides it right now.04:30
javagamerWhat should I do about "warning: do not list domain javagamer.net in BOTH mydestination and virtual_alias_domains" if I want javagamer@mysite.com, comment@mysite.com, and support@mysite.com all to go to the javagamer account?04:40
javagamerIt's in the mail.log, reffering to postfix04:43
ScottKjavagamer is a real account?04:48
javagamerYes, but comment and support aren't.04:49
ScottKI see04:51
ScottKIIRC make the domain virtual (remove it from mydestination) and then mess with virtual aliases or some such to get javagamer where you want it.04:52
ScottKIt's been quite some time since I messed with that, so I don't recall for sure.04:52
javagamerI'll try that, thanks.04:53
javagamerI tried adding javagamer and fmaster to the aliases, but it still complained about them being unknown in the virtual user database.05:15
javagamerSo I'm just not using virtual users for now05:16
AndyBAnyone able to help with an apache issue?05:24
ScottKI'm sure not me, but if you ask your actual question your odds go up.05:27
AndyBHm, well im on Ubuntu Desktop 8.4, noone in #ubuntu could help. Im trying to install apache. I have tried both tasksel and apt-get for installing apache05:29
AndyBTask sel failed completely and crashed, while sudo apt-get install apache2 worked fine, installed, and started, said it was working, but when i open localhost in my browser i see nothing05:29
AndyBIt is running, ive restarted, checked configs, nothing in error log.. no idea why its not displaying a page. netstat says nothing is bound to port 80.. but in the config file its set to Listen on 80. Anyone any idea?05:30
ScottKMy second bit of advice is for patience.05:31
ScottKThis is a pretty dead time of day here.05:31
AndyBI have patience. I will wait for my answer.. most likely get some sleep as its 5:30, but i will wait :)05:31
javagamerCertain it's running, when my server has problems it can go down and not come back by a restart command.  Use ps -ax to check if it's running, if not try restarting, then check the error log if it's not up.05:33
javagamerI'm far from an expert with apache and I just got my server working properly yesterday, so no guarantee that will work.05:33
AndyBhmm05:34
AndyBits returning four results for "/usr/sbin/apache2 -k start"05:34
javagamerBut localhost:80 gives you nothing?05:35
AndyBOk, ive stopped the apache, and re-ran your command, no apache processes now. restarted, got them again. and localhost:80 just times out05:35
javagamerI'm stumped, I'm sure once this gets more active someone will be able to help you.05:36
AndyBThanks:)05:36
javagamerIt wouldn't hurt to do an update with apt-get update and apt-get upgrade05:37
javagamerDoes javagamer.net display anything for you?  I think my ISP is blocking port 80 :(05:38
AndyBDone :) upgrade did nothing but update did some. Going to restart apache and check05:38
AndyBNo it also times out :(05:39
AndyByou forwarded the ports?05:39
javagamerYeah, I can get it on my lan, I have a feeling it's blocked.05:39
javagamerMy ISP doesn't let me host servers, so I'm switching soon as I get the chance.05:40
AndyB:) good idea05:41
javagamerWell, night.  Good luck getting apache to work.05:41
AndyBThanks:) NIght05:41
AndyBRight well im going to get some sleep, almost 6am and i still cant fix my apache issue. If anyone could offer any advice please, please send me a /msg and ill check again after a few hours sleep.05:47
ScottKlamont: RE Bug 247322: I'm too tired to consider dealing with git.  Debiff in the bug has the basic stuff.  Over to you to do some debian/rules magic to shove them in the .deb.06:13
uvirtbotLaunchpad bug 247322 in qutim "Отправить нескольким контактам" [Wishlist,New] https://launchpad.net/bugs/24732206:13
ScottKOops.06:14
ScottKThat would be Bug 247332.06:14
uvirtbotLaunchpad bug 247332 in postfix "Please add a script to allow filter services to be programatically added to master.cf" [Wishlist,In progress] https://launchpad.net/bugs/24733206:14
ScottKDid I mention I was tired?06:14
ScottKOff to bed.06:14
=== c1|freaky is now known as fReAkY[t]
TechPepsihaha08:51
TechPepsiyou are?08:51
Deepsjavagamer: just run your webserver on a different port?08:52
AndyBGah im back sorry :( Was on maybe six hours ago, anyone any idea on the apache issue?12:50
javagamerHey AndyB13:00
AndyBHii :)13:00
javagamerAndyB, why are you putting Apache on a desktop installation?13:06
AndyBBecause i am a PHP Developer, I only want to test some of my apps on localhost before upping them to my site.13:08
javagamerAh.13:09
\shAndyB: what was the issue?13:11
AndyBApache is not working13:12
AndyBNothing in error logs, install is correct, i have restarted, reinstalled, it is running.. the process is there13:12
AndyBBut nothing is listening on 80 for netstat. And localhost times out13:13
\shAndyB: checked ports.conf that apache is really trying to listen on port 80?13:14
AndyBYes it is13:14
javagamerThis might help: http://www.spoffle.com/technical/how-to-set-up-lamp-on-ubuntu-desktop-edition/13:14
javagamerDid you start with sudo? Otherwise apache can't get port 80.13:15
AndyBYes i did13:15
\shAndyB: fuser -n tcp 80 does say?13:15
AndyBNothing.. the command runs but doesnt output anything13:16
\shAndyB: ps -ef|grep apache but gives you an output?13:16
AndyBhttp://paste.ubuntu.com/33614/13:18
\shAndyB: and what gives: netstat -anp|grep apache ?13:19
javagamerAndyB: Your ps output looks just like mine.  Be sure to do sudo netstat13:20
AndyBhttp://paste.ubuntu.com/33616/13:20
javagamerTry adding sudo to see all processes13:21
\shAndyB: sudo netstat -anp|grep apache pls :)13:21
AndyBhttp://paste.ubuntu.com/33618/13:21
AndyBThats sudo13:21
javagamertcp6? Is it running only on IPv6 networks?13:23
AndyBI have no idea13:23
javagamerWell, that would *might* explain why it's not working.  I'll go look for what configures it for IPv6, this is just as guess though.13:24
AndyBill hit google too13:24
javagamer"if you run Apache on systems where IPv6 support exists, Apache gets IPv6 listening sockets by default"13:25
javagamerfrom http://www.linuxjournal.com/article/5451, not sure if that is/isn't backwards compatible13:25
\shjavagamer: the output is correct...13:26
\shAndyB: so you apache is listening on port 80 :)13:26
AndyBi have no idea why its not working then:(13:26
javagamerDoes it have a default page?13:27
\shAndyB:  telnet 127.0.0.1 80 ?13:27
javagamerLook for anything in apache2/sites-enabled/13:27
\shAndyB: and if this is not working try telnet <your real ip address of eth0> 8013:27
AndyBit has a default page in www but thats not loading13:27
AndyBand 127.0.0.1 on telnet doesnt load, hold on ill try the other13:27
AndyBReal address? as in my real ip? or my internal ip?13:28
\shAndyB: the ip of eth013:28
AndyBSame result13:30
AndyBIt really has me confused:(13:33
\shwell past your /etc/apache2/sites-{available,enabled}/ ls output and the contents of default (when you didn't tweak the config)13:34
\shAndyB: the standard install just works out of the box.13:35
AndyBI know :( but it doesnt. Ive tried reinstalling, and i tried tasksel for LMAp13:35
\shAndyB: just increase the loglevel to debug or error in apache2.conf and see then...I wonder if you have no problems with the vhosts stuff13:36
\shno namevirtualhost or something like this13:37
javagamerAndyB, unless you did apt-get purge before reinstalling, the reinstallation didn't reset your config files.13:39
AndyBI did do a purge13:40
AndyBis there any possible firewall getting in the way?13:43
javagamerNot by default13:43
AndyBTried editing the loglevel, still nothing13:44
javagamerTry doing an nmap scan, nmap -A 127.0.0.1, that should tell you if the port is open.13:44
AndyBinstalling nmap13:45
AndyBStarting Nmap 4.53 ( http://insecure.org ) at 2008-08-03 13:45 IST13:46
AndyBNote: Host seems down. If it is really up, but blocking our ping probes, try -PN13:46
AndyBNmap done: 1 IP address (0 hosts up) scanned in 2.078 seconds13:46
javagamerCan you ping yourself?13:47
\shAndyB: did you enable ufw ?13:47
AndyBNo i cannot ping myself.13:47
\shsudo ufw disable13:47
AndyBsh: no, what is ufw?13:47
\shsudo iptables -F is also working13:47
\shubuntu firewall13:47
jdstrandufw allows ping by default13:48
javagamerDo nmap -PN -A 127.0.0.113:48
\shAndyB: so ping 127.0.0.1 doesn't work?13:48
\shjdstrand: yes...at least localhost :)13:48
jdstrandthough the 'disable' command is convenient to flush everything in case there are some errant iptables rules13:49
AndyBFirewall is not loaded, Javagamer: I did, and posted the results above.13:49
AndyBsh: No, Ping 127.0.0.1 doesnt work13:49
javagamerAndyB: Notice the -PN switch this time.  That makes it continue, despite not being able to ping you.13:49
AndyBlooks like it will take some town13:51
AndyB**time13:51
javagamerIt might, it will scan your computer and try and identify everything running on each port.13:51
AndyBLooks to be stuck on 7.58%13:57
AndyBWould a complete reinstall of ubuntu fix the issue?13:57
cryptedProblem: machine refuses to connect to internet14:05
cryptedPlease help! :(14:05
cryptedI tried everything I know of... :(14:06
AndyBjust over 2 minutes. . patient14:08
`ph8hi guys, i've got a server install that appears to be suddenly dropping network connections (br0 entering disabled state intermittently?) - i'm stuck on how i could possibly debug, there doesn't appear to be any information in log files - does anyone have any ideas?14:49
`ph8ah, datacentre's fault!14:53
`ph8happy days14:53
Nafallodatacenter?14:53
Nafallothat sounds weird.14:54
`ph8in what way?14:54
Nafallothey usually don't care about network that much. rather power and space.14:54
`ph8i'm connected to a faulty switch14:55
Nafalloah. ISP then.14:55
`ph8but i shouldn't be on that switch in the first place, hence them not realising the problem straight away14:55
`ph8sorry, my bad14:55
exothello, how do I configure the routing table to route the traffic came by vpn to the vpn server14:58
exotDeeps, I think you will kill me ;)14:58
Deeps?15:00
Nafalloah. BSQ. wouldn't actually have been surprised if it had been the DC then ;-)15:00
Deepsoh, did we do this before?15:00
exothehe many :D15:00
Deepsroute add x.x.x.x/yy gw vpn.server.ip15:00
Deepswhere x.x.x.x/yy is the vpn ip range15:00
exotand about dev ppp15:00
Deepsi'm assuming here that the vpn server is in the same subnet15:01
`ph8Nafallo, how did you trace that back? :)15:01
exotyes it is15:01
exothmm .. the vpn range 192.168.10.0 . and the network 192.168.200.015:01
Nafallo`ph8: ph8's IP, whois and contract information ;-)15:01
`ph8ahh15:02
`ph8:)15:02
Nafallocontact even15:02
exotdeeps, you assumed a virtual interface holds an ip of the vpn range, right ?15:04
exoton each server15:04
Deepsno15:06
exotdeeps, I get the message : route: netmask 000000ff doesn't make sense with host route15:10
javagamerAnyone here using FiOS?15:15
`ph8javagamer, fiOS?15:34
javagamerVerizon FiOS15:41
ScottKjavagamer: Yes.15:53
javagamerScottK: Do you like it? I've been considering switching to FiOS Business.15:55
ScottKThat's what I have.15:55
ScottKYes.  I like it.15:55
ScottKIt's not as reliable as running a server from a well run data center, but very usable for most purposes.15:56
ScottKCertainly more reliable than the Comcast Business I used to have.15:56
ScottKlamont: Did you see my ping earlier?15:58
AndyBI got Apache to work ^^ Did a complete reinstall of ubuntu and apt-get apache2. Works great now16:02
javagamerRight now I have Optimum Online and I'm choosing to switch to FiOS for business service.  THe speed is pretty reliable, right?16:02
javagamerAndyB: Good to hear.  Reinstalls always seem to fix things.16:03
ScottKjavagamer: It seems so to me, but I don't take measurements.16:04
ScottKAndyB: Do you know what went wrong the first time?16:05
javagamerScottK: Alright, as long as it seems consistent, I know my current internet can drop to sluggish speeds at times.16:05
ScottKjavagamer: Depending on where you are, I have no idea how reliable their network is nation wide ...16:06
AndyBScottK: No idea. I tried EVERYTHING. It was running, listening on 80.. But timing out. I tried reinstalling apache, restarting, tasksel.. everything. Just a fluke error i guess.16:11
ScottKAndyB: OK.  It'd have been useful to know (for docs if nothing else), but I guess it gets written off to "Stuff happens".16:11
AndyBYeah :) I would have liked to know. There are a few topics around on google of people with similar issues. Would have been nice to offer an answer. But i guess im just glad its working now16:12
`ph8should I be able to remove hald and dbus on a server machine? (I've converted it from desktop to server)16:27
dubbersserver unable to do apt-get?16:33
=== RainCT is now known as RainCT_
lamontScottK: now that I'm awake, yes I've seen it.16:40
ScottKlamont: OK.  Balls in your court now.16:41
ScottKBall's16:41
lamontyeah16:41
ScottKlamont: What do you think about Russell Cocker's script?16:41
lamontI'll make sure I fetch it (and the rest) before I go wandering off to vacation for a week on monday afternoon16:41
lamontsame bug?16:41
ScottKGreat.16:41
ScottKNo.  He mailed it to you.16:41
ScottKlamont: http://etbe.coker.com.au/2008/08/02/postfix-and-chroot/ for context.16:42
lamontI don't have his email - looking at the URL16:43
ScottKIt was sent to your debian address.16:43
ScottKHe cc'ed me.  I can forward.  Where's best?16:44
lamontlamont@d.o will go the same place everything else does...16:45
lamontmind you , I just went looking for mail with 'russell' in the headers...16:45
ScottKWant a message ID?16:46
lamontsure16:46
ScottKI just forwarded it to you.16:46
ScottKMessage-Id: <200808021324.30065.russell@coker.com.au>16:46
lamontthanks - it wasn't in my inbox16:47
ScottKWeird.16:47
lamontwell, I found the log of it passing through the mail server on Friday...16:48
ScottK;-)16:48
lamontand got it16:49
=== fReAkY[t] is now known as freaky[t]
=== PV1 is now known as PriavteVoid
uvirtbotNew bug: #254434 in samba (main) "package libwbclient0 2:3.2.0-4ubuntu3 failed to install/upgrade: trying to overwrite `/usr/lib/libwbclient.so.0', which is also in package likewise-open" [Undecided,New] https://launchpad.net/bugs/25443417:41
ZmAYcan someone help me, apache2 wont start, i think its something with that http://pastebin.com/d66c5aeb717:48
ZmAYi am newbie17:48
=== PriavteVoid is now known as PrivateVoid
=== freaky[t] is now known as fReAkY[t]
Assidheya18:28
Assidcan someone pastebin their sources.list please18:28
Assidi need 1 more alternate mirror18:28
dustyHey can anyone point out what i'm doing wrong here: http://pastebin.ca/1091930 - this is on Ubuntu 8.04 with iptables v1.3.8, can't see the error i'm making ?18:32
Deepssounds like the error is in line 5 of your httpd.conf18:51
Deepsoh, no, sorry, wrong paste18:51
KapliHow do I ensure my ubuntu server is up to date on everything? Is it only with apt-get update and apt-get upgrade ?19:23
dustyHey guys, why would this iptables script lock me out of my box: http://paste.stoned-hacker.co.uk/31 i can't access ssh then ?19:30
=== PV1 is now known as PrivateVoid
=== RoAk is now known as RoAkSoAx
sorenScottK: I'm replacing my homegrown virus/spam filtering magic with amavisd-new, and I'm stumbling a bit. Is it just me or is the documentation absolutely horrendous?20:24
ScottKsoren: It's essentially written for Perl programmers, so by definition, yes.20:24
ScottKAny system where you have to use Perl syntax in the config file is, um, not the most transparent.20:25
sorenScottK: I'm not even sure what I'm looking at *is* the documentation.20:25
sorenExample:20:26
ScottKThe main trick for modifying your configs is to add whatever you want to 50-user so you don't get bothered on upgrades.20:26
sorenI'm looking at /etc/amavis/conf.d/15-content_filter_mode..20:26
sorenIt tells me to *add* some *bypass* stuff to *enable* filtering. If that's not confusing, I don't know what is.20:26
soren...so I'm trying to find some documentation on bypass_virus_checks_maps and bypass_spam_checks_maps and I'm just not finding any.20:27
ScottKsoren: It's been a while since I"ve used it too and so I'm still getting something set up here.20:28
ScottKI think what you want is something on policy banks.20:29
sorenScottK: I see. Thanks for the pointer.20:37
sorenScottK: Perhaps you just know the answer.. I want to not quarantine spam, but just tag it, so that my users can do their own filtering.20:39
ScottKIt's an interesting package.  The last maintainer upload was in July 2005.20:39
sorenSince then it's been all NMU's?20:39
ScottKsoren: No.  I'm in the early stages of getting an install together.  The last time I tried was on Dapper.20:39
ScottKThere are two uploaders that are active, so not technically NMUs.20:40
ScottKServer Guide is very basic on the topic: https://help.ubuntu.com/8.04/serverguide/C/mail-filtering.html20:42
ScottKWe should fix that for Intrepid.20:42
sorenamavis' own documentation on the integration between itself and postfix is really quite good, I found.20:45
sorenamavis' documentation on itself... not so much.20:45
ScottKsoren: I encourage you to take good notes and push them at sommer so he can shove them into the server guide then.20:48
ScottKI plan to do the same.20:48
ScottKActually it's the need to take good notes that's got be stopped.  I want to be methodical and that takes time ...20:50
=== RainCT_ is now known as RainCT
=== fReAkY[t] is now known as freaky[t]

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