Re: removing /var/empty on a non-system disk

2012-05-26 Thread Wojciech Puchar

what ls -lod empty says?

On Fri, 25 May 2012, Gary Aitken wrote:


On 05/25/12 14:38, Wojciech Puchar wrote:

chflags noschg is your friend.


Not in this case.
If you look at the commands attempted, that was already tried (line 282)
Topmost login had to be as root.


On Fri, 25 May 2012, Gary Aitken wrote:


something I'm not seeing

I've got a disk previously used as a sys disk I'm trying to clean up.
What's the key to removing /var/empty?

280 /hd1/var#sysctl kern.securelevel
kern.securelevel: -1
281 /hd1/var#ls -l
total 4
dr-xr-xr-x 2 root wheel 512 Jan 3 00:55 empty
282 /hd1/var#chflags noschg empty
283 /hd1/var#chmod 777 empty
chmod: empty: Operation not permitted
284 /hd1/var#rmdir empty
rmdir: empty: Operation not permitted



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-26 Thread Wojciech Puchar

I am running KDE 4.8 from January on my Linux computer. Now is almost June and
we got KDE 4.8 on FreeBSD too. 5 months testing and it works? No. The modern
OS for the desktop computer doesn;t works. O.K. OS works but installatoon of 5
months testing of KDE doesn;t.


so stop using trendy desktop and just start to do actual work and you 
will not be upset any more but happy.


Desktop environments offer exactly zero value and do nothing.
Just use fvwm2, maybe icewm, tune it to your needs and start working.
use xterm as your start button by starting program you need from command 
like. configure fvwm2 to have multiple virtual desktop switchable by 
keystrokes so you will have something like standard text console just in 
X11 with ability to run X11 programs.


in most cases - run one program on one virtual desktop. Multiple windows 
on screen is only fashionable but useless in practice.
After a while you will end in removing every unneeded things that are only 
fashionable but just wastes time and monitor space. For example window 
frames and titles.




Desktop environments are required so average winuser will not 
protest too much when i do X11 terminal based configuration.
but i use gnome2 this case with gdm as it is far faster (==less slow) than 
KDE, and as well as KDE gives nothing but looks more windows-like.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ports tree

2012-05-26 Thread Henri Reinikainen
Hi

Would it be stupid idea to have publicly available, mountable (nfs)
partition, with full port tree(s)? I think it would be good for
systems with low storage space. I know hd space is cheap, but I run
over and over to this problem.

I don't know how easily it could be done, but some kind of session
based temporary write permissions would be good too. To be able to
make  make install directly from mounted partition.

I don't think very many people would need to have local personal copy
of ports tree then.

So, is this just stupid?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports tree

2012-05-26 Thread Matthew Seaman
On 26/05/2012 07:57, Henri Reinikainen wrote:
 Would it be stupid idea to have publicly available, mountable (nfs)
 partition, with full port tree(s)? I think it would be good for
 systems with low storage space. I know hd space is cheap, but I run
 over and over to this problem.
 
 I don't know how easily it could be done, but some kind of session
 based temporary write permissions would be good too. To be able to
 make  make install directly from mounted partition.
 
 I don't think very many people would need to have local personal copy
 of ports tree then.
 
 So, is this just stupid?

Not stupid, but certainly impracticable.  Remote mounting filesystems
over the internet is not going to be anything like scalable, and the
bandwidth requirements would be horrid.  As an end-user, performance
would suck -- inescapably, as you'ld be hit hard by latency.  Basically,
if you could afford the sort of network connectivity that would make
such a setup feasible, then you could easily afford sufficient local
storage that you wouldn't want to use a remote mount.

Also, forget the idea of *writing* to any such share disk space.  The
security problems with that just don't bear thinking about.

NFS mounting /usr/ports within a local network -- now, that's a
completely different kettle of fish.  You do need to tweak WRKDIRPREFIX
if you're going to have several systems building from the same tree
simultaneously, and it's probably going to be more effective for you to
use one machine as a central package build server and just install from
packages on your limited systems.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: ports tree

