Problem with cvsup12, use other server

When doing updating ports every 3 days I see this in this morning :

ftp# cvsup -g -L2 ports-supfile
Parsing supfile "ports-supfile"
Connecting to cvsup12.FreeBSD.org
Connected to cvsup12.FreeBSD.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
Server warning: Cannot open "/cvs/cvsupd/prefixes/FreeBSD.cvs/ports/Tools/portbuild/2.2/bindist/README,v": No such file or directory
Server warning: Cannot open "/cvs/cvsupd/prefixes/FreeBSD.cvs/ports/Tools/portbuild/2.2/bindist/delete,v": No such file or directory
Server warning: Cannot open "/cvs/cvsupd/prefixes/FreeBSD.cvs/ports/Tools/portbuild/2.2/bindist/dirlist,v": No such file or directory
Server warning: Cannot open "/cvs/cvsupd/prefixes/FreeBSD.cvs/ports/Tools/portbuild/2.2/bindist/files/usr/bin/uname,v": No such file or directory
……………………

Wow, after see my ports-supfile nothing changed :

*default host=cvsup12.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

*default compress

ports-all

 

Hmmm….

Ok, try another server

ftp# cvsup -g -L2 ports-supfile -h cvsup10.freebsd.org
Parsing supfile "ports-supfile"
Connecting to cvsup10.freebsd.org
Connected to cvsup10.freebsd.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Checkout ports/audio/xmms2/files/patch-src_clients_lib_python_xmmsapi.pyx
 Edit ports/databases/mysql-query-browser/Makefile
  Add delta 1.10 2007.11.12.23.43.33 pav
 Edit ports/databases/oracle8-client/Makefile
  Add delta 1.4 2007.11.13.20.25.46 fjoe
 Edit ports/databases/oracle8-client/distinfo
  Add delta 1.3 2007.11.13.20.25.46 fjoe
 Edit ports/databases/py-tada/Makefile
  Add delta 1.5 2007.11.14.22.53.57 pav
…………………….

Fiuh, it seem problem occur in cvsup12.freebsd.org

I hope it will fix immediately

 

in Unix | 294 Words

Configure Vlan on Vmware and Dynamips : step by step

From mmliac in hacki forum :

I have tested trunking between two 3660 with NM-16ESW and it works fine.
Connected 3 Wmware computers on each side in 2 different vlans.
Vlan information is being transferred from the VTP server to the VTP client.

I am using Vmware Workstation 5.0 and Dynamips is running on the host computer

Heres step by step configure vlan on vmware and dynamips :

Start by configuring new virtual interfaces in Vmware.

Continue reading

in Blog | 646 Words

Making pdf file : List of freeware

"I can’t upload my pdf file to ftp, whats wrong?", a student asked me that question this evening.

He make his report in MS Word and use adobe distiller to produce pdf file.

"Wait", I checked his ftp quota and see that still plenty of room there for him 🙂

Around 20MB of free space available.

One pdf file larger than 20MB (that thing crossing my mind till I try to use openoffice, using its export to pdf feature and produce 1,3 MB.

What the heck. I don’t know about setting that technician use in the class but thats big difference between 28MB ( pdf file produced by adobe distiller)  versus 1.3 MB from openoffice.

After solve his temporary problem I do search with google to find out other freeware that might help to produce pdf file and here my result :

Continue reading

trying vncserver @xubuntu

[email protected]:/home/three# vncserver
Couldn’t start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn’t start Xvnc process.

Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:22:10 Xvnc version 3.3.7 – built Jul  4 2006 10:06:30
11/11/07 20:22:10 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:22:10 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:22:10 All Rights Reserved.
11/11/07 20:22:10 See http://www.realvnc.com for information on VNC
11/11/07 20:22:10 Desktop name ‘X’ (three-desktop:1)
11/11/07 20:22:10 Protocol version supported 3.3
11/11/07 20:22:10 Listening for VNC connections on TCP port 5901
11/11/07 20:22:10 Listening for HTTP connections on TCP port 5801
11/11/07 20:22:10   URL http://three-desktop:5801
_FontTransSocketUNIXConnect: Can’t connect: errno = 2

trying another option :

[email protected]:~$ sudo vncpasswd /root/.vncpasswd
Password:
Verify:
[email protected]:~$ sudo /usr/bin/Xvnc :2 -query localhost -geometry 800×600 -depth 16 -once -fp /usr/share/X11/fonts/misc -dontdisconnect -nevershared -rfbauth /root/.vncpasswd
Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:28:54 Xvnc version 3.3.7 – built Jul  4 2006 10:06:30
11/11/07 20:28:54 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:28:54 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:28:54 All Rights Reserved.
11/11/07 20:28:54 See http://www.realvnc.com for information on VNC
11/11/07 20:28:54 Desktop name ‘x11’ (three-desktop:2)
11/11/07 20:28:54 Protocol version supported 3.3
11/11/07 20:28:54 Listening for VNC connections on TCP port 5902
Font directory ‘/usr/share/X11/fonts/misc’ not found – ignoring

Fatal server error:
could not open default font ‘fixed’

trying again : install vnc4server

[email protected]:/home/three# apt-get install vnc4server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
  vnc-java
The following NEW packages will be installed:
  vnc4server
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 1066kB of archives.
After unpacking 2470kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com edgy-updates/universe vnc4server 4.1.1+xorg1.0.2-0ubuntu1.6.10.2 [1066kB]
Fetched 1066kB in 28s (37.1kB/s)
Selecting previously deselected package vnc4server.
(Reading database … 85336 files and directories currently installed.)
Unpacking vnc4server (from …/vnc4server_4.1.1+xorg1.0.2-0ubuntu1.6.10.2_i386.deb) …
Setting up vnc4server (4.1.1+xorg1.0.2-0ubuntu1.6.10.2) …

[email protected]:/home/three# vncserver

New ‘X’ desktop is three-desktop:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/three-desktop:1.log

[email protected]:/home/three# ps ax | grep vnc
18374 pts/1    S      0:00 /bin/sh /root/.vnc/xstartup
18378 pts/1    S+     0:00 grep vnc

need to download vnc viewer now 🙂

PHP 5.2.5 Released, 7 security enhancements & fixes

From php.net

The PHP development team would like to announce the immediate availability of PHP 5.2.5. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.

Further details about the PHP 5.2.5 release can be found in the release announcement for 5.2.5, the full list of changes is available in the ChangeLog for PHP 5.

Security Enhancements and Fixes in PHP 5.2.5:

  • Fixed dl() to only accept filenames. Reported by Laurent Gaffie.
  • Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie.
  • Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences. Reported by Rasmus Lerdorf
  • Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.
  • Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications. Reported by SecurityReason.
  • Fixed bug #42869 (automatic session id insertion adds sessions id to non-local forms).
  • Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here, detailing the changes between those releases and PHP 5.2.5.

Download now.

in PHP | 215 Words