Re: Apache php weird problem
thanks a lot joachim, that did the trick. On 6/16/09, Joachim Schipper wrote: > On Tue, Jun 16, 2009 at 03:07:01PM +0430, MANI wrote: >> yes! I'm running -current ( snapshot June 6 ). sorry I didn't saw >> 2009/06/03 httpd ABI change, So I should build php from port tree? > > Or use a -current package. I don't know what architecture you are on, > but ftp.openbsd.org has php5-core-5.2.9p2 for e.g. i386 and amd64. > > It looks like you pointed your PKG_PATH at the wrong place. It should be > ftp://your.mirror.here/pub/OpenBSD/snapshots/packages/`machine`. > > Joachim
Re: Apache php weird problem
l 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 19 (irq 10) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 19 (irq 10) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b On 6/16/09, Joachim Schipper wrote: > On Tue, Jun 16, 2009 at 02:07:33PM +0430, MANI wrote: >> First of all thanks for the clues. > > Are you, perchance, running -current? The http ABI was changed > (http://www.openbsd.org/faq/current.html#20090603), and you appear to be > running a port from -stable. (Which is not guaranteed to work, and > doesn't, in this case.) > > You didn't post a dmesg and may not be running a kernel compiled by the > project, so I wasn't able to figure out whether you were running > -current. > > For what it's worth, my Apache/PHP install works fine... > > Joachim
Re: Apache php weird problem
No, my httpd.conf file configured with AddType and LoadModule for php correctly, and I don't get source code in browser, I just get a blank page and a segmentation fault in error_log. I tried to browse index.php with lynx instead of firefox, lynx returned following error: Looking up 127.0.0.1 Making HTTP connection to 127.0.0.1 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access `http://127.0.0.1/index.php' Alert!: Unable to access document. lynx: Can't access startfile but lynx shows http://127.0.0.1/index.html without any error. On 6/16/09, Richard Toohey wrote: > And not this? > > http://marc.info/?l=openbsd-misc&m=123972169917551&w=3 > http://marc.info/?l=openbsd-misc&m=123972131216791&w=3 > > (Not replying to the list to cut down the noise.) > > On 16/06/2009, at 9:37 PM, MANI wrote: > >> First of all thanks for the clues. >> >> On 6/16/09, Richard Toohey wrote: >>> On 16/06/2009, at 7:08 PM, Richard Toohey wrote: >>> >>>> [1] the index.php is really in /var/www/conf? >> >>No, it was another typo in mail, It's in /var/www/htdocs. >> >>>> [2] you meant the index.php not to be valid PHP? No >>>> on purpose? >> >>Actually at first it was pure php but I changed it for testing >> purposes, Now: >> >> $ cat /var/www/htdocs/index.php >> >> >> >> >> Agent47 Test Page for Apache Installation >> >> >> >> >> >> >>> [4] What happens if you try >>> >>> php index.php >> >> $php /var/www/htdocs/index.php >> >> >> >> >> Agent47 Test Page for Apache Installation >> >> >> Hello PHP! >> >> >> >>> [5] What happens if you disable the mysql extension - just get php >>> core working first? >> >> I removed mysql extension but no luck ... :( >> >>> [6] Anything from php -v or php -m that gives any clues? >> >> $ php -v >> >> PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Mar 1 2009 >> 15:20:21) >> Copyright (c) 1997-2008 The PHP Group >> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies >> with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH >> >> $ php -m >> [PHP Modules] >> bcmath >> calendar >> ctype >> date >> dom >> exif >> filter >> ftp >> gettext >> hash >> iconv >> json >> libxml >> mysqli >> openssl >> pcre >> PDO >> posix >> Reflection >> session >> SimpleXML >> sockets >> SPL >> standard >> suhosin >> sysvsem >> sysvshm >> tokenizer >> wddx >> xml >> xmlreader >> xmlwriter >> zlib >> >> [Zend Modules] >> Suhosin >> >>> [7] Did you really mean to install php5-mysql and mysql-SERVER? >>> You might have meant mysql-CLIENT - makes more sense. >> >> No, I also needed mysql-server.
Re: Apache php weird problem
First of all thanks for the clues. On 6/16/09, Richard Toohey wrote: > On 16/06/2009, at 7:08 PM, Richard Toohey wrote: > >> [1] the index.php is really in /var/www/conf? No, it was another typo in mail, It's in /var/www/htdocs. >> [2] you meant the index.php not to be valid PHP? No > > on purpose? Actually at first it was pure php but I changed it for testing purposes, Now: $ cat /var/www/htdocs/index.php Agent47 Test Page for Apache Installation > [4] What happens if you try > > php index.php $php /var/www/htdocs/index.php Agent47 Test Page for Apache Installation Hello PHP! > [5] What happens if you disable the mysql extension - just get php > core working first? I removed mysql extension but no luck ... :( > [6] Anything from php -v or php -m that gives any clues? $ php -v PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Mar 1 2009 15:20:21) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH $ php -m [PHP Modules] bcmath calendar ctype date dom exif filter ftp gettext hash iconv json libxml mysqli openssl pcre PDO posix Reflection session SimpleXML sockets SPL standard suhosin sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zlib [Zend Modules] Suhosin > [7] Did you really mean to install php5-mysql and mysql-SERVER? > You might have meant mysql-CLIENT - makes more sense. No, I also needed mysql-server.
Re: Apache php weird problem
On Tue, Jun 16, 2009 at 7:52 AM, MANI wrote: > # apachectl stop > # tail -f /var/www/logs & > # apachectl start > # > 3 > 4 Hello PHP! > 5 > 6 > > # apachectl stop > # tail -f /var/www/logs & > # apachectl start > > Sorry mistype I mean: # apachectl stop # tail -f /var/www/logs/error_log & # apachectl start
Apache php weird problem
Hi misc, #uname -a OpenBSD agent47.bsd.org 4.5 GENERIC.MP#45 i386 # pkg_add -v php5-core # pkg_add -v mysql-server-5.0.77 # pkg_add -v php5-mysqli-5.2.8 in /var/www/conf/httpd.conf : *Include /var/www/conf/modules/*.conf* in /var/www/conf/modules/php5.conf -> /var/www/conf/modules.sample/php5.conf : *LoadModule php5_module /usr/local/lib/php/libphp5.so* *AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps DirectoryIndex index.php* in /var/www/conf/php5 : mysqli.ini -> /var/www/conf/php5.sample/mysqli.ini also default php.ini in /var/www/conf exists. # cd /var/www/conf # vi index.php 1 2 PHP Test Page! 3 4 Hello PHP! 5 6 # apachectl stop # tail -f /var/www/logs & # apachectl start # 3 4 Hello PHP! 5 6 # apachectl stop # tail -f /var/www/logs & # apachectl start # [Tue Jun 16 07:42:38 2009] [notice] Initializing etag from /var/www/logs/etag-state [Tue Jun 16 07:42:38 2009] [notice] chrooted in /var/www [Tue Jun 16 07:42:38 2009] [notice] changed to uid 67, gid 67 [Tue Jun 16 07:42:38 2009] [notice] Apache configured -- resuming normal operations [Tue Jun 16 07:42:38 2009] [notice] Accept mutex: sysvsem (Default: sysvsem) browsing to http://127.0.0.1/index.html shows *It Worked!* default page. browsing to http://127.0.0.1/index.php will shows a blank page, when I view source in firefox there in no html in source with following log: [Tue Jun 16 07:45:41 2009] [notice] child pid 12856 exit signal Segmentation fault (11) I also tried to LoadModule directly into httpd.conf without using any Include file but no luck, also started apache in a non-chrooted environment will not help. File permission are also ok in htdocs: -r--r--r-- root bin index.php Any Idea?
Re: Anyone working with netbeans 5.5?
I tried netbeans 5.5 and 6.0 on Gentoo and FreeBSD previously with no problem, So I guess it's a OPENBSD issue with netbeans, also searching in Google about "netbeans ouput font problem" only returns result with OpenBSD. I didn't try to reproduce problems on another machine but for me steps were like this: 1- using -current on i386 2- sudo pkg_add -v jdk-1.7.0.00b43p0 3- sudo pkg_add -v netbeans 4- create a java project on netbeans and edit and compile few times. But problems with netbeans seems to be growing, after few hours of working It's very slow and hangs when I try to delete files from project, also starting netbeans with my default project takes 3 to 5 minutes! (In loading Modules ... ) I guess I have to use eclipse. On Fri, Jun 12, 2009 at 8:56 PM, ropers wrote: > > MANI wrote: > >>I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages, > >>everything works fine except Netbeans output window, it shows some > >>characters in square when I compile sources in output window, for > example: > > [...] > >>I found these two unsolved threads in mailing lists with the same > problem: > > 2009/6/12 Philippe Meunier : > > Yes, apparently several people have the same problem. I do too. My > > guess is that it's not a font problem but probably something like a > > race condition somewhere, because in my case I've seen from time to > > time part of the output being printed correctly. > > > > For your information, about two weeks ago I compiled netbeans 6.5.1 > > (directly from the source code, not from ports) and jdk 1.5 (from > > ports) on -current and the same problem was there too. > > Ok, so the problem exists in netbeans 6.5.1 on OpenBSD just like in > OpenBSD's netbeans 5.5 port. The next question would be, is it present > on other OSes as well? For shits and giggles, I've just installed > netbeans 6.5 on Ubuntu. I've never used netbeans and I'm not a > programmer, but if you told me a series of tubes^W steps that > reproduces this issue under OpenBSD, then I could try the same steps > and see if I can reproduce on Ubuntu 9.04, i.e. if it's in any way > OpenBSD's "fault" or it netbeans is just fucked somehow. > > regards, > --ropers
Re: Anyone working with netbeans 5.5?
thanks, here is the screenshot: http://imgur.com/oXUHE.png On Thu, Jun 11, 2009 at 5:53 PM, ropers wrote: > 2009/6/11 MANI : > > OK! I didn't know this mailing list doesn't accept attachements, I don't > > have otaccess to a web server at the moment for linking to screenshot > image so > > forget about it, it's just bunch of squares in output window of netbeans, > > instead of error messages or warnings. > > http://imgur.com/
Re: Anyone working with netbeans 5.5?
OK! I didn't know this mailing list doesn't accept attachements, I don't have access to a web server at the moment for linking to screenshot image so forget about it, it's just bunch of squares in output window of netbeans, instead of error messages or warnings.
Re: Anyone working with netbeans 5.5?
Sorry Forgot to attach screenshot, here it is. [demime 1.01d removed an attachment of type image/png which had a name of screenshot.png]
Anyone working with netbeans 5.5?
Hi misc, I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages, everything works fine except Netbeans output window, it shows some characters in square when I compile sources in output window, for example: << Copying 1 file to /home/mani/src/java/MXPAPI/build/web/WEB-INF/lib Copying 152 files to /home/mani/src/java/MXPAPI/build/web/WEB-INF/classes library-inclusion-in-manifest: Compiling 2 source files to /home/mani/src/java/MXPAPI/build/web/WEB-INF/classes Copied 1 empty directory to 1 empty directory under /home/mani/src/java/MXPAPI/build/web/WEB-INF/classes compile: compile-jsps: *-- And Squares here* >> And unfortunately they are most critical messages (for example errors), screenshot file attached. I found these two unsolved threads in mailing lists with the same problem: http://kerneltrap.org/mailarchive/openbsd-misc/2007/11/28/455228/thread http://www.mail-archive.com/po...@openbsd.org/msg18704.html any idea? thanks, Mani
Install math/cfitsio Port
Hi misc, I am trying to make KDE4 from Ports on my OpenBSD 4.5 release box, but I encountered Checksum mismatch error in /usr/ports/math/cfitsio: # make install ===> Checking files for cfitsio-3.006p0 >> Fetch ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3006.tar.gz cfitsio3006.tar.gz: No such file or directory. >> Fetch ftp://ftp.openbsd.org/pub/OpenBSD/distfiles//cfitsio3006.tar.gz >> (SHA256) cfitsio3006.tar.gz: FAILED >> Checksum mismatch for cfitsio3006.tar.gz. (sha256) Make sure the Makefile and checksum file (/usr/ports/math/cfitsio/distinfo) are up to date. If you want to fetch a good copy of this file from the OpenBSD main archive, type "make REFETCH=true [other args]". *** Error code 1 Stop in /usr/ports/math/cfitsio (line 1853 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/math/cfitsio (line 2006 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/math/cfitsio (line 1432 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/math/cfitsio (line 1972 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/math/cfitsio (line 1462 of /usr/ports/infrastructure/mk/bsd.port.mk). * $ dmesg attached ... OpenBSD 4.5 (GENERIC.MP) #108: Sat Feb 28 14:58:58 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2450 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR real mem = 1063415808 (1014MB) avail mem = 1019949056 (972MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/08/07, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.4 @ 0xdc010 (17 entries) bios0: vendor Phoenix Technologies LTD version "R0100J4" date 02/08/2007 bios0: Sony Corporation VGN-N370E acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC HPET MCFG SLIC APIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices PWRB(S4) PXS1(S3) PXS2(S3) PXS3(S3) PXS4(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2450 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 4 (RP02) acpiprt4 at acpi0: bus 6 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus 8 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 90 degC acpitz0: TZ00: failed to read _AC0 acpitz1 at acpi0: critical temperature 90 degC acpitz1: TZ01: failed to read _AC0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 type LiOn oem "Sony Corp." acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpivideo at acpi0 not configured bios0: ROM list: 0xc/0x1! 0xdc000/0x4000! 0xe/0x1800! cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130f2c06000f2c cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1404 mV): speeds: 2000, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xc000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 7) drm0 at inteldrm0 "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 int 22 (irq 4) azalia0: codecs: Realtek ALC262, Conexant/0x2c06, using Realtek ALC262 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17 (irq 3) pci1 at ppb0 bus 2 mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8036" rev 0x16, Yukon-2 FE (0x1): apic 1 int 16 (irq 7) msk0 at mskc0 port A: address 00:13:a9:c6:c4:6c eephy0 at msk0 phy 0: 88E3082 10/100 PHY, rev. 3 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16 (irq 7) pci2 at ppb1 bus 4 ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18 (irq 11) pci3 at ppb2 bus 6 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 18 (irq 11), MoW1, address 00:19:d2:96:64:28 uhci0 at pci0
Multiboot OpenBSD with Vista
Hi, First of all you need to know I am running OpenBSD on my laptop and PC at home happily as sole OS, but unfortunately I need to dual boot my PC at Office because of some proprietary softwares we need at company, the other OS is Microsucks Windows Vista AFAIK one of the way of dual booting is to copy openbsd.pbr on Drive C of windows, but How can I make openbsd.pbr. and why I can not boot to OpenBSD using bootable cd ? boot > hd0a:/bsd not working for me. OpenBSD is on rwd0a - rwd0f and Vista is on rwd0g and rwd0h. If I go to shell on bootable cd and type: mount -t ffs /dev/wd0a /mnt I can mount wd0a wich is my root partition on /mnt and everythings seems ok. So what is the easiest solution to dual booting ? Regards, Mani Malekmohammadi
Re: KVM Switch HP Problem
$ dmesg ( attached ) [demime 1.01d removed an attachment of type application/octet-stream which had a name of my_dmesg]
KVM Switch HP Problem
Hi, I have a problem with KVM switch HP with OpenBSD 4.4, when I switch to my OpenBSD server there is no image and no message on the display. ( I guess it's out of range error ) Is it related to wscons configuration, should I change default screen emulator type or something like that? Thanks, Mani Malekmohammadi
Getting 4.5 from FTP
Hi, I just wanted to download OpenBSD 4.5 from one of FTP mirrors but according to Date modified field of files, I assumed the files are not latest released version of 4.5, for example at main ftp: ftp://ftp.openbsd.org/ pub/OpenBSD/4.5/amd64/ install45.iso file last modified date is 2/28/09 7:12:00 PM. Do I missing something obvious here cause according to announcement some FTP mirrors (including main ftp site) have latest version of 4.5. by the way I would happy to order OpenBSD CD,T-Shirts and support my beloved operating system but I am afraid I am living in Iran (No Credit Card!), If there is any other way to get OpenBSD CD's and T-Shirts please let me know! Thanks, Mani Malekmohammadi
Re: Upgrade to -current
*>> **Toma:** **It depends where you use OpenBSD ( desktop or server )* *Actually the system is a Desktop on my laptop, but I am highly dependent on it for my programming's work.* *>> michael & Neal : You should try and search the archives for that, it is answered* *>> thorougly a couple of times.* *Actually I read all of FAQs (and searched the archives) about this and I know what's the recommended approach is but that's so time consuming and I was looking for a shortcut to that!* *>> michael: Recommends: exercise, eat healthy, reboot once in a while, and upgrade* *>> regularly:)* *I agree with all of that except upgrading regularly! I only upgrade or patch If there is security patch or highly needed feature, that's all about OpenBSD's approach to life IMHO! :)* *>> **Jan:** **Which new features are these and why do you need -current for that?* *Actually I am pretty happy with 4.2 but every now and then I have some problems because of being out of date (e.g daylight saving time). About new features I specially like ifconfig access point scanning capabilities which is quiet important for me & having access to latest ports collection because some ports I need is not available on 4.2.* >> Lammert : A far better approach would be to backup the current machine, do a fresh >> install of 4.5 [from the CDs you pre-ordered], and then restore any needed >> files. Moving from 4.5 to -current should be much simpler *But then I have to install OpenOffice, eclipse, netbeans, firefox and all other ports from scratch right?* *>> **LEVAI : **Upgrading thru the binary releases is not that tedious* *I hope that's the case because my guess is I have to go along with the upgrade guidance and upgrade 4.2 > 4.3 > 4.4 and finally 4.5.* *thanks for help guys.*
Upgrade to -current
Currently I am using 4.2 stable and I am willing to upgrade to -current because of some new features which i need. According to faq (http://www.openbsd.org/faq/faq5.html#Bld) I should first upgrade to closest binary, which means upgrade from 4.2 to 4.3 and then to 4.4 ( Latest snapshot ) and finally Fetch & build *-current. Above process as you know will be a highly time consuming process and I prefer stick to my current 4.2 rather than going through that. why not just Fetch & build -cuurent directly? what is your recommended approach for upgrading to -cuurent ? thanks, Mani *
Re: DST Timezone problem
Thnx, I just found source in /usr/src/share/zoneinfo/datfiles/asia and added fixed rules myself. about upgrading to 4.5 yeah it's in my priorities sepcially after ifconfig new scan capabilities for wireless access points, which i need a lot. On Wed, 22 Apr 2009, Philip Guenther wrote: On Wed, Apr 22, 2009 at 12:09 AM, Mani Malekmohammadi wrote: I am using 4.2-stable and apparently Daylight saving doesn't declared for /usr/share/zoneinfo/Iran OpenBSD 4.2 was locked for release before the timezone data maintainers became aware that the Iranian government had decided to reinstate DST. OpenBSD 4.3 and later include the updated timezone data for Iran. Timezone database updates are usually not considered critical and therefore tend not to be merged to the maintenance branches. Meanwhile, 4.2 stopped being supported last fall; you should *strongly* consider updating to a newer version: OpenBSD 4.5 will be officially released in a matter of days. If you're comfortable with using cvs and building the OpenBSD source tree, you could just updated the /usr/src/share/zoneinfo/ directory to the trunk (using "cvs update -A" from within that directory) and then build and install the updated zone files: make cleandir && make && sudo make install Philip Guenther
DST Timezone problem
I am using 4.2-stable and apparently Daylight saving doesn't declared for /usr/share/zoneinfo/Iran Proper handling of DST can be checked by running "zdump -v -c /usr/share/zoneinfo/Iran". I'm sorry that our dumb government didn't applied DST for two years (2006,2007), they resumed to apply DST from 2008. So i guess that's the reason for "isdst=0" from 2006 to 2038 in this file. Corrected version should be: /usr/share/zoneinfo/Iran Mon Mar 21 20:30:00 2008 UTC = Tue Mar 22 01:00:00 2008 IRDT isdst=1 /usr/share/zoneinfo/Iran Wed Sep 21 19:29:59 2008 UTC = Wed Sep 21 23:59:59 2008 IRDT isdst=1 And so on for next years. Cheers, Mani.
Download Manager with Socks proxy support
Sorry if it's not related to OpenBSD, but I need to download some large files through socks proxy on my OpenBSD box, and wget doesn't support socks proxy ( I know about --with-socks option, but apparently it's no longer supported according to: http://www.mail-archive.com/w...@sunsite.dk/msg10824.html ) Do you know any download manager which supports socks proxy? Thanks, -- Mani