2012-05-26 Thread Thomas Mueller
from Henri Reinikainen henr...@gmail.com:

 Would it be stupid idea to have publicly available, mountable (nfs)
 partition, with full port tree(s)? I think it would be good for
 systems with low storage space. I know hd space is cheap, but I run
 over and over to this problem.

 I don't know how easily it could be done, but some kind of session
 based temporary write permissions would be good too. To be able to
 make  make install directly from mounted partition.

 I don't think very many people would need to have local personal copy
 of ports tree then.

 So, is this just stupid?

What happens if the port a remote user is trying to build and install is 
updated in the middle of this remote activity?

Users of ports tree then must deal with a moving target.  Files from two 
different versions might get mixed together.

I think maybe this thread should go to po...@freebsd.org list?

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-26 Thread Fernando Apesteguía
El 26/05/2012 03:13, ajtiM lum...@gmail.com escribió:

 Why I am upset but not just me?

 I am running KDE 4.8 from January on my Linux computer. Now is almost
June and
 we got KDE 4.8 on FreeBSD too. 5 months testing and it works? No. The
modern
 OS for the desktop computer doesn;t works. O.K. OS works but installatoon
of 5
 months testing of KDE doesn;t.
 And help? Read /usr/ports/UOPDATING!! I red before I start inastallation
but I
 am not sure if helpers did! Thank you for wasting my time.

You're welcome :)

Just serious now. I see you are frustrated, but it woul help if you gave
the list a hint of what the actual problem is. You complained a lot, but
you didn't specify the problem!


 Mitja
 
 http://jpgmag.com/people/lumiwa
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Dear list,
I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero status (1)
bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero status (1)

--- cut ---

Can you tell me what goes wrong here and how to solve this?

thanks in advance,
Jos Chrispijn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Dear list,
I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero 
status (1)

bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero 
status (1)


--- cut ---

Can you tell me what goes wrong here and how to solve this?

thanks in advance,
Jos Chrispijn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NewSysLog | Crontab

2012-05-26 Thread Matthew Seaman
On 26/05/2012 12:02, Jos Chrispijn wrote:
 I have this issue with bzip2 and the generation of backup logfiles.
 This is the error I get:
 
 --- cut ---
 
 bzip2: I/O or other error, bailing out.  Possible reason follows.
 bzip2: No such file or directory
 Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
 newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero
 status (1)
 bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
 newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero
 status (1)
 
 --- cut ---
 
 Can you tell me what goes wrong here and how to solve this?

The underlying problem seems to be problems writing to /var/log.
Is the partition (/var probably) full up or out of inodes?

   df -ih /var/log

Also, look at the console to see if anything has been logged there.

If it isn't running out of space, then check that the directory hasn't
got weird flags settings:

   ls -laoR /var/log

Having something like noschg set on the directory would cause the
observed symptoms, but I am at a loss to understand how on earth
anything like that could come about.

There are a couple of other things it might be, but it's quite unlikely
you wouldn't get crashes, coredumps and other signs of the end-times
should any of those be the case.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs

Hello,

while updating my system I got the following error message while make 
installworld:


=== syscons/green (install)
install -o root -g wheel -m 555   green_saver.ko /boot/kernel
install -o root -g wheel -m 555   green_saver.ko.symbols /boot/kernel
kldxref /boot/kernel
kldxref: /boot/kernel/kernel: too many sections
kldxref: error while reading /boot/kernel/kernel: Bad address
su:/usr/src$

I tried to remove the /usr/obj and remake the kernel by make buildkernel 
again but the error remains.

I use 8.2-STABLE with a freshly updated RELENG_8 src.

I do not build all kernel modules so I have the following in my make.conf
MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green

However - I don't think this explains the misbehavior of kldxref.

Can anybody give me a hint where to search for the bug?

Best regards,
 Martin Laabs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Wojciech Puchar

