Re: [gentoo-user] CDRW trouble: can't read superblock

2005-06-08 Thread Christopher Fisk

On Wed, 8 Jun 2005, Richard Fish wrote:


Grant wrote:


When I try to mount CDRW discs I get:

mount: /dev/hdc: can't read superblock

but other discs mount fine.  Does anyone know what that is about?
Maybe I'm not burning them correctly?





What are you using to write these?  Are they fixated?  Maybe cdrecord
... -fix can help...


Actually, looks like he's trying to mount the CD with ext2/3 filesystem 
instead of iso9660


try:

mount -t iso9660 /dev/hdc /mnt/cdrom


If that works, fix your fstab


Christopher Fisk
--
I WILL NOT STRUT AROUND LIKE I OWN THE PLACE
I WILL NOT STRUT AROUND LIKE I OWN THE PLACE
Bart Simpson on chalkboard in episode 2F15
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question about Apache, PHP and where execution actually takes place

2005-06-09 Thread Christopher Fisk

On Thu, 9 Jun 2005, Michael Sullivan wrote:


The images on the photoindex page are sized 100x100.  They are
miniatures.  To get the full size picture one must first click on the
miniature of the desired photo.  I used Mikov Image Resizer for this...


Not what you were looking for, but for the archives:

Perhaps there is already a program that will do what you like?

jigl - Jason's Image Gallery
http://xome.net/projects/jigl/


Christopher Fisk
--
Good morning, fellow employee.  You'll notice that I am now a model
worker.  We should continue this conversation later, during the designated
break periods.  Sincerely, Homer Simpson.

-- Homer Simpson
   Homer's Enemy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question about Apache, PHP and where execution actually takes place

2005-06-09 Thread Christopher Fisk

On Thu, 9 Jun 2005, Daniel da Veiga wrote:


That program you mentioned to convert and resize, is a Windows one,
isnt? So, you convert your images at Windows and then use the images
on Linux? I would use Mariusz tip on using convert directly.


jigl?  No, it's a perl script that calls imagemagik and jhead.

Or did you hit reply on my message and were talking about his message? 
Hard to follow a thread when you do that =)





Christopher Fisk
--
Calvin : I think we have got enough information now, don't you?
Hobbes : All we have is one fact that you made up.
Calvin : That's plenty. By the time we add an introduction, a few 
illustrations and a conclusion, it'll look like a graduate thesis.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] kill a child and suicide

2006-05-03 Thread Christopher Fisk

On Tue, 2 May 2006, Jorge Almeida wrote:


parent.sh
 #!/bin/bash
 do something
 /path/to/child.sh
 do something else


It's just bash scripting, just tell bash to exec child.sh in the 
background.



/path/to/child.sh 


Christopher Fisk
--
Stewie Griffin: Mother, life is like a box of chocolates. You never know what
you're going to get. Your life, on the other hand, is like this box of ACTIVE
GRENADES!
Lois Griffin: [oblivious] Oh, you want your toy back. Here you go.
[Gives Stewie his Ray-Gun toy]
Stewie Griffen: Yes... well... VICTORY IS MINE!
[he runs off - the sound of the grenades exploding is heard]
Stewie Griffen: BLAST!
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Gone fishing

2005-08-03 Thread Christopher Fisk

On Wed, 3 Aug 2005, Dave Nebinger wrote:


Taking time away from anything technical.  Hopefully I won't even have
as much as a light switch to look at, let alone use: )


And the point of sending this to the entire mailing list would be 


We're the closest thing he has to family?


Christopher Fisk
--
Our lives are in the hands of men no smarter than you or I.  Many of them 
incompetent boobs.  I know this because I've worked alongside them, gone 
bowling with them, watched them pass me over for promotions time and again 
and I say this stinks.

-- Homer Simpson, Homer's Odyssey
cBlog: http://chris.uasoft.com/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to archive all mail?

2005-08-05 Thread Christopher Fisk

On Fri, 5 Aug 2005, Jarry wrote:


Hi,

I have a question concerning sendmail: my employer requires, that
all email-communication must be archived, both incomming and outgoing.
Personally, I don't like this at all, but he has right to do this
(at least according to our law)...

