[04:59] <NineTeen67Comet> g'day all .. Anyone in here privy to running Gallery2 as installed by apt? .. I've manually ran it for years, but never let the OS install it for me then use it ..
[05:00] <NineTeen67Comet> And .. is there a reason there is no ssh server default install for Ubuntu-Server? It went really nice, except I had to find apt-get's keyword for sshd .. it's all up now (sept my hard drives for the sites look like they didn't handle the change in servers quite so well ..
[07:21] <NineTeen67Comet> Aarrg .. Switching distro's has made my firing up Apache with all my sites not fun .. I created my own file inside /etc/apache2/sites-enabled .. then told /etc/apache2/apache2.conf to seek that file Include /etc/apache2/sites-enabled/justinsteiger.conf .. it's a replica of the 000-example.conf page that was there .. just made sure the directories reflected, and such .. then /etc/init.d/apache2 reload .. leads to a plethora of unha
[07:21] <NineTeen67Comet> like
[07:22] <infinity> apache2.conf includes the sites-enabled directory by default.  Explicitely including a file from there as well will lead to it being included twice.
[07:22] <NineTeen67Comet> Well .. it's only mad about the server name now .. using the servers ip address instead .. Do I ca
[07:23] <NineTeen67Comet> Do I need to add my server's name in the apache2.conf file spacificly? Or can I edit /etc/hosts /etc/hostname or what not?
[07:23] <infinity> Is it complaining that it can't reverse resolve your IP?
[07:23] <NineTeen67Comet> infinity: okay, I'll toss the # I put on there and take mine away ..
[07:23] <infinity> If so, you should add it to /etc/hosts, yes.
[07:24] <NineTeen67Comet> infinity: okay .. thank you .. hope this'll get the sites visible again .. mysql is next on my firing line ..
[07:26] <NineTeen67Comet> It tells me now .. [Tue Jul 18 23:34:28 2006]  [warn]  NameVirtualHost *:0 has no VirtualHosts
[07:27] <NineTeen67Comet> I think it's reading the 000_example.conf file now too ..
[07:27] <infinity> You mean 000-default?
[07:27] <infinity> "a2dissite default"
[07:27] <NineTeen67Comet> K .. # out the original and un-# my line with just my file .. it's all good now ..
[07:27] <NineTeen67Comet> yeah 000-default
[07:28] <infinity> Yeah, the whole point of "sites-enabled" is to be a symlink farm back to ../sites-available ... You can add/remove the symlinks manually, or use a2ensite/a2dissite to do so for you.
[07:29] <infinity> Yes, I realise it's unintuitive for people used to a monolithic httpd.conf, but it makes perfect sense to those of us who've had to deal with sites with hundreds/thousands of vhosts.
[07:29] <NineTeen67Comet> aha okay .. I haven't read up on a2ensite etc ..
[07:30] <NineTeen67Comet> I see it's usefullness .. So I build new vhost.conf files in available then use a2ensite to add them to sites-enabled? .. one vhosts page per site?
[07:31] <infinity> Well, whatever works for you, really.
[07:31] <NineTeen67Comet> infinity: I only run at most 10 sites for people, so it's not too bad to go in and # out the vhost lines .. but if I can  do it all with a few commands, that's perfect'er ..
[07:32] <infinity> On some hosts, I use one per site (www.foo.com, site2.foo.com, www.bar.com, etc), on others I'll use one file per domain (www.foo.com and site2.foo.com both in the "foo.com" file), and on some sites, I use on file per customer, with all their sites in there...
[07:32] <NineTeen67Comet> I still don't get it .. my default site (let alone all the others) is still not coming up .. No errors etc .. I just dunno ..
[07:32] <infinity> And some people just ignore the whole thing entirely, stop using the includes, and dump everything in the default site, or whatever.
[07:33] <infinity> It's intentionally flexible, so you can bend it to your needs.
[07:33] <NineTeen67Comet> infinity: I'll probably go the single file per client idea .. easier to edit I think .. for my small stuff anyhow ..
[07:35] <NineTeen67Comet> Is there something else I need to change to get Apache running? I went into apache2.conf and other then the admin email the sites-enable directory is all I needed to change .. The server is still stock (as far as Ubuntu-server LAMP goes) ..
[07:37] <NineTeen67Comet> If I use the external ip for my router (210.233.209.40) all comes up roses, but the URL doesn't work .. could it be my dynamic ip people? they have the correct IP address ..
[07:38] <infinity> How are you doing vhosting?
[07:38] <infinity> NameVirtualHost *
[07:38] <infinity> <VirtualHost *>
[07:38] <infinity>  blah blah

[07:39] <infinity> ?
[07:39] <NineTeen67Comet> infinity: Well, I had just edited/copied the 000-default.conf file .. or is that pointing to my vhost files? .. I need to read it more I think ..
[07:39] <infinity> If you have a dynamic IP, you almost certainly don't want to be using "NameVirtualHost 1.2.3.4:80", or any other such craziness.
[07:40] <NineTeen67Comet> infinity: I've been using NameVirtualHost *:80 .. for years .. I just looked and all it had was NameVirtualHost * .. I'm in there now reading up to make sure I didn't over simplify what it needed ..
[07:41] <infinity> So, what hostname(s) should be working there?
[07:41] <infinity> http://210.233.209.40/ shows me a site at any rate.
[07:42] <NineTeen67Comet> Yeah that's the 'default' site .. I'm justin and I run a few other sites for people off the little server I've got .. I've been using Gentoo for a few years (got tired of things breaking with each upgrade) ..
[07:42] <infinity> The others I see listed from that page all resolve to 210.233.218.6
[07:42] <infinity> Which I suspect is your problem.
[07:43] <infinity> Your IP seems to have changed.
[07:43] <NineTeen67Comet> The others .. hum .. No the IP is good but afraid.org might not have updated them all .. lemme check with them ..
[07:45] <NineTeen67Comet> Yeah something is fishy then .. afraid.org shows all the sites as pointing to 210.233.209.40 ..
[07:45] <NineTeen67Comet> It's been like this for a few weeks (same ip) .. Maybe they are broken or something .. I'll pop an e-mail off and check ..
[07:55] <NineTeen67Comet> n'kay .. e-mail fired off .. Hope that's not it, cuz I've TOTALLY redone my server because of this .. lol
[07:55] <infinity> Well, I can tell you what IP those resolve to from here, and it's 210.233.218.6, so...
[07:56] <NineTeen67Comet> Yeah .. I told them that .. Hopefully they'll be quick'ish .. They have been great in the past .. (they meaning "him") ..
[07:57] <NineTeen67Comet> Thanks for your time . off to work for this guy .. take care ..
[11:20] <Stonekeeper> hi. Which dhcp server do people here use? The ISC one seems very old. Thanks.
[11:26] <Stonekeeper> ah, i see there's a dhcp3-server :)
[01:35] <NineTeen67Comet> Hi all .. recently fired up my LAMP Ubuntu Server and am now trying to get CUPS to play nice with the Printer port attached printer (and share it) .. but the how to I found is lame at best .. so far .. any good links for a headless printer sharing how to?
[01:40] <RShadow> any amavis-new wizards here?
[01:53] <lionelp> RShadow: what is your question ?
[01:53] <RShadow> lionelp, I'm getting this error (amavis[10592] : (10592-01) ask_av (ClamAV-clamd) FAILED - unexpected result: /var/lib/amavis/tmp/amavis-20060718T110236-10592/parts: lstat() failed. ERROR\) and I don't have a clue where to start
[01:54] <lionelp> RShadow: adduser clamav amavis
[01:54] <RShadow> lionelp, I did
[01:54] <lionelp> RShadow: on all the parts
[01:55] <RShadow> lionelp, what do you mean all the parts?
[01:55] <lionelp> On all the messages you have this error
[01:55] <lionelp> or only sometimes
[01:55] <RShadow> lionelp, all the messages
[01:58] <J_P> hi all
[01:59] <lionelp> RShadow: you restarted clamd after adding the user clamav to the amavis group ?
[01:59] <RShadow> lionelp, I prolly didn't.. let me give that a try.. right now I think I have a bigger issue.. I think my fs has become corrupt.. errr.r.. I hate virtual servers
[02:15] <mpathy> Hi there..
[02:16] <mpathy> First a little survey: Whats the best filesystem for a Server? ;)
[02:16] <mpathy> hehe are their so much? :)
[02:16] <mpathy> only want to know if ext3 reiserfs or xfs :)
[02:18] <mpathy> And another question: I want to get my ubuntu-server on my rootserver.. Thought about installing it here on my laptop on a seperate partition configuring it, and then uploading that to my rootserver - is it a good idea? And if no, do someone have a better one? ;)
[02:19] <mpathy> -(first) my
[02:20] <mpathy> my webserver is like that: http://a15197305.alturo-server.de/phpsysinfo/ and my notebook is a P4 2,45 Ghz - should work hmm? If I include all network drivers?
[02:31] <lionelp> mpathy: you have a good article on file systems comparison on http://www.debian-administration.org/articles/388
[02:31] <lionelp> there is no universal answer
[02:39] <mpathy> And about my server installation "idea"?
[02:39] <mpathy> Nowhere you get ready images for Ubuntu.. *sigh*
[02:39] <mpathy> at rootserver providers
[03:02] <mpathy> lionelp: Okay, XFS was also a choice of me.. ;)
[03:02] <mpathy> Whats about my idea of installing Ubuntu Server on my home computer and uploading the whole filesystem to my server?
[03:03] <mpathy> Because of my problem of not having a provider who installing my Ubuntu Server for me..
[03:03] <lionelp> I understand your problem
[03:04] <lionelp> it depends on what kind of access you get
[03:23] <mpathy> I have a rescue system.. Debian one, I think
[03:24] <mpathy> and I can also install Debian Sarge Minimal and Suse via web interface
[03:25] <mpathy> shell.. and a backup ftp in the same size as my hard disk
[03:30] <lionelp> mpathy: the rescue system is network bootable ?
[03:30] <lionelp> or it is another partition ?
[03:31] <mpathy> its network bootable. I think :)
[03:32] <mpathy> I didnt see another partition
[03:32] <mpathy> than mine
[03:33] <mpathy> right now it runs already a server, on a Debian Sarge as you see in my link above.. but I want to start over and install my server new but with Ubuntu.
[03:33] <mpathy> in my link above you also see the partitions right now
[03:34] <lionelp> I would use debootstrap instead of doing an image personnaly
[03:35] <lionelp> but you can try your method :)
[03:37] <mpathy> how I debootstrap ubuntu-server? i want it exactly as the configuration on the cd ;)
[03:39] <mpathy> 3rd and probably easiest method would be, install the debian minimal system and change sources.list to ubuntu and make a dist-upgrade.. but thats a again no "ubuntu server" installation..
[03:43] <mpathy> if I debootstrap:  sudo debootstrap --variant=buildd --arch i386 dapper /something/ http://archive.ubuntu.com/ubuntu/ - or is there a special URL for ubuntu-server
[03:44] <lionelp> There is no special URL for Ubuntu-server
[03:44] <lionelp> Ubuntu-server CD install ubuntu-minimal and ubuntu-standard
[03:44] <lionelp> (meta packages)
[03:49] <mpathy> lionelp: But there must be something special, or do you want to tell me its the same setup as if I use a Ubuntu CD and type server at start?
[03:50] <lionelp> it is exactly the same
[03:50] <lionelp> the only difference is the kernel installed by default and the CD content
[03:51] <mpathy> btw funny package selection via debootstrap.. Is it possible that it wants to install alsa drivers, but for example no "man"?
[03:52] <mpathy> lionelp: really? :/ thats something I can handle without a special CD.. so its only the name..
[03:53] <lionelp> once you have debootstrap, apt-get install ubuntu-minimal and ubuntu-standard
[03:53] <lionelp> install the server kernel
[03:53] <lionelp> grub
[03:53] <lionelp> and that's it
[04:14] <mpathy> lionep: and thats the same package selection as on Ubuntu-Server
[04:14] <mpathy> ?
[04:33] <mpathy> and whats the difference between linux-image-server and linux-server? only the name?
[04:36] <Ries> is there a tool to restore user permissions across a filesystem??
[04:39] <mpathy> and what are these harden-* packages? are they useful?
[04:41] <lionelp> sorry mpathy
[04:41] <lionelp> yes, that is the same selection as on Ubuntu Server installation with what i told before
[04:42] <lionelp> linux-server depends on linux-image-server
[04:42] <lionelp> thare are empty meta packages
[04:42] <mpathy> so linux-server is always right? ;)
[04:42] <lionelp> yes
[04:43] <lionelp> I do not use the harden packages personnaly
[04:43] <mpathy> lionelp; are these harden-* packages useful? i found them right now
[04:44] <lionelp> be carefull, they come from universe, which means no officiel security support
[04:44] <mpathy> ah okay.. hmm yes I think I know myself what ports should be open and which not.. or whatever they are supposed to be ;)
[04:44] <mpathy> they are in debian also.. but okay I decided not to use them
[04:47] <mpathy> hmm.. it looks like I am ready to go ;)
[04:49] <mpathy> only one question - on the cd there is an option "Install LAMP server" - which packages does this install? Apache2, mod_php, php5 mysql5?
[04:55] <lionelp> yes, it is only an apt-get install at the end
[04:55] <lionelp> I am not sure to remember the exact line
[04:56] <mpathy> lionelp: where can I check it? is the sourcecode somewhere?
[04:56] <lionelp> don't know
[04:56] <mpathy> okay.. but I think its sth like that
[04:57] <lionelp> it is something like
[04:58] <lionelp> apt-get install mysql-server apache2-mpm-prefork libapache2-mod-php5 php5-mysql mysql-client
[08:44] <A-Kaser> poy poy