install -o root -g wheel -m 555   green_saver.ko /boot/kernel
install -o root -g wheel -m 555   green_saver.ko.symbols /boot/kernel
kldxref /boot/kernel
kldxref: /boot/kernel/kernel: too many sections
kldxref: error while reading /boot/kernel/kernel: Bad address
su:/usr/src$

I tried to remove the /usr/obj and remake the kernel by make buildkernel 
again but the error remains.

I use 8.2-STABLE with a freshly updated RELENG_8 src.

I do not build all kernel modules so I have the following in my make.conf
MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green


is it i386/amd64? strange

didn't you set -j option to make when doing install?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports tree

2012-05-26 Thread Wojciech Puchar

Would it be stupid idea to have publicly available, mountable (nfs)
partition, with full port tree(s)? I think it would be good for
systems with low storage space. I know hd space is cheap, but I run
over and over to this problem.


read only or read write?
public read write isn't smart.


I don't know how easily it could be done, but some kind of session
based temporary write permissions would be good too. To be able to
make  make install directly from mounted partition.


man mount_unionfs



I don't think very many people would need to have local personal copy
of ports tree then.

So, is this just stupid?


no.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-26 Thread Michael Powell
Fernando Apesteguía wrote:

[snip]
 
 Just serious now. I see you are frustrated, but it woul help if you gave
 the list a hint of what the actual problem is. You complained a lot, but
 you didn't specify the problem!

He didn't because it is so extremely obvious a case of pure PEBKAC.

 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs

Hi,

On 05/26/12 15:46, Wojciech Puchar wrote:
[...]

I do not build all kernel modules so I have the following in my make.conf
MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green


is it i386/amd64? strange
didn't you set -j option to make when doing install?



Sorry - it is an i386 kernel and I didn't either use -j for make nor I have 
such an entry in my make.conf. The kernel configuration I used also worked 
for at least two years (the time, the machine is up)


Best regards,
 Martin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports tree

2012-05-26 Thread Henri Reinikainen
On Sat, May 26, 2012 at 4:48 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 Would it be stupid idea to have publicly available, mountable (nfs)
 partition, with full port tree(s)? I think it would be good for
 systems with low storage space. I know hd space is cheap, but I run
 over and over to this problem.


 read only or read write?
 public read write isn't smart.


I was thinking unionfs kind of temporary layer which keeps physical content
separated. Only write changes to memory file system or so.. session end
will throw everything into bits heaven (/dev/null). :)



  I don't know how easily it could be done, but some kind of session
 based temporary write permissions would be good too. To be able to
 make  make install directly from mounted partition.


 man mount_unionfs


This was good to know.




  I don't think very many people would need to have local personal copy
 of ports tree then.

 So, is this just stupid?


 no.


Is there such environment variables that can be pointed to writeable
partition? That sources download and compiles on different partition. Then
there is no bandwidth problem since only Makefile kind of files get readed
from the server.

Well, maybe this idea wont fly. I'm going to buy new hd anyways. :) Thanks
anyways!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports tree

2012-05-26 Thread Wojciech Puchar



This was good to know.


as others told there is smarter way to do this
set WRKDIRPREFIX to somewhere else.


no.


Is there such environment variables that can be pointed to writeable partition? 
That sources download and compiles on different
partition. Then there is no bandwidth problem since only Makefile kind of files 
get readed from the server.


WRKDIRPREFIX solves work directory.

if you properly regulate access rights and YOU administer that machines, i 
would do NFS mounted read-write /usr/ports/distfiles.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Martin Laabs

Hello,

On 05/26/12 16:33, Wojciech Puchar wrote:

how do you compile kernel


cd /usr/src/sys/i386/conf
ee SERVER_KERNEL
cd /usr/src
make buildkernel
make installkernel

with the following line in make.conf:
KERNCONF=SERVER_KERNEL


something much get f...d up. what version of FreeBSD is it. i can try it
myself


FreeBSD server.martinlaabs.de 8.2-STABLE FreeBSD 8.2-STABLE #3: Sat Dec 24 
01:21:34 CET 2011 
mar...@server.martinlaabs.de:/usr/obj/usr/src/sys/SERVER_KERNEL  i386


