Re: Kernel install problem

2007-03-02 Thread Graham Smith

Bob McGowan wrote:

Roberto C. Sanchez wrote:

On Thu, Mar 01, 2007 at 12:09:49PM -0500, Kevin Mark wrote:

why do you use /boot/boot/grub/ and not the default /boot/grub/?
what is in /boot/grub/menu.lst vs /boot/boot/grub/menu.lst ?


Using /boot/boot/grub is necessary when /boot is its own filesystem.

Regards,

-Roberto



Not so.  My setup is:

$ uname -r
2.6.18-3-686
$ mount|grep boot
/dev/sda1 on /boot type ext3 (rw)
$ ls /boot/*2.6.18-3-686*
/boot/System.map-2.6.18-3-686  /boot/initrd.img-2.6.18-3-686
/boot/config-2.6.18-3-686  /boot/vmlinuz-2.6.18-3-686
$grep boot /etc/fstab
/dev/sda1 /bootext3defaults  0 2

My /boot/grub/menu.lst for the default boot:

title   Debian GNU/Linux, kernel 2.6.18-3-686
root(hd0,0)
kernel  /vmlinuz-2.6.18-3-686 root=LABEL=/root ro
initrd  /initrd.img-2.6.18-3-686

===

NOTE that the path names for the kernel and initrd image DO NOT have a 
leading '/boot', this is because, for the filesystem on /dev/sda1, these 
files are 'connected' to the filesystem's 'root', which ONLY becomes 
/boot/... when the system is up and running, with filesystems from the 
fstab file mounted.


The above was set up automatically, during the install, by the Debian 
installer.  I explicitly selected to have '/boot' be a separate file 
system.  I suspect the OP's problem is, in fact, because of the 
differences between what the actual setup is and what the dpkg scripts 
expect.  I further conjecture that the original install was with /boot 
on the root filesystem, and that a later decision was made to change it, 
with the boot files on a separate filesystem.


To fix this, as root:

# cd /boot/boot
# mv * .. # no hidden files to worry about.
# cd ..
# rmdir boot
# edit /etc/fstab
  - add/modify line to mount the boot partition, see above example
# edit grub/menu.lst
  - to fix any kernel/initrd paths, removing /boot, see above example
# reboot
...
# apt-get update 

Of course, you should make backups of everything, just in case.  And, 
rather than just removing the extra 'boot' directory, you might also 
want to do 'ln -s . boot', so if there are any residual dependencies on 
/boot/boot/..., they will automatically resolve to the right place.


Bob


Thanks for the help. I've have indeed got /boot on it's own partition. I 
apt installed grub an age ago and it created /boot/boot itself - I 
thought it a little odd at the time. Perhaps the install scripts weren't 
very clever way back when it was installed.


The machine has been running Debian for a long time - it started out on 
late 2.2 kernels - and up until now grub has updated fine when a new 
kernel is installed even with the /boot/boot oddness. I'm wondering if 
something has changed with the way new kernels are installed.


I was actually thinking about retiring the machine any way as it's 
getting a bit long in the tooth. As it's a server and currently 
providing some vital network services I can't realistically afford large 
amounts of down time on it so I think I'll hold off making the changes 
you suggest. Many thanks though.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Kernel install problem

2007-03-01 Thread Graham Smith
I tried to do an update this morning and ran into the problem below when 
it came to installing the kernel. I've looked in 
/boot/boot/grub/menu.lst and the new kernel 2.6.18-4 hasn't been added 
(I'm running 2.6.18-3 and that is the top kernel in the list).


Any ideas what's gone wrong?

dpkg: dependency problems prevent configuration of linux-image-2.6-486:
 linux-image-2.6-486 depends on linux-image-2.6.18-4-486; however:
  Package linux-image-2.6.18-4-486 is not configured yet.
dpkg: error processing linux-image-2.6-486 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.18-4-486
 linux-image-2.6-486
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.18-4-486 (2.6.18.dfsg.1-11) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Running postinst hook script /usr/sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/boot/grub
Searching for default file ... Generating /boot/boot/grub/default file 
and setting the default boot entry to 0

No GRUB directory found under /
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.18-4-486 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-2.6-486:
 linux-image-2.6-486 depends on linux-image-2.6.18-4-486; however:
  Package linux-image-2.6.18-4-486 is not configured yet.
dpkg: error processing linux-image-2.6-486 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.18-4-486
 linux-image-2.6-486


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




NFS locking

2007-02-13 Thread Graham Smith

Hi,

I'm having problems with a couple of applications and reading about the 
problem indicates its probably caused by locking not working correctly 
on NFS. The problem seems to lie with the server end of the set up - my 
guess is that it's not accepting the locks from the client machine. Both 
the client and the server machines are running the latest nfs kernel 
server and have statd and lockd running (according to ps). The relevant 
info from the server is:


sprocket:/data# rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp  37306  status
1000241   tcp  35125  status
132   udp   2049  nfs
133   udp   2049  nfs
134   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
134   tcp   2049  nfs
151   udp866  mountd
151   tcp869  mountd
152   udp866  mountd
152   tcp869  mountd
153   udp866  mountd
153   tcp869  mountd

sprocket:/data# ps axf | grep lockd
 3816 ?S  0:26 [lockd]
 8361 pts/0S+ 0:00  \_ grep lockd

sprocket:/data# ps axf | grep statd
 8394 pts/0S+ 0:00  \_ grep statd
30319 ?Ss 0:00 /sbin/rpc.statd

I have another machine that also acts as an NFS server with, as far as I 
can tell, exactly the same version of NFS running. When I run rpcinfo -p 
on that machine I see the report above and a number of lines like this:


1000211   udp   1039  nlockmgr

which I presume are the lock managers. One of the applications that I am 
struggling with is Open Office but I have side stepped the locking 
problem there but turning off locking as per the well known hack. The 
other application I am struggling with is digikam which flatly refuses 
to work without locking.


If I move the digkam database to the machine that reports nlockmgr 
everything is fine. On sprocket digikam doesn't work so I assume that 
the lack of nlockmgr is the problem.


Further reading seems to say that lockd starts nlockmgr when it is 
needed but the server has never started nlockmgr to the best of my 
knowledge.


I'm really stuck at this point as I have tried everything I can think of 
and Googled till my fingers hurt. Some help would be really appreciated.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Debian shutdown

2007-02-08 Thread Graham Smith

gunnar wrote:
I've carried out a network-installation of debian-31r4-i386-netinst.iso 
and my problem is that I cannot shut it down. The only way of shutting 
it down seems to be to press the Reset-button, choose my 
Windows-partition in GRUB and carry out the shutdown from Windows. Thank 
God for my Windows-partition, without it I would have to pull the plug 
to shut down Debian. Can anybody tell me a better way of shutting down 
Debian?
Gunnar Sjöö 


I've had a couple of machines that wouldn't shut down correctly but they 
were very old and had problems with their power management. Generally 
they would panic right at the end of the shut down process.


Anyway, if a machine is really not responsive (which happens once in a 
while) you can try:


Alt+SysReq+S = Sync Disks
Alt+SysReq+U = Unmount Disks

Alt+SysReq+B = Reboot
or
Alt+SysReq+H = Halt (I think)

This will minimize the chance of data loss but isn't a long term solution.

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Bacula start up issue

2007-02-07 Thread Graham Smith

Hi,

I installed Bacula yesterday which was a painful experience because I 
mistakenly answered no when it asked me if I wanted to install the 
database. Anyway, I installed the database by hand, configured Bacula 
and went to fire it up.


Running /etc/init.d/bacula-director start gives me a pid file in 
/var/run/bacula for the director but a ps + grep for the process id 
turns up nothing. There are no error messages on start up and there is 
nothing in the syslog nor the /var/log/bacula directory. The process 
just seems to silently exit.


To confuse me further if I run bacula-dir -c 
/etc/bacula/bacula-dir.conf as root form a command prompt the director 
starts fine. If I add the -u bacula -g bacula arguments, as the init 
script does, then the director fails to start.


Any ideas what's going on?

Many thanks, Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Bacula start up issue

2007-02-07 Thread Graham Smith

Graham Smith wrote:

Hi,

I installed Bacula yesterday which was a painful experience because I 
mistakenly answered no when it asked me if I wanted to install the 
database. Anyway, I installed the database by hand, configured Bacula 
and went to fire it up.


Running /etc/init.d/bacula-director start gives me a pid file in 
/var/run/bacula for the director but a ps + grep for the process id 
turns up nothing. There are no error messages on start up and there is 
nothing in the syslog nor the /var/log/bacula directory. The process 
just seems to silently exit.


To confuse me further if I run bacula-dir -c 
/etc/bacula/bacula-dir.conf as root form a command prompt the director 
starts fine. If I add the -u bacula -g bacula arguments, as the init 
script does, then the director fails to start.


Any ideas what's going on?

Many thanks, Graham




Replying to my own post but hey

I've figured out what the problem was. I had changed the working 
directory for the director and forgotten to give the baclua user write 
permission to it. It would have been nice if the director had died in a 
noisy way rather than silently though.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: number of machines running Debian?

2006-09-17 Thread Graham Smith
On Sunday 17 September 2006 04:34, Roberto C. Sanchez wrote:
 On Sun, Sep 17, 2006 at 01:50:51AM +, Gustavo Franco wrote:
  FYI, we had more than 1.2 million web servers (yeah, just web servers)
  running Debian[0] in 2005.
 
  If you add Debian web servers not publishing this information, others
  servers (2 * 1.2, at least?), desktops, embedded and others (3 * 1.2
  ?) we've much more than 7.2 million installations running now. Just a
  guess of course, but i think the exact number is around 10 million.
 
  [0] =
  http://news.netcraft.com/archives/2005/12/05/strong_growth_for_debian.htm
 l

 I'd say that is *highly* optimistic.  The article says more than 1.2
 million active sites.  There is a huge difference between active sites
 and web servers.  There are ISPs who manage to server hundreds of web
 sites from one web server.  There are also ISPs like SpeakEasy who host
 thousands upon thousands of websites from a web cluster (running Debian)
 which appears like three or four logical hosts to the outside world.

 Anyhow, if you are conservative and say 10 sites per web server, then
 you are looking at more like 120,000 actual boxes running Debian to
 server up public web pages.

 Regards,

 -Roberto

Although popcon has already been discussed, and valid reasons given for the 
fact it wouldn't give an accurate total, I think it's worth pointing out that 
it would give us a fairly good lower bound on the number of people running 
Debian. The only situation I can think of that would skew the figures is if 
Debian was installed in virtual machines although in that situation I would 
say each install counts as a separate machine. We then need to estimate the 
number of machines that don't run popcon. Hopefully that's a task that lends 
itself to a better estimation (although it's still hard).

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Strange connection attempts

2006-09-15 Thread Graham Smith

Hi folks,

I've got a little bit of a problem with my main server that has been  
driving me to distraction. Something is constantly trying to make a  
connection to an external IP address using the internal interface. The  
firewall is fairly tightly set up so I get log messages about these  
attempts such as the one below:


Sep 15 10:54:39 compost kernel: Output: IN= OUT=eth1 SRC=192.168.0.1  
DST=224.0.0.251 LEN=74 TOS=0x00 PREC=0x00 TTL=255 ID=1 DF PROTO=UDP  
SPT=56190 DPT=5353 LEN=54


I have tried and tried to find out what is making these connection  
attempts but to no avail. I wouldn't mind so much but I get thousands  
of attempts a day showing up in the log files and I dislike not  
knowing whats causing them.


Can anyone shed any light on this form me?

Many thanks,

Graham



This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Strange connection attempts

2006-09-15 Thread Graham Smith

Quoting Anuradha Weeraman [EMAIL PROTECTED]:


On 9/15/06, Graham Smith [EMAIL PROTECTED] wrote:


Sep 15 10:54:39 compost kernel: Output: IN= OUT=eth1 SRC=192.168.0.1
DST=224.0.0.251 LEN=74 TOS=0x00 PREC=0x00 TTL=255 ID=1 DF PROTO=UDP
SPT=56190 DPT=5353 LEN=54


UDP port 5353 is being used by mDNSResponder. Also, these appear to be
multicast packets and are probably generated by iTunes users on the
local network.


Nice try but these connection attempts are originating on the server  
(the internal interface is 192.168.0.1) and no one on the network is  
using iTunes (in fact at the moment no one is using anything).


My guess was some sort of DNS judging by the destination port number.  
I run Bind and I was wondering if that might be the cause. I've just  
grepped through the whole of etc looking for 5353 and come up empty.  
I've also tried netstat -l to no avail.


What concerns me is the IP address that it is trying to contact isn't  
one I would ever use and IIRC isn't in a non-routable block.


Thanks,

Graham


This message was sent using IMP, the Internet Messaging Program.



Re: Confused about 64-bit architectures.

2006-02-17 Thread Graham Smith
On Friday 17 February 2006 10:02, Adam Funk wrote:
 I'm planning to buy a new home computer soon and am considering Xeon,
 Athlon 64 and Opteron 64, but I'm not sure about the relevant Debian
 architectures, ia64 and amd64.  Which one applies to which of those
 processors?

 I'm also concerned about the potential shortage of 64-bit software for
 a general-purpose workstation, so I'd like to know what other people
 think of this.  Will I be setting myself up for a lot of hassle?
 Should I just stick with a Pentium 4 for now?

 Thanks,
 Adam

Well I can't speak for the other two but I am currently sitting in front of an 
Athlon 64 machine running the AMD64 port of Debian (Sid flavour).

There is no real shortage of software for AMD64 as long as you only use OSS 
stuff as generally it just needs compiling for 64 bit. There are some 
exceptions though which you should know about before installing the AMD64 
port. At the moment OpenOffice doesn't compile / run as a 64 bit application 
(well there are some versions floating about but they are still a fair way 
from entering Sid AFAIK). This means that it has to be run through a chroot 
which is a pain but not very complicated. If you watch a lot of non-mpeg 
movies you will also need the chroot to run mplayer with the codec pack. I've 
never managed to get flash working (no loss there then) and real player can 
be a problem. Other than that _everything_ I've tried just works on 64 bit.

Having said that there is not really any advantage to running the 64 bit port 
as there isn't any software that makes use of the extra features and the 
Althon 64 in 32 bit mode is just as fast.

The choice is yours, as they say. Hope that helps,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-17 Thread Graham Smith
On Friday 17 February 2006 14:42, Adam Funk wrote:
 On 2006-02-17, Graham Smith [EMAIL PROTECTED] wrote:
  Having said that there is not really any advantage to running the 64 bit
  port as there isn't any software that makes use of the extra features and
  the Althon 64 in 32 bit mode is just as fast.

 Does that mean I can just install Debian i386 on an Athlon 64?


Yes. The Althon 64 fully supports i386 through some fancy on chip emulation 
that is as fast as a native 32 bit chip (I think all the 64 bit processors 
you mention do this but don't quite me on that).

 In that case, which kernel flavour would I use?


You have a wide range of choices. You can go pure 32 bit and install the 
standard i386 Debian, you can go mixed and have a 64 bit kernel an 32 bit 
user space or you can go pure 64 bit. I've never tried a mixed system but 
apparently it works fine.

I'm running the 2.6.15-1-amd64-k8 kernel at the moment which is AMD64 
specific. If you are confused just go for one of the generic kernels.

Graham

 Thanks,
 Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: What is the best java development and vm ?

2006-02-16 Thread Graham Smith
As far as the JDK / JRE goes I would stick with the Sun VMs for now. They are 
fairly easy to install on Debian (Google for debian java).

There are plenty of development environments for Java but the two most widely 
used are eclipse and netbeans. I use netbeans but I am considering switching 
to eclipse because the netbeans has had various annoying bugs for a while 
now.

Hope that helps,

Graham

On Thursday 16 February 2006 00:54, Marc Shapiro wrote:
 Please, no flame wars!

 I understand that what is best for one person may not be for another.

 I think that it is time to learn to code in java.  Where do I start?

 I have verified that I do not have javac on my box.  In trying to find
 what package provides javac I came across free-java-sdk.  This sounds
 like it will provide a java compiler, vm, and a bunch of tooks.  I am
 not clear on whether it provides an IDE, or not.

 Checking apt-cache show implies that I can change my JAVA_HOME
 environment variable, which makes it sound like this will completely
 replace j2re1.4.2.  Is this correct?  Is it a good idea?  will this
 affect running java apps in mozilla-suite, firefox, or opera?

 I also ran across eclipse, although this does not appear to be packaged
 for Debian.  From what I see at eclipse.org, this would use my existing
 j2re1.4.2 and WOULD provide an IDE.

 Is there someplace else that I should be looking?  Links to info, or
 previous posts covering this would be OK.

 --
 Marc Shapiro
 [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



kontact / kmail crashing on start and losing settings

2006-01-26 Thread Graham Smith
Hi,

I'm running AMD64 sid and I am experiencing an exceedingly annoying problem 
with Kontact. I think the problem is actually Kmail as when I try and run 
Kmail on it's own I see the same problem. Anyway, the symptoms:

When I start Kontact almost immediately exits with a SIGSEGV. It last just 
about long enough to flash up the window before exiting. Starting it from the 
command line doesn't really show anything useful (Sorry I forgot to get the 
output). Repeatedly opening kontact or kmail shows exactly the same behaviour 
every time.

The only way I have found to fix this is to open thunderbird (or another mail 
client) and move the message in the inbox into another folder (eg delete my 
spam). Then kmail works fine. Thinking it was choking on one of the messages 
I tried moving them back into the inbox to see if that would trigger the 
problem again - it didn't.

The most annoying part of the problem, however, is that kmail forgets all of 
it's per directory settings when this problem occurs such as expiry times, 
act on new mail in this folder and threaded view. It also has to rebuild 
it's local cache of messages (the account is on an IMAP server). Having a 
look at the sizes of the .index files for this account (under 
~/.kde/share/apps/kmail/imap) seems to indicate that kmail deletes them or 
empties them when it crashes which I suspect is why the settings are being 
lost.

Does anyone have any idea what is going on? More specifically any idea on how 
I can stop this happening :o)

Cheers,
Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: virtual machine

2006-01-20 Thread Graham Smith
I wrote the page below a couple of months ago. I haven't got round to 
configuring the accelerator yet though which is why there aren't any 
instructions for that yet.

Installing Windows XP under Debian with QEMU
http://www.crazysquirrel.com/computing/debian/xp-under-debian-with-qemu.jspx

Hope that helps.

On Friday 20 January 2006 13:24, Ismael Valladolid Torres wrote:
 roberto escribe:
  is there anyone who has already did it and what has been his/her
  experience?

 apt-cache show qemu

 Altough you'd better download the latest tarball from its web site or
 compile from CVS.

 Cordially, Ismael
 --
 Dropping science like when Galileo dropped his orange


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Voice recognition software?

2006-01-13 Thread Graham Smith
I've just downloaded and compiled up the latest CVS version of sphinx-4. I 
haven't had much time to play with it but I'm quite surprised how accurate it 
can be when the number of possible inputs is limited. 

Unfortunately, I don't have a very good microphone so the quality of my speech 
wasn't brilliant but even so it was able to pick up numbers and menu entries 
with a great deal of accuracy. I found that the threshold for starting speech 
detection was far to high and required me to nearly have to shout to make it 
listen.

If all that was required was picking things from a list / menu / etc I think 
sphinx-4 would be good enough. I don't think it would be good enough for 
general purpose speech to text applications (but I don't think any speech to 
text application comes even close to good enough yet).

Graham

On Friday 13 January 2006 04:55, Jaime Herazo B. wrote:
 * A. F. Cano ([EMAIL PROTECTED]) wrote:
  So, let's start this subject rolling,
  What's the status of speech recognition for Linux these days?

 I'm afraid things are still pretty much in the might-be-great-someday
 phase. Last time i checked free software for speech recognition was
 pretty much inexistent. The sphinx guys have advanced, apparently their
 latest sphinx version is much, much better than old stuff, but still no
 dice, and as with such research software some assembly is required (a
 little bit more that just some in fact).

 Since there's a debian package for sphinx2 (which i've never been able
 to use as anything other than an unreliable toy), i think that making a
 sphinx3.5 package wouldn't be too farfetched, but then again i'm not the
 mantainer. I'd personally settle for a just-apt-get-it-and-works kinda
 package that would sit there waiting for the mic and return any words
 spoken to stdout, just to be able to do some commandline tricks with it
 or to let it sit on some server to give it commands or to make a debian
 version of Serial Experiments Lain's Navi computers or just to brag :)
 The xvoice team was working on replacing their dependence on viavoice by
 replacing it with sphinx, but i think the project's pretty much stagnant
 now.

 IMHO full-blown speech recognition in the free software world isn't too
 close, since it depends on lots of research that's behind closed doors.
 If IBM suddenly decided to GPL their viavoice stuff and release free
 data files (the language models i think it is), we'd have full-blown
 free voice recognition everywhere within a year later after that, and
 about 2-3 years later it'd start to really mature as free software, but
 then again i'm just guessing here. Since they've given lots of support
 to linux it's probably not too farfetched, but we don't know the
 internal politics behind it all.



 ---
   Progress isn't made by early risers. It's made by lazy men trying to
   find easier ways to do something.
 Robert Heinlein
 -
 Jaime Herazo Barrios/\
 jherazo_1999 at yahoo dot com   \ / ASCII Ribbon Campaign
 ICQ number: 14721935 X  Against HTML Mail,
 Yahoo! id: jherazo_1999 / \ and News Too


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Sound Advice

2006-01-04 Thread Graham Smith
Hi,

I would like to get my sound card working correctly (using all 4.1 speakers) 
but I can't seem to figure out how. I have a GigaByte GA-K8NXP-SLI 
motherboard with a built in RealTec ALC850 sound chip. At the moment I get 
sound but only from 2.1 speakers. I think these drivers

http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5famid=12series=8Software=True#8Unix%20
(Linux)

would make it work but before I go and screw up my system trying to get them 
installed is there a Debian way of installing / setting up these drivers?

lsmod shows the following sound related modules are installed

snd_intel8x0   35904  0
snd_ac97_codec 88836  1 snd_intel8x0
snd_pcm_oss56544  0
snd_mixer_oss  19072  1 snd_pcm_oss

I have a feeling that the first one is actually the correct driver. If it is 
then how do I get all the speakers working?

Many thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Slow copy

2005-12-15 Thread Graham Smith
Hi,

This is perhaps one of the stranger questions to be asked but I'm looking for 
a utility that will copy a file slowly.

Part of my ad hoc backup system is to copy the nightly backup tar file from 
our production machine onto another machine. The problem is that the 
production machine is not exactly what you would call high performance and 
the file copy basically causes everything else to grind to a halt. It doesn't 
matter to me that the copy is done in 5 minutes or 50 minutes what matters is 
that it doesn't kill the server for 5 minutes a day.

What I am basically looking for is a version of cp with a max copy rate 
argument. I would write my own but I can't believe that I'm the only one who 
has ever wanted this feature so I suspect there is one already in existence.

Thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



fwanalog never exiting

2005-12-08 Thread Graham Smith
Hi,

I have been keeping a close eye on one of my systems as it locked up a few 
days ago. This particular machine runs fwanalog as a cron job. I get a daily 
email fine but I have noticed what to my mind seems to be bad behaviour by 
the cron job.

The job itself runs are midnight IIRC but at 10 am the next morning it seems 
to still be running:
machine:/var/log/fwanalog# ps axf | grep fwana
29228 pts/4S+ 0:00  |   \_ grep fwana
23856 ?Ss 0:00  \_ /bin/sh -c test -x /usr/lib/fwanalog/cron 
 /usr/lib/fwanalog/cron 2 /dev/null
23857 ?S  0:00  \_ /bin/sh -e /usr/lib/fwanalog/cron
24002 ?S  0:00  \_ su fwanalog -c 
nice /usr/bin/fwanalog
24006 ?SN 0:00  \_ /bin/sh /usr/bin/fwanalog
24008 ?SN 0:00  \_ /bin/sh /usr/bin/fwanalog
24110 ?SN 7:50  \_ analog -G 
+g/usr/share/fwanalog/fwanalog.analog.conf +V+C 
-COUTFILE /var/log/fwanalog/alldates.html 
+g/var/log/fwanalog/fwanalog.analog.conf.gen

Is this normal behaviour?

The instance of analog that is started by this is also consuming around 10% of 
the systems memory and a little (10%) of the CPU time every now and then. 
This doesn't feel right to me. I expected the process to run once at night 
and then stop not run all the time. Is the base process maybe failing to kill 
it's children?

I don't get much in the way of attacks (around 1500 firewall blocks a day) so 
it's not like the job would still be running.

Thanks,
Graham



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Strange hard lock

2005-12-06 Thread Graham Smith
Hi,

Hope you can help me with a rather serious failure on one my machines last 
night. When I went to access it this morning it was as dead as a door nail. 
No network activity, not even local keyboard or video - totally dead. I 
initially thought a kernel oops but having a look at the logs makes me think 
it might be an out of memory issue. Here's a snippet from the logs:

### LOG SNIPPET ###
Dec  6 01:30:47 compost kernel: oom-killer: gfp_mask=0x1d2
Dec  6 01:30:47 compost kernel: DMA per-cpu:
Dec  6 01:30:47 compost kernel: cpu 0 hot: low 2, high 6, batch 1
Dec  6 01:30:47 compost kernel: cpu 0 cold: low 0, high 2, batch 1
Dec  6 01:30:47 compost kernel: Normal per-cpu:
Dec  6 01:30:47 compost kernel: cpu 0 hot: low 62, high 186, batch 31
Dec  6 01:30:47 compost kernel: cpu 0 cold: low 0, high 62, batch 31
Dec  6 01:30:47 compost kernel: HighMem per-cpu: empty
Dec  6 01:30:48 compost kernel:
Dec  6 01:30:48 compost kernel: Free pages:3688kB (0kB HighMem)
Dec  6 01:30:48 compost kernel: Active:36614 inactive:36018 dirty:0 
writeback:0 unstable:0 free:922 slab:3999 mapped:70710 pagetables:1086
Dec  6 01:30:48 compost kernel: DMA free:1328kB min:112kB low:140kB high:168kB 
active:5624kB inactive:5196kB present:16384kB pages_scanned:14375 
all_unreclaimable? yes
Dec  6 01:30:48 compost kernel: lowmem_reserve[]: 0 304 304
Dec  6 01:30:48 compost kernel: Normal free:2360kB min:2172kB low:2712kB 
high:3256kB active:140832kB inactive:138876kB present:311296kB 
pages_scanned:235254 all_unreclaimable? no
Dec  6 01:30:48 compost kernel: lowmem_reserve[]: 0 0 0
Dec  6 01:30:48 compost kernel: HighMem free:0kB min:128kB low:160kB 
high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 
all_unreclaimable? no
Dec  6 01:30:48 compost kernel: lowmem_reserve[]: 0 0 0
Dec  6 01:30:48 compost kernel: DMA: 0*4kB 2*8kB 0*16kB 1*32kB 2*64kB 1*128kB 
0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1328kB
Dec  6 01:30:48 compost kernel: Normal: 88*4kB 7*8kB 12*16kB 7*32kB 0*64kB 
0*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2360kB
Dec  6 01:30:48 compost kernel: HighMem: empty
Dec  6 01:30:48 compost kernel: Swap cache: add 15070980, delete 15070823, 
find 13016180/15808735, race 8+53
Dec  6 01:30:48 compost kernel: Free swap  = 0kB
Dec  6 01:30:48 compost kernel: Total swap = 393584kB
Dec  6 01:30:48 compost kernel: Out of Memory: Killed process 15517 
(postmaster).
### END LOG SNIPPET ###

I've never seen anything like that before and there is a lot of it after about 
1:30 (the snippet above is the first occurrence). It seems to have 
systematically killed off processes presumably to acquire more free memory 
until it killed some vital ones at which point the box keeled over an died.

Any idea what has happened?

Many thanks,
Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Strange hard lock

2005-12-06 Thread Graham Smith
On Tuesday 06 December 2005 10:39, Hugo Vanwoerkom wrote:
* snip *

 What kernel version? I had something similar and oom-killer was no help
 in identifying the culprit.

 This is no help. :-(

 H

It's running

Linux compost 2.6.12-1-386 #1 Tue Sep 27 12:41:08 JST 2005 i586 GNU/Linux

the machine had been up for 61 days (I checked a few hours before it failed) 
with no problems and is running Debian testing.

Having a closer look at the logs I notice that the first time it killed 
postmaster but after that it just seemed to repeatedly kill the apache2 
process.

I see what oom-killer is trying to do but I can't believe for one minute that 
I was running low on memory (the machine is running quite a few processes but 
never thrashes the disk). A typical top looks like this:

top - 11:14:29 up  2:19,  4 users,  load average: 0.04, 0.11, 0.12
Tasks: 143 total,   1 running, 142 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.6% us,  1.3% sy,  0.0% ni, 93.7% id,  0.0% wa,  0.0% hi,  0.3% si
Mem:321792k total,   308852k used,12940k free,15320k buffers
Swap:   393584k total, 8340k used,   385244k free,55168k cached

Which is a little odd because I thought that machine had 768 MB of ram not the 
300 odd that is being reported. Maybe I removed some :o) it's been so long 
since I opened that box I can't remember.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Strange hard lock

2005-12-06 Thread Graham Smith
On Tuesday 06 December 2005 11:42, Hugo Vanwoerkom wrote:
 Graham Smith wrote:
  On Tuesday 06 December 2005 10:39, Hugo Vanwoerkom wrote:
  * snip *
 
 What kernel version? I had something similar and oom-killer was no help
 in identifying the culprit.
 
 This is no help. :-(
 
 H
 
  It's running
 
  Linux compost 2.6.12-1-386 #1 Tue Sep 27 12:41:08 JST 2005 i586 GNU/Linux
 
  the machine had been up for 61 days (I checked a few hours before it
  failed) with no problems and is running Debian testing.
 
  Having a closer look at the logs I notice that the first time it killed
  postmaster but after that it just seemed to repeatedly kill the apache2
  process.
 
  I see what oom-killer is trying to do but I can't believe for one minute
  that I was running low on memory (the machine is running quite a few
  processes but never thrashes the disk). A typical top looks like this:
 
  top - 11:14:29 up  2:19,  4 users,  load average: 0.04, 0.11, 0.12
  Tasks: 143 total,   1 running, 142 sleeping,   0 stopped,   0 zombie
  Cpu(s):  4.6% us,  1.3% sy,  0.0% ni, 93.7% id,  0.0% wa,  0.0% hi,  0.3%
  si Mem:321792k total,   308852k used,12940k free,15320k
  buffers Swap:   393584k total, 8340k used,   385244k free,55168k
  cached
 
  Which is a little odd because I thought that machine had 768 MB of ram
  not the 300 odd that is being reported. Maybe I removed some :o) it's
  been so long since I opened that box I can't remember.

 Well, again this is no help, but anyway:

 What does 'cat /proc/meminfo'show?

 In response to my oom-killer I started my sensor apps to show Free
 Memory. That doesn't get you any closer because that value floats from
 the high end to about 10-15MB on later kernels and 3MB on earlier kernels.

 Do you remember what BIOS shows on memory installed?

 H

I have a sneaky suspicion that I know what the problem is. I think there might 
be a memory leak in the Java JAI (Java Advanced Imaging) library. Yesterday 
was the first time I extensively used them on the server. I've got top 
monitoring the memory usage (M sorted) and so far no problems. What I did 
notice was that a few hours before going down apache seemed to be having 
problems serving up content. Randomly bits wouldn't appear like it had just 
given up.

Result of 'cat /proc/meminfo'

MemTotal:   321792 kB
MemFree: 20804 kB
Buffers: 23988 kB
Cached:  62792 kB
SwapCached:   1904 kB
Active: 239588 kB
Inactive:39356 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   321792 kB
LowFree: 20804 kB
SwapTotal:  393584 kB
SwapFree:   375960 kB
Dirty: 472 kB
Writeback:   0 kB
Mapped: 229540 kB
Slab:15760 kB
CommitLimit:554480 kB
Committed_AS:   539200 kB
PageTables:   2272 kB
VmallocTotal:   712624 kB
VmallocUsed:  2384 kB
VmallocChunk:   709832 kB


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Everything SSH related is dead

2005-10-18 Thread Graham Smith
Hi,

Having a touch of trouble with SSH. Anything that goes near SSH fails horribly 
with a segfault. For instance running SSH at a command prompt gives:

Oct 18 14:13:06 localhost kernel: ssh[6763]: segfault at 00014a00432c rip 
2ac40817 rsp 7fce6e58 error 4

in the syslog ssh-agent gives:

Oct 18 14:07:20 localhost kernel: ssh-agent[6705]: segfault at 
000114211b2c rip 2ac40817 rsp 7fdbaa48 error 4

I would like to file a bug report (and fix the problem) but I'm not sure what 
to file it against. I presume one of the base libraries is at fault but how 
do I tell which one?

I'm running the amd64 version of sid BTW.

TIA,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to use old CPUs (Not Debian Specific)

2005-10-15 Thread Graham Smith
On Saturday 15 October 2005 06:03, Marty wrote:
 Hendrik Boom wrote:
  Actually, I've tried using old klunkers to do backups, and discovered
  that they can't take large hard disks.  One of mine won't go beyond
  about 128 gig, tha other gets stuck somewhere between 2.5G and 80 G.

 I don't know if it will work for all old machines, but when I ran into that
 problem I turned off the backup disk in the BIOS, letting linux find it
 after booting from a smaller disk.

That works for me as well. If the BIOS detects the large backup disk in my 
server the machine wont post. Once it's turned off in the BIOS Linux boots 
just fine and detects it perfectly. It's been like that for years.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Misdirected requests - no Host header maybe?

2005-10-14 Thread Graham Smith
Sorry this request for help is a bit off topic for this group but I am really 
stuck and could do with some help. If you can't help but know where I might 
be able to get help I would appreciate a pointer in the right direction.

I run a few sites off one static IP address using virtual hosting. Some sites 
(www.crazysquirrel.com, www.ruralescapes.co.uk and www.shallowsea.com) are 
Java based and use the Apache Tomcat connector. Others, such as 
blog.crazysquirrel.com are php based and hosted straight out of Apache (I'm 
running Apache 2.0 on Debian). All the sites appear to work just fine. There 
doesn't appear to be any problems with people navigating around them. 

The problem is with search engines such as Yahoo Slurp and Googlebot. A large 
number of requests for pages that are in one of the other domains are ending 
up at blog.crazysquirrel.com. My best guess is that for some reason Slurp and 
Googlebot are making requests but leaving off the Host header. Now this 
wouldn't be completely out of spec because they are making HTTP 1.0 requests 
and as such don't require a Host header. I would have expected, however, that 
every request from them would come with one since virtual hosting is now so 
common. It briefly crossed my mind that it was simply a probe to detect 
virtual hosting but there are way to many requests going astray (more go 
astray than the real sites actually get) therefore I conclude something must 
be wrong.

A little more digging seems to indicate that the search bots are able to load 
the first page (say http://www.shallowsea.com/index.html) but then start 
screwing it up when trying to access the links they find in that page. For 
example here is a little snippet of log file from yesterday for 
blog.crazysquirrel.com. These is are page requests that should have gone to 
shallowsea.com

66.249.66.34 - - [12/Oct/2005:14:08:47 +0100] 
GET /events.html?change-category=7resource-name=event HTTP/1.1 404 209 - 
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

66.249.66.34 - - [12/Oct/2005:14:09:14 +0100] 
GET /links.html?change-category=51resource-name=link HTTP/1.1 404 208 - 
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

in the shallowsea.com log I find this:

66.249.66.34 - - [12/Oct/2005:14:07:09 +0100] 
GET /events.html?change-category=60resource-name=event HTTP/1.1 200 7073 
- Mozilla/5.0 (compatible; Googlebot/2.1; 
+http://www.google.com/bot.html)

66.249.66.34 - - [12/Oct/2005:14:09:50 +0100] 
GET /links.html?change-category=54resource-name=link HTTP/1.1 200 7547 - 
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

note the times of these requests. It is fairly obvious that the Googlebot is 
trying to index shallowsea.com but for some reason about half the requests 
are going to the wrong domain.

Has anyone got any idea what might be going on here? I'm perfectly happy to 
accept that there is some header that I should be sending back that I am not 
but that doesn't feel like it's the problem as some requests seem to get 
through fine.

Many thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to use old CPUs (Not Debian Specific)

2005-10-14 Thread Graham Smith
On Friday 14 October 2005 19:03, Marc Shapiro wrote:
 Like I said, I don't have enough space in the new apartment to set up
 multiple computers, but I dislike having computing power going to waste.
   Can anyone suggest a way to network/connect all four to possibly
 distribute the load among them?  I am considering building a custom case
 to hold all the MBs and only have a single monitor, mouse and keyboard
 connected.  The case would, obviously, have to be fairly large, but it
 could then act as a table, as well, so the space would still be more
 efficient than four seperate cases which serve no othere purpose.

I love my old computers as much as the next guy but the 486's would have to be 
skipped. Perhaps use one as a firewall but I fail to see any real use as a 
desktop machine. The PII is probably just about fast enough - it depends what 
you are willing to put up with I suppose.

If you want to turn them into a table I would just chock up the cases so they 
are all the same height and lay a sheet of wood over the top. I don't see 
much point in building an actual case for them as it will be a significant 
amount of work for little gain. Especially so if you don't have a work shop 
in which to make it.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to use old CPUs (Not Debian Specific)

2005-10-14 Thread Graham Smith
The problem is there is a world of difference between doing up and old car as 
a hobby and trying to use a 486 as a desktop machine.

Your old Model T is never going to do 60MPH or have air con but that is 
understood from the outset.

If the intention is to save some computing history go for it. Otherwise scrap 
them and save up for a half way decent machine.

Just my two €0.02

Graham

On Friday 14 October 2005 20:53, Craig M. Houck wrote:
 Here. here.
 I quite agree in particular with #3.
 Repair, Refinish, Rebuild and Reuse. I'm suspect there are a few more Re's.
 And when something is truly I mean truly at EoL. Its bonfire time
 (excluding stuff that produces toxins when heated). OK sometimes that stuff
 too if the fire will be big enough.

 1) 200 bucks all at once may not be a feasible outlay.
 2) some of the older software may run just fine on the older machines (a
 newer one won't make the software run better).
 3) I find something satisfying about computer resurrection that I don't
  get by taking them to a recycling centre. That goes for a lot of
  stuff folks do with old things like: fixing the old '69 Mustang in the
  garage instead of junking it, collecting/reading musty old first edition
  books instead buying the newest repring, refinishing furniture instead of
  hitting up IKEA, maybe pruning very old trees.
 4) This is what the OP decided to do, presumably after ruling out
  purchasing any new machine.
 
  It's only cheap if your time
  isn't worth anything?
 
 Which is a statement that could be applied to any hobby or sport or (fill
  in the blank).
 
 Rob
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]

 RbtBotL
 Craig - 

  oBU SysAdmin
 /|\  607 777 6827
  ^  Tot Ziens



Re: How to use old CPUs (Not Debian Specific)

2005-10-14 Thread Graham Smith
On Friday 14 October 2005 21:45, Marty wrote:
 Graham Smith wrote:
  The problem is there is a world of difference between doing up and old
  car as a hobby and trying to use a 486 as a desktop machine.

 You're ignoring the uses in between those two extremes.  For example, why
 use a modern machine, which uses 3 or 4 times the power, just for a
 firewall or backup server?

As you will see in an earlier post I had mentioned using one of the 486's as a 
firewall. I hadn't thought of using it as a backup server but that's a good 
idea.

Having said that though, personally, I would use the PII as the firewall, 
backup, file server etc etc. The new fast machine as the family desktop and 
ditch the other two.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: webserver logfile analiser (php site)

2005-10-10 Thread Graham Smith
On Monday 10 October 2005 15:57, Gabe Granger wrote:
 Does anyone have any good suggestions about good webserver logfile
 analisers.  Specfically when it comes to website written in php?

 I'm currently using webdruid and webalizer but these can not report
 back anything more then the fact the file.php has been accessed /
 read.  I need to be able to get more information back from the log
 analiser.  Any good suggestion would be great, many thanks.

 Gabe

awstats is fairly good and simple. It seems to get updates now and then so can 
spot most spiders etc.

As another poster hinted at it can be a bit of a pig to set up. The setup file 
is huge and fairly complex having said that though, once you have a 
configuration you like on one site it's simply a matter of copy and paste for 
the other sites.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: support for amd64?

2005-08-30 Thread Graham Smith
On Tuesday 30 August 2005 03:15, Bruno Buys wrote:
 Thanks Alan,
 No openoffice.org for amd64 can be an issue, really. I didn't know that.
 Also, I don't have mirrors close to me. So, I guess 'keeping an eye' is
 the right movement, for now.
 You own a amd64 machine? Does it run too hot? Here in Rio we have like
 35 Celsius this month, which is supposed to be winter. In the summer we
 go easily to 40 C. Heating is always a concern.
 Regards,


I've been running a pure64 box for the last few months. Basically everything 
that I want is available and works just as it does for x86. The most notable 
exception is the lack of OOo which is a pain but it is fairly easily overcome 
with a chroot. Of course a chroot means that you have to update two systems 
but it is relatively easy to install.

Flash is missing from pure64 as well although to be quite honest I like it 
that way ;o). I might get round to installing mozilla in the chroot one day.

xine works fine under 64 bit and you can watch dvd's. With some work you can 
also use the 32 bit windows codecs, again, from in the chroot.

As for heat problems with a64; my office regularly hits 35 (or more) in the 
summer and my A64 doesn't seem to mind. It does run a little warm for my 
liking but it is using only the stock heat sink.

Graham


 Bruno

 Alan Ianson wrote:
 On Mon August 29 2005 06:09 pm, Bruno Buys wrote:
 I was trying to figure out how good is debian support for amd64. Will it
 stand, in the long run? I do regular internet/email/writing stuff, as
 well as multimedia editing with marillat's software. I enjoy having a
 huge software archive, as is the x86 case. Will I suffer under amd64?
 Any insights? Why is there a 'pure64' dir on debian archives? Is it
 different from amd64?
 
 It will stand quite well I think. 90+ % of debian i386 is running fine on
 amd64. There are a few packages missing (like cdrdao) but they will be
  along soon. The merillat archive for amd64 isn't nearly as big as it is
  for i386, at least not yet (I did see a big amd64 experimental merrilat
  archive in my travells but haven't looked at it in any detail yet). I'm
  just keeping an eye out for now. I am no expert on the matter, I don't
  maintain any amd64 stuff I just use it, but from what I can see it may be
  a while before amd64 has the same multimedia support that i386 has. There
  is also no flash player for amd64 (or win/64 for that matter) or
  openoffice.org. I have both amd64 and i386 installed so I go back and
  forth as needed, or you can also chroot into a different root (I don't
  have much experience with that).
 
 I'm not sure why there was amd64 and pure64 before, but I think there is
  only pure64 now. AFAIK that is what Sarge amd64 r0a is but that would
  probably be best answered by someone else. The info I have about it is
  scattered and incomplete.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



pgadmin and libwxgtk

2005-08-30 Thread Graham Smith
Hi,

I would really really like to use pgadmin3 but there is, and has been for 
ages, a problem with dependencies. When I try and install it I get this

Depends: pgadmin3-data but it is not going to be installed
Depends: libwxgtk2.5.3 (=2.5.3.2) but it is not installable

Ok. The data package is available but libwxgtk2.5.3 isn't. What is available, 
however, is libwxgtk2.6-0. Now correct me if I'm wrong but that should fulfil 
the dependency surely?

Has anyone tried forcing the install? I would rather not do it but pgadmin is 
a very useful piece of software when developing a DB app. Are there any other 
decent postgres admin tools because using psql is becoming boring? 

TIA, Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: pgadmin and libwxgtk

2005-08-30 Thread Graham Smith
On Tuesday 30 August 2005 15:33, Roberto C. Sanchez wrote:
 On Tue, Aug 30, 2005 at 03:27:52PM +0100, Graham Smith wrote:
  Hi,
 
  I would really really like to use pgadmin3 but there is, and has been for
  ages, a problem with dependencies. When I try and install it I get this
 
  Depends: pgadmin3-data but it is not going to be installed
  Depends: libwxgtk2.5.3 (=2.5.3.2) but it is not installable

 File a bug (Important or Serious, I am not certain which) against
 pgadmin, or see if one is already filed.  libwxgtk2.5.3 has not been
 available in the archive for a long time.

There is already a bug report. I've added my 2p worth for what it's worth. The 
wheels seem to be grinding rather slowly for this bug though which was why I 
was wondering about forcing the install. I'm surprised it has been left so 
long actually I would have thought pgadmin was quite widely used.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



lame server

2005-08-29 Thread Graham Smith
Hi,

I'm seeing loads of these types of message from Bind

Aug 29 13:40:35 sever named[7713]: lame server resolving 
'181.162.65.222.in-addr.arpa' (in '181.162.65.222.in-addr.arpa'?): 
202.96.209.5#53
Aug 29 13:40:53 server named[7713]: lame server resolving 
'101.63.195.81.in-addr.arpa' (in '63.195.81.in-addr.arpa'?): 195.34.32.83#53
Aug 29 13:44:33 server named[7713]: unexpected RCODE (REFUSED) resolving 
'dns-noc.zjhzptt.net.cn//IN': 202.96.104.18#53


by loads I mean 10 to 20 a minute for about an hour. They come in groups with 
an IP address being repeated 4 or 5 times then another one is tried. I am at 
a loss to figure out what is doing so many reverse look ups. Can someone help 
me find out what it is?

Perhaps it's nothing but I'm interested to know. I'm running testing and the 
Bind server is only a local caching DNS with all external ports firewalled 
off. There are only two machines on the network so there shouldn't be that 
much traffic.

Thanks.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Drawin program like CorelDRAW

2005-08-27 Thread Graham Smith
On Saturday 27 August 2005 16:12, Paolo Pantaleo wrote:
 I am looking for a drawing (vectorial) program, i read about:
 Sodipodi
 Skencil
 Karbon14

 Any other?
 Any suggestion about which is better?

 PAolo

What you are looking for is inkscape :o)

It has a basic but good range of features and is stable. There are tutorials 
that while maybe a little short for a complete beginner show you all the 
basics. Save formats are a little short on the ground IIRC. Pretty much only 
SVG and PNG but there are loads of converters around.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



blind spot for java

2005-08-26 Thread Graham Smith
Hi,

I know this might seem a little strange but my system seems to have developed 
a blind spot for Java.

I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute

[EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java

I get

bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory

which is quite plainly wrong as the file most certainly does exist and has 
execution rights. I have another (very slightly older and 64-bit) version of 
Java installed via java-package which works fine but I need to get this one 
working.

Any ideas what might be wrong?

All the other applications seems to be working fine. I have re-installed the 
JDK and tried other versions and all produce the same message. This is a long 
shot I know but I am using the 64bit debian port and this is a 32bit VM it is 
therefore relying on some libraries provided by the 32bit chroot. It was 
working fine yesterday but I also upgraded the chroot yesterday. I'm wonering 
if the two could be linked. The problem is that it just doesn't seem to even 
find the java file to get.

TIA, Graham.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
Thanks for the pointer. 

The problem, though, is not getting Java installed; I have it installed and I 
am using the 64bit linux version as I write. The problem is that a 32bit VM 
that I use (because the 64 bit version doesn't have a client mode) has for 
some reason stopped working. 

I am concerned that it claims the file is not found when it is, plain as day, 
sitting there on the disk and is displayed with ls -l with all the right 
permissions. My initial thought was I had some how been rooted but I have run 
chkrootkit and that doesn't seem to be the case. I also think that it would 
be a strange root kit that took out only 32bit JVMs on AMD64 :o)

Graham

On Friday 26 August 2005 11:52, Bill Day wrote:
 It took me a couple of times to notice I had a slight typo in my setup
 before I reeally relaized what was going on, once I slowed down and double
 checked my install
 from( http://www.debian.org/doc/manuals/debian-java-faq/ch11.html ) all
 went quite well.

 On Friday August 26 2005 7:32 am, Graham Smith wrote:
  Hi,
 
  I know this might seem a little strange but my system seems to have
  developed a blind spot for Java.
 
  I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to
  execute
 
  [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java
 
  I get
 
  bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory
 
  which is quite plainly wrong as the file most certainly does exist and
  has execution rights. I have another (very slightly older and 64-bit)
  version of Java installed via java-package which works fine but I need to
  get this one working.
 
  Any ideas what might be wrong?
 
  All the other applications seems to be working fine. I have re-installed
  the JDK and tried other versions and all produce the same message. This
  is a long shot I know but I am using the 64bit debian port and this is a
  32bit VM it is therefore relying on some libraries provided by the 32bit
  chroot. It was working fine yesterday but I also upgraded the chroot
  yesterday. I'm wonering if the two could be linked. The problem is that
  it just doesn't seem to even find the java file to get.
 
  TIA, Graham.

 --


 Bill Day

 A rich man isn't always wealthy, he just has all the love he can give and
 ever wanted..
 http://counter.li.org #384146  284016


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 13:10, Kent West wrote:

 How 'bout showing us the output of ls -l
 /usr/local/jdk1.5.0_04/bin/java? Here's mine:

 [EMAIL PROTECTED]:/home/westk ls -l /usr/local/jdk1.5.0/bin/java
 -rwxr-xr-x  1 root staff 64492 Sep 15  2004 /usr/local/jdk1.5.0/bin/java

Well if you show me yours I suppose I have got to show you mine ;o)

[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ ll
total 3160
-rwxr-xr-x  1 root staff  72760 2005-08-26 12:21 appletviewer
-rwxr-xr-x  1 root staff  71600 2005-08-26 12:21 apt
-rwxr-xr-x  1 root staff   4153 2005-08-26 12:21 ControlPanel
-rwxr-xr-x  1 root staff  71600 2005-08-26 12:21 extcheck
-rwxr-xr-x  1 root staff   1080 2005-08-26 12:21 HtmlConverter
-rwxr-xr-x  1 root staff  71632 2005-08-26 12:21 idlj
-rwxr-xr-x  1 root staff  71600 2005-08-26 12:21 jar
-rwxr-xr-x  1 root staff  71600 2005-08-26 12:21 jarsigner
-rwxr-xr-x  1 root staff  64492 2005-08-26 12:21 java
... snip more progs ...

[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ ./java -version
bash: ./java: No such file or directory

foo is a member of group staff but the problem is the same if I try and run it 
as root.

Odd isn't it?

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 13:47, Kent West wrote:

 Try performing some other action on the file, such as renaming it.

Yep I can rename it.

-rwxr-xr-x  1 root staff  64492 2005-08-26 12:21 javarenamed

# ./javarenamed
-su: ./javarenamed: No such file or directory


 Also try it from a different shell (tcsh, etc).


I've never switched shell before so here's my best guess at how to do it (I 
feel like a complete noob now :o))

[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ tcsh
foo:/usr/local/jdk1.5.0_04/bin ./java
./java: Command not found.
foo:/usr/local/jdk1.5.0_04/bin ls -l
-rwxr-xr-x  1 root staff  64492 2005-08-26 12:21 java
foo:/usr/local/jdk1.5.0_04/bin exit
exit
[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ sh
sh-3.00$ ./java
sh: ./java: No such file or directory
sh-3.00$ exit
exit
[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ csh
foo:/usr/local/jdk1.5.0_04/bin ./java
./java: Command not found.

Looks like it doesn't work in any shell.

I have tried moving the JDK install to another location on the disk as well 
(to under /var/local) and no joy their either.

Graham

 --
 Kent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 13:30, Kai Grossjohann wrote:
 Graham Smith [EMAIL PROTECTED] writes:
  bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory

 This message makes you think that /usr/local/jdk1.5.0_04/bin/java does
 not exist.  But that is sometimes wrong.  Look if this file is a shell
 script.  If so, look at its shebang line and fix it if necessary.

 (If you have a script /bin/foo that starts with #!/bin/bar, but you
 don't have /bin/bar, then you'll get a message /bin/foo: No such file
 or directory, but the truth is that it is the file /bin/bar that's
 missing...)

 Kai

Cheers,

Unfortunately I had thought of that and the java file in question is a binary 
not a shell script.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:34, Tim Ruehsen wrote:
 Hi Graham,

 - make shure, that file is not a symlink. It should tell you if you do 'ls
 -la'.

nope it's not a symlink

 - make shure that not one of the directories has obscure permissions.

drwxr-xdrwxr-xr-x   12 root root   4096 2005-08-22 16:17 usr
drwxrwsr-x   11 root staff  4096 2005-08-26 12:21 local
drwxr-sr-x  9 root staff  4096 2005-08-26 12:21 jdk1.5.0_04
drwxr-sr-x  2 root staff 4096 2005-08-26 13:51 bin

don't think there is anything odd there


 You could (as root) copy the java file into /tmp and try to execute it
 there. Does it work? 

Nope, same error message.

 If not, maybe the file is corrupt. 

Very very unlikely. Could only be corrupt if it became corrupt when I copied 
it over from the server. The exact same JDK runs fine on the server (a 32bit 
testing machine). Interestingly though the install won't run on this machine 
either (it too runs fine on the server). The installer fails to create the 
jdk1.5.0_04 directory.

 Try things like  
 'file java' 

$file java
java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 
2.2.5, dynamically linked (uses shared libs), stripped

 or 'ldd java', 

this looks bad

$ldd java
/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

I just forgot: make shure, you don't have an alias in your shell. Try 'alias' 
in your bash.

$alias
alias la='ls -A'
alias ll='ls -l'
alias ls='ls --color=auto'

Many thanks for the help so far. I suspect the fact ldd failed has something 
to do with the problem but I'm just taking an educated guess there.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:43, Hendrik Boom wrote:

 Then maybe it's a shared library that's missing?  I had a problem like this
 years ago with Modula 3.  There's some kind of command (strace ?  -- I
 forget the name; I use it so rarely) that will trace all the system
 calls while your program is starting up (and thereafter).  That might
 make it clearer what file it is complaining about.

Well I gave it a shot. I don't know what the output means but it doesn't look 
like it provides much more information.

#strace -otrace.txt ./java
strace: exec: No such file or directory
#cat trace.txt
execve(./java, [./java], [/* 18 vars */]) = -1 ENOENT (No such file or 
directory)
dup(2)  = 3
fcntl(3, F_GETFL)   = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aac3000
lseek(3, 0, SEEK_CUR)   = -1 ESPIPE (Illegal seek)
write(3, strace: exec: No such file or di..., 40) = 40
close(3)= 0
munmap(0x2aac3000, 4096)= 0
exit_group(1)   = ?

Thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:37, Kai Grossjohann wrote:
 What happens when you do

 strace -f /usr/local/jdk1.5.0_04/bin/java

In another post there is a strace without the -f option here is one with it.

# strace -otrace.txt -f /usr/local/jdk1.5.0_04/bin/java
strace: exec: No such file or directory

# cat trace.txt
11050 execve(/usr/local/jdk1.5.0_04/bin/java, 
[/usr/local/jdk1.5.0_04/bin/java], [/* 18 vars */]) = -1 ENOENT (No such 
file or directory)
11050 dup(2)= 3
11050 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
11050 fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
11050 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aac3000
11050 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
11050 write(3, strace: exec: No such file or di..., 40) = 40
11050 close(3)  = 0
11050 munmap(0x2aac3000, 4096)  = 0
11050 exit_group(1) = ?



 Can you do java -version?

Nope.
/usr/local/jdk1.5.0_04/bin# ./java
-su: ./java: No such file or directory

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:32, Kent West wrote:
 Graham Smith wrote:
 On Friday 26 August 2005 14:34, Tim Ruehsen wrote:
 or 'ldd java',
 
 this looks bad
 
 $ldd java
 /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
 ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

 What's the result of ls -ld /lib/ld-linux*?

# ls -ld /lib/ld-linux*
lrwxrwxrwx  1 root root 11 2005-08-22 16:17 /lib/ld-linux-x86-64.so.2 - 
ld-2.3.5.so

