[SLUG] Gallery2 themes setup; was: photo gallery recommendations sought

2006-05-07 Thread Voytek Eymont
I'm looking at using Gallery2 within a clubs' custom CMS;

if anyone is familiar with its 'themes setup':
how big a job is it to incorporate a photogallery page within existing
page layout...? (no database hook up, just, look'n'feel setup)

(and, how long is a piece of string ?)

I'm just trying to figure out whether I can do it with a text editor, or,
do I need someone with Dreamweaver..?)


-- 
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] Re: The joy of APT (was: photo gallery recommendations sought)

2006-05-07 Thread Steve Lindsay

On 5/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


But again a real eg:
http://www.ltsp.org
lbe used to build, does not NOW. Where were you (in terms of versions) when it
DID build. How do I tell my friend that it did build around Marchish with all
the latest upgrades, but does not now. Go back to 'then' and it will build.



I should let this go but I won't :) I think you're saying that apt-get
doesn't cope when you mix managed packages and custom source builds.
If you need to a constant base environment to build your packages on
then don't update your system. If you want your system to evolve
nicely over time then use apt on a consistent package repository and
it will.


Again it is much cleaner to say 'install RH9, choose DEV environment, add
get-text', it works: a repeatable, exact solution for ever.


Not really a problem with apt, that's a problem with making changes.
How are you adding get-text? However you do it, if you add the wrong
version you have the same problem. If you add the right version then
if you had run apt against a repository with the right version you'd
also be fine. I'm not suggesting that building from a known cd and
adding stuff to it to get a standard environment is a bad idea,  just
that it has nothing to do with whether apt-get is a good tool or
paradigm.


Again horses for courses: whose building 'that version' of LBE (used by 1000s
customers worldwide for POS touch terminals) and needs to continue building
THAT version.



Then don't change the version. Or create packages that roll nicely
with updates. Apt is there so that changes within the packaged
environment run smoothly, not so that unpackaged source trees build
nicely on it. Seems like criticising a stapler for being a crummy hole
punch.

Cheers.Steve
--
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] Gallery2 themes setup; was: photo gallery recommendations sought

2006-05-07 Thread Tony Green

On 07/05/2006, at 7:10 PM, Voytek Eymont wrote:

I'm looking at using Gallery2 within a clubs' custom CMS;

if anyone is familiar with its 'themes setup':
how big a job is it to incorporate a photogallery page within existing
page layout...? (no database hook up, just, look'n'feel setup)

(and, how long is a piece of string ?)

I'm just trying to figure out whether I can do it with a text  
editor, or,

do I need someone with Dreamweaver..?)


For the NFP's I look after, i just use drupal/gallery (actually  
civiccms and gallery - but that's drupal under the hood).  Works  
great and the themes aren't an issue as it's all held within the  
drupal framework.

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Automount stopped auto mounting

2006-05-07 Thread Murray Waldron

G'day Sluggers,

I'm running Ubuntu Breezy, and recently it has stopped automounting my 
compact flash card. I can mount the card using System Administration  
Disks from the menu system, but this is a pain.


Does anyone know where to look and what to do to fix this problem?

Thanks in advanced,
Murray
--
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] Re: The joy of APT

2006-05-07 Thread Terry Dawson
[EMAIL PROTECTED] wrote:

 Again it is much cleaner to say 'install RH9, choose DEV environment, add 
 get-text', it works: a repeatable, exact solution for ever.
 Again horses for courses: whose building 'that version' of LBE (used by 1000s 
 customers worldwide for POS touch terminals) and needs to continue building 
 THAT version.

What you're describing isn't an apt-get artefact, it's a
distribution/release one.

I don't see how it differs from:

Install Debian version 3 release 1.
Select development task
apt-get install get-text

If you're managing Debian machines, you either rely on the standard
releases, or you do your own. That way you can precisely reproduce a
particular configuration from a particular time.

 Sure apt-get is cute (easy, nice, etc), but ...