You can find my kernel config at
http://www.martinlaabs.de/tmp/SERVER_KERNEL

Thank you,
 Martin Laabs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NewSysLog | Crontab

2012-05-26 Thread Jos Chrispijn

Hi Matthew,

Thanks, will investigate this...

best regards,
Jos


Matthew Seaman:

On 26/05/2012 12:02, Jos Chrispijn wrote:

I have this issue with bzip2 and the generation of backup logfiles.
This is the error I get:

--- cut ---

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No such file or directory
 Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero
status (1)
bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero
status (1)

--- cut ---

Can you tell me what goes wrong here and how to solve this?

The underlying problem seems to be problems writing to /var/log.
Is the partition (/var probably) full up or out of inodes?

df -ih /var/log

Also, look at the console to see if anything has been logged there.

If it isn't running out of space, then check that the directory hasn't
got weird flags settings:

ls -laoR /var/log

Having something like noschg set on the directory would cause the
observed symptoms, but I am at a loss to understand how on earth
anything like that could come about.

There are a couple of other things it might be, but it's quite unlikely
you wouldn't get crashes, coredumps and other signs of the end-times
should any of those be the case.

Cheers,

Matthew


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


INVESTISSEMENT SOLAIRE 9% Securite EDF et REVENTE a 6 ans MP

2012-05-26 Thread CN2i SOLAIRE 9% Rendement Sud FRANCE

   Pour afficher correctem= ent la page  [1]Cliquez-ici

   Pour = Devenir Partenaire  [2]Cliq= uez-ici
   [3]3DPV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20
   Pour Dev= enir Partenaire  [4]Cliq= uez-ici
   Michael FRAYSSE ?n= bsp;Direction ?   CN2i DEVELOPPEMENT
   Site Web :  [5]www.cn2i.fr  n= bsp;  nb= sp; Skype
   :?michael.frayss= e
   Accueil :   05 . 61 . 214 . 942   = ;   Mobile de
   Permanence :  06 . 60 . 168 . 528
   Fax ? Back Office ?  : = ; 08 . 21 . 896 . 859
_
   = __
   ?CN2i D?veloppement ? Promoteur National en Investissement
   Photovolta?que ?
   ? Plate-forme de Commercialisation Centrales Solaires
   Photovolta?q= ues ?
   Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000
   ?= nb= sp;= nb   sp;
   Si?ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE
   __
   _
   Michael Tv  Piano  YouTube :
   [6]http://www.youtube.com/user/MichaelMusicPiano/videos
   Michael Tv Piano  Dailymotion :
   [7]http://www.dailymotion.com/Michael_Fraysse?fbc=503
   [8]DESINSCRIPTION : CLIQUEZ-ICI
   
References

   1. 3Dhttp://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL   2. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   3. 3Dhttp://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq   4. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   5. 3Dhttp://www.cn2i.fr/
   6. 3Dhttp://www.youtube.com/user/MichaelMusicPiano/videos;
   7. 3Dhttp://www.dailymotion.com/Michael_Fraysse?fbc=503;
   8. 
3Dmailto:desabo-sola...@e-mailink.fr?Subject=Ref_Desabo=Elk-50___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


INVESTISSEMENT SOLAIRE 9% Securite EDF et REVENTE a 6 ans MP

2012-05-26 Thread CN2i SOLAIRE 9% Rendement Sud FRANCE

   Pour afficher correctem= ent la page  [1]Cliquez-ici

   Pour = Devenir Partenaire  [2]Cliq= uez-ici
   [3]3DPV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20
   Pour Dev= enir Partenaire  [4]Cliq= uez-ici
   Michael FRAYSSE ?n= bsp;Direction ?   CN2i DEVELOPPEMENT
   Site Web :  [5]www.cn2i.fr  n= bsp;  nb= sp; Skype
   :?michael.frayss= e
   Accueil :   05 . 61 . 214 . 942   = ;   Mobile de
   Permanence :  06 . 60 . 168 . 528
   Fax ? Back Office ?  : = ; 08 . 21 . 896 . 859
