[02:33] <goofey> how do i recreate /etc/apache2 and all it's subdirs and files?
[02:42] <peanutb> sudo apt-get apache2 remove
[02:43] <olem> apt-get remove and reinstall... or grab your last backups :)
[02:43] <goofey> i removed and resintalled - for some reason that doesn't restore the config files....
[02:43] <goofey> i also tried a purge
[02:43] <goofey> same result
[02:44] <olem> man apt-get for usefull option regarding config files (that are anyway contained in the package's tarball)
[02:44] <goofey> i'm wondering if the files from from some other package?
[02:44] <goofey> olem: ok, will do - thanks
[02:45] <olem> additionnaly, dpkg -S /path/to/a/file will reveal you from which package the file comes
[02:47] <olem> and /etc/apache2 hierarchy comes from apache2-common package
[02:48] <olem> (see 'dpkg -L apache2-common')
[02:48] <goofey> olem: - ahh - perfect!  apache2-common
[02:52] <goofey> olem: dumb questions - shouldn't sudo apt-get install --reinstall apache2-common work?
[02:53] <goofey> nm - reverse --reinstall and install and it works....
[02:54] <goofey> thanks for all the help!
[02:55] <olem> you're welcome
[06:06] <goofey> would someone mind running a "dpkg -S" on any php5 files in /etc/apache/mods-available/ - i need to know what package creates these files - thanks!
[06:19] <goofey> would someone mind running a "dpkg -S" on any php5 files in /etc/apache/mods-available/ - i need to know what package creates these files - thanks!
[06:23] <goofey> wait, make that /etc/apache2/mods-available
[06:28] <goofey> and i think the file is pgp5.load
[06:28] <goofey> er, php5.load
[06:32] <goofey> no apache2/ubuntu/php5 users here?
[06:41] <Burgundavia> probably part of the default apache2-php5 package, or whatever it is called
[06:41] <goofey> ok, thanks - someone in #apache found it for me
[06:46] <foo> goofey: oh, hey :)
[06:46] <foo> That was me
[06:46] <foo> :)
[07:03] <goofey> it was!!!!
[07:48] <Shaddox> Hello everyone. I need help setting up my server for use as an e-mail server step-by-step.
[07:48] <Shaddox> Can anyone help me out with this? I'm new to this.
[08:07] <Shaddox> Hello everyone. I need help setting up my server for use as an e-mail server step-by-step. I already have the website built, and need to set up my e-mail for it.
[08:10] <Pumpernickel> Documentation is usually a better resource than IRC for something as possibly complicated as a mail server.
[08:11] <Pumpernickel> e.g; http://www.postfix.org/documentation.html
[08:18] <olem> Shaddox, additionnaly and specifically for ubuntu, you should have a look at : http://ubuntuforums.org/showthread.php?t=40047
[08:19] <Shaddox> Pumpernickel: The postfix docs were extremely confusing, and thank you olem for that link.
[09:55] <olem> you're welcome
[09:56] <illusion-1> hi
[09:56] <illusion-1> plz any tuto to install and configure openvpn in ubuntu server ?
[10:00] <olem> illusion-1, https://help.ubuntu.com/community/VPNServer
[10:00] <illusion-1> olem, thnx
[10:00] <olem> illusion-1, please, have a google search and a wiki.ubuntu.com search before asking here. You'll probably save you're time :)
[10:00] <olem> anyway, you're welcome
[10:01] <illusion-1> ok thnx
[11:14] <[miles] > morning
[11:15] <[miles] > guys, can I easily install Xubuntu 6.06 but with a server kernel?
[11:15] <lionel> Hi [miles] 
[11:15] <lionel> sudo apt-get install xubuntu-destop on a server install
[11:15] <[miles] > yo lionel
[11:16] <lionel> sudo apt-get install linux-server on a Xubuntu install :)
[11:16] <[miles] > ahh ok
[11:16] <[miles] > lionel: but from install boot line, can I select server kernel is installed
[11:16] <[miles] > ?
[11:16] <lionel> not at installation
[11:16] <[miles] > oh no
[11:16] <lionel> (btw, it is linux-image-server)
[11:16] <[miles] > :)
[11:17] <ivoks> hi
[11:17] <lionel> hi ivoks
[11:17] <[miles] > I'd also like to avoid installing openoffice and extra shite
[11:17] <[miles] > yo ivoks
[11:17] <[miles] > the end user just needs basic X and FireWall Builder
[11:17] <ivoks> oo.org doesn't come with ubuntu-server
[11:17] <lionel> [miles] : openoffice does not come with xubuntu
[11:17] <ivoks> (last time i looked, this is #ubuntu-server :)
[11:17] <[miles] > well, I installed ubuntu server yesterday, and installed XFCE4
[11:17] <[miles] > and it put OOo
[11:17] <ivoks> s/is/was/
[11:18] <[miles] > :)
[11:19] <lionel> [miles] : lionel@ouessant:~$ apt-cache rdepends openoffice.org | grep desktop
[11:19] <lionel>   meta-ul-desktop-base
[11:19] <lionel>   ichthux-desktop
[11:19] <lionel>   education-desktop-other
[11:19] <lionel>   ubuntu-desktop
[11:19] <lionel>   edubuntu-desktop
[11:19] <lionel> no xubuntu-desktop
[11:21] <[miles] > maybe its cos I did an install on xfce4
[11:21] <[miles] > not xubuntu-desktop
[11:21] <[miles] > damn this box has a via processor
[11:23] <[miles] > so, lionel xubuntu installs with no OO etc... really minimal X install?
[11:23] <shawarma> xubuntu is xfce. I don't know if that qualifies as "really minimal". Perhaps. :)
[11:23] <[miles] > jeje
[11:24] <lionel> fluxbox or openbox would be minimal I think
[11:24] <lionel> I shawarma
[11:24] <shawarma> But it uses abiword/gnumeric etc. instead of oo.o, afair.
[11:24] <ivoks> nope, fvwm would be minimal :)
[11:24] <lionel> crongrats for your new job :)
[11:24] <shawarma> evilwm ftw!
[11:24] <shawarma> lionel: Thanks. :)
[11:24] <ivoks> ok, let's stop - this is CLI-channel only :)
[11:32] <[miles] > server kernel is noooooo go with via cpu
[11:34] <ivoks> could be... i think you need -386 kernel
[11:34] <[miles] > yep
[11:34] <[miles] > just gonna install xubuntu 386
[11:35] <ivoks> install CLI version of xubuntu
[11:35] <ivoks> and then add missing components :)
[12:15] <Deepshock> anyone have a suggestion for what lightweight gui i should run ontop of ubuntu server? fluxbox or xfce?
[12:18] <[miles] > Deepshock: exactly what im doing atm
[12:18] <[miles] > Deepshock: for a clients box
[12:18] <[miles] > Deepshock: XFCE
[12:18] <[miles] > [11:15]  <lionel> sudo apt-get install xubuntu-destop on a server install
[12:19] <Deepshock> its just something lightweight on top of a dev test box
[12:19] <[miles] > Deepshock: blackbox
[12:20] <Deepshock> does XFCE just come with some extras?
[12:20] <[miles] > Deepshock: I see that is available
[12:20] <[miles] > I used XFCE for the first time yesterday
[12:20] <[miles] > and I personally find it very very good
[12:20] <Deepshock> lol im instalilng it as we speak
[12:20] <Deepshock> hhehe
[12:20] <Deepshock> say.. miles u wouldn't happen to know how to get a hardware probe in terminal would u?
[12:20] <Deepshock> because my network card wasn't picking up
[12:20] <Deepshock> and i had to add it via /network/interfaces.. 
[12:20] <Deepshock> but is there a better way to do it?
[12:21] <[miles] > depmod
[12:22] <[miles] > check your lspci
[12:22] <[miles] > what card is it?
[12:22] <[miles] > also check dmesg
[12:26] <Deepshock> its not an uncommon card
[12:26] <Deepshock> its just i didn't set it up during install
[12:26] <Deepshock> and theres no new hardware detection in the boot up process
[12:26] <Deepshock> so it never got configured
[12:26] <Deepshock> so depmod
[12:31] <Deepshock> miles, so i have in my lspci the wireless card i see.. but in my network-admin area its not there
[12:31] <Deepshock> how can i add that device?
[12:56] <[miles] > sorry back now
[12:56] <[miles] > Deepshock: it must be there
[12:57] <[miles] > Deepshock: pastebin.ca me the lspci please
[01:08] <Deepshock> miles: thx 
[01:09] <Deepshock> http://pastebin.ca/547368
[01:18] <`6og> Deepshock, whats your question
[01:18] <Deepshock> 60g: well basically i hace this atheros card and i think i downloadd the resticted driver thing from synaptics... but how do i configure my wireless card now? or get it to detect with the thing i downloaded
[01:19] <Deepshock> wait nm
[01:19] <Deepshock> got it all working
[01:19] <Deepshock> ! yay
[01:19] <`6og> :)
[01:19] <`6og> no worries ;)
[01:20] <Deepshock> thx for the offer tho
[01:21] <[miles] > Deepshock: sorry, everythings going Pete Tong here
[01:21] <[miles] > Deepshock: which card u having problems with?
[01:22] <Deepshock> hey miles np
[01:22] <Deepshock> well while u were gone i figured out some stuff
[01:22] <[miles] > Deepshock: I use wifi cards with Atheros chipset
[01:22] <Deepshock> thats what i ahve
[01:22] <[miles] > ok
[01:22] <Deepshock> i downloaded these linux restricted drivers
[01:22] <[miles] > good
[01:22] <Deepshock> things from synaptics i think i have some progress
[01:22] <[miles] > what version of ubuntu u using?
[01:23] <Deepshock> ubuntu server newest one
[01:23] <Deepshock> well i'm actually in xubuntu
[01:23] <Deepshock> right now
[01:23] <Deepshock> on top of the ubuntu-server
[01:24] <[miles] > ok sweet
[01:24] <[miles] > well, you could use wlassistant
[01:25] <[miles] > http://wlassistant.sourceforge.net/
[01:25] <Deepshock> hmm lemme see if i ahve that
[01:25] <[miles] > it's in the repo
[01:28] <Deepshock> hmm how to i use the repo
[01:28] <Deepshock> apt-get wlassistant
[01:28] <[miles] > in console
[01:28] <Deepshock> ?
[01:28] <[miles] > sudo aptitude install wlassistant
[01:31] <Deepshock> weird
[01:31] <Deepshock> its asking me for server cd
[01:31] <Deepshock> which is in the cd rom
[01:31] <[miles] > disable it in the sources
[01:32] <Deepshock> how does one that do
[01:32] <Deepshock> sorry =( kinda new still
[01:34] <Deepshock> wait nm think i i got it
[01:34] <[miles] > Deepshock: edit the /etc/apt/sources.list file
[01:34] <[miles] > and comment out the line saying cdrom
[01:34] <[miles] > then do an aptitude update
[01:35] <[miles] > then aptitude install wlassistant
[01:57] <Deepshock> I'm having issues getting my system to work with the wlassistant, does anyone have a sec to help me?
[02:10] <shawarma> Deepshock: Um... this is #ubuntu-server ?
[02:11] <Deepshock> i am running it, and i'm having issues gtting my wirelesscard to work with it
[02:11] <Deepshock> work with ubuntu-server
[02:15] <shawarma> Dude. wlassistant is a kde app, no?
[02:33] <Deepshock> how can i find what the kernel path is?
[02:44] <shawarma> Kernel path?
[02:44] <shawarma> the running kernel image? The source?
[03:26] <necrite> hi all
[03:28] <necrite> i have some problems with nfs . i have this in my exports
[03:28] <necrite>  /usr/local/materials/ 192.168.128.5(rw,nohide,no_subtree_check,sync)
[03:29] <necrite> and in my fstab i have
[03:29] <necrite> 192.168.128.3:/usr/local/materials /usr/local/remote/materials nfs rw 0   0
[03:30] <necrite> when i see how is mounted i see is mounted as rw
[03:31] <necrite> but when i try to write i get Operation not permitted
[03:49] <Deepshock> how do i configure the kernel to allow wireless extensions?
[03:50] <mralphabet> it's not?
[03:50] <Deepshock> nay
[03:53] <mralphabet> and what do you mean by "extensions"?
[03:54] <Deepshock> i'm trying to install madwfif
[03:54] <Deepshock> and i'm going to the make part of it
[03:54] <Deepshock> and then it says checking kernel config.. failed please enable wifi extension
[03:57] <mralphabet> cat /boot/config-`uname -r` | grep -i wireless
[03:58] <mralphabet> CONFIG_WIRELESS_EXT=y
[03:59] <shawarma> Deepshock: This is *still* #ubuntu-server
[03:59] <Deepshock> shwarma i'm asking for help on how to config wireless on an ubuntu server install
[03:59] <Deepshock> where am i suppose to go? ubuntu-server-wireless?
[04:00] <mralphabet> Deepshock: just because you are *using* server does not make this a *server* question
[04:00] <Deepshock> and i understand that is the possibility, but i personally don't know if the wireless issue is one that includes the server distro or not
[04:01] <mralphabet> this is more of "how can I get xyz non standard package to work", which may be better answered in whatever support channels madwifi has
[04:01] <mralphabet> because I can guarantee you that none of us are experts in "madwifi"
[04:02] <Deepshock> well i won't argue with you there, lemme try to find a more specific source for this
[04:02] <Deepshock> what questions would be more pertaining to this channel? i guess for my future ref
[04:03] <Deepshock> i mean if u think about it any lamp question
[04:03] <Deepshock> could be pointed to apache, mysql or php channels
[04:03] <shawarma> Deepshock: Questions about server hardware or software.
[04:03] <shawarma> Deepshock: Madwifi is neither.
[04:04] <shawarma> Deepshock: No, apache, php and mysql is on-topic here.
[04:04] <Deepshock> madwifi is the bridge between the wireless hardware and software to get it going
[04:04] <Deepshock> and i'm running it on the server distro
[04:05] <Deepshock> i mean so far everything i've asked isn't specific to mad wifi, i asked how to enable the wireless extension in the kernel
[04:05] <Deepshock> the kernel specific to this linux source
[04:05] <Deepshock> isn't that valid? i mean i'm not out here to prove anyone wrong i just need some self clarification so i can prevent asking anymore out of topic q's
[04:05] <mralphabet> Deepshock: according to the kernel I am running, wireless ext is enabled
[04:06] <Deepshock> alright, then i must hae done something weird to disable it.. let me check what you wrote
[04:06] <mralphabet> you can run the same test
[04:06] <Deepshock> alrighty, appreciate the direction mralphabet.. let me see where it goes
[04:09] <mralphabet> Deepshock: are you trying to compile this from source?
[04:09] <mralphabet> sudo apt-get install madwifi-tools
[04:09] <mralphabet> found that package from 'sudo apt-cache search mad'
[04:10] <Deepshock> let me gvie that a shot
[04:14] <Deepshock> mralphabet... alright.. how do i just rebuild the kernel
[04:14] <Deepshock> i think i messed with it too muhc
[04:14] <mralphabet> you touched the kernel?
[04:15] <Deepshock> mmm idk... maybe =P
[04:15] <Deepshock> i maen i deleted some files added somethings and now its weird..
[04:16] <mralphabet> . . .
[04:16] <mralphabet> apt-cache search linux-image
[04:16] <mralphabet> that gets you the packages
[04:16] <Deepshock> alrighty
[04:16] <Deepshock> i'll do that
[04:16] <mralphabet> apt-get reinstall <some package> should do what you want
[04:21] <coNP> Any exim4 experts here? The exim4-config utility says to delimit the hosts in the config file with semicolons (;). Does it work this way? I use colons (:) and I think this is the working solution (for me ; gives errors). Can any of you confirm if I am right (both that colon is ':' and semicolon ';' and that this is a bug in the configuration utility)?
[04:53] <[miles] > anyone know where the acinclude command comes from?
[04:53] <ivoks> dpkg -S `which acinclude`
[04:55] <necrite> anyone can help me with some nfs isues ?
[04:56] <ivoks> maybe :)
[04:56] <necrite>  i have some problems with nfs . i have this in my exports
[04:56] <necrite> /usr/local/materials/ 192.168.128.5(rw,nohide,no_subtree_check,sync)
[04:56] <necrite> and in my fstab i have
[04:56] <necrite> 192.168.128.3:/usr/local/materials /usr/local/remote/materials nfs rw 0   0
[04:56] <necrite>  when i see how is mounted i see is mounted as rw
[04:56] <necrite> but when i try to write i get Operation not permitted
[04:57] <[miles] > ivoks: nope, can't locate it at all
[04:58] <necrite> [miles] , ldpkg -S `ocate 
[04:58] <necrite> ops
[04:58] <coNP> [miles] : apt-file update && apt-file search acinclude ?
[04:58] <necrite> locate acinclude
[04:58] <ivoks> [miles] : do you have it installed or not?
[04:58] <necrite> and then dpkg -S file
[04:59] <[miles] > nope, it does exist
[04:59] <ivoks> necrite: who is the owner of the /usr/local/materials/ on server?
[04:59] <[miles] > apparently its part of autoconf
[04:59] <ivoks> [miles] : then apt-file is the only way
[05:00] <necrite> ivoks, root
[05:00] <ivoks> and you are trying to write on it as a root or as a user?
[05:00] <necrite> as root
[05:02] <ivoks> necrite: no_root_squash?
[05:02] <ivoks> that's bad way to solve the issue...
[05:02] <necrite> oks but i can cheange the owner
[05:02] <ivoks> better way would be to chown it as nobody, and add anonuid=65534
[05:03] <ivoks> and then add all_squash
[05:03] <necrite> ivoks, oks i ll try..  
[05:03] <necrite> thanks
[05:03] <ivoks> np
[05:04] <ivoks> [miles] : there is no such binary in dapper
[05:05] <ivoks> necrite: be carefull, everybody will be able to write to that share then
[05:08] <[miles] > nod
[05:08] <[miles] > ivoks: weird, ... I'm building fwbuilder source atm
[05:08] <[miles] > np tho
[05:10] <[miles] > http://ac-archive.sourceforge.net/doc/acinclude.html
[05:14] <necrite> ivoks, i whont www-data be the owner of this directory
[05:14] <necrite> i change it
[05:15] <ivoks> ok
[05:15] <necrite> so.. if i export this directory i have to set the id of ww-data
[05:15] <necrite> ?
[05:17] <ivoks> anonid, yes
[05:17] <ivoks> anonuid
[05:18] <necrite> i have to add this (all_squash,anonuid=www-dataid,anongid=www-datagid
[05:18] <necrite> ?
[05:18] <ivoks> yes
[05:22] <necrite> ivoks, it work ! tks a looot man
[05:23] <ivoks> np
[10:12] <gloin> Question: the tftpd-hpa that comes with server 6.06 seems to be broken, in the sense that I can connect to it but any GET times out.  Also, there doesn't seem to be _any_ syslogging happening to help me figure out what broke.  Is this a known issue?  Google didn't lend any help.
[10:17] <ivoks> eh?
[10:17] <ivoks> i use it daily
[10:17] <ivoks> on 100 computers
[10:20] <ivoks> there is /etc/default/tftpd-hpa
[10:20] <ivoks> under OPTIONS put "-l -s /var/lib/tftpboot"
[10:20] <ivoks> RUN_DAEMON=ye
[10:20] <ivoks> s
[10:20] <ivoks> and that's it, put images in /var/lib/tftpboot and you are done
[10:27] <gloin> yeah, that's my setup
[10:27] <gloin> I'm beginning to suspect managed switch issues though
[10:27] <gloin> we've got kind of a complex network
[10:28] <gloin> I tried a different tftpd, same exact result
[10:28] <ivoks> but... could be a bug :)
[10:29] <gloin> in two different tftp implementations?
[10:29] <ivoks> it was a joke :)
[10:29] <gloin> arglbargl
[10:29] <gloin> I should probably eat lunch before attempting to converse further.
[11:00] <shawarma> gloin: Just because your tftp clint shows a prompt, it doesn't mean you're connected..
[11:01] <shawarma> gloin: No communication actually takes place before you *do* something.
[11:01] <gloin> shawarma: I was able to get it to log
[11:01] <gloin> it shows the attempted GET
[11:01] <shawarma> gloin: ah, ok then.
[11:01] <gloin> but only when I do it by hand
[11:02] <gloin> hmm
[11:02] <shawarma> gloin: I'd say you're connected, then :)
[11:02] <shawarma> I remember having difficulties with it too at some point.
[11:02] <shawarma> I think I ended up running it under strace to see what it actually tried to fetch. 
[11:03] <shawarma> And I think I remember that I seconds later had one of those "OH!"-experiences. :)
[11:09] <fabbione> gloin: what are you trying to netboot?
[11:09] <fabbione> can it be the client rather than the server?
[11:09] <gloin> fabbione: I would wonder that, except that I can't get the file manually either
[11:10] <gloin> hrm
[11:10] <gloin> strace isn't telling me anything
[11:10] <fabbione> gloin: afair tftp-hpa has a limitation to not understand requests coming to a broadcast address
[11:10] <shawarma> It's not open()'ing anything at all?
[11:10] <fabbione> for example the NIagara T2000 tftp code attempts by default to netboot using a broadcast 
[11:10] <gloin> shawarma: it's opening libs
[11:11] <fabbione> that doesn't work
[11:11] <fabbione> you need to specify the tftp server address
[11:11] <fabbione> not sure what tests you are doing but slam a sniffer and check for that too
[11:12] <fabbione> anyway i am pretty sure the server works
[11:12] <fabbione> i use it here too as ivoks
[11:12] <fabbione> since like.. warty?
[11:13] <fabbione> time for bed...
[11:13] <fabbione> night
[11:13] <gloin> hmm
[11:13] <gloin> nothing at all
[11:13] <gloin> shawarma: trying a GET with strace following the server
[11:13] <gloin> and nothing
[11:13] <gloin> zilch
[11:14] <gloin> oh
[11:14] <gloin> I have to get strace to follow forks, don't I?
[11:14] <shawarma> You said it logged something?
[11:14] <shawarma> gloin: Possibly.
[11:14] <shawarma> gloin: (that's -f)
[11:15] <gloin> no change
[11:15] <gloin> exactly same output
[11:15] <gloin> the only place I see it even listing /var/lib/tftpboot is in the args section right at the beginning
[11:16] <shawarma> I don't quite get it. You say it logs things, but you don't see that in the strace?
[11:22] <gloin> can't get it to log right now either
[11:23] <shawarma> Are you attaching strace to the running server or spawning a new one?
[11:23] <gloin> killing all the old ones and spawning a new one
[11:23] <shawarma> As root?
[11:23] <gloin> with plenty of -vv
[11:23] <gloin> as root
[11:23] <shawarma> Hm.. And it's got a socket in LISTEN ?
[11:24] <shawarma> I'm an idiot.
[11:24] <gloin> ?
[11:24] <shawarma> Does it have a udp socket open?
[11:24] <shawarma> (udp sockets have no concept of LISTEN state)
[11:24] <gloin> dammit
[11:24] <gloin> it _should_ but I don't see it 
[11:25] <gloin> argh
[11:25] <shawarma> netstat -an | grep 69 gives you nothing?
[11:25] <gloin> lsof -i showed me zilch for tftp
[11:26] <gloin> perhaps netstat is more useful
[11:26] <gloin> udp        0      0 0.0.0.0:69              0.0.0.0:*
[11:27] <gloin> oho
[11:27] <gloin> it logs again
[11:27] <gloin> Jun  7 14:26:00 amys00741 in.tftpd[4250] : recvfrom: Socket operation on non-socket
[11:28] <gloin> and now lsof shows a whole mess of entries for tftpd
[11:32] <gloin> oh hell
[11:32] <gloin> shawarma: now I'm the idiot
[11:32] <shawarma> Oh?
[11:32] <gloin> the machine I was testing with manually
[11:32] <gloin> iptables...
[11:33] <gloin> -F -X -Z change policies it works perfectly
[11:33] <shawarma> \o/
[11:33] <gloin> haha
[11:33] <gloin> ok
[11:33] <gloin> so tftp server is working correctly
[11:34] <gloin> client is an NTAVO from devonit.com
[11:34] <gloin> and that must be the problem
[11:34] <gloin> occam's razor
[11:34] <gloin> occzam*
[11:39] <shawarma> Have fun.