[00:08] can anybody tell me if I can tell if msmtp is working on my ubuntu server [01:31] what ports do i need to forward to use a dns server inside my router [01:34] what ports do i need to forward to use a dns server inside my router [03:37] hi [04:59] I'm having trouble configuring Dovecot for GSSAPI, where am I supposed to specify the hostnames of my KDCs? [05:06] roy_hobbs: Probably /etc/krb5.conf ? Do you have a working Kerberos realm already? [05:06] jmarsden: ah damn, i shoulda thought of that =( [05:07] i suppose i need to install the krb5-user stuff - anyone know? [05:07] http://www.alittletooquiet.net/text/kerberos-on-ubuntu/ may be of help [05:09] Well, i've done all that on my workstation, now i'm trying to configure the imap server. i don't think the PAM and NSS stuff is necessary [05:11] OK, so your workstation can already authenticate you using Kerberos for some other service(s), such as shell logins? If so, then the file /usr/share/doc/dovecot-common/wiki/Authentication.Kerberos.txt may be all you need?? [05:11] Hmm, that seems to have partially worked [05:12] Well, I was using this: http://wiki.dovecot.org/Authentication/Kerberos [05:12] but thunderbird is telling me that the server doesn't support secure authentication [05:13] Try telnet to port 143 and see what capabilities the IMAP server thinks it has, maybe? [05:14] i think that it worked, the problem might be my ldap setup now [05:15] for the userdb stuff [05:15] Could be. Is https://help.ubuntu.com/community/SingleSignOn any help with that?? [05:16] i meant dovecot's ldap settings [05:16] kerb and ldap work fine, i have pam authenticating with kerb, and nss pulling from ldap, logins, homedirs, shells, all that works fine [05:17] Oh, then you are (in theory) very close indeed to working setup :) [05:19] /usr/share/doc/dovecot-common/wiki/UserDatabase.NSS.txt any use? [05:19] I think I want to use LDAP as my user database [05:20] I just want to be careful not to try to double authenticate (once to kerb, then again to ldap) [05:24] jmarsden: do you have a similar setup? [05:25] No; I had a server that did something similar running RHEL but it was at least a couple of years ago... [05:51] eh, now i broke something else. ohwell [06:15] Mar 21 02:10:02 imap dovecot: auth(default): LDAP: Can't connect to server: ldaps://ldap.example.loc [06:15] Mar 21 02:10:06 imap dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=, method=GSSAPI, rip=192.168.1.152, lip=192.168.1.41 [06:16] user.name is the kerberos principal i have a ticket for on the client though, not the "dn" setting [08:27] bind fails to start, help me! [08:33] Does it log anything as to why it doesn't start? [08:43] hello, i'm running crontab -e, but it doesn't seem to be working [08:44] root 3867 0.0 0.0 3480 1020 ? Ss Feb02 0:00 /usr/sbin/cron <--- cron seems to be running [09:14] Hi, I have a Hardy server that I have some php code that emails logs on. The problem is that the emails aren't getting sent (it's not a php problem, I think it's an exim4 config problem) here's the /var/log/exim4/mainlog http://pastebin.ca/1366982 any ideas? === mdz_ is now known as mdz === cemc1 is now known as cemc [10:04] hello, I am trying to host online games. people can see my games but cannot join, all worked in 8.04 but in 8.10 people cannot join like they could with 8.04. I have disabled ufw and my routers ports are forwarded [10:05] what other things could be stopping people from joining my games? [10:08] although my platform is the Desktop edition, my question pertains to networking and in essence is a server, so plz dont ignore if you think it is off topic [10:16] left already? [10:21] hi im back [10:21] must I repeat my question or did you get it? [10:24] hello anyone alive? [10:27] hi im trying to host online games. I could do it fine in 8.04 but in 8.10 people can't join my game yet they can see it. I have turned off ufw and my router ports are forwarded. What has changed in 8.10 that no longer allows me to host? [10:28] moin [10:34] moin? [10:38] nyad, hes saying morning :) [10:38] nyad: what game? [10:38] nyad, you may not have provided enough information for people to help, or its possible here no one runsa game serer :) [10:38] *runs a game server [10:39] guessing it's your router or a misconfigured game? [10:39] warcraft3 with wine, I doubt that wine is the problem here though [10:39] I can host in windows so its not router [10:39] game is taken directly from the windows install so game is not misconfigured [10:40] it all worked in previous 8.04 so im assuming something from 8.10 has been added and is now in the way [10:40] it mimics the problem one has when you host with windows firewall turned on, so im guessing its the ufw firewall. which I have disabled, so im fresh out of ideas now [10:41] sounds like an #ubuntu question to me. [10:41] they told me to come here coz they said you guys know networking better [10:42] can you join other games? [10:42] ya [10:42] can do everything but host [10:43] so it sounds like 8.10 is not forwarding packets properly, could it perhaps be a configuration in the kernel, im sure ive seen a IPv4 packet forwarding option somewhere [10:44] forwarding shouldn't be necessary for what you try to do. [11:06] hehe, I attempted merging in apparmor to 2.6.28 manually :) [11:06] no-go [11:07] I'd love apparmor to be part of stock kernel :) [11:07] i thought it was? [11:07] oh i'm using server 27, it's in there [11:08] at least i am using profiles there [11:08] apparmor so far is just suse/ubuntu manual merges [11:08] ah like so [11:08] I reported serious apparmor bug recently [11:08] and it went ubuntu->suse path [11:09] are you patching manually or can you get it patched via git? [11:09] domas: think novell or suse are maintaining apparmor? [11:09] was trying manually [11:09] yeah, novell [11:09] * domas points to https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/329489/ [11:09] :) [11:09] Launchpad bug 329489 in linux "locks on unlinked files leak memory in apparmor" [Medium,Fix committed] [11:10] maybe try the git tree, i'm not much help, havent compiled a kernel in years [11:10] ghm, good idea, I should backport jaunty kernel :) [11:11] what is the easiest way to fetch kernel source from jaunty? :) [11:11] git? [11:11] or apt-get source, but i think using git is nicer [11:11] launchpad doesn't provide git [11:12] or does ubuntu kernel team have their own git repo? :) [11:12] dunno, lets ask google :) [11:12] https://wiki.ubuntu.com/KernelGitGuide [11:12] google says yes :) [11:12] git://kernel.ubuntu.com/ubuntu/ubuntu-jaunty.git [11:12] ha! [11:13] I wonder if distribution patches go there, should check [11:13] distribution patches? [11:13] you mean the ones applied by ubuntu? [11:15] ye [11:16] damn, git doesn't support proxy specifications, damnit [11:19] and here google gives same thing what I tried, env http_proxy=... which fails :) [11:21] upper case maybe? [11:21] nah [11:21] it uses http_proxy just for http:// links [11:21] and doesn't use neither http/https for git:// (though CONNECT works) [11:22] omg, UBUNTU: SAUCE: forcedeth: msi interrupt fix [11:23] if only that would hit hardy :) [11:24] heh, my bug is happy though, one of last fixes for new hardy kernel: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=shortlog [11:31] hi what is the key in compiz? [11:31] for keyboard shortcuts [11:32] sorry wrong channel [11:39] I have a simple ubuntu file server that shares files with Windows machines, I'm going to install ClamAV, should I just schedule a cron to scan the samba shares or run Clam-daemon? [11:46] yes [11:48] yes what? [11:48] daemon or cron? [11:48] seems cron would suffice [11:50] well, the cost will be nearly same [11:50] unless you have lots and lots of changes to certain files [11:50] hrmm...no, mainly addtions [11:52] does it do smart scans, that is only scan files if the time/date stamp has changed? === ScottK2 is now known as ScottK-desktop [14:15] hola [14:15] hello [14:47] What is a good, easy way to backup an Ubuntu Server? I've googled and looked at several different methods. But, I'd like it to be as easy of a solution as possible. Plus, I need the full system backed up. [14:49] !backup [14:49] There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup and !cloning === cjwatson_ is now known as cjwatson [15:31] Boy - that mondo info link is out of date. I guess I'll have to update it some.... [15:31] !cloning [15:31] To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » - See also !automate [15:53] ScottK, [15:53] hi [16:00] !sbackup [16:00] sbackup is a tool to create complete and/or incremental backups (which can be scheduled to be automatic, and can be done over a network). It is available in !Universe [17:11] anyidea why my server is rebooting ? i tried reboot command twice as root [17:11] is not rebooting [17:12] here is the dmesg http://pastebin.com/f13510a89 [17:12] Broadcast message from iqbala@improvise (/dev/pts/1) at 13:12 ... [17:12] The system is going down for reboot NOW! [17:12] but is not rebooting [17:47] i am using /dev/ttyS0 to connect to my ibm netvista server (ubuntu) from my laptop (ubunut client) using minicom .. but nothing on the screen.. any help would be appreciated [17:54] axisys: well clearly you'd need to configure that terminal first, did you do that? [17:54] giovani3: i have the minicom setup.. i am not sure what u meant by terminal [17:55] axisys: that's a serial console ... the computer you wish to connect TO has to be told to provide a shell on that terminal ... [17:55] the serial port can be used for many things [17:56] giovani3: sorry i am a newbie.. i have been using this same minicom setup for a while to connect to servers at work.. but i never played with a ibm netvista server [17:56] sigh [17:57] you need to configure serial console access both in your bios (if you want that), and in the OS: https://help.ubuntu.com/community/SerialConsoleHowto [17:57] serial consoles don't just work out of the box, unless the distro has configured it to [17:58] giovani3: i have the ibm bios and what changes do I make there? I do not see anything says enable com1 redirect [17:58] axisys: this is a channel for ubuntu server [17:58] not for ibm support [17:58] contact ibm [17:59] giovani3: i was hoping to get some help with BIOS redirect to minicom.. i doubt ibm would know. hehe [17:59] giovani3: thanks anyways [17:59] yes, ibm will know [18:00] it's their bios [18:00] your bios' support of, or lack of support for serial console is not related to ubuntu [18:00] giovani3: but calling ibm for support will probably cost a lot .. this is my cheap 150 ibm netvista refurbished server [18:00] axisys: then google should be a resource you learn to use [18:00] giovani3: no it is not.. thanks for your help [18:01] axisys: I'd guess that if there is no setting for it, then your machine does not support BIOS redirection to the serial port, so you can't do that. But that's just a guess. If you have a manual for the BIOS then try reading that... [18:01] sometimes a bios upgrade will offer newer features [18:02] giovani3: true [18:02] jmarsden: thanks [18:02] let me see what kind a bios related info out there.. with coreboot available for use for newbies [18:02] np. For basic console redirection you don't *need* BIOS redirection anyway... it's just good to have it it *is* supported. [18:02] s/with/wish/ [18:03] i always have to borrow my gf's monitor and power supply to see what happend to bios ..not too often .. but it would help.. [18:04] axisys: for older machines, if you can't use serial console -- you can buy a cheap kvm switch [18:04] so that you don't need to borrow monitors, etc [18:04] is there any cheap pci card that I can put in for a SP access like X4100s [18:04] on modern machines ... IPMI/KVMoIP is best [18:04] not cheap ... but yes, pci cards exist [18:04] http://www.realweasel.com/pcivga.html [18:06] they probably cost more than your server did [18:10] take care with cheap kvm switches (some can blow up your monitor) [18:13] really? never had a problem [18:14] giovani3: looks like I have the newer bios [18:14] giovani3: there have been some (too) cheap ones on the market that could cause peaks on the VGA cable [18:14] giovani3: this url http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42952 24KT55A [18:15] that is what I have [18:15] per dmidecode [18:15] axisys: ok? like I said ... we can't help ya with your bios [18:15] it was just a casual recommendation to verify that you have the newest version [18:17] !cloning [18:17] To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » - See also !automate [18:18] giovani3: casual comment too :-) [18:19] giovani3: i am not trying to piss u off my friend .. just making comments [18:33] giovani3: isn't it suppose to be ttyS0 in the kernel command in this file [18:33] https://help.ubuntu.com/community/SerialConsoleHowto [18:33] since the /etc/event.d/ttyS0 is created [18:34] axisys: paste the line you'er talking about [18:34] you're* [18:34] kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda1 ro quiet splash console=tty0 console=ttyS0,115200n8 [18:34] the first console= [18:34] it's outputting to the first terminal, as well as serial [18:34] what's wrong? [18:35] console=ttyS0,115200n8 [18:35] that's clearly defining the serial console, like you wanted [18:35] oh ok ... i did not know u can send it in two places at the same time.. thnx [18:41] giovani3: cool! i can now see the console !! [18:43] from the grub and onward.. [18:45] axisys: yes, that's all that will be possible without bios support [18:46] giovani3: now the grub menu was prompting press any key to start.. is there a way to autoboot w/ hitting a key ? [18:46] terminal --timeout=15 serial console this line need change for that? [18:47] axisys: grub, in ubuntu, by default doesn't require you to hit a key to boot [18:47] it requires that you hit a key to stop the normal autoboot process [18:48] Press any key to continue is filling up the screen [18:48] oh i see for 15 secs .. since the timeout is 15 [18:49] 3) When you next reboot, the output from grub will go to the normal console unless input is received from the serial port. Whichever receives input first becomes the default console. This gives you the best of both worlds. [18:49] now I see why [19:27] i want to have access to my home server from work.. so I setup a port forward like this ssh -R8022:localhost:22 remotehost .. but to make sure it does not die i setup autossh and using that to make the connection alive always... but to make this connection stick a reboot I have a rc script which only does `exec autossh -R8022:localhost:22 remotehost' .. but then it ssh to remotehost and stuck there.. Manually I open a screen, make the [19:30] axisys: what is the purpose of ssh tunneling your ssh session? [19:30] why not just run your ssh server ... and forward port 22? [19:31] home# ssh -R8022:localhost:22 work then work# ssh -p8022 0 [19:31] giovani3: cheap vpn [19:31] axisys: it's not a vpn [19:31] you're only forwarding ssh [19:31] it makes no sense [19:32] giovani3: i dont want any inbound traffic to my home .. so I am doing the port forward .. [19:32] the traffic is still inbound [19:32] that's how data gets from outside your network to inside [19:33] giovani3: but only my work computer has access to it.. it is not listening for any inbound traffic [19:33] I'm aware [19:33] it's a silly, overcomplicated setup, that adds negligible, if any security [19:34] giovani3: it is working fine actually.. minus the reboot part that i still need to hash out [19:34] I didn't say it wouldn't work ... [19:34] have fun [19:35] I've tried just about everything I can think of to remove apache. From apt-get remove apache2 to apt-get autoremove apache2 and apt-get remove --purge apache2 But when I attempt to reinstall apache2 none of the /etc/apache2 files are being installed. [19:35] can anyone hlep? [19:35] how do I have that command run within init script so it sticks the reboot? [19:37] thefish: dpkg -l | grep apache shows nothing (after you uninstalled it)? [19:40] giovani3: ty! is there a reason why apache2 isn't a meta package encompassing the others? [19:42] thefish: it is a metapackage [19:42] sorry, theshadow* [19:42] "Description: Apache HTTP Server metapackage" [19:43] reinstalling the meta package just reinstalls the meta-package [19:43] not the packages it pulls in [20:30] hi, will an upgrade from 8.04 to 8.10 mess up my email server and other server configs please? [20:32] theshadow: Try removing and then installing apache2.2-common since several of the files under /etc/apache2 belong to it [20:34] tzd: Upgrading to 8.10 shouldn't "mess up" things, but backing up your config files regularly would be a wise thing to do anyway, if they are at all important to you. So back them up first! [20:35] got it! http://pastebin.com/f165547f8 [20:36] jmarsden: ok will do. :) Thanks! Turns out i actually had 8.10... was sure i had 8.04 ;P [20:37] tzd: OK. cat /etc/lsb-release will tell you which release you have installed :) [20:38] unfortunately I'm stuck with my problem... I'll try posting it here as well... i've got a problem with my pxe booting ubuntu server. When the client is about to download the files on the iso it gets a 404 error. I've checked the path and for some reason it's referring to "hardy" instead of the iso's "intrepid" version. How do i change this please? [20:39] jmarsden: neat ;) Very useful stuff! Cheers [20:56] hi. my ubuntu 8.10 rejects everything that tries to connect to it. I want to turn this off. I have disabled ufw. yet my pc still refuses to let apps connect to my machine. how do I allow all connections? ( i know this is a insecure idea) [20:59] iptables -nvL, check your default input and output policy, as well as if you have any rules defined. pasting the output of that and/or iptables-save to a !pastebin may be of use too [21:01] http://pastebin.com/d1bb8fb32 [21:02] sounds like it's accepting inputs, can you ssh in? [21:03] ssh: connect to host 10.0.0.100 port 22: Connection refused [21:03] cat /etc/hosts.deny; anything there? [21:03] empty [21:03] netstat -anp|grep ssh [21:03] (is sshd even running?) [21:04] I put ALL: ALL into /etc/hosts.allow [21:05] is sshd even running? netstat -anp|grep sshd [21:07] it is now [21:07] ssh works [21:07] demonstrating that there's nothing actually blocking inbound connections [21:08] and your services simply arent running [21:08] not exactly [21:08] what other services appear to be blocked? [21:08] the main problem is that when I host LAN games other people cant connect to my games [21:09] is there any other firewalls or routers between your server and your clients? [21:09] we are using a router, however my other pc can host and I can join. yet when I host, the other pc cant join [21:11] what function is the router performing? can you draw a small picture of your network map? [21:12] well its basically functioning as a hub, im not sure if that's what you meant by 'network map' (the layout of the network?) [21:12] so there isn't a router between your 2 machines? both machines are on the same physical network, in the same subnet [21:13] ? [21:13] yes [21:13] both machines running ubuntu? [21:13] no [21:13] one is windows [21:13] and the windows one running the server works, but the ubuntu one running the server doesn't? [21:13] ya [21:14] ok, simply put, the problem's at the application level; the application you're trying to run as a server isn't working correctly under linux [21:14] there is nothing in your current ubuntu configuration (As far as i can see, and as far as we've been able to demonstrate) that is preventing any connectivity [21:15] so either you've misconfigured your application, or it's buggy and doesn't work. [21:15] what is the application? [21:15] have you tried running it, and then running netstat -anp to see if it's running, what IPs it's bound to, and what ports it's listening on [21:15] im running warcraft 3 through wine. this has worked in 8.04 yet now in 8.10 it doesn't. I have tried different wine versions as well [21:16] completely off topic for #ubuntu-server i'm afraid, we dont deal in anything relating to X [21:16] you're probably best off asking in a WINE specific channel [21:17] alright. i just felt it must be my ubuntu blocking it since I thought I had tried all the other possible points of breakdown [21:17] it's not anything at the system level, as far as we've checked and demonstrated [21:17] so it's possibly an issue with the version of wine, or anything else it depends on [21:18] alrighty. thank you for your time. at least you've helped confirm that it's not ubuntu stopping me [21:19] np, good luck! [22:50] New bug: #346535 in php5 (main) "pecl install SPL_Types many problems" [Undecided,New] https://launchpad.net/bugs/346535 === Guest57891 is now known as timburke === asac_ is now known as asac [23:57] i am having some trouble with my server and i was wondering how i convert file permissions from 6755 to 0755 as chmod 0755 .... doesnt seem to work