UbuntuIRC / 2009 /01 /20 /#ubuntu-server.txt
niansa
Initial commit
4aa5fce
[00:04] <altf2o> quick question: I'm on Ubuntu Server 8.10 and i've gotten SSH, Apache, NFS etc... working just fine. However when wanting to use NIS or LDAP to make NFS easier to work with\manage, i keep getting ALL sorts of stupid headaches. I believe it's got everything to do w/ the 'domain' i'm choosing (/etc/resolv.conf) anyone have tutorials on how to use those services WITHOUT having a DNS registered name?
[00:05] <altf2o> i'm also running DNS on this box just as a cacheing nameserver for my entire intranet. I manually added an entry for a 'testnet.com' which 'dig' shows perfectly, still doesn't work though. I think that's just heading in the wrong direction.
[00:22] * [gnubie] waves
[00:23] <[gnubie]> i have a running ubuntu-server 8.04 lts and now it's using upstart.. how can i customize it?
[00:25] * jmedina waves back
[00:25] <jmedina> [gnubie]: what you mean with customize it?
[00:26] <jmarsden|work> [gnubie]: For general "make the server use different software" type 'customization', read the Server Guide, see /topic
[00:26] <[gnubie]> jmedina: not sure though but for other distro, there is a /etc/inittab
[00:27] <jmarsden|work> [gnubie]: What specifically do you want the server to do? After you customize it, how will it behave?
[00:27] <jmedina> well there is a lot of documentatio about upstart and the sysv compatibility (inittab /etc/init.d/ and /etc/rcX)
[00:29] <jmedina> most of the config is in /etc/event.d/
[00:29] <jmedina> cat rc2
[00:29] <[gnubie]> if i want to execute a certain command during bootup, where shall i put it then? i don't want to put it inside the /etc/rc.local
[00:30] <jmedina> yeap
[00:30] <jmedina> but it will be executed at the end
[00:30] <[gnubie]> jmedina: that's why i don't want to add a script inside the /etc/rc.local
[00:31] <jmedina> [gnubie]: and do you want to do?
[00:31] <[gnubie]> any other place i can put a simple script to execute during bootup?
[00:31] <jmarsden|work> [gnubie]: So what is the "certain command", and when in the boot process *do* you want it to execute?
[00:31] <jmedina> well as with another distro you can write your own rc script, add it to /etc/init.d/ and then configure it to start at aspecific run level
[00:32] <jmedina> you can do it with a symlink to the /etc/rcX.d/directory or usiing update-rc.d
[00:34] <[gnubie]> jmarsden|work: i can't think of for now.. maybe an example will be a script to update a dynamic dns probably
[00:34] <jmedina> like ddclient?
[00:34] <jmedina> ddclient has its own rc script and is activated on boot time
[00:35] <[gnubie]> jmedina: it's just an example.. i can't think a particular job of that script.. that script may just contain a one-liner script
[00:35] <jmarsden|work> [gnubie]: When you have a real example, so we know what its requirements are, come back here and ask again :)
[00:36] <jmedina> [gnubie]: yeap, for example the /etc/init.d/hostname it doesnt requiere a argument
[00:36] <[gnubie]> jmarsden|work: my real requirement is to where is the similar /etc/inittab file in ubuntu-8.04
[00:36] <jmarsden|work> [gnubie]: There is no exact equivalent.
[00:37] <[gnubie]> and to where is the best place to put a custom script (not an rc one) and execute it during bootup
[00:38] <jmedina> rc.local
[00:38] <[gnubie]> jmedina: /etc/rc.local will be called right after all the rc scripts were executed
[00:39] <jmedina> [gnubie]: yeap, unless you know exactly at what stage you want to execute your script
[00:39] <Deeps> you can change that behaviour if you want, as the invocation of rc.local is defined like any other rc script
[00:41] <jmedina> [gnubie]: I recommen you create your rc script based in a simple one /etc/init.d/hostname and then add it with update-rc.d
[00:41] <Deeps> seconded
[00:42] <jmedina> read the man page for the priority options or edit the header of the script to specify the default start and default stop
[00:43] <jmedina> Im not sure if update-rc.d honors the BEGIN INIT INFO (lsb compatible)?
[00:46] <[gnubie]> ok, let's say i want to execute a command "/sbin/ztcfg" right after asterisk has enabled during bootup and after that, a series of daemons will be turned on.. what shall i do then?
[00:47] <Deeps> as jmedina already stated, use a simple rc script as your base
[00:47] <Deeps> like /etc/init.d/hostname.sh
[00:47] <[gnubie]> Deeps: i have to create an rc script for a single command only?
[00:48] <jmedina> [gnubie]: you need to check when is asterisk started probably the script is /etc/rc2.d/S93asterisk
[00:48] <jmedina> so you need to start it before create /etc/rc2.d/S92ztcfg
[00:48] <Deeps> alternatively you could modify the asterisk script, but that probably isn't recomended
[00:50] <Deeps> [gnubie]: if the other scripts that run after asterisk loads depend on /sbin/ztcfg having been run, then yeah. if not, then no, just stick it in rc.local
[00:50] <[gnubie]> let's say, the command that i want to be executed is not related to asterisk but i just want it to be executed right after asterisk.. what shall i do then? remember, this is just one command with 5 characters perhaps
[00:50] <Deeps> [gnubie]: if the other scripts that run after asterisk loads depend on /sbin/ztcfg having been run, then yeah. if not, then no, just stick it in rc.local
[00:50] * jmedina thinks /me is ignored
[00:52] <[gnubie]> jmedina: so, the ultimate solution is to create an rc script even for this simple purpose and a single command?
[00:52] <Deeps> [gnubie]: if you need applications and commands loaded in a particular order, you need init scripts. if the order doesn't matter as much, and your extra commands can be run at the end, then you dont need an init script and can just use rc.local
[00:52] <[gnubie]> ok
[00:53] <Deeps> [gnubie]: and the init script can be rediculously simple. hell, rc.local is called as an init script, and all that runs by default is 'exit 0'
[00:53] <jmedina> that is what I always do, I have a template rc script based on hostname, when I need to start something I modify it and add the line I want and configure with update-rc.d
[00:53] <jmedina> ist not that hard
[00:53] <[gnubie]> ok
[00:53] <jmedina> this reminds me to suse :S
[00:53] <[gnubie]> thanks.. ;)
[00:53] <Deeps> glad it only took 20mins of repetition
[00:54] <jmedina> Deeps: practice makes perfect
[00:55] <[gnubie]> next, any tips on how to squeeze the ubuntu-server setup?
[00:55] <jmedina> o_O
[00:56] <[gnubie]> let's say, i want to have a base ubuntu-server setup with a 128mb to 256mb?
[00:58] <andol> [gnubie]: Yes? What do you intend to use it for?
[00:59] <[gnubie]> andol: as a server.. maybe run a simple wiki box
[00:59] <[gnubie]> the /var will be on a separate hard disk
[00:59] <andol> [gnubie]: a server can be lots of things :) but since you mention a wiki I guess you'r think about a webbserver?
[01:00] <[gnubie]> the 128mb to 256mb size is only for the os, configs and the binaries
[01:00] <[gnubie]> andol: yes, for example
[01:03] <[gnubie]> to add it, maybe the whole filesystem will be on a cf card or ide flash module and the /var will be on a hdd, /tmp and /var/tmp will be on a ramdisk
[01:06] <andol> Still think 256mb will be a be tight. You might make it, but there won't be much room if you decide you need to install a few more packages.
[01:07] <hads> Check out the JeOS install and flashybrid for hybrid flash/ram/disk
[01:09] <VolVE> hey all, any ideas why running a simple shell script that tars up a couple directories works fine as sudo from the command line, but when I add it to root's crontab, the tar files end-up only being like, 20 bytes ? :/
[01:09] <[gnubie]> andol and hads: thanks..
[01:09] <[gnubie]> i have to go now.. thanks for the help.. ;)
[01:10] * [gnubie] waves to all..
[01:28] <TimR> hey guys could a Trigem Florida-TG/TGA Mainboard with max memory of 512mb would work for FTP server?
[01:32] * maxbaldwin waves to [gnubie]
[01:32] <jmedina> have you seen lately your bind dns logs?
[01:33] <jmedina> these new dns cache snopping is flooding a lot of servers, it uses open relay dns servers
[01:37] <jmedina> There is some info in the dns queries issue here: http://www.dshield.org/indexd.html
=== maxbaldwin is now known as Guest38000
=== Guest38000 is now known as maxbaldwin
=== maxbaldw1n is now known as maxbaldwin
[04:45] <|dthacker|> Hello, due to a bad power supply, I had to move a hard disk to another machine. How can I restart the network config part of the install to detect and configure the new NIC?
[04:46] <MianoSM> Can you log into the machine?
[04:46] <|dthacker|> yes
[04:46] <MianoSM> What does: cat /etc/network/interfaces look like?
[04:47] <MianoSM> It should be pnp on restart*
[04:48] <agentk> It may be the new machine has a nic with a difference MAC and it has given the new nic a name like eth1 instead of eth0
[04:48] <MianoSM> The only issues that I've seen is that you might have to look at: ifconfig -a to see if it labeled it eth2 or something of that sort
[04:48] <MianoSM> So you'd have to add it to your /etc/network/interfaces
[04:48] <|dthacker|> MianoSM: The old machine was working on eth1, this machine only has eth0. I edited the interfaces file, but ithe new nic is not found.
[04:48] <MianoSM> agentk: exactly.
[04:48] <agentk> MianoSM: :-)
[04:49] <|dthacker|> where is the mac referenced?
[04:50] <agentk> /etc/udev/rules.d/70-persistent-net.rules
[04:50] <agentk> Just remove the two lines referring to the old nic and restart the machine
[04:51] <agentk> (two lines is actuall one comment line and one SUBSYSTEM line)
[04:51] <|dthacker|> this is an old install. 6.10 to be precise. I don't see that file in /etc/udev
[04:53] <agentk> Oh. Ok. Not sure then. I was still a debian user in 06 :-). What interfaces does ifconfig -a list?
[04:55] <|dthacker|> agentk: eth2, lo, and sit0
[04:55] * |dthacker| suspects eth2
[04:55] * MianoSM agrees
[04:56] <agentk> What was before udev? hal?
[04:57] <|dthacker|> that did it. I see TX and RX packets
[04:57] <|dthacker|> tha
[04:57] <agentk> |dthacker|: rename eth0 to eth2 in /etc/networking/interfaces?
[04:57] <MianoSM> agentk: I don't remember to be honest - I never changed it, just ifconfig -a, and edit interfaces.
[04:57] <MianoSM> |dthacker|: nice job
[04:58] <|dthacker|> agentk: I did that and it works. Thanks to both of you.
[04:58] <agentk> Sounds like you guys had it under control before i went off on a udev tangent. My bad :-)
[05:00] <MianoSM> I'm sure you could grep for eth and die under the results.
[05:42] <hacknperl> I am looking for a software suite(preferable web based so i can access from my truck anywhere on a laptop) that is pretty simple for small businesses... it needs to do invoicing(main thing) and service call scheduling(bonus) and manage customers and estimates. I have found several open sources projects such as OpenCRM, nolaPro, vtiger and they are all way too complicated. Does anyone know of anything that is much simpler?
[05:46] <Thorsten11> are you looking for GUI software?
[08:25] <PC_Nerd> How can I set the locale for my server?
[08:34] <andol> PC_Nerd: /etc/default/locale
[08:35] <PC_Nerd> that file doesnt exist.
[08:35] <andol> PC_Nerd: Then you create it :) If nothing else you probably have it on your desktop-computer.
[08:35] <PC_Nerd> *afk* bbs
[08:36] <PC_Nerd> * thanks! (and i currently run windowsxp on desktop - but slowely migratign across) thnks
[08:36] <andol> PC_Nerd: well, mine looks like this:
[08:37] <andol> LANG="sv_SE.UTF-8"
[08:37] <andol> PC_Nerd: I'm sure you can figure out what to change :)
[08:55] <kraut> moin
[09:02] <PC_Nerd> ok, the /etc/default/locale file contains one line: 'LANG="en_AU.UTF-8"'. the output of "locale" after a reboot has everything LC_*="POSIX",exc ept for LANG= and LC_ALL= which are both empty..... any ideas?
[09:04] <Deeps> fiddle /etc/environment as well i think
[09:05] <PC_Nerd> same variable to set?
[09:05] <Deeps> yep
[09:05] <Deeps> shouldn't need to reboot, just log out and back in again
[09:06] <PC_Nerd> testing- can you read this?
[09:06] <PC_Nerd> the /etc/environment has: LANG="en_AU" and LANGUAGE="en_AU:en" ++ the PATH variable
[09:06] <Deeps> yep
[09:07] <PC_Nerd> there we go :P... i didnt have "the" at the beginning so it read /etc/ as a command ;)
[09:07] <Deeps> LANG="en_AU.UTF-8" may be what you want in /etc/environment
[09:07] <PC_Nerd> ty - ill change and reboot
[09:08] <Deeps> shouldn't need to reboot, just log out and back in again
[09:08] <PC_Nerd> * im in as root atm... its actually easier for me to reboot since ive got to restart a few other things.
[09:09] <Deeps> you should almost never need to reboot
[09:09] <PC_Nerd> Unable to set System Clock to: Tue Jan 20 09:07:32 UTC 2009 is that an issue?
[09:09] <Deeps> probably
[09:09] <PC_Nerd> any idea on fixing it? / diagnosing it... it displays on startup.
[09:10] <PC_Nerd> locale displays the POSIX values again.
[09:10] <Deeps> as root, try ntpdate -v au.pool.ntp.org
[09:10] <PC_Nerd> * i gtg - bbs.
[09:10] <PC_Nerd> will do thanks
[09:39] <agentk> PC_Nerd: I use `locale-gen en_AU.UTF-8` on most of my VM's to set the locale as it is normally missing too.
[09:39] <AnRkey> can some1 take a look at this http://ubuntu.pastebin.com/m7a8ea973 I cant get my .htaccess to allow access to 192.* range. VPN ip is 192.168.1.1
[09:40] <AnRkey> if i declare the whole ip then it works
[09:40] <AnRkey> i need to allow 10.* 192.* 172.*
[09:42] <agentk> AnRkey: Try Allow from 192.168 10 172.16
[09:42] <agentk> AnRkey: or put them one each line too.
[09:43] <AnRkey> agentk, shweet, it's working... changed it to 192 172 and 10
[09:43] <AnRkey> each on a new line
[09:43] <AnRkey> working now
[09:44] <AnRkey> where do i send the beer to
[09:44] <AnRkey> ?
[09:44] <AnRkey> :P
[09:44] <agentk> No problem.
[09:44] <agentk> AnRkey: Apache can be a bit sensitive when your first trying new things.
[09:45] <AnRkey> the funny thing is on my 8.04.1 server the same thing works fine
[09:45] <AnRkey> it had me really stumped there
[09:50] <_ruben> allowing 10.0.0.0/8, 172.0.0.0/8 and 192.0.0.0/8 doesnt really make much sense though
[09:52] <agentk> It would if you had an intranet specific application that you wanted to restrict access on, except the fact that 192 and 172 should be 192.168 and 172.16
[09:53] <frippz> ebox-loggerd keeps using up 25-100% CPU. is that normal?
[10:01] <hads> Should definitly be 192.168.* etc. otherwise you're giving out access to people on the Internets
[10:02] <maswan> the "172.16" stretches all the way up to 172.23
[10:11] <agentk> maswan: 172.16.0.0/15?
[10:11] <Deeps> /13
[10:12] <agentk> Haha. Just worked it out too.
[10:12] <maswan> hm. wait, it should be a /12, that'd put it at .31.255.255
[10:12] <maswan> IIRC
[10:14] <frippz> Deeps: is ebox supposed to be a resource hog, or have I perhaps misconfigured something?
[10:14] <Deeps> frippz: no idea, i've never used it
[10:14] <hads> Yeah, whatever the correct ones are (I can never remember 172) AnRkey you need to get it specific enough otherwise you are allowing random people on the 'net access to services.
[10:19] <AnRkey> hads, well thats what this is for, we are redirecting non local subnets away when they get blocked with a 301 redirect. It's working well now. Gonna work on the redirect now.
[10:20] <Deeps> AnRkey: if you allow 192.*.*.*, you're allowing non-local subnets
[10:21] <AnRkey> Deeps, how so?
[10:21] <AnRkey> 192 is private is it not
[10:21] <Deeps> 192.168/16 is
[10:21] <AnRkey> ahh of course
[10:22] <Deeps> 172/8 also isn't purely local
[10:22] <AnRkey> ok changed, checking if it still works
[10:22] <Deeps> if you read up, discussion shows its 172.16/12
[10:22] <Deeps> 10/8 is though, so you're ok there
[10:22] <AnRkey> and 10/8
[10:23] <AnRkey> shweet
[10:23] <AnRkey> thanks deeps
[10:23] <Deeps> thank agentk, he already told you
[10:23] <Deeps> and maswan
[10:23] <AnRkey> thanks all :)
[10:24] <AnRkey> now apache is fewked again
[10:25] <Deeps> it may not take cidr masks
[10:25] <Deeps> so you'd need to list 172.12 172.13... and so on
[10:25] <AnRkey> trying to see what it does
[10:25] <AnRkey> searching apache.org
[10:26] <agentk> Allof from 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 should be fine too
[10:26] <agentk> s/Allof/Allow/
[10:28] <AnRkey> now on to bigger fish, i have a client that has no firewall running on his dedicated mail server and a public ip, can u freakin believe it
[10:29] <AnRkey> his box is an open relay too
[10:29] <AnRkey> i used the full cidr like agentk showed too
[10:30] <agentk> AnRkey: Did it work?
[10:30] <AnRkey> perfectly, u surprised? :D
[10:31] <agentk> AnRkey: No..... Of course not ....
[10:31] <AnRkey> this #'s kunfu is strong
[10:31] <AnRkey> or kungfu
[10:33] <agentk> I just enjoy tinkering.
[10:44] <rdw200169> wow, a open mail server...
[10:45] <rdw200169> i did that once, a couple years ago by accident. i forgot i installed the stuff trying to learn. turned out my ISP killed my internet due to my relaying spam via an open proxy server. took me a couple hours to finally figure out why they did it.
[10:46] <rdw200169> when they told me i was a source of spam and they killed me for security reasons i was both shocked and relieved.
[10:47] <rdw200169> i explained to a *very* knowledgeable network person way up the tier at embarq, at which time it dawned on me that i had that stupid proxy running somewhere in the background.
[10:47] <rdw200169> i promised to remove the proxy, and they turned on my internet within an hour. to this day, I will always have a secret love affair with embarq. by far the best provider i have ever worked with.
[10:48] <rdw200169> now i'm stuck with Time Warner for the moment. unhappiness ensues.
[11:28] <ivarss1> hi there. could anyone help me with vmbuilder and xen (domU) ?
[13:12] <nadley_> hi
[13:13] <nadley_> I would like help to install an openvpn server
[13:19] <MianoSM> sudo apt-get install openvpn && sudo apt-get install openvpn-blacklist ?
[13:20] <MianoSM> if you have ebox, there is also a module that can assist you in setting it up. ;)
[13:23] <nadley_> MianoSM: ebox ?
[13:23] <nadley_> what is the module to assist me ?
[13:23] <MianoSM> ebox-openvpn - eBox - OpenVPN server module
=== jjesse_ is now known as jjesse
[13:39] <kixx> i'm an admin at a small biz and would like to switch our server to ubuntu from windows server. I use ubuntu on my desktops, as well as my servers, but for my customer Quickbooks is standing in my way.
[13:40] <kixx> Has the linux Quickbooks server been used on Ubuntu servers?
[13:40] <kixx> And if so, what is the experience like?
[13:52] <lunix> Hi ubuntu folks:) anyone can help me connect to my wireless network from ubuntu 8.10 server edition (no GUI) The wireless adapter is found and drivers seem to work flawlessly.Tthis is what I have done so far: ifconfig wlan0 down & iwconfig wlan mode ad-hoc (hmm ad-hoc??) & iwconfig wlan0 "network name" then... iwconfig wlan enc a1b2c3d4e5 then ifconfig wlan0 up .. the adapter goes grazy blinking,, but no internet
[13:52] <lunix> connection :|
[13:59] <lunix> could it be the firewall thats blocking?? or am I just completely lost? maybe im even using the wrong tools?
[13:59] <Deeps> lunix: you dont want ad-hoc unless you're connecting to another computer's wireless card. if you're connecting to an access point, you want mode managed
[14:00] <lunix> ohh :) thanks
[14:01] <lunix> is "iwconfig wlan enc a1b2c3d4e5" correct?? im not sure if its wep or wap but ive got the password and its a 10 digit hex code
[14:03] <Deeps> i'm not sure if 10 digit hex is wep
[14:04] <Deeps> you kinda need to know what encryption protocol your wap is using, iwlist should be able to tell you i think
[14:08] <lunix> i googled it: looks like wep 64 is a 10 digit hex number :) so that must be what wpa is using that
[14:09] <lunix> *so that must be what wpa is using then
[14:36] <nijaba> kirkland: would be nice if we could have a chat about your merge comment at some point.
[14:36] <kirkland> nijaba: yes, please, i wanted to walk through it with you
[14:37] <kirkland> nijaba: let me catch up on the morning's messages
[14:37] <nijaba> kirkland: let me know when. Can wait til the end of your day
[14:37] <kirkland> nijaba: cool, i'll ping you after my lunch some time, in that case
[14:38] <nijaba> kirkland: I'll be away between 17 and 19 UTC
[14:38] <kirkland> nijaba: cool, let's shoot for after that, then
[15:02] <Nikon> hi all,
[15:03] <Nikon> have a quick question. trying to mount a cdrom in ubuntu server without succes
[15:03] <Nikon> mount /dev/cdrom returns me no medium found
=== magnetic is now known as foolano
[15:29] <lunix> anyone can help me connect to a wireless network from console (no GUI)?? my wirelessadapter works and drivers seem to work too. Problem is knowing what to write to get connected..
[15:30] <lunix> with ubuntu desktop edition it took me only seconds to get connected.. but that was with GUI...
=== jkerihuel_ is now known as jkerihuel
[16:00] <nijaba> lunix: long time I have not played with that, but I wrote a script a while ago to deal with this, it might still work: http://nicolas.barcet.com/drupal/node/25
[16:01] <lunix> thanks nijaba:) ill check it out
[17:32] <heath|work> how do you repopulate /dev/disk/by-uuid/ I installed and formatted a new drive, but I can't mount it by it's UUID
[17:34] <heath|work> nevermind: partprobe
[18:27] <orudie> how do i add a user in terminal ?
[18:28] <gcleric> useradd or adduser
[18:31] <maxb> useradd is the lower level tool. adduser is the higher level more user friendly one
[19:14] <cody-somerville> Is ebox broken in hardy or intrepid?
[19:15] <sommer> cody-somerville: intrepid
[19:16] <cody-somerville> Who was poking me about the SRUs to fix that?
[19:16] <ScottK> It was me for server team.
[19:16] <sommer> I uploaded some patches to the bugs, but foolano is working on updating the jaunty packages
[19:16] <ScottK> I think it was sommer.
[19:16] * sommer thinks is was foolano
[19:18] <sommer> cody-somerville: at this point we're waiting to get the updates into jaunty, then someone will likely re-poke for intrepid srus
[19:18] <cody-somerville> Whats taking so long?
[19:19] <sommer> I believe they're still doing some testing on the jaunty packages
[19:19] <sommer> I get the feeling that they'll be updated this week though
[19:33] <kaje> I followed the kerberos guide at https://help.ubuntu.com/8.10/serverguide/C/kerberos.html and now my client machine won't let me log in... can someone help please!?
[19:33] <kaje> everything was going great until the last step: sudo auth-client-config -a -p kerberos_example
[19:34] <kaje> After firing that, I can't ssh in or login at the workstation
[19:34] <Deeps> reboot, select recovery mode from grub boot list, it should let you login as root locally
[19:34] <Deeps> hmm, heh. what happens to systems that dont have a root password set? heh
[19:35] <kaje> it doesn't prompt for password in recovery mode... I can then set the root password and reboot
[19:35] <sommer> kaje: after booting into single user mode, you can try the pam-auth-update utlity to enable kerberos
[19:35] <kaje> but, I'd like to know what didn't work?
[19:36] <sommer> kaje: I think the kerberos_example profile may have some issues
[19:36] <kaje> sommer: oh, was I supposed to run that during the client installation of kerberos?
[19:36] <kaje> ahh
[19:36] <kaje> where is that profile located?
[19:36] <sommer> kaje: /etc/auth-client-config/profile.d
[19:36] <kaje> ok, thanks for the help guys =)
[19:36] <sommer> kaje: you can also check /var/log/auth.log for the specific error
[19:37] <sommer> kaje: it may also be a good idea to setup ssh-keys for at least one user on the machine so that if your pam config isn't 100% you can still login
[19:37] <sommer> at least that's what I do
=== MohammadBoozary is now known as Mohammad[B]
[20:37] <EtienneG_mibbit> wow, web-to-IRC
[20:37] <EtienneG_mibbit> it work
[20:38] <cody-somerville> Following https://help.ubuntu.com/8.10/serverguide/C/moinmoin.html, I've installed moinmoin but my new wiki has no theme.
[20:57] <kaje> what can I use on the command line to resolve DNS names to IP's and back again... nslookup works, but it prints out a bunch of extra crap. I'm using this for a script and just want IP in DNS name out (and the reverse)
[20:58] <Deeps> host
[21:01] <kaje> thanks!
[21:30] <robertj> hey all, anyone wanna recommend an IP KVM that does not suck?
[21:40] <ajmitch> ScottK-desktop: given your knowledge of mail, do you know if DKIM support is part of exim in ubuntu, or just supported with postfix?
[21:42] <ScottK> ajmitch: I know nothing about Exim DKIM support.
[21:42] <ajmitch> ok
[21:42] <ScottK> Amavisd-new with the Perl DKIM lib (which is recommends) can both sign and verify DKIM.
[21:43] <ScottK> I think Exim can use transparent SMTP filters like amavisd-new.
[21:43] <ajmitch> I'll take a look at that, thanks
[21:43] <ScottK> So that would likely be one (heavy weight) way to do it.
[21:43] <ScottK> That's also all in Main.
[21:43] * ScottK uses dkim-milter, but clealrly that's not for Exim.
[21:44] <ajmitch> it'd possibly take a bit of configuration to switch away from exim, so I've been hesitant to do so
[21:45] * ScottK would hestitate to push anyone away from their MTA of choice (unless it's Echange), but is very happy with Postfix.
[21:46] <ajmitch> by the way, your site even showed up on top of google when I searched for 'SPF record check'
[21:49] <ScottK> ;-)
[21:49] <ScottK> It's not the prettiest, but AFAIK it's the most accurate.
[21:49] <ScottK> accurate/correct.
[21:49] <ajmitch> and quite useful
[21:52] <ScottK> Thanks.
[22:30] <uvirtbot`> New bug: #319391 in migrationtools (universe) "migrate_common.ph missing" [Undecided,New] https://launchpad.net/bugs/319391
=== darkstarbe is now known as alexs|afk
=== alexs|afk is now known as alexs
[22:37] * andol has just started looking into ubuntu-server-triage and wonders if he can get some feedback on a bugg-report.
[22:37] <andol> https://bugs.launchpad.net/ubuntu/+source/php5/+bug/305254
[22:37] <uvirtbot`> Launchpad bug 305254 in php5 "PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0" [Undecided,Incomplete]
[22:38] <andol> I'm rather sure I know what the problem is. I just don't know whatever it really is a bug or not, whatever to mark it as confirmed or invalid.
[22:39] <actionshrimp> hey guys, which administration control panelly-type software (e.g. ISPConfig) would you recommend?
[22:40] <Deeps> !ebox | actionshrimp
[22:40] <ubottu> actionshrimp: ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox
[22:40] <cody-somerville> Its broken in Intrepid though
[22:40] <actionshrimp> Deeps: thanks, havent heard of that one. Will give it a read
[22:40] <actionshrimp> im using hardy on my server actually so shouldnt be a problem
[22:41] <actionshrimp> would you recommend putting it on a 'clean slate' setup though?
[22:41] <actionshrimp> i have a manual configuration at the minute, but im getting a few more users and its getting a bit harder to manage
[22:42] <Deeps> i have no idea i'm afraid
[22:46] <actionshrimp> ok, thanks for your help
[22:51] <mathiaz> andol: ready quickly - it's an bug in the upgrade
[22:51] <mathiaz> andol: *reading*
[22:51] <mathiaz> andol: as we support upgrades it shouldn't be marked as invalid
[22:53] <mathiaz> andol: hm well - if the user choose to keep it's old configuration, that I'd mark it as wont'fix explaining how to fix the message (edit php.ini)
[22:57] <solifugus> When you select virtual-machine-host during installation, what virtualization engine does ubuntu server install?
[22:58] <andol> mathiaz: ok, thank you.
[22:59] <Deeps> solifugus: i'd imagine kvm
[22:59] <solifugus> I'd imagine virtualbox
[23:00] <solifugus> kvm has very little of any kind of tools around it (yet)
[23:00] <solifugus> or.. zen
[23:00] <mathiaz> solifugus: kvm and libvirt
[23:01] <solifugus> mathiaz: do you know where I can find the documentation for this, on ubuntu-server?
[23:01] <mathiaz> !serverguide | solifugus
[23:01] <ubottu> solifugus: The Ubuntu server guide may be found at http://help.ubuntu.com/8.04/serverguide/C/
[23:02] <mathiaz> solifugus: there is a section about virtualization
[23:02] <mathiaz> solifugus: make sure you're looking at the server guide corresponding to the version you're running
[23:02] <mathiaz> solifugus: the virtualization section has been updated between 8.04 and 8.10.
[23:04] <solifugus> yes.. just switched it to 8.10. I am installing in virtualbox now, to test.. I want to install on a more powerful machine at home specifically to run VMs for my own various uses...
[23:06] <mathiaz> solifugus: I'm not sure you can run kvm+libvirt inside virtualbox.
[23:09] <jmedina> what about running virtualbox under xen domain0?
[23:13] <solifugus> mathiaz: it shoudl work.. just not with paravirtualization
=== maxbaldwin is now known as Guest85392
=== Guest85392 is now known as maxbaldwin
[23:19] <solifugus> mathiaz: virtualbox, in settings->advanced, can be set to simulate a cpu with paravirtualization features..
[23:19] <solifugus> nice..
[23:21] <theczar> I was wondering where exactly I need to input my virtual host tags in my httpd.conf file for Apache (LAMPP setup)
[23:21] <kaje> I've worked through the SingleSignOn how-to and I have everything working! WOOT! Now, there is one last little section that is just titled, "Cached Credentials" with three sudo commands but no description... Can anyone tell me what that section is about?
[23:22] <kaje> theczar: You should put them in separate files in /etc/apache2/site-available/
[23:22] <andol> mathiaz: The "won't fix" is an importance-setting, isn't it? Note sure if I have the permissions to set that.
[23:22] <Deeps> sites-available*
[23:22] <kaje> theczar: Then go into the /etc/apache2/sites-enabled directory and do an ln -s ../myVhostConfig
[23:23] <kaje> then restart apache
[23:23] <kaje> makes it so you can disable and enable vhosts by just adding or removing links in the sites-enabled directory
[23:23] <kaje> Yep, Deeps is right, should be sites-available (plural)
[23:24] <theczar> kaje ok, so I should make some plain-text files there and name them what?
[23:24] <kaje> I always copy the form of the default file that should already be in that directory
[23:24] <kaje> name them whatever you want
[23:24] <theczar> cool
[23:24] <kaje> the apache configuration basically includes anything in the sites-enabled directory
[23:24] <kaje> but put the real files in the sites-available directory and just link them to the sites-enabled directory
[23:24] <Deeps> unless you've installed the LAMPP distribution that installs itself into /opt
[23:25] <Deeps> which doesn't come packaged in ubuntu
[23:25] <kaje> oh, whoops, just saw the LAMPP mention... sorry not too familiar with them
[23:25] <Deeps> in which case you'd need to ask them for support
[23:26] <kaje> Oh, is the cached credentials section about how to setup the client to cache the credentials in case the kdc is down?
[23:27] <kaje> that way users can still temporarily log in if they are in the cache?
[23:28] <theczar> Kaje, Deeps, yeah I don't have a sites-enabled or sites-available directory since I use LAMPP, but do either of you know how to add the virtual host configs to the httpd.conf?
[23:28] <kaje> I think you can add them to the end of the httpd.conf file... but like I said, I'm not to familiar with that product
[23:28] <Deeps> just shove them in at the end
[23:28] <kaje> =)
[23:28] <Deeps> it might work, if it doesn't, ask the guys who made LAMPP
[23:28] <chris_cf> how to I list the running services in ubuntu ? (somthing like: rc-status from gentoo, or service --list-all from fedora)
[23:30] <Deeps> good question
[23:31] <kaje> chris_cf: I always just look at ps -a
[23:32] <mathiaz> andol: wontfix is a status state.
[23:32] <mathiaz> andol: you should be able to set it.
[23:32] <kaje> chris_cf: that should have been ps -A
[23:33] <Deeps> output of ps -A isn't comparable to what you'd get from service --list-all and rc-status
[23:33] <chris_cf> hmm
[23:33] <chris_cf> no it's not
[23:33] <SmokeyD> hey people. If I want to setup a pop3 and imap mail server for a couple of domains (not too many though) and some users (+/-20) who use a diverse range of mail clients. Would you recommend dovecot or courier
[23:33] <Deeps> chris_cf: if you do find out, hilight me and let me know wouldya!
[23:34] <Deeps> SmokeyD: dovecot
[23:35] <SmokeyD> Deeps: why?
[23:35] <Deeps> SmokeyD: because it's in main, and officially supported by ubuntu, while courier isn't
[23:36] <SmokeyD> Deeps: ok, definitely a good reason, but that isn't good enough for me :)
[23:36] <SmokeyD> why is it in main and supported, and why isn't courier
[23:36] <Deeps> SmokeyD: thats the best you'll get from me. i'm sure there are discussions archived on the interwebs from when this was decided
[23:36] <SmokeyD> Deeps: :)
[23:36] <SmokeyD> ok, thanks
[23:37] <SmokeyD> I'll continue browsing
[23:37] <Deeps> but if you're gonna use ubuntu and either of those through apt, you'd be best served using something thats actually supported by the ubuntu team
[23:37] <andol> mathiaz: No, my only status choices are: new, incomplete, invalid, confirmed, in progress, fix commited and fix released
[23:37] <SmokeyD> Deeps: yeah that is right
[23:38] <SmokeyD> I was already leaning towards dovecot, but I wanted some input from others :)
[23:39] <Deeps> SmokeyD: so yeah, as for the rationale, there'll be meeting discussion logs online somewhere; or if the reason is "cuz thats what debian do", you'll need to hound debian peeps instead ;)
[23:39] <SmokeyD> :D
[23:39] <mathiaz> andol: ok. Are you part of the ubuntu-bug-control team?
[23:39] <SmokeyD> I won't hound people.
[23:39] <andol> mathiaz: no
[23:39] <SmokeyD> I'll just read article
[23:39] <SmokeyD> s
[23:41] <mathiaz> bdmurray: is a member of the ubuntu-bug-control team allowed to use wontfix for bug status?
[23:41] <bdmurray> mathiaz: yes
[23:42] <mathiaz> bdmurray: what does it take to be a member of this team?
[23:42] <bdmurray> https://wiki.ubuntu.com/UbuntuBugControl
[23:43] <mathiaz> andol: ^^ - may be worth reading it
[23:44] <andol> mathiaz: read it
[23:44] <andol> (well at least the requirements)
[23:44] * andol is pretty sure he is not yet ready for ubuntu-bug-control.
[23:47] <mathiaz> andol: you may be ready sooner than you think if you keep triagging ubuntu-server bugs ;)
[23:48] <andol> mathiaz: might be true, but so far I have only been at it for a couple of days :)
[23:49] <andol> mathiaz: Well, thanks for the help anyway.
[23:50] <mathiaz> andol: I've marked the bug as won't fix.
[23:52] <andol> great