apt-get will work cutely, easily, nicely etcely from whatever you point
it at. If you point it at the unstable distribution it'll change over
time. If you point it at a known configuration it'll always install
that, every time.

Terry

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] killing all httpd processes, how ?

2006-05-07 Thread Voytek Eymont
ocassionally, when trying to reload Apache 1.3 with:
'service httpd stop/start'
some Apache processes do not terminate, and, I'm stuck where I can't
restart it anymore, nor can I shut it down completely

I then need to remember how to track and kill all releated processes, (or
I panic and pull out the power cord.)

as I am about to reload new config in Apache, and, I'm not sure if I
recall correct 'what-if':

if Apache fails to fully shutdown, do I:

ps ax | grep httpd
then kill any identified PIDs ?

is there any other way to identify run-away processes ?

thanks

-- 
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] killing all httpd processes, how ?

2006-05-07 Thread Peter Rundle

is there any other way to identify run-away processes ?


# killall httpd


HTH

P.
--
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] killing all httpd processes, how ?

2006-05-07 Thread Voytek Eymont

On Mon, May 8, 2006 8:06 am, Peter Rundle wrote:
 is there any other way to identify run-away processes ?

 # killall httpd


thanks
as it was, I've restarted Apache several times, but, it went cleanly every
time, and, need for panic was deffered for another day

-- 
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: gettext php config ?, was: [SLUG] photo gallery recommendations sought

2006-05-07 Thread Voytek Eymont

On Sun, May 7, 2006 1:14 am, Scott Sinclair wrote:
 On Sat 06 May, 2006 at 22:55:56 +1000, Voytek Eymont wrote:


 PHP has it's own gettext module which it needs to load (like it has a
 mysql module and so on...)

 I'd imagine your system is in one of the two states:
 * It has PHP and the gettext module installed, but it is commented out
 in php.ini. To fix, uncomment a line in php.ini that looks like:
 extension=php_gettext.dll

 * You don't have the gettext module installed, which in this case, you

thanks, Scott
yes, it looks I'm missing the required php library:

I've added the library in php.ini
'extension=php_gettext.so'
but I got:

# cat /etc/httpd/logs/php_err.log
[08-May-2006 08:29:00] PHP Warning:  Unknown(): Unable to load dynamic
library '/usr/lib/php4/php_gettext.so' - /usr/lib/php4/php_gettext.so:
cannot open shared object file: No such file or directory in Unknown on
line 0

after a brief search, I've found the required module on the server of the
php porter/packager, and, it's all OK now, thanks


-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Install probs with Logitech Quickcam Pro 4000 on FC4 with SMP kernel

2006-05-07 Thread elliott-brennan

Hi all,

In the struggle to get the webcam working on my FC4 I'm wondering about 
what problems may be created if I were to boot using an earlier, non-smp 
kernel (as it's likely that the driver install may then work)?


The idea I have is to install the drivers using the older kernel, then 
boot into that kernel when I wish to connect to the relos overseas. Then 
when I've finished, boot back into the later smp kernel that I use 
generally.


Are there any issues in doing this?

Thanks for any information or advice.

Regards,

Patrick

---
Registered Linux User 368634

--
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] killing all httpd processes, how ?

2006-05-07 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 08/05/2006 08:00:04 AM:

 ocassionally, when trying to reload Apache 1.3 with:
 'service httpd stop/start'
 some Apache processes do not terminate, and, I'm stuck where I can't
 restart it anymore, nor can I shut it down completely
 
 I then need to remember how to track and kill all releated processes, 
(or
 I panic and pull out the power cord.)
 
 as I am about to reload new config in Apache, and, I'm not sure if I
 recall correct 'what-if':
 
 if Apache fails to fully shutdown, do I:
 