I note the lack of /lib/ld-linux.so.2 my ld.so.conf contains

# cat /etc/ld.so.conf
/usr/X11R6/lib
# chroot i386 system libs
/var/chroot/sid-ia32/lib
/var/chroot/sid-ia32/usr/lib
/var/chroot/sid-ia32/usr/X11R6/lib
/var/chroot/sid-ia32/usr/local/lib

running the ls _inside_ the chroot shows the required file to be present.

# ls -ld /lib/ld-linux*
lrwxrwxrwx  1 root root 11 2005-08-25 18:12 /lib/ld-linux.so.2 - ld-2.3.5.so



 --
 Kent West
 Technology Support
 /A/bilene /C/hristian /U/niversity


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:46, David Jardine wrote:
 
  Cheers,
 
  Unfortunately I had thought of that and the java file in question is a
  binary not a shell script.

 You haven't got an invisible character (space, for example) at the
 end of the name by chance, have you? I.e java .

Nice try but nope.

Thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:42, Tim Ruehsen wrote:
   or 'ldd java',
 
  this looks bad
 
  $ldd java
  /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
  ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

 Here we go. Let's concentrate on this. Normally, /lib/ld-linux.so.2 is a
 symlink to e.g. (on my SID system) /lib/ld-2.3.5.so.

 So try ls -la /lib/ld-*, and see if the file that the symlink points to
 exists.

 Just to show you the output on my system:
 blitz-lx:~# ls -la /lib/ld-*
 -rwxr-xr-x  1 root root 90028 Aug 19 14:43 /lib/ld-2.3.5.so
 lrwxrwxrwx  1 root root11 Aug 22 14:36 /lib/ld-linux.so.2 -
 ld-2.3.5.so