_
   = __
   ?CN2i D?veloppement ? Promoteur National en Investissement
   Photovolta?que ?
   ? Plate-forme de Commercialisation Centrales Solaires
   Photovolta?q= ues ?
   Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000
   ?= nb= sp;= nb   sp;
   Si?ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE
   __
   _
   Michael Tv  Piano  YouTube :
   [6]http://www.youtube.com/user/MichaelMusicPiano/videos
   Michael Tv Piano  Dailymotion :
   [7]http://www.dailymotion.com/Michael_Fraysse?fbc=503
   [8]DESINSCRIPTION : CLIQUEZ-ICI
   
References

   1. 3Dhttp://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL   2. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   3. 3Dhttp://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq   4. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   5. 3Dhttp://www.cn2i.fr/
   6. 3Dhttp://www.youtube.com/user/MichaelMusicPiano/videos;
   7. 3Dhttp://www.dailymotion.com/Michael_Fraysse?fbc=503;
   8. 
3Dmailto:desabo-sola...@e-mailink.fr?Subject=Ref_Desabo=Elk-50___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[ports] why no libXXX after make install of libXXX?

2012-05-26 Thread Gary Aitken
I'm trying to install audacious, which depends on libmowgli.
The port fails to build because of a missing library.
Shouldn't the build of a library result in the library being placed in 
/usr/local/lib?

  cd multimedia/audacious 
  make -v install

results in:
  ...
  ===   libmcs-0.7.2_1 depends on shared library: mowgli.2 - not found
  ===Verifying install for mowgli.2 in /usr/ports/devel/libmowgli
  ===  License check disabled, port has not defined LICENSE
  = libmowgli-1.0.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
  = Attempting to fetch http://distfiles.atheme.org/libmowgli-1.0.0.tar.bz2
  libmowgli-1.0.0.tar.bz2   100% of  103 kB  128 kBps
  ===  Extracting for libmowgli-1.0.0
  = SHA256 Checksum OK for libmowgli-1.0.0.tar.bz2.
  ===  Patching for libmowgli-1.0.0
  ...
  ===  Building for libmowgli-1.0.0
  ...
  ===  Installing for libmowgli-1.0.0
  ===   Generating temporary packing list
  ===  Checking if devel/libmowgli already installed
  ..,
  ===   Running ldconfig
  /sbin/ldconfig -m /usr/local/lib
  ===   Registering installation for libmowgli-1.0.0
  ===   Returning to build of libmcs-0.7.2_1
  Error: shared library mowgli.2 does not exist

Background:

I had originally installed some packages, including gnome.
I thought I had removed all of them before building ports.
When the above error first occurred, there was a
  libmowgli.so
  libmowgli.so.2
in /usr/local/lib.
In trying to fix things, a make deinstall removed them,
and no subsequent make install has put them back.
I'm guessing they were left-over from a package install.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NewSysLog | Crontab

2012-05-26 Thread Matthew Seaman
On 26/05/2012 18:41, Jos Chrispijn wrote:
 Thanks, will investigate this...

Keeping the list in the loop...

 % df -ih /var/log
 
 Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
 /dev/ada0p2 453G 5.8G 411G 1% 468k 29M 2% /

One big partition for the whole OS?

 % ls -laoR /var/log
 
 total 448
 drwxr-xr-x   5 rootwheel-  1024 May 26 00:00 .
 drwxr-xr-x  23 rootwheel-   512 May 17 19:57 ..
 drwx--   2 rootwheel-   512 May 22 23:30 .spamassassin
 -rw-r--r--   1 rootwheel- 1 May 23 16:04 Minimalist.log
 -rw---   1 rootwheel-60 May 26 00:00 all.log
 -rw---   1 rootwheel-14 May 26 00:00 all.log.0.bz2
 -rw---   1 rootwheel-14 May 25 00:00 all.log.2.bz2
 -rw---   1 rootwheel-14 May 24 00:00 all.log.4.bz2
 -rw---   1 rootwheel-14 May 23 00:00 all.log.6.bz2

