Re: [SLUG] vhosts on Apache2 config probs
Voytek Eymont wrote: What user are you executing the following ls commands as? as root Ah .. well, the super user could easily have a different view of the world than the apache user. # su - apache This account is currently not available. that mean I need to ... allow login ? for apache..? Yes. You can change the entry in /etc/passwd temporarily to give apache a shell. cheers rickw -- _ Rick Welykochy || Praxis Services We should invade their countries, kill their leaders and convert them to Christianity. -- Anne Coulter of the American Taliban -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] vhosts on Apache2 config probs
Rick Welykochy [EMAIL PROTECTED] writes: # su - apache This account is currently not available. that mean I need to ... allow login ? for apache..? Yes. You can change the entry in /etc/passwd temporarily to give apache a shell. su lets you specify a shell su -s /bin/bash - apache -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] vhosts on Apache2 config probs
On Wed, May 30, 2007 4:16 pm, Rick Welykochy wrote: Voytek Eymont wrote: Ah .. well, the super user could easily have a different view of the world than the apache user. # su - apache This account is currently not available. that mean I need to ... allow login ? for apache..? Yes. You can change the entry in /etc/passwd temporarily to give apache a shell. thanks, Rick I edited apache line with vipw -s to have '/bin/bash' after su - apache I get: -bash-3.00$ ls /home/sbt.net.au/ -al total 40 drwxr-xr-x 4 root root 4096 May 30 10:15 . drwxr-xr-x 8 root root 4096 Mar 18 23:52 .. drwxr-xr-x 3 root root 4096 Mar 18 22:50 error -rw-r--r-- 1 root apache 20 May 30 10:15 index.html drwxr-xr-x 2 apache apache 4096 Mar 18 23:55 www -bash-3.00$ ls /home/sbt.net.au/www -al total 24 drwxr-xr-x 2 apache apache 4096 Mar 18 23:55 . drwxr-xr-x 4 root root 4096 May 30 10:15 .. -rw-r--r-- 1 apache apache9 Mar 18 23:53 index.html -bash-3.00$ -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] vhosts on Apache2 config probs
On 5/30/07, Voytek Eymont [EMAIL PROTECTED] wrote: I've put this in /etc/httpd/httpd.conf: NameVirtualHost 203.42.34.53:80 VirtualHost 203.42.34.53:80 ServerName ww.sbt.net.au DocumentRoot /home/sbt.net.au LocationMatch ^/+$ Options -Indexes ErrorDocument 403 /error/noindex.html /LocationMatch /VirtualHost what are you trying to do with the location match? perhaps take it out while you're trying to debug this? DocumentRoot /home/sbt.net.au/www ---8k snip 8k--- where am I going wrong...? can't see anything wrong from an apache config point of view, which makes me suspect something else. total guessis SELinux enabled and doing something wierd here?/total guess one thing that does look odd is apache owning the webroot - is there any reason you are doing that? its generally a bad idea to allow apache write access to any more of the file system than is absolutely necessary. cheers justin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Locking network interface number to specific MAC address
On Wed, May 30, 2007 at 02:06:57PM +1000, Jeff Waugh wrote: Yeah, what Simon meant was that these are hardware-specific things that are set during install/use, which make an Ubuntu install harder to 'port' to different hardware... one of the things that has traditionally been a great strength of Debian (in particular, but also some other distros). A cute way of 'cloning' Ubuntu machines is the OEM installer, originally built for box pushers, but very useful for any disk cloning mass install requirement. Reminds of one of my sysadmin war stories; hp-ux has something called 'ignite' where you can clone a machine and use it to install to other similar hardware. All well and good, but ... when you configure networking with hp-ux's SAM gui it sets all the networking parameters _including mac address_, even if you haven't set/changed the mac address. After we got these you beaut machines built from the 'golden' image using ignite, we wondered why we couldn't get them to communicate over the network. Of course they all had the same mac address. Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] photo/graphics processing SIG anyone?
On Tue, May 29, 2007 at 11:12:06PM +1000, Simon Pascal Klein wrote: On Tue, 2007-05-29 at 11:48 +1000, david wrote: Is anyone interesting in a photo/graphics SIG? I'm presently using UFraw, dcraw, rawstudio, gimp, cinepaint and anything else I can get my hands on and I'm starting to get some reasonable results, but it might be interesting to workshop some ideas. It might be interesting to include printing, now that it's sort of possible to do colour profiles. I've got access to a photo studio, which might spice it up a bit. If I were in Sydney. Sounds llike a neat idea. Would be cool to come up next time and attend one of those. :) I'd love to see an inkscape whiz at work. Going through the tutorial is fine 'n all but doesn't compare to watching someone familiar with the controls to get a feel for what's possible. MAtt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] vhosts on Apache2 config probs
On Wed, May 30, 2007 5:08 pm, justin randell wrote: On 5/30/07, Voytek Eymont [EMAIL PROTECTED] wrote: what are you trying to do with the location match? perhaps take it out while you're trying to debug this? Justin, thanks I guess it came from sample config I'll take it out for now... can't see anything wrong from an apache config point of view, which makes me suspect something else. total guessis SELinux enabled and doing something wierd here?/total guess probably is, I'm new to Centos... one thing that does look odd is apache owning the webroot - is there any reason you are doing that? its generally a bad idea to allow apache write access to any more of the file system than is absolutely necessary. yes, well... it didn't start as owned by webroot... desperation was the reason.. as I couldn't get this going I slowly started chowning everything to apache in the vain hope of getting it to work -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] photo/graphics processing SIG anyone?
On Wed, 2007-05-30 at 16:57 +1000, Matthew Hannigan wrote: On Tue, May 29, 2007 at 11:12:06PM +1000, Simon Pascal Klein wrote: On Tue, 2007-05-29 at 11:48 +1000, david wrote: Is anyone interesting in a photo/graphics SIG? I'm presently using UFraw, dcraw, rawstudio, gimp, cinepaint and anything else I can get my hands on and I'm starting to get some reasonable results, but it might be interesting to workshop some ideas. It might be interesting to include printing, now that it's sort of possible to do colour profiles. I've got access to a photo studio, which might spice it up a bit. If I were in Sydney. Sounds llike a neat idea. Would be cool to come up next time and attend one of those. :) I'd love to see an inkscape whiz at work. Going through the tutorial is fine 'n all but doesn't compare to watching someone familiar with the controls to get a feel for what's possible. MAtt I've been up to Sydney a few times to present and I'm happy to do so more often (maybe a tutorial style presentation focusing purely on Inkscape or something of that nature). Not sure when I'll next be up -- depends on work and college. :) Regards. -Pascal signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] changing motherboards
I have to change motherboards which I've never done before. The old one has on board sound/video and no AGP slot (which is why I have to change). Using Ubuntu 7.04, should I be worried? Is it just a case of dpkg-reconfigure xorg-xserver dpkg-reconfigure alsa- or is it more complicated than that. I'm also a bit worried that fstab might get messed up. I've got one IDE and one SATA drive, and my system doesn't use the standard UUID that Ubuntu installs (that's a long story to do with Mondoarchive). thanks.. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Need help
If anyone has a seagate 300G IDE drive, model, ST3300622A, Please give me a call on 0418 438374. Thanks. Mick. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] changing motherboards
On Thu, May 31, 2007 at 11:01:16 +1000, david wrote: Using Ubuntu 7.04, should I be worried? Probably not. Is it just a case of dpkg-reconfigure xorg-xserver dpkg-reconfigure alsa- or is it more complicated than that. If your motherboard has onboard networking, you may also need to change /etc/iftab to have the new MAC address. I'm also a bit worried that fstab might get messed up. I've got one IDE and one SATA drive, and my system doesn't use the standard UUID that I wouldn't expect the device names to change. Sometimes the ordering of hd* changes between releases (Breezy - Dapper did that to me), but it's unlikely to do that if all you're doing is changing the motherboard. Cheers, John -- I find the iron law of Oracle holds for almost all software: *Every* default setting is wrong, often painfully so. -- Chris Adams -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] changing motherboards
david wrote: I have to change motherboards which I've never done before. The old one has on board sound/video and no AGP slot (which is why I have to change). Using Ubuntu 7.04, should I be worried? Is it just a case of dpkg-reconfigure xorg-xserver dpkg-reconfigure alsa- or is it more complicated than that. A new motherboard will most likely have new chipsets in them, and thus requires different drivers from the ones you're using. New drivers may be needed for your chipset, USB and/or firewire chipsets, network card, audio, video to name a few. The mb's power management system might also be different. Fortunately for you I think most common drivers are loaded into the kernel and swapping mb's should be more painless than a Windows system. There really is no way to tell what'll happen until you do the swap. Worst thing that could happen is for you to re-install Ubuntu, which isn't that bad really...if you backup your data properly. Carlo I'm also a bit worried that fstab might get messed up. I've got one IDE and one SATA drive, and my system doesn't use the standard UUID that Ubuntu installs (that's a long story to do with Mondoarchive). thanks.. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Compiling mythtv-0.20
On Thursday 31 May 2007 10:00, [EMAIL PROTECTED] wrote: [SLUG] Compiling mythtv-0.20 I did apt-get build-dep mythtv cause of endless hastles being brave ./configure --enable-dvb --enable-proc-opt and make ran flawlessly on feisty AMD64 James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html