# ls -la /lib/ld-*
-rwxr-xr-x  1 root root 97904 2005-08-20 00:03 /lib/ld-2.3.5.so
lrwxrwxrwx  1 root root11 2005-08-22 16:17 /lib/ld-linux-x86-64.so.2 - 
ld-2.3.5.so

 Hmmm I wonder if this is has something to do with the upgrades going on in 
unstable at the minute. Shouldn't this line

/var/chroot/sid-ia32/lib

from ld.so.conf have pulled in the required ld-linux.so.2 link?

Graham

 Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:55, Kent West wrote:

 I'm a little hazy on the chroot; is your ./java command failing to be
 found while in chroot, or while not in chroot. If while in, that seems
 odd, as the symlink is there. If while not in, I'd just create a new
 symlink:

 ln -s /lib/ld-2.3.5.so /lib/ld-linux.so.s

 should do it.


It was failing outside the chroot (in the host system). I created the symlink 
as you suggested and all is now working again. The question is though how did 
the original link go missing? This was working fine yesterday after I 
upgraded both the host system and the chroot. I wonder if something only 
changed when the machine was rebooted. I know that the chroot under went the 
C++ upgrade yesterday so maybe that was it but I wouldn't have thought that 
could remove the symlink in the host system.

Anyway. Many thanks.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:56, Michael Marsh wrote:
 On 8/26/05, Graham Smith [EMAIL PROTECTED] wrote:
  $file java
  java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
  GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

 Crazy question: You are trying this from the 32-bit chroot, right?

  $ldd java
  /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
  ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

 Is this missing from your chroot?  Of course, if it were, then /bin/ls
 wouldn't work either.  I'd guess this is where the real problem is.

 If there's a statically linked version of java available, you might
 give that a try.

