Re: How to activate extensions after compiling php5 core and extensions? No instructions!
On 6 August 2009 c. 07:25:29 Andres Salazar wrote: > Hello, > > OpenBSD 4.5 stable > > I have done the following: > > cd /usr/ports/www/php5/core; make; make install; > cd /usr/ports/www/php5/extensions; make; make intall; > > That according to pkg_info installed: > > php5-core-5.2.10server-side HTML-embedded scripting language > php5-extensions-5.2.10 informational package about PHP5 extensions > > The instructions after finishing the extensions compiling said: > > --- php5-extensions-5.2.10 --- > This is a place-holder package to inform you that the PHP port is > now split into small sub-packages, designed to allow you to install > modules independently of the main PHP engine. > > For example, to install the IMAP module, just pkg_add the > php5-imap-5.2.10.tgz package and activate it using the > 'phpxs' command. > > > I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to > install it from the packages (and off course it wont becuase the > packages offers 5.2.8)... and then the phpxs command doesnt exist. > > What am I missing to actually finish the install of all the php5 > extensions? cd /usr/ports/www/php5/extensions && SUBPACKAGE=-mysql make install -- Best wishes, Vadim Zhukov A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Panic at install of amd64 on HP nx6320
What I did: Install into wd0, second DOS partition, 20G. Everything looked good. At reboot, the panic happens, always. ps is easy: ddb> ps * 0 -1 0 0 7 0x80200 swapper ddb> trace Debugger() at Debugger+0x5 panic() at panic+0x122 _aml_die() at _aml_die+0xdb aml_xconvert() at aml_xconvert+0x68 [...] config_attach() at config_attach+0x11b cpu_configure() at cpu_configure+0x1c main() at main+0x3c5 end trace frame:0x0, count: -31 (If someone will ask for the complete trace: I'll take a screenshot with a camera if need be.) Any recommendation? (The machine works well at its other boots: XP and Ubuntu.) Uwe
Re: [SOLVED, sort of] Re: 'ps auwx' and 'top': inconsistent display?
On 2009-08-05, Philip Guenther wrote: > On Wed, Aug 5, 2009 at 4:10 AM, Toni Mueller wrote: >> On Sat, 01.08.2009 at 17:13:43 +0300, Jussi Peltola wrote: >>> Why should fork touch user id's? >> >> I was under the impression that only the effective userid should be >> inherited by a forked process, not the real user id. > > Make a note that whatever source of information you got that from was > wrong and should not be trusted. I suggest you read W. Richard > Stevens's "Advanced Programming in the UNIX Environment". Anyone know how important the changes between the first and second edition of this are? (The older one's a lot cheaper..)
Re: Panic at install of amd64 on HP nx6320
we need a trace; this is worthless. On Fri, Aug 07, 2009 at 08:54:44PM +0800, Uwe Dippel wrote: > What I did: Install into wd0, second DOS partition, 20G. Everything > looked good. At reboot, the panic happens, always. > > ps is easy: > ddb> ps > * 0 -1 0 0 7 0x80200 swapper > ddb> trace > Debugger() at Debugger+0x5 > panic() at panic+0x122 > _aml_die() at _aml_die+0xdb > aml_xconvert() at aml_xconvert+0x68 > [...] > config_attach() at config_attach+0x11b > cpu_configure() at cpu_configure+0x1c > main() at main+0x3c5 > end trace frame:0x0, count: -31 > (If someone will ask for the complete trace: I'll take a screenshot with > a camera if need be.) > > Any recommendation? (The machine works well at its other boots: XP and > Ubuntu.) > > Uwe
Re: [SOLVED, sort of] Re: 'ps auwx' and 'top': inconsistent display?
On Fri, Aug 7, 2009 at 7:49 AM, Stuart Henderson wrote: > On 2009-08-05, Philip Guenther wrote: >> On Wed, Aug 5, 2009 at 4:10 AM, Toni Mueller wrote: >>> On Sat, 01.08.2009 at 17:13:43 +0300, Jussi Peltola wrote: Why should fork touch user id's? >>> >>> I was under the impression that only the effective userid should be >>> inherited by a forked process, not the real user id. >> >> Make a note that whatever source of information you got that from was >> wrong and should not be trusted. I suggest you read W. Richard >> Stevens's "Advanced Programming in the UNIX Environment". > > Anyone know how important the changes between the first and second edition > of this are? (The older one's a lot cheaper..) >From the 2nd Edition (excuse any typos): Page xxii Changes from the First Edition Rich's work holds up well. I've tried not to change his original vision for this book, but a lot has happened in 13 years. This is especially true with the standards that affect the UNIX programming interface. Throughout the book, I've updated interfaces that have changed from the ongoing efforts in standards organizations. This is most noticeable in Chapter 2, since its primary topic is standards. The 2001 version of the POSIX.1 standard, which we use in this revision, is much more comprehensive than the 1990 version on which the first edition of this book was based. The 1990 ISO C standard was updated in 1999, and some changes affect the interfaces in the POSIX.1 standard. A lot more interfaces are now covered by the POSIX.1 specification. The base specifications of the Single UNIX Specification (published by THe Open Group, formerly X/Open) have been merged with POSIX.1. POSI.1 now includes several 1003.1 standards and draft standards that were formerly published separately. Accordingly, I've added chapters to cover some new topics. Threads and multithreaded programming are important concepts because they present a cleaner way for programmers to deal with concurrency and asynchrony. The socket interface is now part of POSIX.1. It provides a single interface to interprocess communication (IPC), regardless of the location of the process, and is a natural extension of the IPC chapters. I've omitted most of the real-time interfaces that appear in POSIX.1. These are best treated in a text devoted to real-0time programming. Once such book appears in the bibliography. I've updated the case studies in the last chapters to cover more relevant real-world examples. For example, few systems these days are connected to a PostScript printer via a serial or parallel port. Most PostScript printers today are accessed via a network so I've changed the case study that deals with PostScript printer communication to take this into account. The chapter on modem communication is less relevant these days. So that the original material is not lost, however, it is available on the book's Wb site in two formats: PostScript (http:/www.apuebook.com/lostchapter/modem.ps) and PDF (... .pdf). The source code for the examples shown in this book is also available at www.apubook.com. Most of the examples have been run on four platforms: 1. FreeBSD 5.2.1, a derivative of the 4.4BSD release from the COmputer Systems Research Group at the University of California at Berkeley, running on an Intel Pentium processor 2. Linux 2.4.22 (the Mandrake 9.2 distribution), a free UNIX-like operating system, running on Intel Pentium processors 3. SOlaris 9, a derivative of Sysstem V Release 4 from Sun Microsystems, running on a 64-bit UltraSPARC IIi processor 4. Darwin 7.4.0, an operating environment based on FreeBSD and Mach, supported by Aple Mac OS X, version 10.3, on a PowerPC processor
Re: Panic at install of amd64 on HP nx6320
Marco Peereboom wrote: > we need a trace; this is worthless. > Thought so. Here are the screens, in the attachment. Hope, it goes through! Uwe [demime 1.01d removed an attachment of type image/jpeg which had a name of IMG_0623.JPG] [demime 1.01d removed an attachment of type image/jpeg which had a name of IMG_0624.JPG] [demime 1.01d removed an attachment of type image/jpeg which had a name of IMG_0625.JPG]
Memory on 4.5 again
Hi all, after my post in June [1] I've removed the wireless card that seemed to be causing the memory problems and my system is more stable now. However, after about three weeks of uptime, memory starts running low again and the machine starts swapping constantly. netstat -m gives me 33805 mbufs in use: 33790 mbufs allocated to data 3 mbufs allocated to packet headers 12 mbufs allocated to socket names and addresses 6/94/6144 mbuf 2048 byte clusters in use (current/peak/max) 0/8/6144 mbuf 4096 byte clusters in use (current/peak/max) 0/8/6144 mbuf 8192 byte clusters in use (current/peak/max) 0/8/6144 mbuf 9216 byte clusters in use (current/peak/max) 0/8/6144 mbuf 12288 byte clusters in use (current/peak/max) 0/8/6144 mbuf 16384 byte clusters in use (current/peak/max) 0/8/6144 mbuf 65536 byte clusters in use (current/peak/max) 156296 Kbytes allocated to network (99% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines 150 MB for network seems a bit much to me, especially since I can literally watch that number grow. The system has 3 wired ethernet interfaces (2 of them in use), pflog0 and enc0. No other interfaces. Traffic levels are very moderate -- max 1 GB per day. Any ideas what's going on and what I could do about this? Thanks, Lars [1] http://www.nabble.com/Memory-problems-on-4.5-td23901874.html
Open position for OpenBSD Admin with strong networking skills - Philadelphia, PA suburbs
Hi, Sorry if this isn't the appropriate list for this kind of posting. It seemed like the least offensive place to post it. I have an opening for an Admin with strong unix, I prefer OpenBSD, skills along with strong networking and telecom skills. This is a full- time permanent position reporting to and working directly with me. The job is managing the data and voice infrastructure for a small liberal arts college. Our HR department has published the job on the HigherEdJobs site and a few others, but the pool is decidedly lacking in Unix/Linux skills, so I'm reaching out directly. I will be happy to answer any questions. If anyone is interested in applying please email cover letter, resume, etc (pdf or word format - have to keep HR happy) to isj...@brynmawr.edu. Official Job Posting: Telecommunications Network Engineer Bryn Mawr College Responsible for the day-to-day administration and maintenance of the college's data and voice infrastructure, this position requires a person with both skill and vision. Reporting directly to the Head of Networking and Telecommunication, the successful candidate will support a combined Cisco/HP/Aruba data network and Avaya PBX; perform Move/Add/Change work for data and voice connections; affect routine repairs to the infrastructure; manage small wiring projects; build and deploy core network services with OpenBSD, and work with college departments and outside vendors to monitor and maintain the campus data and voice infrastructure. Required: Bachelor's degree in Computer Science, Electrical Engineering, Physics, or related technical discipline; professional certifications in Networking and Telecommunications systems. Three to five years experience providing data and voice network support in an institution of higher education or medium sized business; demonstrated skills in the following areas: * Comprehensive understanding of data and telephone technologies with an emphasis on router, switch, and PBX operation * Comprehensive understanding of tcp/ip network protocols * Comprehensive understanding of Ethernet * Comprehensive understanding of ISDN * Experience administering DNS, DHCP, RADIUS, and similar software * Experience with Systems Administration of OpenBSD, FreeBSD, or Debian Linux * Commitment to continuous improvement of professional skills Bryn Mawr is a private liberal arts institution that serves a population of 1,800 students at both the undergraduate and graduate levels. Located approximately 11 miles west of Philadelphia, PA., the College has a long tradition of educational excellence offering a dynamic and challenging workplace. The College offers a competitive salary and a comprehensive benefits package including 22 vacation days and a generous pension contribution. Review of applications will begin immediately and will continue until the position is filled. For a complete job description, visit Employment Opportunities on the College's Human Resources website: http://www.brynmawr.edu/humanresources/Recruit/employment_opportunities.shtml . For immediate consideration, send cover letter, including salary requirements, resume and a list of at least three professional references to: isj...@brynmawr.edu EOE M/F
Re: Memory on 4.5 again
So is anyone else seeing an mbuf leak with rl(4) or is it specific to this machine/configuration? On 2009-08-07, Lars Kotthoff wrote: > Hi all, > > after my post in June [1] I've removed the wireless card that seemed to be > causing the memory problems and my system is more stable now. However, after > about three weeks of uptime, memory starts running low again and the machine > starts swapping constantly. > > netstat -m gives me > 33805 mbufs in use: > 33790 mbufs allocated to data > 3 mbufs allocated to packet headers > 12 mbufs allocated to socket names and addresses > 6/94/6144 mbuf 2048 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 4096 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 8192 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 9216 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 12288 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 16384 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 65536 byte clusters in use (current/peak/max) > 156296 Kbytes allocated to network (99% in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > 150 MB for network seems a bit much to me, especially since I can literally > watch that number grow. The system has 3 wired ethernet interfaces (2 of them > in > use), pflog0 and enc0. No other interfaces. Traffic levels are very moderate > -- > max 1 GB per day. > > Any ideas what's going on and what I could do about this? > > Thanks, > > Lars > > > [1] http://www.nabble.com/Memory-problems-on-4.5-td23901874.html
Lo mas nuevo en Canc�n, La Amada Hotel
En caso de no poder ver correctamente este correo favor de dar clic aqum LO MAS NUEVO Y LUJOSO EN CANCZN Escapese a La Amada Hotel en Playa Mujeres, a solo unos minutos al norte de Canczn. En sus acogedoras instalaciones podra disfrutar de un lujo contemporaneo. En Playa Mujeres, todo se conjuga para que sus dmas transcurran placidamente: su bella arquitectura, decoracisn, las amplias suites, el servicio impecable, las lujosas instalaciones y por supuesto, su exclusiva ubicacisn frente al mar. Aqum podra disfrutar de esos detalles que le hacen sentir bien: un juego de golf, navegar al atardecer, toda una sesisn de tratamientos en el spa, o una copa de vino cuando cae la noche. La Amada le ofrece los placeres de la buena vida en pareja o en familia. DESDE $ 1,499 MN* Alojamiento en Junior Suite (90 m2) Desayuno Gourmet. Acceso a Internet. Maximo 2 adultos y 2 niqos (hasta 17 aqos) por habitacisn. Valido desde el 17 de agosto hasta 23 de diciembre incluidos. ENTRE NOSOTROS, CADA DMA LE SUPONDRA UNA EXPERIENCIA INOLVIDABLE Vismtenos en www.laamadahotel.com o llame al: 01 800 002 6232 Este mensaje fue enviado para informacisn de nuestras promociones. No pretendemos saturar su correo ni causarle molestias. Este mensaje de correo electrsnico no se considera "SPAM", ya que cumple con lo establecido en el capmtulo VIII BIS de los lineamientos sobre comercio electrsnico publicados por la PROFECO, ademas de contener instrucciones y una forma electrsnica para notificar y solicitar la cancelacisn de su envmo y no continuar recibiindolo. Si no desea recibir en un futuro estos mensajes favor de hacer clic en ( unsuscr...@pqstravel.com ) y sera removido de nuestra lista en 72 horas. Si desea hacer llegar esta informacisn a otros agentes de viajes o particular, proporcisnenos sus direccisn de correo electrsnico HAGA CLIC AQUM o envme sus sugerencias. Si desea informacisn sobre nuestros servios, contactenos a m...@pqstravel.com
Re: boot disk ???
On Thu, Aug 6, 2009 at 4:47 PM, Chris Dukes wrote: > > Noone in their right mind installs an operating system just to install > an operating system. For the matter, noone in their right mind uses > a computer to just use a computer. > There are rational human oriented end goals for which installing > an operating system *MIGHT* be a rational step. Hardly true. I have plenty of geeky friends who love toying with different OSes. However, they usually have a "i'll make it work, it'll be a fun challenge" attitude, not "it doesn't work so you're all trying to GET ME"...
Re: Delete packages with dependencies
I have the first attempt of the dependencies deletion option. I modified 'pkg_delete' to include an option -r that perform this task. The main idea is to traverse the graph of package dependencies with some kind of bfs algorithm. The queue is initialized with the original packages to be removed. Packages that have not dependents and were not manually installed are added to the bfs queue for exploration. This is repeated until the queue for exploration is empty. Below you can find the patch. My perl-fu is not very good so I am not sure if this is the right way of doing things. Another thing is that I developed this for OpenBSD 4.5 and I don't have a box with the 'current' branch; if somebody can test it for 4.6 that could help. Of course, I would like to know your thoughts about it. 41c41 < our ($opt_v, $opt_D, $opt_d, $opt_n, $opt_q, $opt_p, $opt_c, $opt_L, $opt_B, $opt_I, $opt_i, $opt_x); --- > our ($opt_v, $opt_D, $opt_d, $opt_n, $opt_q, $opt_p, $opt_c, $opt_L, $opt_B, > $opt_I, $opt_i, $opt_x, $opt_r); 46c46 < getopts('vchixDdnf:F:qpS:L:B:I', --- > getopts('vchixDdnf:F:qpS:L:B:Ir', 158a159,191 > } > > if($opt_r) { > # calculate dependencies to be removed: > # 1. Not installed manually > # 2. Not dependecy for other package > > # bfs over the graph of packages > my @q = @todo; # queue of bfs > @todo = (); # the new todo will include previous > # and dependecies packages > > while(@q) { > my $pkg = pop @q; > > # pkg to delete > unshift (@todo, $pkg); > > for my $dep (OpenBSD::Requiring->new($pkg)->list) { > my @dependents = > OpenBSD::RequiredBy->compute_closure($dep); > > # calculate @dependen...@q-@todo. We don't care about > the > # packages that will be removed anyway. > my %qh = map {($_, 1)} @q; > my %todoh = map {($_, 1)} @todo; > @dependents = grep {not($qh{$_} or $todoh{$_} or ($_ eq > $dep))} @dependents; > > # check if $dep was manually installed > my $manual = > OpenBSD::PackingList->from_installation($dep)->has('manual-installation'); > > unshift (@q, $dep) unless (@dependents or $manual); > } > }
Re: boot disk ??? closed
On Fri, Aug 7, 2009 at 3:02 AM, PJ wrote: > Michael wrote: >> PJ, you wrote (in part) "I already posted wherefrom - openBSD ftp >> site; the burning was done exaactly the same as for the FreeBSD and >> many other files without ever having any problems... and I mean, EVER >> !" >>> I'd say you are making assumptions and not looking at the problem as a > whole. > I suggest we close this topic as it is wearisome and not going > anywhere...forget all this nonselse, I'll figure it out by myself...and > with a few leads from someof the nicer guys on the list... > they know who they are... > So, drop it... and > "amici come prima" > PJ > "It's not I who is having problems. I think it's OpenBSD." http://marc.info/?l=openbsd-misc&m=124950952927714&w=2 "I already posted wherefrom - openBSD ftp site; the burning was done exaactly the same as for the FreeBSD and many other files without ever having any problems... and I mean, EVER !" http://marc.info/?l=openbsd-misc&m=124951048129354&w=2 -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org