Now he wants me to set this up, but frankly, I do not know how
(I'm using sendmail as MTA). Could someone give me some hint?


Use MailScanner ( http://www.mailscanner.info ).  It's a spam/virus filter 
in addition, but will also give you the functionality you are looking for.


During configuration you just set the deliver actions for the various 
detections to deliver *and* forward [EMAIL PROTECTED]  Plus you can 
implement spam filtering and virus filtering at the same time.



Christoher Fisk
--
PAIN IS NOT THE CLEANSER
PAIN IS NOT THE CLEANSER
Bart Simpson on chalkboard in episode 5F10
cBlog: http://chris.uasoft.com/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to archive all mail?

2005-08-05 Thread Christopher Fisk

On Fri, 5 Aug 2005, Jarry wrote:


Christopher Fisk wrote:


 Use MailScanner ( http://www.mailscanner.info ).  It's a spam/virus filter
 in addition, but will also give you the functionality you are looking for.


Is it not problem, if I use spamassassin  clamav? Or do I have to
switch? I would not like to mess things and have no mail delivered
at all...


MailScanner actually will call clamav and spamassassin.  So it'll be a 
configuration migration =)


Probably worth looking at at least, and I know it'll do the archival.


Christopher Fisk
--
Fry: I'm not prejudiced.
Bender: Ah, save it for the cross-burning, Adolf.
cBlog: http://chris.uasoft.com/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to archive all mail?

2005-08-05 Thread Christopher Fisk

On Sat, 6 Aug 2005, Jason Stubbs wrote:


No your not wrong. Ever played with sendmail rules? They're not fun. ;)
There's many other possibilities before you have to go down that road,
though. Try googling for archiving outgoing mail with sendmail.


Heh, good luck with that, I was lucky in that I was using MailScanner for 
spam/virus filtering before I was asked to implement this, so the 
implementation was easy.


MailScanner has the added advantage that you can tell it only to archive 
messages not marked as spam, so you don't have to weed through that junk 
as well if you don't need to.



It's a good solution for this problem.  Try it.


Christopher Fisk
--
 Loosely confederate colors of Benetton
cBlog: http://chris.uasoft.com/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: disk full but lot of space

2005-08-08 Thread Christopher Fisk

On Mon, 8 Aug 2005, Christoph Gysin wrote:


 Check your temp partitions...


What makes you believe this has something to do with /tmp?

Just curious...


He didn't read the whole message, saw disk full and said oh, his temp 
partition is overflowing.


The correct answer here is that you have to do an fsck.  The best solution 
is to just be at the console of the machine, where you can boot into 
single user mode and run the fsck.


If that is not an option you'll need to make sure everyone is off the 
machine (Maintenance window?), stop all the services except the network 
services and sshd then remount the partition readd only and run the fsck.


quick rundown of commands:

rc-update show
/etc/init.d/service stop #for each non-repair essential service
ps auwx #to verify that all the services are stopped that need to be
mount -o remount,ro /
fsck.ext3 /dev/hdxy
mount -o remount,rw /
/etc/init.d/services start #for each service you stopped

At the end of this I really prefer doing a reboot (And fsck may tell you a 
reboot is required).


Might want to test the procedure a few times on a non-critical machine, 
but that should get you through the process.



Christopher Fisk
--
Adelai: A package is just a box until it's delivered.
cBlog: http://chris.uasoft.com/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: disk full but lot of space

2005-08-08 Thread Christopher Fisk

On Mon, 8 Aug 2005, [EMAIL PROTECTED] wrote:


How useful is this system to you, when you can't even write to the disk?


I can write to the system again... The system couldn't write from 3 AM to 8
AM, after that, It was ok again. That's why I'm not really enthousiast to
tune my fs. If it's not broken, don't fix it.


But it is broken...



I would take to system down, check the filesystems, repair them (if
needed), recover lost data from backups and get up and running again.


Yes, I would do that too, if I could :-(


Read my other post about how to do this remotely.



Things are a little more complicated for you, since you don't seem to have
full access to the machine. Talk to your vendor/sysadmin who is responsible
for the (physical) machines. I'm not familiar with your particular
situation...


I've attached the output of e2fsck -n. Could you please tell me how bad it
looks? Are there questions to which answering yes is dangerous?


Disclaimer: You should have backups of the system!
I've found that fsck is actually pretty damn good at being safe.  I've 
never had fsck fail to repair a non-hardware filesystem corruption.  The 
most likely thing you'll need to do after a repair here is to reboot the 
machine, which is the sweating time.


If you can possibly get someone onsite from that office to watch the 
reboot you should be fine.



Christopher Fisk
--
Listen, Bender, where's your bathroom? -Fry 
Bath what? -Bender Bathroom. -Fry 
What room? -Bender Bathroom! -Fry 
What what? Bender Ah, nevermind. -Fry

--
gentoo-user@gentoo.org mailing list