Thanks for all the help. I've got it working now. It was simply a matter of 
making this link in the host system

ln -s /var/chroot/sid-ia32/lib/ld-linux.so.2 /lib/ld-linux.so.2

fingers crossed that doesn't break anything else though.

I have been do all of this diagnosis from the host system with the exception 
of the one ls -ld /lib/ld-linux* command that I ran in the 32 bit chroot to 
see if I had ld-linux.so.2 in there. I haven't had a problem with this set up 
before and the 32bit JVM seems quite happy running like this. Perhaps I 
should move it into the chroot though.

There are no statically linked versions of Sun Java to the best of my 
knowledge.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Dead mantis

2005-08-24 Thread Graham Smith
On Tuesday 23 August 2005 13:45, Graham Smith wrote:
 Hi,

 I have just upgraded my mantis bug tracking database but it has died during
 the upgrade. Whenever I visit any page that requires database access
 (basically all of them) I get the error message:

 Fatal error: main(): Failed opening required
 '/usr/share/mantis/gui/core/adodb/adodb.inc.php' (include_path='.')
 in /usr/share/mantis/gui/core/database_api.php on line 26

 I think this might have happened with a previous upgrade as well but I
 don't remember how I fixed it and no amount of tinkering seems to have
 fixed it.

 Any ideas how I can fix this?

 Many thanks, Graham.

For those wondering I have found the solution. Someone beat me to the bug 
report.  The bug report indicates that this only affects unstable but it also 
affects testing.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323914

Solution: A symlink is created in /usr/share/mantis/gui/core to ../../../adodb 
which has moved to ../../../php/adodb. Simply delete the existing symlink and 
add a new one e.g.

cd /usr/share/mantis/gui/core
rm adodb
ln -s ../../../php/adodb .

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Switching to Debian (from Fedora)

2005-08-23 Thread Graham Smith
 * kernel 2.4.27 was installed in my box. It's been a suprise since in
 Fedora i'm running kernels 2.6.x. Why this 2.4 kernel? Does Debian
 consider 2.6 kernels unstable? I'd like to upgrade my kernel; how can i
 do it using apt-get?

I've wondered why a 2.4 kernel is installed by default as well when 2.6 has 
been out for so long. It's easy to install a 2.6 kernel with apt though. It's 
just like installing any other package. Grub (or lilo) will be updated 
automatically in most cases.

 * I noticed too that Debian runs XF86 instead of Xorg, as Fedora does.
 Why this? What are the differences between them? Is video hw support
 better in Xorg? Are there any licensing issues with Xorg?

Try running testing or unstable on your desktop machine which will switch you 
to Xorg. You will find them both generally quite stable. Stable in Debian is 
very stable. Testing is, I would say, about the same as other distributions 
releases. Unstable is quite workable and is what I and everyone I know uses.

A word of warning before you switch though. You might like to switch to 
testing now and then to unstable in a couple of months. There are some big 
changes coming though unstable at the moment with some breakage occurring.

 After running Debian in my mail server for some time, i think that it
 can be a really good choice for a production server, but what about
 desktop? For the moment, i think i'll keep Fedora... or maybe not, if
 someone gives me good reasons :)

See above. Debian unstable is as good for the desktop as any distribution that 
I have used. If your a KDE person we should have KDE 3.4.2 in a month or two. 
Gnome has just under gone an upgrade but damned if I know what to ;o)

Graham

 Thanks for your kind attention. I'll be waiting and will appreciate your
 answers and opinions.

 Alf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Dead mantis

2005-08-23 Thread Graham Smith
Hi,

I have just upgraded my mantis bug tracking database but it has died during 
the upgrade. Whenever I visit any page that requires database access 
(basically all of them) I get the error message:

Fatal error: main(): Failed opening required 
'/usr/share/mantis/gui/core/adodb/adodb.inc.php' (include_path='.') 
in /usr/share/mantis/gui/core/database_api.php on line 26

I think this might have happened with a previous upgrade as well but I don't 
remember how I fixed it and no amount of tinkering seems to have fixed it.

Any ideas how I can fix this?

Many thanks, Graham.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Switching to Debian (from Fedora)

2005-08-23 Thread Graham Smith
On Tuesday 23 August 2005 14:36, Daniel Ramaley wrote:
 On Tuesday 23 August 2005 03:06 am, A. Lanza wrote:
 i've been running Fedora linux for about 3 years now but... i wanted
  to explore Debian as well. Recently, i had to set up a mail system
  and i installed Debian Sarge on an old Pentium 3 machine with 128 MB
  of RAM. The new(?) Sarge installer is quite good and i had no
  problems to set my system up from a net-install CD. apt-get is just
  *great*, i usually use an apt-get port for Fedora as my package
  manager tool.

 I just switched to Debian less than a year ago after being a long time
 Red Hat user (the first Red Hat i installed was 3.0.3). Welcome to the
 club!

 If you like apt-get, try aptitude. It has most of the same command line
 switches, plus a curses GUI that almost makes package management fun. 

For and alternate GUI package manager try synaptic.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



All kde menu entries gone

2005-08-20 Thread Graham Smith
Hi,

Sigh. I know that there are likely to be problems with with unstable, 
especially at the moment, but could anyone tell me how I could get back my 
kde menu entries. The whole application menu system in the kicker (I think 
thats what it's called - the equivalent of the start button on windows) has 
vanished. At the moment I have the logout, run command, lock and quick browse 
entries but nothing else.

I really don't have a clue where to start on this one. KDE configuration seems 
to be a bit of a black art :o)

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: All kde menu entries gone

2005-08-20 Thread Graham Smith
On Saturday 20 August 2005 13:48, Kent West wrote:
 Graham Smith wrote:
 Hi,
 
 Sigh. I know that there are likely to be problems with with unstable,
 especially at the moment, but could anyone tell me how I could get back my
 kde menu entries. The whole application menu system in the kicker (I think
 thats what it's called - the equivalent of the start button on windows)
  has vanished. At the moment I have the logout, run command, lock and
  quick browse entries but nothing else.

 Same here. I just consider things like this a part of running unstable;
 I figure it'll get fixed within a few days; in the meanwhile, I've
 switched over to Icewm.

 --
 Kent

Thanks for the help so far. I have found out what is wrong though. Have a read 
of this bug report and thread

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323747
http://lists.debian.org/debian-kde/2005/08/msg00177.html

seems it is related to the transition to KDE 3.4.2 and the upgrade of the cpp 
libraries.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing device node

2005-08-19 Thread Graham Smith
On Thursday 18 August 2005 18:15, Graham Smith wrote:
 Hi,

 I seem to be missing a device node but I am unsure as to how I should get
 it back.

 I have a machine that has just two ide devices the hard drive and an old
 DVD drive. There is a device node /dev/hda that corresponds to the HD but
 not /dev/hdc for the DVD drive. This latter node has only disappeared since
 I upgraded to kernel version 2.6.12 (two days ago). I suspect, although I
 have no evidence for this, that is has something to do with udev as that is
 the only important thing that start working AFAIK when I upgraded from
 2.6.11.

 The machine certainly seems to be able to find the drive at boot time as
 this extract from dmesg shows

 Probing IDE interface ide0...
 hda: Maxtor 6Y120L0, ATA DISK drive
 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
 Probing IDE interface ide1...
 hdc: CREATIVE DVD-ROM DVD6240E, ATAPI CD/DVD-ROM drive
 ide1 at 0x170-0x177,0x376 on irq 15
 ...
 hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, DMA
 Uniform CD-ROM driver Revision: 3.20

 I am running the amd64 unstable port and have udev and hotplug installed.

 Any ideas what is wrong?

 Graham

This problem seems to have fixed itself with an upgrade of the udev library to 
0.068-1. Don't know if this is _actually_ why the node has reappeared but it 
has.

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Missing device node

2005-08-18 Thread Graham Smith
Hi,

I seem to be missing a device node but I am unsure as to how I should get it 
back.

I have a machine that has just two ide devices the hard drive and an old DVD 
drive. There is a device node /dev/hda that corresponds to the HD but 
not /dev/hdc for the DVD drive. This latter node has only disappeared since I 
upgraded to kernel version 2.6.12 (two days ago). I suspect, although I have 
no evidence for this, that is has something to do with udev as that is the 
only important thing that start working AFAIK when I upgraded from 2.6.11.

The machine certainly seems to be able to find the drive at boot time as this 
extract from dmesg shows

Probing IDE interface ide0...
hda: Maxtor 6Y120L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: CREATIVE DVD-ROM DVD6240E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
...
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20

I am running the amd64 unstable port and have udev and hotplug installed.

Any ideas what is wrong?

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Kaffeine and slow audio

2005-08-15 Thread Graham Smith
Hi,

I have a bit of a problem with audio in kaffeine when playing a dvd and was 
wondering if anyone else has seen this problem. The audio is very slightly (1 
or two seconds in every 10 minutes) slower than the video. It starts off 
alright and then slowly slips out of sync. Pausing and restarting re-syncs it 
(when I pause I hear the audio catch up).

I have done a little investigation work and I think I know why it happens but 
I don't know what is causing it - if you see what I mean. When I play a dvd 
though xine on its own everything is fine and the load average is around 0.3 
when I play a dvd though kaffeine the load average is 1.3 with kaffeine 
reporting about 30% processor time.

I think therefore that the problem lies with kaffeine somewhere but need more 
information before I can fix the problem or submit a useful bug report.

Any ideas what might be wrong?

I'm running the AMD64 port of unstable.

Thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Firefox Segmentation Fault

2005-07-27 Thread Graham Smith
On Tuesday 26 July 2005 20:36, Andreas Fester wrote:
 A segmentation fault occurs when an application tries to access
 memory it is not allowed to access (similar to an access violation on
 other OSs)

I had guessed that was probably what it was. I'm a Java developer (no 
laughing :o)) so things like that just don't happen.

  http://www.steadfastequipment.com/

 The page is incompatible with Debian, because it requires a Windows Media
 Player plugin ;-)