Oooh, fun.  None of the obvious ideas were right, and this is looking
really quite mysterious.  You've only got even numbered versions of
all.log backups, but they are spaced 1 day apart, which is the usual
recycle timing for all.log.

However, there's not much in your all.log at all.  It should get at
least a message every 5 minutes assuming it's configured.  Did you turn
on the all.log in /etc/syslogd.conf at all?  Or do those 60 bytes in
all.log just say something very much like this:

# cat /var/log/all.log
May 26 00:00:00 lucid-nonsense newsyslog[23677]: logfile turned over

(obviously, with your hostname instead and a different PID for
newsyslog, and maybe a different date.)

In which case, you're not actually logging anything to all.log at all,
and you could just make the whole thing go away by:

# cd /var/log
# rm all.log*

But that's no fun at all, and doesn't go anywhere towards explaining why
you only get even numbered backups.

Can we check a few things please?

   * Have you modified /etc/newsyslog.conf at all?  Or
 /etc/syslogd.conf ?  What does this command return for you?

% grep all.log /etc/syslog.conf /etc/newsyslog.conf

   * What happens when you run the following sequence of commands:

# cd /var/log
# echo test  foo
# bzip2 -f foo || echo $?
# ls -la foo*

(using script(1) to capture a console transcript would be a good
thing here.)

Assuming you end up with a foo.bz2 file 45 bytes long, then you
should also be able to do this:

# bzcat foo.bz2 
test

  * What version of FreeBSD is this, how did you install it and have
you applied any patches or made any unusual configuration choices
or modifications to the system?  Is there anything out of the
ordinary with your hardware or the setup on the machine that you
think might be relevant?  Does it have any history of problems?
Did anything about the system change recently?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: why I am upset

2012-05-26 Thread Franci Nabalanci
I did use portmaster for KDE 4.8 update and it stopped:

The devel/kdebindings4-python port has been deleted: kdebindings ports have
been refactored.

Update aborted.

And I don't know how to save a problem.

On Sat, May 26, 2012 at 8:47 AM, Michael Powell nightre...@hotmail.comwrote:

 Fernando Apesteguía wrote:

 [snip]
 
  Just serious now. I see you are frustrated, but it woul help if you gave
  the list a hint of what the actual problem is. You complained a lot, but
  you didn't specify the problem!

 He didn't because it is so extremely obvious a case of pure PEBKAC.





 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-26 Thread Christer Solskogen
On Sat, May 26, 2012 at 3:12 AM, ajtiM lum...@gmail.com wrote:
 Why I am upset but not just me?



I have no idea. Please, tell me again how much you paid for this?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NewSysLog | Crontab

2012-05-26 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sat May 26 15:55:21 2012
 Date: Sat, 26 May 2012 21:51:37 +0100
 From: Matthew Seaman matt...@freebsd.org
 To: Jos Chrispijn j...@webrz.net
 Cc: freebsd-questions@freebsd.org
 Subject: Re: NewSysLog | Crontab

 On 26/05/2012 18:41, Jos Chrispijn wrote:
  Thanks, will investigate this...

 Keeping the list in the loop...

  % df -ih /var/log
  
  Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
  /dev/ada0p2 453G 5.8G 411G 1% 468k 29M 2% /

 One big partition for the whole OS?

  % ls -laoR /var/log
  
  total 448
  drwxr-xr-x   5 rootwheel-  1024 May 26 00:00 .
  drwxr-xr-x  23 rootwheel-   512 May 17 19:57 ..
  drwx--   2 rootwheel-   512 May 22 23:30 .spamassassin
  -rw-r--r--   1 rootwheel- 1 May 23 16:04 Minimalist.log
  -rw---   1 rootwheel-60 May 26 00:00 all.log
  -rw---   1 rootwheel-14 May 26 00:00 all.log.0.bz2
  -rw---   1 rootwheel-14 May 25 00:00 all.log.2.bz2
  -rw---   1 rootwheel-14 May 24 00:00 all.log.4.bz2
  -rw---   1 rootwheel-14 May 23 00:00 all.log.6.bz2

 Oooh, fun.  None of the obvious ideas were right, and this is looking
 really quite mysterious.  You've only got even numbered versions of
 all.log backups, but they are spaced 1 day apart, which is the usual
 recycle timing for all.log.

