ipfw gateway rerouting
Can someone please hint me to to good explanatory site that explains how to reroute a network server to different/non standard network gateway(s) with ipfw? thanks, 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: Access guard
All, Thanks for the replies, I will check them out! best regards, 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"
Access guard
I am looking for a program that watches login attempts (mail and ssh login) and blocks the ip address after xx failed attempts. Currently I am using ipfw - might be great if that program works with ipw too... Thanks, 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"
Gateway on downloads
Hi all, > netstart -rn (partitially) DestinationGatewayFlagsRefs Use Netif Expire default10.10.10.100 UGS 0 858468 re0 Can you tell me how I can force _any_download from my server not going via 10.10.10.100 but to another gateway number 10.10.10.200? For incoming uploads (ftp) and domain requests (Apache) still to keep 10.10.10.100 for incoming traffic. I have NZBGet installed and want to use the 2nd gateway (triple time the 1st gateway speed) on downloads. Maybe there is a way on ftp/download requests to redirect certain destination IP's to be switch through another network gateway IP? Thanks, 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: RSync exclusion
Daniel O'Callaghan: It uses rsync, but manages a directory tree with hard links to unchanged files. It would solve your problem, but in a different way. Thanks for this - the issue is solved, but I will certainly have a look to that one as well. Jos ___ 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: RSync exclusion
Must have had a temporary brain damage, sorry... thanks Jos Paul Macdonald: --exclude /files/photos ___ 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"
RSync exclusion
I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ In this /files folder, amongst others, I have another folder called photos: /files/photos What I now would like to do is sync the /files folder with an exclusion on the /files/photos folder Reason for that is that this /photos subfolder contains 12 gb on photos, which I don't want to have in a daily archive (takes too much disk space on a monthly basis). I will syn them on a daily basis to a fixed remote folder (where only the updates will be appended). Can someone tell me how I can do that on one command line? 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: rm -R
Teske, Devin: rm -R -- -S The "--" tells it "here's the end of the options, here come the file/directories" Almost: rm -R -- -S; did it, thanks very much for you help! BR, 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: rm -R
Teske, Devin: rm -R -- -S The "--" tells it "here's the end of the options, here come the file/directories" Almost : rm -R -- -S; did it, thanks very much! BR, 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: rm -R
Ralf Mardorf: rm -R "-S\;" rm -R ?S? rm: illegal option -- S usage: rm [-f | -i] [-dIPRrvW] file ... unlink file regards, 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"
rm -R
I made a folder called -S; how can I remove that again? did a rm -R '-S;' but that doesn't work (...). thanks for your advise, 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"
Faking Gateway
I have two gateway ip's in my network: G1 = 8/1m and G2=50/10m. Server1 (S1) is connected to G1 and all network clients are connected to G2. As I sometimes have a lot of ports to download, I thought, let's change the gateway address of S1 to G2. That really works regarding the FTP part, but regarding my mail it is not (logically I am now presenting a domain name that doesn't match its ip address as it is G2 instead of G1). Is there a way of switching to the 'fast' gateway with ftp traffic only (like port updates and manual outward/inbound ftp requests) and have outbound email follow the (standard) G1)? Kind regards, 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"
FreeBSD 9x - PHP and MySQL
FreeBSD 9.1-PRERELEASE Can you tell me what might be the best MySQL version to be used and which PHP version should I use to that? Running 64-bit. thanks, 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: FreeBSD9 - Fresh install (2)
Thanks for this very informative suggestion. I think I need to study it thouroughly, but will certainly head for that solution. kind regards, Jos Chrispijn Polytropon: That would work, and could be performed easily even using the slice editor of the sysinstall program. Of course, make sure that all partition references work properly for _each_ slice. Using labels is a comfortable way to achieve this. But it would be no problem to use the device names (as long as the disk won't be moved). For example: Slice 1: Installation OS 8.2 -> boots to /dev/ad0s1a (kernel is in ad0s1a:/boot/kernel) -> performs root mount of /dev/ad0s1a -> mounts OS partitions /dev/ad0s1[defg] -> mounts data partition /dev/ad0s3 Slice 2: Installation OS 9.0 -> boots to /dev/ad0s2a (kernel is in ad0s2a:/boot/kernel) -> performs root mount of /dev/ad0s2a -> mounts OS partitions /dev/ad0s2[defg] -> mounts data partition /dev/ad0s3 Slice 3: Users' home directories You also use the fdisk command to set the active partition manually, or write a short skript that "flips the switch" to boot from "the other slice" the next time (comparable to the nextboot command in relation to kernels); see "man fdisk" for details. That won't work in "Windows" mode, as you cannot click on the slice. :-) ___ 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: FreeBSD9 - Fresh install (2)
Polytropon: Per definition, you can only mark one slice bootable. If you manage to mark more than one slice bootable, the start loader (from BIOS) will boot into the first one it finds, and that will possibly be the one of the 1st slice. I know, but I was referring to the update installation of a new BSD version; if I have installed it on the empty slice, I only have to make that slice bootable (and removing that function from the original one). Does that make sense (still in Windows mode here J-) ? regards, 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: FreeBSD9 - Fresh install (2)
Mike Clarke: My approach would be to go for 3 slices. Slice 1 would be a suitable size to hold the OS and swap, I have quite a lot of ports installed on my desktop PC so would go for about 20 to 30 GB. This could be less for a server but with 1TB you can afford to be generous. This can then be partitioned to suit with whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your fancy. Intererestig suggestion. In my opinion overkill, but if I have to use them, I's rather do it good then K-) thanks, Jos Chrispijn The second slice would be the same size as the first and be left empty for now as a spare. ok The third slice, the rest of the disk, would be for all of your data and could be partitioned (or not) to suit your needs for /home and any other local data requirements. If there's to be any large mysql databases then I'd put them here with symlinks from /var where mysql normally expects to find them. When you come to upgrade to the next FreeBSD release just install it into the spare second slice and boot from that instead of the first. If you experience any serious problems with the upgrade then nothing has been lost and you can just revert to booting of the first slice until things are sorted out. that sounds goo to me! So I then have to only make that slice bootable and install, right? The above is all assuming you're using UFS. If you're going to use ZFS then there are other possibilities like using sysutils/beadm from ports <http://forums.freebsd.org/showthread.php?p=175325> to manage multiple boot environments in a single partition. Will use the server UFS only, but the /sysutils/beadm makes me curious... thanks for your suggestions, 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: FreeBSD9 - Fresh install (2)
I was intending this on my 1TB hard disk (FreeBSD only): Two slices of 500G Slice one: 1g/ 4gswap 7g/var 1g/tmp 487g /var Slice two: 500g /backup I question myself why I should use a 1TB hard disk, but it came with the hardware J-) I might better use 2x350G hard disks, but the server I use can only physical contain one piece. The slice one and two idea is perhaps Windows related, but I thought if I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to clean slice one and put BSD on that again (having the backup slice untouched). thanks, Jos Chrispijn Polytropon: On Sat, 13 Oct 2012 19:59:22 +0200, Jos Chrispijn wrote: When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions about partioning: I think of creating two partitions of 5Gb; one for the standard FreeBSD file layour and a second one with a /backup slice on it. Does this make sense? What exactly do you intend to backup (and why) onto a second partition on the same disk? Sure, it is possible to do so, but you should make yourself clear _what_ you want to do and why, then it will imply _how_ will do it the best way -- even though there might be more than one best way... :-) Also depending on your needs, 5GB may be too few to hold a full installation of OS and programs (even though I've managed to get a full 5.2 installation plus tons of programs on a 6 GB disk, with 50% of free space afterwards). What do you do with the remaining 900 GB of the disk? :-) Also, please make yourself familiar with the terminology of what a partitions and what a slice is, and see it in the proper context of MBR vs. GPT partitioning. If I take your use of the TT (termini technici) literally, you would have one partition containing everything rooted to /, and a second partition that contains the same. You would either manually have a backup mechanism from the 1st to the 2nd partition, or you could configure them in some automated mirroring mechanism. But I don't see a real use case when doing so on the _same_ disk. Still it would be possible, and it could even be helpful in some bad case scenario. ___ 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"
FreeBSD9 - Fresh install (2)
When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions about partioning: I think of creating two partitions of 5Gb; one for the standard FreeBSD file layour and a second one with a /backup slice on it. Does this make sense? BR, 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"
FreeBSD9 - Fresh install
I am trying to setup a new BSD server with v9.0 stable on it. While setting it up, I come across an issue: there are some YouTube movies available in which only the following disk setup is chosen: - freebsd-boot - freebsd ufs / - freebsd-swap Now when I setup and choose for Auto defaults, I see the wellknown /var, /tmp and /usr again. Are these differences between what I see on YouTube examples due to v9.0 or what is causing that? BR, 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"
FreeBSD9 - Fresh install
I am trying to setup a new BSD server with v9.0 stable on it. While setting it up, I come across an issue: there are some YouTube movies available in which only the following disk setup is chosen: - freebsd-boot - freebsd ufs / - freebsd-swap Now when I setup and choose for Auto defaults, I see the wellknown /var, /tmp and /usr again. Are these differences between what I see on YouTube examples due to v9.0 or what is causing that? BR, 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"
Empty logfiles
Stupic question: I have a directory with 120 logfiles (extension *.log). Can someone tell me how I can empty these logfiles in one command? I thought 'echo > *.log' would work, but no way K-) thanks 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: Updating /src from command line
Hi Michael, that works, thanks. BR, Jos Chrispijn Michael Ross: Am 22.05.2012, 21:59 Uhr, schrieb Michael Ross : Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn : I want to compile my kernel and I read that for this I need to have the complete /SRC tree installed. If I do this via sysinstall, I get either a display that the chosen server is not available or these are not available for FreeBSD 9. Is there a way to update /src by CVSUP or otherwise? thanks, Jos Chrispijn I do it like this: Copy, read and modify /usr/src/share/examples/cvsup/stable-supfile Sorry, that is /usr/share/examples/cvsup/stable-supfile of course. ___ 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: Updating /src from command line
I think I solved it with cvsup, but still no clue why it doesn't work via sysinstall J-( br, Jos Chrispijn Jos Chrispijn: I want to compile my kernel and I read that for this I need to have the complete /SRC tree installed. If I do this via sysinstall, I get either a display that the chosen server is not available or these are not available for FreeBSD 9. Is there a way to update /src by CVSUP or otherwise? thanks, 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" ___ 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
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"
NewSysLog | Crontab
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
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"
Updating /src from command line
I want to compile my kernel and I read that for this I need to have the complete /SRC tree installed. If I do this via sysinstall, I get either a display that the chosen server is not available or these are not available for FreeBSD 9. Is there a way to update /src by CVSUP or otherwise? thanks, 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: Startup from script
Thank you (all) for your information; I followed your suggestions and it all works flawless! best regards, 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"
Startup from script
I have this issue with running commands from a script: In my crontab I define script 'do_daily.run': 30 23 * * * root /root/cronjobs/do_daily.run The content of this script (amongst others) is: rsync -avpog /etc /backup/$DATE/ Funny thing now is that in the output of the script, the following appears: /root/cronjobs/do_daily.run: rsync: not found file credentials of the script itself: -rwx-- 1 root wheel 246 Jun 20 2010 do_daily.run What do I oversee here? kind regards, 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 | Cronjob faulty?
At midnight (00.00) I run this cronjob from my crontab: Crontab: 00 * * * * rootnewsyslog For some reason this goes wrong; (if I run 'newsyslog' on any other time, there is no error message). 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) /var/log: -rw-r- 1 rootwheel 63162 May 16 21:20 maillog -rw-r- 1 rootwheel 109 May 16 00:00 maillog.0.bz2 -rw-r- 1 rootwheel 73674 May 16 00:00 maillog.1 -rw-r- 1 rootwheel 111 May 15 00:00 maillog.2.bz2 -rw-r- 1 rootwheel 73050 May 15 00:00 maillog.3 -rw-r- 1 rootwheel 109 May 14 00:00 maillog.4.bz2 -rw-r- 1 rootwheel184042 May 14 00:00 maillog.5 Can somebody tell me what goes wrong here? On my other FreeBSD server the same cronjob goes ok... thanks, 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"
CSH prompt
In cshell I use this prompt: set prompt = "%B[%@]%b %m[%/]> " The problem I face now is that if I use this prompt with symbolic links, the presented location is displaying the symbolic link rather than the real directory name. Is there a way of preventin this? thanks, Jos Chrispijn -- Artificial intelligence is no match for natural stupidity... ___ 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: Named | Annoying behaviour
Matthew Seaman: One unfortunate consequence is that any relative paths within named.conf have to be altered accordingly. Thanks for your detailed explanation, I will follow up and let you know if I managed to solve it. BR 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"
Named | Annoying behaviour
Dear group, I latety face an issue with BIND 9.4.-ESV-R4-P1. According to my log file, I get the following error: Aug 4 12:00:03 triton named[93266]: starting BIND 9.4.-ESV-R4-P1 -c /etc/namedb/named.conf -t /var/named -u bind Aug 4 12:00:03 triton named[93266]: command channel listening on 127.0.0.1#953 Aug 4 12:00:03 triton named[93266]: command channel listening on ::1#953 Aug 4 12:00:03 triton named[93266]: _the working directory is not writable_ Aug 4 12:00:03 triton named[93266]: running I tried to chmod w+g the respecive directory, but it is set to default again by bind itself. Can someone tell me how I can resolve the +w on the working directory? BR, 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"
IPFW
Dear group, Is there a web driven configuration for ipfw after I installed it on my server? Thanks 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: Maintenance script/port
Thanks all for your replies. I will check your suggestions. BR, 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"
Maintenance script/port
Can someone recommend me a text driven maintenance (re)port that informs me about the health of my FreeBSD system? I currently use the standard BSD report information, but like to get more information out of my partitions, OS etc. This program should be ran by schedule and send me the outcome by email. 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: Spamassassin not working after update of Perl
So true. I have processed as you suggested and will follow that + the UPDATING suggestion as well in future. Just got on wrong track that this scenario should be used with 5.14 to 5.14.x as well. FYI: After running sa-update -D sa-update --nogpg spamassassin --lint -D freshclam I got at the end a warning, saying: warn: Use of uninitialized value $opt{"syslog-socket"} in lc at /usr/local/bin/spamd line 44 Found out that this is a minor thing and fixed *in* 3.3.2 and *in* trunk. BR, Jos Chrispijn Damien Fleuriot: Normally, any special care to be taken while upgrading your port should be noted in UPDATING. However, it's always prudent to rebuild dependencies when upgrading a port, because you never know what changed (unless you take the time to check the changelog + source code). On 6/24/11 12:33 PM, Jos Chrispijn wrote: Hi Damien, What I don't understand is that if I already are on 15.4 and there is an update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to have this work? Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I miss something here? Thanks for your help Jos Chrispijn Damien Fleuriot: On 6/23/11 3:51 PM, Jos Chrispijn wrote: I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.
Re: Spamassassin not working after update of Perl
So true. I have processed as you suggested and will follow that + the UPDATING suggestion as well in future. Just got on wrong track that this scenario should be used with 5.14 to 5.14.x as well. FYI: After running sa-update -D sa-update --nogpg spamassassin --lint -D freshclam I got at the end a warning, saying: warn: Use of uninitialized value $opt{"syslog-socket"} in lc at /usr/local/bin/spamd line 44 Found out that this is a minor thing and fixed *in* 3.3.2 and *in* trunk. BR, Jos Chrispijn Damien Fleuriot: Normally, any special care to be taken while upgrading your port should be noted in UPDATING. However, it's always prudent to rebuild dependencies when upgrading a port, because you never know what changed (unless you take the time to check the changelog + source code). On 6/24/11 12:33 PM, Jos Chrispijn wrote: Hi Damien, What I don't understand is that if I already are on 15.4 and there is an update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to have this work? Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I miss something here? Thanks for your help Jos Chrispijn Damien Fleuriot: On 6/23/11 3:51 PM, Jos Chrispijn wrote: I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.
Re: Spamassassin not working after update of Perl
Hi Damien, What I don't understand is that if I already are on 15.4 and there is an update to 15.4.1 I have to perform always a 'portupgrade -fr perl' to have this work? Normally this only goes for 15.3 to 15.4 (full version upgrade) or do I miss something here? Thanks for your help Jos Chrispijn Damien Fleuriot: On 6/23/11 3:51 PM, Jos Chrispijn wrote: I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. --- cut --- ___ 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&quo
Spamassassin not working after update of Perl
I have updated my Perl version yesterday but now my Spamd doesn't work anymore. Can someone hint me how to solve this? thanks, Jos Chrispijn Pls see output: Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/bin/sa-update line 80. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 80. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. ClamAV update process started at Thu Jun 23 15:43:00 2011 main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cld is up to date (version: 13231, sigs: 130699, f-level: 60, builder: arnaud) bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) spamd not running? (check /var/run/spamd/spamd.pid). Starting spamd. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamd line 85. BEGIN failed--compilation aborted at /usr/local/bin/spamd line 85. Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.1/BSDPAN /usr/local/lib/perl5/site_perl/5.14.1/mach /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/mach /usr/local/lib/perl5/5.14.1) at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. --- cut --- ___ 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 upgrade from 7.4 Stable to 8.2
Just read that a save upgrade from my current 7.4 version would be easy by performing: # freebsd-update upgrade -r 8.2-RELEASE # freebsd-update install # shutdown -r now # freebsd-update install Are there any pitfalls to this? regards, 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"
Fwd: Postfix SMTP server: errors from mx2.freebsd.org[69.147.83.53]
Hi, It looks like mx2.freebsd.org is blacklisted by Sorbs.net: Original Message Transcript of session follows. In: EHLO mx2.freebsd.org Out: 250-PIPELINING Out: 250-SIZE 2560 Out: 250-ETRN Out: 250-ENHANCEDSTATUSCODES Out: 250-8BITMIME Out: 250 DSN In: MAIL FROM: SIZE=3777 Out: 250 2.1.0 Ok Out: 554 5.7.1 Service unavailable; Client host [69.147.83.53] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?69.147.83.53 In: DATA Out: 554 5.5.1 Error: no valid recipients In: RSET Out: 250 2.0.0 Ok In: QUIT Out: 221 2.0.0 Bye --- regards, 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: BSD logo
Victor, On 24-7-2010 4:01, Victor Skovorodnikov wrote: Have you considered changing it to something else? Doesn't have to be an angel, but perhaps something neutral ;-) ? Seeing something in it that isn't there at all or perhaps wanting to see something that isn't there at all in fact is true religion. For me FreeBSD is true religion: bringing people together and speak about it is so much better that seeing things in a logo that isn't there at all... best regrets, 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: BSD logo
Victor, On 24-7-2010 4:01, Victor Skovorodnikov wrote: Have you considered changing it to something else? Doesn't have to be an angel, but perhaps something neutral ;-) ? Seeing something in it that isn't there at all or perhaps wanting to see something that isn't there at all in fact is true religion. For me FreeBSD is true religion: bringing people together and speak about it is so much better that seeing things in a logo that isn't there at all... best regrets, 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"
Automake installed
Just had a quick look in my installed ports and found out that I have multiple versions of automake installed: automake-1.10.1: ok automake-1.4.6_5: ok automake-1.5_5,1: ok automake-1.9.6_3: ok automake-wrapper-20071109: ok Is this common or should I get rid of all automake-1.9.x versions? How could I do such best? thanks 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: Auto update
Thank you all for your kind replies; I will use the information as you suggested (including the -F :-) regards, 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: Auto update
On 11-4-2010 9:41, Doug Hardie wrote: A cheesy way to do that is to use a popen ("tail -f /var/log/auth.log", "r") and then read that. It will give you every login regardless of ssh, telnet etc. You could then generate the emails from that. I have no idea just how resource intensive this might be. You would also have to ensure it got started by rc during boot.___ In order to find out if someone logged in, I should then first copy auth.log to auth2.log, and do a compare and then do the tail trick. Have to cron that every half a minute. I would like to know if there is something that is alterted on the moment that someone logs on thus forcing evt. your tail suggestion thanks, Jos Chrispijnj ___ 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: Auto update
On 11-4-2010 8:27, andrew clarke wrote: By which method? SSH? Yes, sorry I didn't mention that. If possible on both SSH and otherwise. Thanks, Jos ___ 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"
Auto update
Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? The mail part (phpmail) will be easy; I don't know yet how to trigger and pass parameter to this script or redirect info to a file (that I then send by email). Thanks. 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"
Buld echo
I have 35 log files that I want to flush once a day. In order to keep them exist I now do an 'echo > logfile.log' How can I do such in one command having the same effect on all log files? 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: named issue
Jeffrey Goldberg wrote: These are queries your mailservers are making to the spamhaus blocking list. How many queries to the ZEN Spamhaus DNSBL are you making per day? If you exceed their "non-commercial" usage, they will cut you off. I see. Thank you all for your suggestions. 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"
named issue
[named] Lately I get messages like thin in my all.log: named[605]: too many timeouts resolving '*.*.*.*.zen.spamhaus.org/A' (in 'zen.spamhaus.ORG'?): disabling EDNS (*) is random ip address Now before I add the following lines in /etc/named.conf or /var/named/chroot/etc/ named.conf: logging { category lame-servers {null; }; category edns-disabled { null; }; }; I would like to know what I could do to prevent generation of that line? Thanks, 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: Perl updates
Matthew Seaman wrote: You're talking about the update of lang/perl5.10 from perl-5.10.0 to perl-5.10.1 ? The reason you need to run perl-after-upgrade is because perl library modules are stored in directory trees which encode the perl version number. perl-after-upgrade basically moves installed modules from [-snip-] Thanks, appreciate this detailed information. 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"
Perl updates
Can someone explain why we have to run an update batch in order to have all Perl related programs running with this update? Wouldn't it be better to upgrade Perl and have all programs use it as it hadn't been updated at all? 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"
Resetting user password in cron
Can someone tell me how I can reset a user's password best in a cron job? If I do a password change from the prompt, I now have to re-enter the password, which I would not like to do in a cron job. Thanks/ 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: FTP
Kevin Kinsey wrote: He's assuming you have control of the FTP server ... $ apropos truss truss(1) - trace system calls ... so you can use the above tool to see what's going on from the server's point of view. Great suggestion, will do! Thanks. -- 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: FTP
Ruben de Groot wrote: On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed: - use truss on the server process Thanks for your reply; can you explain what you mean with this? 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"
FTP
FreeBSD 6.4-STABLE I do an upload to this server (plain ftp, not thru a php script) and every time the upload gets stuck at approx. 1,2 Gb. There is no shortage on capacity on that slice and I don't get a log report on ftp failure. Could you tell me what I can do to, at least, get an idea why these uploads get stuck? Thanks -- 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: Best practices for securing SSH server
Daniel Underwood wrote: laptop to connect to the server. Due to the speed and location of the connection, it's a relatively high-risk target. Can you tell me what you mean with that? I mean, imho a server must been consider always a risk target. Perhaps I don't understand. 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: FreeBSD and apache 2.2 band width limiting
uple of real configurations to get you started. First, let's consider serving a directory of large and popular content, such as a collection of parodies of Apple's "switch" commercials (http://www.apple.com/switch). ThrottlePolicy Speed 100K 1s The ThrottlePolicy directive, as you might guess, specifies the policy you'd like to implement for this location. The specifications always follow the form: ThrottlePolicy Policy Limit Period If you put a collection of big movies on the server and then try to fetch a movie from another machine, you might find that the file is transmitted at a very high speed -- much higher than 100 KB/s. What's happening? Unlike the granular rate-limiting that is possible at the router or kernel level, mod_throttle works with HTTP requests (rather than network packets). All of the bytes are counted, but they can't be counted until after a request is serviced. mod_throttle keeps track of how many bytes were sent and how long it took. Next, let's consider the problem of a Web robot that hits your site too quickly. The following entry limits all clients (identified by unique IP address) to five requests per second. That rule is applied server-wide unless the entry is enclosed in a VirtualHost, Location, or Directory block. ThrottlePolicy Request 5 1 Watch it As you add new policies to your server, the mod_throttle statistics page reflects each one, along with various statistics, including number of hits refused and bytes sent. By clicking on a policy name, you can discover which clients are currently in violation of the policy. You can also use the Web interface to reset those clients. That's all there is to getting started. mod_throttle can keep your bandwidth costs under control, and can also help prevent a Denial of Service attack from crippling your web site. hope this helps, 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: Program update(s)
Ruben de Groot wrote: On Fri, Jun 12, 2009 at 09:47:39PM +0200, Jos Chrispijn typed: Can you guarantee that all these programs will work with perl.y.y.y ? That is another thread and a question that someone should ask him/herself prior to the installation itself :-) 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: Program update(s)
RW wrote: For the most part you don't, you can just run perl-after-upgrade. Good suggestion, thanks. If you are referring to the switch from lang/perl5.8 to lang/perl5.10, then that's exceptional and optional. Exceptional oke, but optional? I have to make sure that all related programs are in line with this version; or do you refer to the perl-after-upgrade option? thanks for sharing, 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"
Program update(s)
Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? How easy it would be that all these 'to be recompiled' programs only were linked to just Perl instead of Perl.x.x.x. Or is that a complete wrong way of approach? 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: Cronjob
Mike Jeays wrote: Isn't that a linuxism? Looking at the man pages for the date command for FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, I checked). The -d option is to do with daylight saving time. - eot- I see; will have that incorporated in the script. Thanks for sharing, Jos ___ 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: Cronjob
Found another solution (for running @ 23:58): 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ] && /myscript thanks for all other suggestions, 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"
Cronjob
I would like to execute a script on every last day of the month in my crontab. Can someone tell me how I should solve that as it doesn't know which month day is the last day of the month? Solving this in the script to be executed is no option. Thanks, Jos ___ 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: Stale lockfile
I see; I think I change the 'Copy' shortcut key in Putty to something else than Ctrl-C. Thanks guys for your input. 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"
Stale lockfile
Can someone tell me what this file exactly is for? Got the message 'Stale lock file found. Removed' running 'portupgrade -a'. thanks, 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: Streaming server
Wojciech Puchar wrote: There will be no practical difference between playing from FTP/HTTP and this. Aha, now we are getting somewhere! exactly! or - if you like "cool" webpage interface just make that webpage similarly to youtube and provide just link with "Play" to your movies. Personally I have nothing with YouTube except that I constantly wonder how they 'stream', which according to your information, is less than I expected :-) thanks again 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: Streaming server
Ott Köstner wrote: Have You tried FFserver? No, not yet. Thanks for this I will have a look to that one! Best regards, 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: Streaming server
Wojciech Puchar wrote: so please test as it's true :) I did test it and indeed it looks that way... actually youtube player does not throttle at all - just load as fast as possible into memory while playing at normal speed. Yes but we are now discussing another service here. Imho there is some difference between downloading (and viewing) by HTTP or viewing a YouTube movie thru a YouTube site (and watching a Flash movie instead). Do you mean that providing any movie in Flash format will have the same advantages as it has viewing such a file thru a YouTube server? look at progress bar below movie window. if your network connection is fast, it quickly gets from beginning to end, while current position mark advances as movie is played. That is true, I saw that indeed. in mplayer you can set buffer size, if you'll set it as large or larger as movie - it will behave the same way with FTP/HTTP provided movie. realplayer do the same thing, and supports both URL's and "live" streaming protocol. So it would be better to forget my issue and rely on the smart settings of the client's movieplayer? thanks, 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: Streaming server
Wojciech Puchar wrote: when you play file directly from HTTP/FTP source it's streaming too. just much more simple, portable, and cachable by squid/other proxies Oke, but ftp doesn't show the actual file but only downloads it, right? 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: Streaming server
Wojciech Puchar wrote: I have some short movies (a la YouTube) that I would like to show as video streams. Presenting them by download is messing up my bandwidth (...). ^ Can someone tell me if there is a simple solution installing such a stream service/server into FreeBDS 7.2? somehow i can't understand you do you mean installing FreeBSD for this will use less bandwidth? I already have FreeBSD installed. Just wondering if there is a streaming server for it. Hardly can believe that dedicated download (by opening the remote file in a media player) will be more efficient that a streaming server that takes care of bandwidth throttle and average processing time on (http) requests. I want to provide some animated presentations with voice over that have been recorded earlier. fortunately we have /usr/ports/www/youtube_dl :) Eh, that sound familiar l-) thanks for sharing, 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"
Streaming server
I have some short movies (a la YouTube) that I would like to show as video streams. Presenting them by download is messing up my bandwidth (...). Can someone tell me if there is a simple solution installing such a stream service/server into FreeBDS 7.2? ___ 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: Perl upgrade
Hi Jerry, Jerry wrote: Perl-5.10 was released to the public over a year ago. Another year transpired before it was released into the ports system. There was an immediate problem that was corrected when the maintainer switched to 'bison' from 'YACC'. Other than that, it has performed flawlessly as far as I can tell. Thanks, I didn't know that as it only appeared in UPDATING at 280309. regards, 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: Perl upgrade
Lars Eighner wrote: On Sat, 9 May 2009, Matthew Seaman wrote: I concur. If you do the pkg_info thing and the list of stuff depending on perl is very short, by all means upgrade before it gets long. After having some investigation on this subject, it comes clear to me that Perl is a very important part of my FreeBSD. Before that I considered it only as an app, nothing more than that *-) I did the update on a backup server and it took me 5 hours to get this done (going thru a full install of FreeBSD). Rebooted the system and so far no strange side-effects. I will though keep attention on evt. flaws on its behavior, allthough I expect the developer has it throuroughly tested before releasing it. thanks for sharing, -- 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: Perl upgrade
Lars Eighner wrote: On Sat, 9 May 2009, Jos Chrispijn wrote: You must be new around here. Yes, I am L-) The process described in UPDATING for upgrading to Perl 5.10 is relatively painless compared to previous perl upgrades. So much stuff depends upon perl that: [snip] Do you recommend having Perl updated or should I stay with 5.8? thanks, 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"
Perl upgrade
Not that I am that paranoid, but can someone tell me why Perl 5.8 is not automatically updated to 5.10 thru the ports, but (accordingly by UPDATING) has to be updated by some manual interaction? -- 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"
Changing NIC
- FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? 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: NIC
Dear all, Thanks for your advise and suggestions; I have bought the Intel Pro/1000GT. regards, 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"
NIC
In order to speed up my LAN backups a little bit, I would like to replace my old 10/100 nic with a 10/100/1000 one. Should be placed in an ancient Dell of 5 years old. Can someone pls advise on the type nic I should buy (not necessarily a Dell brand)? thanks, Jos Chrispijn -- No one is listening until you make a mistake... ___ 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: / partition full
Warren Liddell wrote: with thanks to the added du command not looking into mounts, it seemd /boot was it, there was a kernel.old file in there rather large, removed it an an old loader file which has freed up quite a bit of space .. How much space did you get rid of? 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"
PHP5-extensions Setup
I had some related issues to this with Apache 1.3.41. What I noticed allready for quite some time is this: If I want to add an extension to my php5 allready installed ones, I go to /usr/ports/lang/php5-extensions make config and add an extention to be added later. But the other way around doesn't work; to deactivate one should think to run the same 'make config' and delete the X that indicates the extension is active, thus making it inactive. After quiting setup there would be an update (uninstall of the unchecked extension) and that would be it. In present situation, nothing happens though. Do I overlook something here? What would be the right procedure if I uncheck an extension from the setup parameter screen in order to physically delete all deactivated extension's related links and programs and update the /usr/local/etc/php/extensions.ini file? Jos ___ 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: Apache 1.3.41 | Solved
Problem solved; we deinstalled everything PHP5 related and built up from scratch. I would like to thank everyone that has responded on this thread. Jos Chrispijn wrote: For some reason, Apache isn't starting anymore after having my ports upgraded today. That was a major php5 upgrade and I think it might have to do something with it. ___ 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: Apache 1.3.41
mojo fms wrote: I had a problem similar to this when I first built a 7.1 server a few weeks ago. I tried to install php5 with apache and gallery and httpd would not start. It was segfaulting every time, php5's module was causing it but I never narrowed it down to exactly why. I ended up uninstalling php5, cleaning the work dir and the downloaded files and rebuilt and installed it. I also ended up rebuilding apache to be on the safe side and it started working again. Can you tell me which php5 module that was? I have rebuilt Apache but yet no result. thanks for sharing, 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"
Apache 1.3.41
For some reason, Apache isn't starting anymore after having my ports upgraded today. That was a major php5 upgrade and I think it might have to do something with it. httpd-error.log is empty on this if I give the command triton# apachectl restart /usr/local/sbin/apachectl restart: httpd not running, trying to start /usr/local/sbin/apachectl restart: httpd started and look with 'top' it isn't started and I can give the command again: triton# apachectl restart /usr/local/sbin/apachectl restart: httpd not running, trying to start /usr/local/sbin/apachectl restart: httpd started without having it started. Looks like half way the start Apache is stopping and bypassing every log output. Can some tell me what I am overlooking here? Does it have something to do with the php-5 portupgrade? my httpd.conf: ## ## httpd.conf ## ### Section 1: Global Environment ServerRoot "/usr/local/" #LockFile/var/run/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /var/run/httpd.scoreboard Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_modulelibexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_modulelibexec/apache/mod_info.so LoadModule includes_modulelibexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_modulelibexec/apache/mod_asis.so LoadModule imap_modulelibexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_modulelibexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_modulelibexec/apache/mod_setenvif.so LoadModule php5_modulelibexec/apache/libphp5.so ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_proxy.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php5.c ### Section 2: 'Main' server configuration Port 80 User www Group www ServerAdmin x...@.xxx ServerName ..xxx DocumentRoot "/usr/local/www" Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews ExecCGI Includes AllowOverride AuthConfig Limit Indexes Options FileInfo Order allow,deny Allow from all UserDir public_html DirectoryIndex index.php index.php3 index.html DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html index.htm DirectoryIndex index.php index.html index.htm DirectoryIndex index.html AccessFileName .htaccess Order allow,deny Deny from all Satisfy All UseCanonicalName On TypesConfig /usr/local/etc/apache/mime.types DefaultType text/plain
Re: MySQL / php differ | Solved
Problem solved. What I did is: - using Matthew's pkg_info -rx php5-mysql - after that Aryeh's solution on the php5-mysql port thanks for your help, Jos ___ 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: MySQL / php differ
Matthew Seaman wrote: Actually, you may only need to recompile databases/php5-mysql (possibly plus some dependencies) and then restart apache. If your DB is on the same machine as where you're running phpMyAdmin, then you will have the 5.0.77 client libraries already installed and recompiling that one package should fix the observed problem. thanks, I will try as Areyeh's solution unfortunately didn't solve the problem. 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"
MySQL / php differ
| FreeBSD 6.4-STABLE Just upgraded my MySQL server/client to v5.0.77 and php version to php5-5.2.8 but something struck my eye when opening phpmyadmin, saying: 'Your PHP MySQL library version 4.0.27 differs from your MySQL server version 5.0.77. This may cause unpredictable behavior'. I obviously have my php MySQL library running wrong version. Can you tell me How could I solve this matter in a quick way? thanks, 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: Rsync | Push script
Sorry for the confusion; the problem is in the rsync line: rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/ Running this line causes rsync to say: Unexpected remote arg: r...@10.10.10.50:123 rsync error: syntax or usage error (code 1) at main.c(1202) [sender=3.0.5] On the server that I use this push script, I want to connect as root to the backup server; thru port 123 (can be any port). With rsync running I can't get this to work. Can someone tell me what I do wrong here? 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"
Rsync | Push script
Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date "+%d%m%y"` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync -avpog /var/db/mysql//r...@10.10.10.50:123/usr/backup/$DATE/ /letc/rc.d/mysql-server start It goes wrong when I run the rsync line; I run my backup thru port 123 (can be any portnumber). 10.10.10.50 is backup server on which I want to logon as root; during script run I will fill out root password myself. Can someone hint me in the right direction? rsync deamon is running. 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"
Unix Epoch
On 13.02.2009 at exactly 23:31:30 (UTC), Unix time was equal to '1234567890'. This was the total time that has been elapsed since 1 januari 1970 0:00 UTC. After having survived from a major headache (...) I wonder whether this can technically affect my system or is it just a milestone in history? Jos Chrispijn References Visible links Hidden links: 1. http://en.wikipedia.org/wiki/Unix_time#cite_note-0 ___ 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"
Unix Epoch
On 13.02.2009 at exactly 23:31:30 (UTC), Unix time was equal to '1234567890'. This was the total time that has been elapsed since 1 januari 1970 0:00 UTC. After having survived from a major headache (...) I wonder whether this can technically affect my system or is it just a milestone in history? 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: Bios chip update suggestions
Can you set your system clock first L-) This message is dated 14.3.2009 @ 11:37 Jos Chrispijn Fbsd1 wrote: Chris Whitehouse wrote: Fbsd1 wrote: I have an desktop manufactured in 2002 by a South Korean company Hyunju. The company is now out of business. It's bio's do not allow booting from a usb memory stick. I want to find an bio's update that adds booting from usb memory stick. I know the desktop uses AWARD bio's chip and the bio's id string is 01/08/2002-694T-686-P6VXM2TC-00 All the internet bio's chip update url's found by Google search are customized for MS windows. Suggestions on how or where to purchase the correct bio's chip update? What do you mean the update url's are customised for windows? The bios doesn't know anything about operating system. Most likely you could download a dos boot disk image - google, there are plenty around - create a bootable floppy and copy your latest bios image and bios update program, eg awdflash.exe onto it. Just boot from the floppy and run the update. Just be sure the bios image is really intended for your motherboard and don't interrupt the update. Chris ___ 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" What i mean is all the bio update sites have a utility that runs from the website to fetch your bio id string info. This utility will not work on a non-windows operating system. ___ 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: Portupgrade thru SSH session
[Josh Carroll] For future runs, you might consider using something like screen (/usr/ports/sysutils/screen) so you can resume the session later, should you get disconnected. I will, thanks for sharing. Jos ___ 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"
Portupgrade thru SSH session
Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately being not present and I having not set my Putty keepalive session timeperiod I was disconnected due to no activity on this system prompt $-|. What I did after having logged on again was deleting that specific ruby process and some tty processes. Perhaps I should delete some other temp files as well? Thanks, 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: 7.1 : watchdog bge0 timeout ?
[Lowell Gilbert] Uit een eerder bericht van 10-1-2009 15:51 :: Could be hardware trouble, I suppose. I know FreeBSD can detect hardware probs better than other OS'es; but why didn't 6.x detect this malfunction then? I believe Murphy and his law, but for mee it seems a little bit too accidentally L-) regards, 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: MySQL version upgrade [SOLVED]
[APseudoUtopia] Uit een eerder bericht van 2-1-2009 17:04 :: I'd recommend that you read up on the MySQL documentation on the subject of upgrading. I don't mean to be mean, but it's not exactly a FreeBSD issue :-P I ofcourse was referring to the ports part of the whole story, sorry for not being clear about this. What I did: - Upgrade the MySQL client port and its dependencies first. - Upgraded mysql-client %> portupgrade -o databases/mysql50-client -f mysql-client-\* - Upgrade mysql-server %> portupgrade -o databases/mysql50-server -f mysql-server-\* - Recompiled everything else that depends on mysql-client so that they all link against the upgraded shlib: %> portupgrade -Nfi -r mysql-client-\* -x mysql-client -x mysql-server - Restarted my mysql-server and ran the mysql-upgrade program: %> mysql_upgrade -v -b /usr/local -d /var/db/mysql -u root Then I checked /var/db/mysql/mysite.err to see if there were any obvious problems (...): 090102 17:58:45 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run So I did a fix on my SQL tables: %> mysql_fix_privilege_tables --password=my_password mysite.err: 090102 18:07:39 mysqld started 090102 18:07:39 InnoDB: Started; log sequence number 0 2232580 090102 18:07:39 [Note] /usr/local/libexec/mysqld: ready for connections. Version: '5.0.75' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-5.0.75 After this I tested all mysql client programs and am happy again :-) -- 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"
MySQL version upgrade
I currently have running: mysql-client-4.0.27 & mysql-server-4.0.27, who I would like to upgrade to mysql-client-5.0.75 & mysql-server-5.0.75 I can imagine that there is a database issue here as the 4.0 records might differ from the 5.0 ones. Is there a way of upgrading smoothly? I did upgrade my databases in advance. -- best Wishes for 2009 and thank you for your support in the last year. ___ 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"
PHP 5 | pcre extention
Dear all, Can someone tell me why, as of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore? Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"