Oh that would be it then :o). Seriously though it's not only that page that 
causes FF to die there are plenty of pages containing only HTML that it 
chokes on as well. It just happens every time with that one.

 Which Debian version are you using? Sarge, Testing, Unstable?
 Which firefox version are you using? I am currently using 1.0.4, but
 there is already the 1.0.6 in unstable. Did you upgrade any other
 packages which firefox depends on, like libpng, libjpeg or something
 similar?

I don't believe I forgot to give this most basic diagnosis info. I'm using the 
pure64 port of unstable running FF 1.0.6. As for other libraries being 
updated maybe I haven't paid that much attention to what was getting updated. 
The box is up to date as far as new packages are concerned.

Anyway following the great instructions given here is the first part of the 
stack trace generated when visiting the page given above:

#0  0x2b5b7d25 in raise () from /lib/libpthread.so.0
#1  0x00cf8954 in nsIDirectoryServiceProvider2::GetIID ()
#2  signal handler called
#3  0x2aaab0dab2bb in NPP_SetWindow () 
from /usr/lib/mozilla/plugins/kaffeineplugin.so
#4  0x2aaab0dab799 in Private_SetWindow () 
from /usr/lib/mozilla/plugins/kaffeineplugin.so
#5  0x0062d585 in nsISupportsArray::GetIID ()
#6  0x006460cf in nsIDirectoryServiceProvider::GetIID ()
#7  0x0063ad1f in nsISupportsArray::GetIID ()
#8  0x008fd826 in nsIComponentRegistrar::GetIID ()
#9  0x008fed7c in nsIComponentRegistrar::GetIID ()
#10 0x008f6d64 in nsIComponentRegistrar::GetIID ()
...

Many thanks for the help.

Graham

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



Re: Firefox Segmentation Fault

2005-07-27 Thread Graham Smith
On Wednesday 27 July 2005 10:28, Graham Smith wrote:

I forgot to mention, when I shutdown FF (rather than let it crash) it spits 
out this error message (all on one line)

Cutting log (size: 102170, max: 10)Component returned failure code: 
0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Component 
returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) 
[nsIFileOutputStream.write]Cutting log (size: 102170, max: 10)Error 
cleaning up log: Component returned failure code: 0x80004005 
(NS_ERROR_FAILURE) [nsISeekableStream.seek]