I know I'm not answering your question, as it has already been answered by 
another. but do you need to shutdown apache before a restart?
If all you are doing is reloading a new config, you should be able to run 
'service apache reload'
This sends a HUP signal which tells apache to reread its configuration 
file, this will ensure (providing there is no errors in the config) there 
is no interruption to the service for anyone browsing your site.

Cheers,

Scott
-- 
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] killing all httpd processes, how ?

2006-05-07 Thread Voytek Eymont

On Mon, May 8, 2006 1:09 pm, Scott Ragen wrote:
 [EMAIL PROTECTED] wrote on 08/05/2006 08:00:04 AM:

 I know I'm not answering your question, as it has already been answered
 by another. but do you need to shutdown apache before a restart? If all you
 are doing is reloading a new config, you should be able to run 'service
 apache reload' This sends a HUP signal which tells apache to reread its
 configuration file, this will ensure (providing there is no errors in the
 config) there is no interruption to the service for anyone browsing your
 site.


thanks, Scott

as it was, I restarted Apache several times earlier today, with out a
single glitch

I'll try 'reload' next time.

Because I had experienced these unclean shutdowns before, I thought
shutdown/pause/start was a 'safer option';
now that I know what you just explained, I'll use 'reload' next time.

so, if there is a critical error in config, 'reload' would cause 'stop'?


-- 
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] killing all httpd processes, how ?

2006-05-07 Thread Scott Ragen
 thanks, Scott
 
 as it was, I restarted Apache several times earlier today, with out a
 single glitch
 
 I'll try 'reload' next time.
 
 Because I had experienced these unclean shutdowns before, I thought
 shutdown/pause/start was a 'safer option';
 now that I know what you just explained, I'll use 'reload' next time.
 
 so, if there is a critical error in config, 'reload' would cause 'stop'?
 
Don't quote me on it, but I think apache will crash (as in 'stop') on 
reload if you have errors in your configuration.
You should be able to do a 'configtest' to verify your config before doing 
a reload (it may be different on different distro's).

Cheers,

Scott
-- 
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] Re: Install probs with Logitech Quickcam Pro 4000 on FC4 with SMP kernel

2006-05-07 Thread Terry Dawson

elliott-brennan wrote:

In the struggle to get the webcam working on my FC4 I'm wondering about 
what problems may be created if I were to boot using an earlier, non-smp 
kernel (as it's likely that the driver install may then work)?


 Are there any issues in doing this?

The only problems you might encounter are one of general annoyance on 
your part after a few goes of rebooting your machine just to use your 
webcam :)


.. and that while you're running with a non-SMP kernel you'll only be 
using one of your presumed more-than-one CPUs. Which probably won't 
really be a problem at all.


I actually have a QuickCam Pro 4000 too. I haven't tried very hard to 
get it working yet. Perhaps I should take a look at it.


regards
Terry

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] timing out a process with timeout

2006-05-07 Thread Jeff Waugh
Hey,

I just asked a question on #slug and found my answer in an apt-cache search
mere moments later. Figured it would be handy for others (you lot and anyone
who finds this in the archives later)...

I wanted to run a process with a strict time limit, so I figured a tool like
that would already exist. Something like...

  timeout (some parameters that mean 'ten minutes') command parameters

Lo and behold, a quick apt-cache search reveals a 'timeout' package (from
The Coroner's Toolkit, but Dan Farmer and Wietse Venema):

  Description: Run a command with a time limit.
   timeout executes a command and imposes an elapsed time limit. When the
   time limit is reached, timeout sends a predefined signal to the target
   process.

Apart from having to specify the time limit in seconds, it's very nice. It
lets you choose the signal to send to the process, too.

Handy stuff!

- Jeff

-- 
GUADEC 2006: Vilanova i la GeltrĂș, Spainhttp://2006.guadec.org/
 
A computer with a bullet in it is just a paperweight, A map with a
  bullet in it is still a map. - Maj. Keith Hauk
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html