This is a clear-cut indication of _two_ processes running that rotate
the logfiles.  The first process to run works, and the second one 
bitches and moans, and -quits- (with the error shown about not being
able to find the file original file to compress) *after* having rened 
the 1st back-up to the 2nd name.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [ports] why no libXXX after make install of libXXX?

2012-05-26 Thread Gary Aitken
On 05/26/12 14:03, Gary Aitken wrote:
 I'm trying to install audacious, which depends on libmowgli.
 The port fails to build because of a missing library.
 Shouldn't the build of a library result in the library being placed in 
 /usr/local/lib?

I notice that /var/db/pkg/libmowgli-1.0.0/+CONTENTS
and similar files for a few other packages 
shows files which don't exist:

@comment PKG_FORMAT_REVISION:1.1
@name libmowgli-1.0.0
@comment ORIGIN:devel/libmowgli
@cwd /usr/local
...
lib/libmowgli.so
lib/libmowgli.so.2
lib/libmowgli.so.2.0.0

I think this is a screwed up situation;
there are no libmowgli files in /usr/local/lib

What's the best way to recover from it if so?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kldxref: /boot/kernel/kernel: too many sections

2012-05-26 Thread Damien Fleuriot


On 26 May 2012, at 13:41, Martin Laabs mailingli...@martinlaabs.de wrote:

 Hello,
 
 while updating my system I got the following error message while make 
 installworld:
 
 === syscons/green (install)
 install -o root -g wheel -m 555   green_saver.ko /boot/kernel
 install -o root -g wheel -m 555   green_saver.ko.symbols /boot/kernel
 kldxref /boot/kernel
 kldxref: /boot/kernel/kernel: too many sections
 kldxref: error while reading /boot/kernel/kernel: Bad address
 su:/usr/src$
 


Hold on a sec you run install*world* and it tries to install a kernel ?
Looks fishy to me.

Also, try with a generic kernel, just to  check if that fails as well.




 I tried to remove the /usr/obj and remake the kernel by make buildkernel 
 again but the error remains.
 I use 8.2-STABLE with a freshly updated RELENG_8 src.
 
 I do not build all kernel modules so I have the following in my make.conf
 MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green
 
 However - I don't think this explains the misbehavior of kldxref.
 
 Can anybody give me a hint where to search for the bug?
 
 Best regards,
 Martin Laabs
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why I am upset

2012-05-26 Thread Damien Fleuriot


On 26 May 2012, at 03:12, ajtiM lum...@gmail.com wrote:

 Why I am upset but not just me?
 
 I am running KDE 4.8 from January on my Linux computer. Now is almost June 
 and 
 we got KDE 4.8 on FreeBSD too. 5 months testing and it works? No. The modern 
 OS for the desktop computer doesn;t works. O.K. OS works but installatoon of 
 5 
 months testing of KDE doesn;t.
 And help? Read /usr/ports/UOPDATING!! I red before I start inastallation but 
 I 
 am not sure if helpers did! Thank you for wasting my time.
 
 Mitja

1/ English, learn it.
2/ Remind me how much you paid for free software you've most likely never 
contributed to ?
3/ You're too busy being a whiny raging kid to actually explain your problem
4/ Even if you had, I doubt anyone would want to help you after your epic flame


Seeing you do not even show the slightest hint of respect or gratitude towards 
the people who actually work on the software in their free time:

5/ I'm gonna respectfully ask that you STFU

You're such a good rager, I'm convinced you shan't need google to figure out 
the acronym.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org