presumably this is something to do with the log file but I have had a poke 
around under ~/mozilla (which is where firefox seems to keep it's stuff) and 
there is no log file.

Graham

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



Re: MS Project 2003

2005-07-26 Thread Graham Smith
Unfortunately taskjuggler isn't packaged as a .deb because I would be 
interested in having a look at it. It seems there was a shot at packaging it 
a while ago but it's not been touched in an age. Might have a go at compiling 
unless someone knows of a .deb source.

On Tuesday 26 July 2005 05:37, Bradley Alexander wrote:
 There was something similar called TaskJuggler, but I don't know whether or
 not it will read/write Project files. As someone said, Project is a beast,
 and I don't know if TJ is up to that level yet, since I haven't looked at
 it in over a year.

 On Monday 25 July 2005 22:15, Rajiv Vyas wrote:
  Thanks.
 
  On 7/25/05, Michael Z Daryabeygi [EMAIL PROTECTED] wrote:
   Anders Breindahl wrote:
On Tuesday 26 July 2005 02:19, Rajiv Vyas wrote:
   Are there any free software that would open MS Project files?
   
   Rajiv
   
Have you tried `less`?
  
   Why are you picking on (perceived?) newbies? That's not funny.
   I'm pretty sure he needs more functionality than that.
   And I know from his other thread that he is doing his best to get away
   from M$, so we should genuinely try to help him.
  
   Project is a beast that I am afraid to learn. But I would be interested
   to know if anyone has tried it in wine.
  
Regards, Anders Breindahl.
   
OT: My apologies to Rajiv Vyas for clobbing up his/her mailbox.
Why is reply-to not debian-user? Didn't it use to be?
  
   try looking in the archives for the reply-to question. We only just
   went around on this. Just reply-all and delete the sender.
  
   cheers
  
   --
   ~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`
   Michael Z Daryabeygi
   Database Applications Developer
   Sligo Computer Services Co-op
   www.sligowebworks.com http://www.sligowebworks.com
   301.270.9673 x 304
   ~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`~,~`
  
  
   --
   To UNSUBSCRIBE, email to [EMAIL PROTECTED]
   with a subject of unsubscribe. Trouble? Contact
   [EMAIL PROTECTED]

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



Firefox Segmentation Fault

2005-07-26 Thread Graham Smith
Hi,

My firefox keeps dieing with a segmentation fault. First question is: what's a 
segmentation fault? Second: what can I do to find out what is causing it and 
fix it?

There doesn't seem to be any particular cause although I think it is related 
to page rendering. Going to this page

http://www.steadfastequipment.com/

makes it fail every time but it seems fairly random. The problem started today 
but I don't remember seeing firefox get updated today. I suspected for a 
while that it was animated gifs that were causing the problem but that 
doesn't seem to be the case as I tested it on plenty and it didn't fail but 
it did fail on a page without any gifs.

Many Thanks,

Graham

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



USB Pen / Thumb / Keyring Drive

2005-07-25 Thread Graham Smith
Hi,

I was just given a small USB pen drive and would like to get it working with 
Debian. I am sure you are probable thinking Oh god not another n00b that 
can't mount a drive but thankfully you would be wrong. I don't have any 
problems mounting the device but it feels very clunky compared to Windows 
where you just stick the drive in and hey presto it's there ready to be used.

What I would like it something that will just automagically mount the drive. I 
have installed the usbmount package (which I presume is the same as 
usb-mount) but it doesn't seem to do anything. It's created /media/cdrom 
and /media/usb directories but that is it - it doesn't mount the drive when I 
plug it in. I am running KDE on Debian unstable and certain sites seem to 
indicate that one can get KDE to create an icon on the desktop when a usb 
drive is plugged in.

Basically I'm interested to know what are my options are?

Many thanks,

Graham

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



iptables natting

2005-07-12 Thread Graham Smith
Hi folks,

I've got a bit of a problem with setting up forwarding on my firewall and I 
can't seem to figure out what I am doing wrong.

I have a tomcat server running on port 8080 on a machine in my network. I have 
set up the following rules so that the outside world can get to it:

iptables -A FORWARD -i eth0 -o eth1 -d 192.168.0.10 -p tcp -j ACCEPT

iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 8080 -j DNAT 
--to-destination 192.168.0.10

the outside world can now contact that machine on port 8080 (I don't like the 
forwarding rule that much it feels to open I tried to restricted it to just 
port 8080 with the --dport option but it would seem you can't use that on the 
forward table).

Anyway, this natting / forwarding is in place because I am developing against 
another server which needs to contact me at one point. At the end of the 
process the server sends a redirect to a web browser but the redirect always 
fails on my machine. That's not very clear so here is the course of events

1)client (me) is at my website
2)client is redirected by my website to other website
3)other website contacts my server (this is fine so forwarding / natting is 
working)
4)other website redirects client back to my server
5).. nothing happens .. 

I do get a bunch of these appear in the log but adding a forwarding rule that 
lets this through doesn't solve the problem.

Jul 12 13:33:44 server kernel: IN=eth1 OUT=eth1 SRC=192.168.0.10 
DST=192.168.0.10 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=31478 DF PROTO=TCP 
SPT=46062 DPT=8080 WINDOW=5840 RES=0x00 SYN URGP=0

I think the problem is that the redirect is to my public IP address and I am 
on a machine inside the network. I'm pretty sure that if I was outside the 
network this would work fine.

Thanks for any help.

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



Re: iptables natting

2005-07-12 Thread Graham Smith
 | iptables -A FORWARD -i eth0 -o eth1 -d 192.168.0.10 -p tcp -j ACCEPT
 |
 | iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 8080 -j DNAT
 | --to-destination 192.168.0.10

 Change this to:

 iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 8080 -d YOURPUBLICIP
 -j DNAT --to-destination 192.168.0.10

 which will apply the rule only to incoming connections to your public IP.

Ok, that's changed.


 192.168.0.10 is trying to make a connection to 192.168.0.10 on port 8080
 and that's being rejected by your firewall.  Is 192.168.0.10 on the same
 machine as the firewall?


No it's a different machine to the firewall and isn't running iptables itself. 
That's why I don't understand why it doesn't work. The message appears on the 
server machine and eth1 is the internal interface.

Any attempt to contact http://publicipaddress:8080/ is rejected if it comes 
from inside my network but works fine if the connection comes from outside.

-- 

 .¸¸.·´¯`·.¸¸.·´¯`· Shallow Sea Aquatics .¸¸.·´¯`·.¸¸.·´¯`·
 .¸¸.·´¯`·.¸¸.·´¯ http://www.shallowsea.com ¸.·´¯`·.¸¸.·´¯`



Sound not working

2005-06-24 Thread Graham Smith
Hi, I've got a bit of a problem with sound on my system. It works in 
most applications but not all. As it was Friday I decided to install a 
few games and oddly enough sound doesn't work in any I have tried so far 
 for instance NeverBall and TuxRacer. Now I think the problem might be 
that they are trying to use OSS where as I (think at least) am using 
alsa. I have installed also-oss as it looked like it might make things 
work but no joy. I have included the results of lsmod below if that 
helps. Any ideas what might be wrong? Sound is one of those areas that 
just seems to be a black art to me.


TIA, Graham

lsmod | grep snd
snd_intel8x0   35456  4
snd_ac97_codec 82384  1 snd_intel8x0
snd_ioctl3228096  0
snd_pcm_oss55968  0
snd_mixer_oss  19520  1 snd_pcm_oss
snd_pcm95372  5 
snd_intel8x0,snd_ac97_codec,snd_ioctl32,snd_pcm_oss

snd_timer  25160  2 snd_pcm
snd57256  13 
snd_intel8x0,snd_ac97_codec,snd_ioctl32,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

soundcore  11232  1 snd
snd_page_alloc 11144  2 snd_intel8x0,snd_pcm

System Spec
Motherboard: Gigabyte GA-K8NXP-SLI
Video: Gigabyte GV-NX66T128VP
Sound: On Board (8 Point Surround) AC97 Compatible
Network: On Board (2 * Gigabit Ethernet, 1 * Wireless)
Processor: AMD Athlon64 939 3000+ Venice
Memory: 2 * Corsair XMS 512MB PC3200 C2



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sound not working

2005-06-24 Thread Graham Smith

Cam wrote:

Hi,

is there an error regarding sound when you start the game?  I would
think it's probably more likely that the sound daemon is tied up by
esd or something.  look for errors like '/dev/dsp: resource busy'...
if that's the problem you could try installing the libsdl-esd package.

good luck,
Cameron Matheson



NeverPutt gives

neverputt
Sound disabled

TuxRacer (ppracer now) gives

ppracer
PPRacer 0.3.1 --  http://racer.planetpenguin.de
(c) 2004-2005 The PPRacer team
(c) 1999-2001 Jasmin F. Patry[EMAIL PROTECTED]
PPRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

%%% ppracer warning: Warning: Couldn't set 44100 Hz 16-bit audio
  Reason: No available audio device

As for libsdl-esd it doesn't exist but I did notice the 
libsdl1.2debian-* packages. I had the (* = oss) oss package installed. I 
tried installing the all package (* = all) which removed the oss package 
and everything seems to now be working. I wonder what was wrong?


Thanks,
Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: About blackdown

2005-06-23 Thread Graham Smith

Tong wrote:

On Wed, 22 Jun 2005 08:01:56 +0100, Alan Chandler wrote:



Obviously all this from standard debian packages if that is possible



I've noticed that many of the answers for this thread suggest to avoid the
blackdown. Any justification for that? 


The reason I'm asking is that I asked a similar question a while ago, and
got a suggest to use blackdown. I was just about to give it a try.

Here are the quotes from the original suggest:

,-
| I am using blackdown j2re1.4, it works.
| 
| [...]
| 
| the blackdown j2re1.4 works perfectly fine, but it's not DFSG free software

| due to licensing conditions imposed by Sun.
| 
| There are other projects to create a real free software java platform, but

| they are not finished yet.
| 
| [...]
| 
| The sun system is a reasonable alternative, but if I understand correctly it's

| essentially the same as the blackdown system anyway, blackdown port java to
| linux for Sun (and us).  And it's packaged for debian...
`-

Thanks



I believe that the blackdown VM was used as the basis for the first VM 
on Linux but that was a few years ago now and things have moved on. The 
blackdown VM is still being updated AFAIK but isn't at 1.5 levels yet 
(after you have used generics you wouldn't want to go back). You could 
probably use blackdown for web development but I doubt you could use it 
for gui work.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Setting up a Java development environment the debian way.

2005-06-22 Thread Graham Smith

Alan Chandler wrote:
I have decided the time has come to learn java and use it to develop some web 
based applications.  In particular I have a family tree project I want to 
conduct.


I am a complete newbie as far as java is concerned.

I have two debian environments.

Server:  Runs Sarge - and is running Apache2 and Postgres.  I will want the 
ultimate application to run on here (on Tomcat?) and provide its UI via the 
web site and use Postgres database to store its data. 

Apache runs several virtual hosts - one is my current external web site for 
http: access, and also a separate one for https: access I also run two 
internal (to my lan web sites).  Since I want my relatives to be able to add 
information to my family try from external - I will use one of them for my 
production version of the application (depends on security controls I 
decide to adopt).  I will also run the development version of the 
application on one of the internal web sites.


Workstation:  Runs Debian Unstable with KDE as my desktop.


So my questions are:

1) What tools do I need to develop the application.   This includes code 
editiing, build environment, unit testing, I tried to setup eclipse on my 
workstation but there are unsatisfied dependencies (java runtime?).


[Assume I can choose my configuration management environment - subversion 
probably (and especially if its integrated into an IDE) - but I am also 
considering others]


2) What run time environment

[I am assuming from my current position of ignorance that I want to develop 
servlets and jsp pages for this application].


Obviously all this from standard debian packages if that is possible




I realize that I am about to become really unpopular here but... (if 
you're prone to knee jerk reactions I would stop reading now if I were 
you) avoid the open source Java implementations like the plague. I tried 
one (inadvertently) about 6 weeks ago and I was surprised how much was 
implemented. Unfortunately I ran into a bug in the implementation that 
cost me a lot of development time and it has put me off the open source 
VM's for good.


As far as the closed source VMs go I would recommend you go for the 
latest Sun VM. It's fast (for Java) and stable. If you bought a book on 
Java make sure it covers the changes in Java 1.5 (Java 5) as there were 
quite a few - some of which are rather nice.


On the development environment front you have two choices Ecplise or 
NetBeans. I use netbeans as it is better, IMHO, for web development 
(built in tomcat, junit testing, and ant build scripts) but a lot of 
people like eclipse. Running netbeans is easy. It comes with a graphical 
installer or you can just grab the tar ball and just unpack it where 
ever you want (I stick mine in /usr/local). You can choose the VM used 
by netbeans with the --jdkhome flag eg:


/usr/local/netbeans-4.1/bin/netbeans --jdkhome /usr/local/jdk1.5.0_03

As for installing Java I recommend using java-package. It's quick and 
easy and seems to work with all the modern VM packages.


You might also like to install the command line ant from the Debian package.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apache 1.3 to 2.0 migration

2005-06-19 Thread Graham Smith

Almut Behrens wrote:

On Sat, Jun 18, 2005 at 11:44:02AM +0100, Lee Braiden wrote:


On Saturday 18 Jun 2005 11:42, Kevin Coyner wrote:


I now have a need to switch to apache 2.0 (have started using python
and cherrypy in my sites, the latter of which does have more
functionality under apache 2.0).

Are they any special gotcha's that I need to watch for in the
migration process?  I plan to apt-get install apache 2.0 using port
8080 alongside the existing 1.3, which uses port 80.  Once I get the
httpd.conf settings tweaked and all works o.k. on port 8080, I'll
uninstall apache 1.3 and set 2.0 to listen on port 80 and be done.

Will this work?


I think that'll work fine, yes.  Apache 2 splits its config into separate 
files, in /etc/apache2/modules-{enabled,available} 
and /etc/apache2/sites-{enabled,available}.



In addition, be sure to skim over the general (not debian-specific)
changes documented in

http://httpd.apache.org/docs-2.0/upgrading.html
http://httpd.apache.org/docs-2.0/new_features_2_0.html

Otherwise, I'd just migrate (alongside a working 1.3 install) to find
out what does no longer work...  Depending on how complex your config
is, a few minor tweaks might be needed.  In that case, have a look at
the docs specific to the module that the error seems to be related
to... (e.g. things like the directive SuexecUserGroup for mod_suexec
replacing User/Group directives in virtual host sections).

Cheers,
Almut




I got caught out by register_globals it is set to on in the default php.ini
for Apache 1.3 but off in the default php.ini for Apache 2

you might also need to run

dpkg-reconfigure php4-pgsql php4-mysql

to make things like phpbb work again.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




[Bit OT] Printers

2005-06-14 Thread Graham Smith

Hi,

Sorry for the slightly off topic nature of this question but I thought 
this was probably the best place to ask it.


I'm looking to get a half way decent laser printer for my (very) new 
small business. If possible I would like colour but if a sufficiently 
good black and white is available for the right price I will take that 
as it will mostly only be printing packing sheets.


Ideally the printer will live as a separate device on the network but if 
that isn't an option I am happy enough to run it through cups.


In my ideal world it will also have a duplexer or at least be able to 
accept one.


Finally, it _must_ be well supported by Debian (testing) - hence the 
reason for posting the question here - although I suppose if it's a 
network connected PS printer that wouldn't be such an issue.


I would prefer new and I was hoping to pay up to around 300 ($600).

Many thanks for your sage advice.

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [Bit OT] Printers

2005-06-14 Thread Graham Smith


how about putting 'linux' and 'printer' into a search engine, you may
find something like http://www.linuxprinting.org/ which tells you what
works with Linux (but not Debian/testing specifically)

Personally, I've a Brother HL-5150D which does duplex and wasn't
expensive but I do have some problems printing PDFs (the duplexer
insists that it has to be A4 paper and I've obviously not got all the
CUPS  foomatic perfectly set up to do this for all possible PDF files)

Michael



Cheers, I like to think that I am normally pretty good about doing a 
google search before asking a question but for some reason it just 
didn't cross my mind this time. I'll put it down to a really nasty 
migraine that is, shall we say, distracting me.


Anyway, I'll go and have a look around linuxprinting.org now.

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition magic-ally

2005-06-10 Thread Graham Smith

Roberto C. Sanchez wrote:

On Thu, Jun 09, 2005 at 03:21:57PM +0100, Graham Smith wrote:

When I first tried out the new installer yes I did read what documentation was 
available (the version of the installer I used was a pretty early release so I 
thought it would be worth mugging up on it) but I admit that the couple of 
times I have used it recently (in the last month) I didn't read the 
documentation before diving in.


While it would be nice to live in a world where everyone sat down and read all 
the documentation before proceeding few of us actually have time to do that. 
IIRC the problem was that the various different pseudo partitions and their 
interaction with real partitions wasn't very well explained. I think I was also 
confused about whether or not I could boot off a LVM partition.




That is all explained in the LVM-HOWTO.  Sorry, but LVM is an advanced
tool and concept.  Jumping in without reading documentation is not
really a good idea.  That is sort of like complaining becuase you can't
get your C++ program to compile when you haven't bothered to at least
read a book on it.


While I would like to submit a bug report it would be of little use now as it 
was to long ago for me to remember exactly what was wrong and I didn't take 
notes at the time. Hopefully there is someone from the installer group reading 
this thread.


What would have been nice was a 
I-want-to-use-LVM-but-I-can't-be-chuffed-to-learn-about-it-right-now-so-just-give-me-something-sensible 
button. But hey we can't have everything we want.





The problem with LVM s that there is no sensible default.  It is very
dependent on your hardware and other configuration options.  There are
so many permutations that would not be feasible to do that.  It is a
little different with standard partitioning because the only decision to
be made for a normal user is size.  With LVM it depends on whether you
want your root on LVM, if you are or are not using RAID and various
other things.

-Roberto



I agree that LVM is complex, of that there is no doubt, but I completely 
disagree that there isn't a sensible default for a good portion of the 
machines it's installed on. The installer already detects free space and 
asks if it should install Debian in to it. Why can't it just ask another 
question along the lines of would you like me to set up LVM in this 
space?.


I fully realize that this wouldn't be good enough for everyone because 
it doesn't take into account raid arrays or exotic set-ups so there will 
always be a need to control all aspects of the set-up. For the average 
workstation, however, with just one HD that may also contain one other 
OS (which you have to agree is a common machine) there has to be a 
sensible default. If you don't believe me just imagine the default set 
to whatever you would use in that situation - you obviously know a lot 
about this topic so you will likely choose something that is pretty good.


Just because something is complex doesn't mean that people who don't 
_fully_ understand it shouldn't be able to use it. That is like saying 
that you can't drive a car unless you can strip and rebuild the engine.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Top posting

2005-06-10 Thread Graham Smith

I'm not saying I'm right and I often bottom post to not annoy
people but I have to try and convince you to switch.



Who died and left you to rewrite the English language?



No one. I ask you the same question though?

As far as I can see bottom posting has as many advantages and drawbacks 
as top posting. There is very little between them. One of the biggest 
arguments for bottom posting is maintaining context when reading an 
archived thread. I don't remember the last time I didn't go back to the 
start of an archived thread when I have found something I am interested 
in. What with trimming, inlining and a mixture of top and bottom posts 
the context is nearly always lost in any individual post so going back 
to the start of the thread is normally necessary. I find starting at the 
beginning of a thread also, normally, gives me more information about 
the problem I am trying to solve.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Apache PHP Pains, oh the pain!

2005-06-09 Thread Graham Smith

Derek Wueppelmann wrote:

So I've been trying to figure out why when I upgraded from Woody to
Sarge (now stable whu-hoo) my Apache system got all fubar'd. Here is
what I'm seeing.

When accessing the page: http://beta.monkeynet.ca/misc.php I have no
problems. However if I try to access http://beta.monkeynet.ca/ or
http://beta.monkeynet.ca/index.php I'm getting a save as dialog for a
file type of PHTML. The really interesting thing is that if I go to
http://beta.monkeynet.ca/? or http://beta.monkeynet.ca/index.php? I
don't get this save as page.

Can anybody shed some light as to why this would be happening. I have
tried numerous things to get thsi to work but to no avail. I have tried
upgrading to apache2 and then back down to apache. I tried having the
deb package build a brand new httpd.conf file but still not working.
I've gotten so completely frustrated with this, so any help would be
appreciated.



The link

http://beta.monkeynet.ca/index.php

works fine for me. I have had this exact problem as well but I stupidly 
didn't write down the solution (I do remember that it was extremely 
frustrating though). IIRC it's a browser problem and a good clean out of 
the browser cache should fix it.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition magic-ally

2005-06-09 Thread Graham Smith


If you have not yet installed, then don't worry about it.  The installer
lets you choose LVM as an option.  Then you can add your harddrive as a
physical volume and then make it the logical volume.  From there you can
create volume groups, which are analogous to partitions but can be
resized at will.  The installer walks you through the whole process very
nicely.

-Roberto


I have to disagree with the last statement (The installer walks you 
through the whole process very nicely). I've recently installed 2 Debian 
machines using the new installer. Both times I thought about using LVM 
because of it's advantages so I selected that option to have a look at 
it. It just confused the hell out of me to the point where I gave up and 
did a numpty single partition ext3 install (/ and swap separate). It's a 
shame because I would have really liked to have tired LVM. I would say 
that is the one weak point in an otherwise great installer.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition magic-ally

2005-06-09 Thread Graham Smith

Roberto C. Sanchez wrote:

On Thu, Jun 09, 2005 at 12:28:44PM +0100, Graham Smith wrote:


If you have not yet installed, then don't worry about it.  The installer
lets you choose LVM as an option.  Then you can add your harddrive as a
physical volume and then make it the logical volume.  From there you can
create volume groups, which are analogous to partitions but can be
resized at will.  The installer walks you through the whole process very
nicely.
-Roberto


I have to disagree with the last statement (The installer walks you through the 
whole process very nicely). I've recently installed 2 Debian machines using the 
new installer. Both times I thought about using LVM because of it's advantages 
so I selected that option to have a look at it. It just confused the hell out 
of me to the point where I gave up and did a numpty single partition ext3 
install (/ and swap separate). It's a shame because I would have really liked 
to have tired LVM. I would say that is the one weak point in an otherwise great 
installer.





Did you read the docs prior?  Because I really had no problem with it.
I'm not sure what confused you.  Did you file a bug a against the
install-reports pseudopackages?  It would have helpped the installer
developers to improve it.

-Roberto



When I first tried out the new installer yes I did read what 
documentation was available (the version of the installer I used was a 
pretty early release so I thought it would be worth mugging up on it) 
but I admit that the couple of times I have used it recently (in the 
last month) I didn't read the documentation before diving in.


While it would be nice to live in a world where everyone sat down and 
read all the documentation before proceeding few of us actually have 
time to do that. IIRC the problem was that the various different pseudo 
partitions and their interaction with real partitions wasn't very well 
explained. I think I was also confused about whether or not I could boot 
off a LVM partition.


While I would like to submit a bug report it would be of little use now 
as it was to long ago for me to remember exactly what was wrong and I 
didn't take notes at the time. Hopefully there is someone from the 
installer group reading this thread.


What would have been nice was a 
I-want-to-use-LVM-but-I-can't-be-chuffed-to-learn-about-it-right-now-so-just-give-me-something-sensible 
button. But hey we can't have everything we want.


Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Top posting

2005-06-09 Thread Graham Smith

Lech Karol Pawaszek wrote:

On Thursday 09 of June 2005 22:13, Mike Ward wrote:
[...]


Afterall, I honestly never had heard of 'top-posting' before until
now, but just this gentle reminder means that at least one occasional
user is now posting more 'correctly'.



Hooray! :-)

If you would like to post even more 'correctly' - please read Netiquette RFC 
(also known as How to behave on the internet) which is right here:


http://www.dtcc.edu/cs/rfc1855.html

or at least 3.0 One-to-Many Communication (Mailing Lists, NetNews) section.

TIA. Regards,



I know that this will put the cat amongst the pigeons but I actually 
prefer top posting. I've been reading newsgroups and mailing lists for 
years and I have always thought that bottom posting was the wrong way to 
do it.


I understand the reasons why bottom posting is supposed to be better but 
if I am following the thread, which is normally the case if I'm actually 
reading it, then I find it quicker to read just the top section of each 
post rather than having to scroll down past everything I've already 
read. There isn't a problem with context because I can remember that 
from one post to the next. If the author wants to quote a section of the 
previous post they can in the extreme they end up inlining their post.


I'm not saying I'm right and I often bottom post to not annoy people but 
I have to try and convince you to switch.


Graham

PS Have you noticed that there aren't many people who are top posting 
zealots? I wonder why. Maybe tops posters are just more relaxed and 
chilled out people. :o)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Strange KDE Problem

2005-06-08 Thread Graham Smith
I have recently started experiencing a strange problem with KDE whereby 
for some unknown reason it switches to Gnome (while I'm logged in - I 
didn't think that was possible). The most obvious sign that this has 
happened is the background picture set under KDE disappears and the 
right click on the desktop is ignored (no menu pops up). I get no 
messages in /var/log/syslog when it happens.


I'm running the pure64 port of sid with KDE 3.3.2. I think, but I can't 
confirm this because it doesn't happen every time, that it has something 
to do with Open Office or the chroot it is running in. I say this 
because the problem seems to occur after I start Open Office (it might 
just be the screen saver though but it seems more common with OO).


I have my /home NFS mounted which is then bound into the chroot as is a 
/data directory. /data holds the background picture and is accessible to 
both the main system and the chroot (in other words it's not an NFS 
problem).


Any ideas?

Thanks, Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Strange KDE Problem

2005-06-08 Thread Graham Smith
I have recently started experiencing a strange problem with KDE which 
causes the background picture to disappear and the right click on the 
desktop to be ignored (no menu pops up). I get no messages in 
/var/log/syslog when it happens.


I'm running the pure64 port of sid with KDE 3.3.2. I think, but I can't 
confirm this because it doesn't happen every time, that it has something 
to do with Open Office or the chroot it is running in. I say this 
because the problem seems to occur shortly after I start or stop Open 
Office (it might just be the screen saver though but it seems more 
common with OO).


I have my /home NFS mounted which is then bound into the chroot as is a 
/data directory. /data holds the background picture and is accessible to 
both the main system and the chroot (in other words it's not an NFS 
problem).


Any ideas?

Thanks, Graham

--

 ..`..` Shallow Sea Aquatics ..`..`
 ..`.. http://www.shallowsea.com .`..`


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Strange KDE Problem

2005-06-08 Thread Graham Smith

Roberto C. Sanchez wrote:

On Wed, Jun 08, 2005 at 03:33:37PM +0100, Graham Smith wrote:

I have recently started experiencing a strange problem with KDE whereby for 
some unknown reason it switches to Gnome (while I'm logged in - I didn't think 
that was possible). The most obvious sign that this has happened is the 
background picture set under KDE disappears and the right click on the desktop 
is ignored (no menu pops up). I get no messages in /var/log/syslog when it 
happens.


I'm running the pure64 port of sid with KDE 3.3.2. I think, but I can't confirm 
this because it doesn't happen every time, that it has something to do with 
Open Office or the chroot it is running in. I say this because the problem 
seems to occur after I start Open Office (it might just be the screen saver 
though but it seems more common with OO).


I have my /home NFS mounted which is then bound into the chroot as is a /data 
directory. /data holds the background picture and is accessible to both the 
main system and the chroot (in other words it's not an NFS problem).


Any ideas?


Make sure you are not accidentally starting nautilus.  It will happily
take over your session.  I have had this happen to me in WindowMaker.

-Roberto



Ok that's a little odd. I found nautilus running but I didn't start it. 
I suppose some other application must have started it for some reason (I 
presume OpenOffice did it). Killing nautilus hasn't brought my desktop 
back. I checked to see if I had openoffice.org-gtk-gnome installed and I 
didn't (I have the KDE pack installed).


Any ideas of how I can stop this from happening because it's really 
annoying?


PS Sorry if you got the original question 4 times. Not sure what 
happened there. I originally posted it with the wrong (non-subscribed) 
email address and presumed it would get dumped but it just showed up.


Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: lilo to grub conversion

2005-06-02 Thread Graham Smith

Alex Malinovich wrote:

On Wed, 2005-06-01 at 15:36 +0100, Graham Smith wrote:


Hi all,

I am running a testing machine that is currently using lilo for it's 
boot loader. I would like to switch this to grub but I am a little 
confused about how to go ahead and do this.


I have installed the grub package but it doesn't seem to have set itself 
up as other packages do. There is not /boot/grub folder for instance and 
it didn't tell me it was writing itself to the boot block. This leads me 
to believe that if I reboot I will still be using lilo - I am a little 
scared about rebooting to find though :o)


Can someone give me a couple of pointers about what to do next. I have 
grabbed the grub-doc and while it's great there's so much of it that's 
also half the problem.



There are some pretty easy to follow directions to be found
in /usr/share/doc/grub/README.Debian.gz

You'll need to run a few commands as root, double-check your menu.lst,
and you'll be all set to go. It's actually a lot easier than most people
expect.



Ok I have read the instructions but I am a little confused / concerned 
about the section on initrd images larger that 4MB (4194304 bytes). 
Almost all the stock initrd images are larger than 4MB 
(initrd.img-2.6.8-2-386 is 4317184 bytes and is the one I want to use) 
but the menu.lst files on my other machines (which all use grub already) 
don't have a ramdisk_size=16384 option anywhere. Where would I put this 
option anyway as the documentation is a little vague - I presume it 
should be after kopt eg:


kopt=ramdisk_size=16384

but that looks wrong.

I have /boot as a separate partition on this machine so I have the 
directory structure


/boot/boot/grub

which looks odd but seems to be right according to the instructions. Is 
this structure needed because grub looks directly at the partition that 
has /boot on it (/dev/hda1 in my case) and expects to see the /boot/grub 
directory hierarchy?


The instructions also say that update-grub will create 
/boot/boot/menu.lst in cases where /boot is a separate partition. I take 
it this is just a typo and they meant /boot/boot/grub/menu.lst as that 
is where the file was created.


Sorry to ask so many questions. I just really really don't want to screw 
this up.


Huge Heaps of Thanks

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: lilo to grub conversion

2005-06-02 Thread Graham Smith

s. keeling wrote:

Incoming from Graham Smith:


Alex Malinovich wrote:


On Wed, 2005-06-01 at 15:36 +0100, Graham Smith wrote:

I am running a testing machine that is currently using lilo for it's 
boot loader. I would like to switch this to grub but I am a little 
confused about how to go ahead and do this.


There are some pretty easy to follow directions to be found
in /usr/share/doc/grub/README.Debian.gz


Ok I have read the instructions but I am a little confused / concerned 
about the section on initrd images larger that 4MB (4194304 bytes). 
Almost all the stock initrd images are larger than 4MB 
(initrd.img-2.6.8-2-386 is 4317184 bytes and is the one I want to use) 
but the menu.lst files on my other machines (which all use grub already) 
don't have a ramdisk_size=16384 option anywhere. Where would I put this 
option anyway as the documentation is a little vague - I presume it 
should be after kopt eg:


kopt=ramdisk_size=16384



I don't use it but mine has a comment:

   # kopt_2_6_0=ramdisk_size=8192 root=/dev/hda9 ro acpi=yes



Thanks for the help. You do actually have a non-default ramdisk size. 
The default is 4MB you are using 8. The comment isn't really a comment 
as such. It's actually a bit of magic that is used by update-grub. To be 
on the safe side I stuck a ramdisk_size=16384 on my kopt.


To the world in general: I'm am still interested to know whether the 
machine would have booted with out this option being added. If not then 
shouldn't update-grub probe the size of initrd images and check to make 
sure they are all smaller than 4MB, adding the required ramdisk_size 
option if they aren't? It seems to me like this would be a very simple 
extension as update-grub is doing it's magic on a currently running 
system it should be easy to find the size of the various files.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




lilo to grub conversion

2005-06-01 Thread Graham Smith

Hi all,

I am running a testing machine that is currently using lilo for it's 
boot loader. I would like to switch this to grub but I am a little 
confused about how to go ahead and do this.


I have installed the grub package but it doesn't seem to have set itself 
up as other packages do. There is not /boot/grub folder for instance and 
it didn't tell me it was writing itself to the boot block. This leads me 
to believe that if I reboot I will still be using lilo - I am a little 
scared about rebooting to find though :o)


Can someone give me a couple of pointers about what to do next. I have 
grabbed the grub-doc and while it's great there's so much of it that's 
also half the problem.


Cheers

Graham


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




apt problem - ldconfig segmentation fault

2004-09-24 Thread Graham Smith
I tried installing nmap a couple of days ago and ran into a bit of a 
problem. ldconfig seems to have died with a segmentation fault. In the 
past when I have had problems with apt they have resolved themselves in 
a couple of days when a working version of a package appears but this 
problem isn't fixing it self. I have had a good google for it but I 
can't find anything particularly relevant. Any help would be greatly 
appreciated.

I am running testing with the 2.6.7 kernel on i386 (slightly off topic 
question but I am sure I saw 2.6.8 appear and then disappear from 
testing  and I can't find kernel-image-2.6-386 in testing any more has 
it been removed for some reason?)

graham
[EMAIL PROTECTED]:~# apt-get -u install nmap
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  nmap
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
6 not fully installed or removed.
Need to get 0B/542kB of archives.
After unpacking 1733kB of additional disk space will be used.
Selecting previously deselected package nmap.
(Reading database ... 121034 files and directories currently installed.)
Unpacking nmap (from .../archives/nmap_3.70-1_i386.deb) ...
Setting up libapr0 (2.0.51-2) ...
/var/lib/dpkg/info/libapr0.postinst: line 13:  2968 Segmentation fault 
ldconfig
dpkg: error processing libapr0 (--configure):
 subprocess post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of apache2-common:
 apache2-common depends on libapr0 (= 2.0.51); however:
  Package libapr0 is not configured yet.
dpkg: error processing apache2-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on libapr0 (= 2.0.51); however:
  Package libapr0 is not configured yet.
 apache2-mpm-prefork depends on apache2-common (= 2.0.51-2); however:
  Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
Setting up libgail17 (1.6.6b-1) ...
/var/lib/dpkg/info/libgail17.postinst: line 6:  2970 Segmentation fault 
 ldconfig
dpkg: error processing libgail17 (--configure):
 subprocess post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of libgail-common:
 libgail-common depends on libgail17 (= 1.6.6); however:
  Package libgail17 is not configured yet.
dpkg: error processing libgail-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-media:
 gnome-media depends on libgail-common (= 1.4.1); however:
  Package libgail-common is not configured yet.
 gnome-media depends on libgail17 (= 1.4.1); however:
  Package libgail17 is not configured yet.
dpkg: error processing gnome-media (--configure):
 dependency problems - leaving unconfigured
Setting up nmap (3.70-1) ...

Errors were encountered while processing:
 libapr0
 apache2-common
 apache2-mpm-prefork
 libgail17
 libgail-common
 gnome-media
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt problem - ldconfig segmentation fault

2004-09-24 Thread Graham Smith
A re-install seems to have fixed it. Although I have no idea how it 
broke in the first place.

Thanks
Joris Huizer wrote:
Graham Smith wrote:
I tried installing nmap a couple of days ago and ran into a bit of a 
problem. ldconfig seems to have died with a segmentation fault. In the 
past when I have had problems with apt they have resolved themselves 
in a couple of days when a working version of a package appears but 
this problem isn't fixing it self. I have had a good google for it but 
I can't find anything particularly relevant. Any help would be greatly 
appreciated.

I am running testing with the 2.6.7 kernel on i386 (slightly off topic 
question but I am sure I saw 2.6.8 appear and then disappear from 
testing  and I can't find kernel-image-2.6-386 in testing any more has 
it been removed for some reason?)

graham

What happens if you do,
  apt-get --reinstall install libc6
(ldconfig is provided by libc6)
If that doesn't work, I'd try the libc6 source (apt-get build-dep libc6 
 apt-get -b source libc6)

HTH,
Joris


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]