<< 27-August-2008 : bevinbot on #opensolaris at freenode [download] [back] >>
 
 
time nick message

00:13

<Gman_>

DottorZero: nope, unfortunately

00:13

<DottorZero>

ok

00:14

<sstallion>

sstallion yawns

00:16

<DottorZero>

I don't understand why the debian guest starts with the / in readonly

00:18

<e^ipi>

i blame linux

00:18

<e^ipi>

but that's not a bad default to those sorts of questions

00:19

<e^ipi>

"why does Linux do <some retarded thing>?" "because it's linux, it's retarded like that"

00:19

<e^ipi>

;)

00:19

<Gman_>

shuddup e^ipi

00:19

<e^ipi>

:P

00:19

<Gman_>

the same could be said for linux able to read zfs

00:19

<Gman_>

:)

00:19

<e^ipi>

the code is out there, some of it is GPL too

00:19

<timsf>

That's not retarded, that's just NIH syndrome

00:20

<timsf>

btrfs right.

00:20

<DottorZero>

I don't understand advantage on using zfs for guests

00:20

<e^ipi>

i meant the GRUB implementation of zfs

00:20

<DottorZero>

using files it's more compatible

00:20

<Gman_>

some day, someone who won't care will just add it

00:20

<Gman_>

the install guys hope to have some degree of ext3 support long term

00:21

<e^ipi>

DottorZero: snapshots. checksums & associated self-healing.

00:21

<e^ipi>

compression

00:21

<Gman_>

(so at least it can detect ext3 filesystems during install, which is a step in the right direction)

00:21

<DottorZero>

then it's cool zfs

00:21

<timsf>

DottorZero: are you talking about zfs zvol-based vs. filesystem based guests (for say, xen?)

00:21

<e^ipi>

i have an xvm domU that I use for testing stuff, because I can snapshot it, boot it, BFU it, and then rollback when i'm done playing

00:22

<DottorZero>

timsf, yes

00:22

<timsf>

in which case, the answer is "one less layer to go through".

00:22

<timsf>

- if all you're doing is block operations, you don't need a filesystem.

00:22

<timsf>

[ and you still get all the cool stuff e^ipi pointed at ]

00:28

<DottorZero>

the world is readonly

00:28

<bda>

Use a larger calibre.

00:29

<theRealBall>

hi

00:29

<theRealBall>

i get this bad pbr sig when i boot off my computer

00:29

<theRealBall>

how do i fix it?

00:29

<theRealBall>

it's a desktop this time

00:29

<theRealBall>

new 2005.08 install

00:30

<theRealBall>

er 05

00:30

<DottorZero>

good night

00:30

<theRealBall>

the disk is serial ata does that have anything to do with bad pbr sig?

00:34

<e^ipi>

no, it means the installgrub got messed up somewhere down the line

00:41

<siezer>

is there a "solaris for linux admins" site anyone can point me to?

00:42

<e^ipi>

http://bhami.com/rosetta.html

00:42

<bda>

Wasn't there an immigrants page on os.org?

00:42

<e^ipi>

and http://docs.sun.com/app/docs/coll/47.16

00:47

<siezer>

thanks...

00:50

<bda>

siezer: The Admin Guides are quite good. Definitely worth reading.

01:06

<theRealBall>

e^ipi so it's not hardware issues, just installgrub bug?

01:13

<e^ipi>

i didn't say that

01:14

<e^ipi>

just that for whatever reason it didn't take

01:14

<e^ipi>

could be a bug, could be hardware

01:14

<e^ipi>

it is a mystery

01:46

<Blackknight>

anybody know if there's a package for screen?

01:47

<e^ipi>

YES I AM WORKING ON IT OKAY GOD YOU PEOPLE

01:47

<nachox>

haha

01:48

<purserj>

so about that screen package

01:48

<nachox>

e^ipi: pam or kerberos for screen? :)

01:48

<Blackknight>

and how do I compile the postgres module for python?

01:48

<e^ipi>

nachox: neither

01:49

<nachox>

?

01:49

<Blackknight>

SUNWgcc 0/19 281/3101 59.80/175.97pkg: An unexpected error happened during installation: timed out

01:49

<Blackknight>

The Boot Environment opensolaris failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmpVjqFnr. Use 'beadm activate opensolaris_static:-:2008-08-27-01:47:27 and reboot if you wish to boot to this BE.

01:49

<Blackknight>

wtf?

01:49

<Blackknight>

I keep getting that message

01:50

<nachox>

welcome to the cursed world of pkg

01:50

<e^ipi>

nachox: everything's managed through ~, as per ARC

01:50

<nachox>

i remember reading the case in opensolaris-arc, i dont know what happened in the end though...

01:51

<Blackknight>

hmm

01:51

<Blackknight>

I don't know why it's timing out

01:52

<e^ipi>

i got busy, and then had to spend some time with family

01:52

<nachox>

hehe

01:56

<Blackknight>

I'm a solaris noob

01:57

<Gman_>

Blackknight: what version of OpenSolaris are you using?

01:57

<Gman_>

Blackknight: i assume it's 2008.05? without any modifications?

01:57

<Blackknight>

yeah

01:58

<Blackknight>

I just installed from the cd

01:58

<Gman_>

Blackknight: read http://www.opensolaris.org/os/project/indiana/resources/rn3/#Update_Inst

01:58

<nachox>

you might want to get a newer pkg

01:58

<Gman_>

you need to do the first 3 commands first as listed in that first box

01:58

<Blackknight>

ok

01:58

<Gman_>

then it'll fix the timeout issues probably

01:59

<Gman_>

unfortunately it's a known bad bug

01:59

<Gman_>

we hope to have updated 2008.05 isos available soon to fix this

01:59

<jbk>

Gman_: any eta on that?

01:59

<Gman_>

jbk: hopefully next week

02:00

<Gman_>

bit slower than we hoped

02:00

<Blackknight>

hmm, just installing gcc worked

02:01

<e^ipi>

Poll: The SFW Build System: Black Magic, or Voodoo?

02:02

<Gman_>

heh

02:02

<Blackknight>

I blew up my first install so bad it wouldn't boot

02:02

<Gman_>

Blackknight: you came across another bug

02:03

<nachox>

just install solaris 10 and be done with it :)

02:04

<Blackknight>

aren't they the same?

02:04

<Gman_>

needing to run update-grub after you image-update

02:04

<nachox>

of course not

02:04

<Gman_>

sort of

02:04

<Blackknight>

and does 10 have zfs?

02:05

<Gman_>

yes, but not as the default filesystem

02:05

<nachox>

yes, but you cant boot from zfs

02:05

<Gman_>

opensolaris is pretty nice once you can avoid those bugs

02:05

<Blackknight>

yeah, I'll stick with it

02:05

<Gman_>

it's just a few steps you need to do to get from 2008.05 to a newer build

02:05

<Blackknight>

be nice if there was a minimum install option

02:05

<Gman_>

i'll find you a mail so you can follow the steps

02:05

<nachox>

and remove that stupid path choise, but i agree in general, it is nice

02:06

<Blackknight>

the default bash prompt sucks btw

02:06

<Gman_>

http://mail.opensolaris.org/pipermail/indiana-discuss/2008-August/008289.html

02:06

<Gman_>

is a newer iso

02:06

<Gman_>

there's a link to it from genunix.org

02:06

<Gman_>

build95 iso, it'll get you past the bad bugs

02:06

<e^ipi>

dropping time-based releases in favour of random releses then, are we?

02:06

<e^ipi>

;)

02:07

<Blackknight>

schedules are made to be broken

02:07

<Gman_>

heh, no.

02:07

<jbk>

the nice thing about deadlines is they make a pleasing whizzing sound as they pass by

02:07

<jbk>

:)

02:07

<e^ipi>

Gman_: it would make for an innovative new release schedule

02:07

<nachox>

jbk: hahaha

02:08

<jbk>

(i'm quoting or probably paraphrasing, so it's nothing original of my own :))

02:08

<Blackknight>

oh, and WHY does nssswitch have dns disabled by default?

02:08

<Blackknight>

resolv.conf needs to be set too

02:09

<e^ipi>

not "when it's done" or "every 6 months"... but rather "you'll get it... we don't know when, you don't know when, and it has nothing to do with what's in there"

02:09

<Gman_>

chances are, people who can find #opensolaris are the people who will likely want to go onto the development train

02:09

<Blackknight>

server is kind of useless without dns

02:09

<e^ipi>

Blackknight: because indiana uses nwam

02:09

<Blackknight>

what's that?

02:10

<nachox>

an automatic network configuration thingie

02:10

<e^ipi>

http://opensolaris.org/os/project/nwam/

02:10

<Blackknight>

I couldn't even get pkg search -r to work

02:10

<jbk>

it should be nice once it's done

02:10

<Gman_>

http://blogs.sun.com/observatory/entry/local_hostname_resolution might help you

02:11

<Blackknight>

hmm

02:11

<Blackknight>

I got it to work, just used to centos

02:11

<Gman_>

it's a bug, another known one

02:13

<Blackknight>

thinking about putting the install on a real server

02:15

<Blackknight>

anything special I should do when compiling python modules?

02:15

<hile_>

cassini is NOT supported for IP Instances, correct?

02:16

<jbk>

probably not until they put in their hacks to work around not porting it to nemo

02:16

<jbk>

or until me & sstallion finishes our work

02:17

<Blackknight>

ld.so.1: ld: fatal: libld.so.4: version `SUNWprivate_4.2' not found (required by file /usr/bin/ld)

02:17

<Blackknight>

I installed SUNWtoo

02:21

<sstallion>

sstallion wakes up

02:21

<e^ipi>

Blackknight: if you want to compile things, you'll need studio-dev or gcc-dev... i reccomend studio-dev because the compiler is just better

02:21

<sstallion>

jbk: ?

02:21

<jbk>

cge

02:21

<sstallion>

ahh

02:22

<jbk>

there was a question about ip instance support w/ cassini

02:22

<sstallion>

hile_: like jbk said, likely not since cge implements DLPI directly

02:22

<sstallion>

s/cge/ce/

02:22

<Blackknight>

e^ipi, does studio-dev need a gui?

02:22

<sstallion>

I believe IP instances requires GLDv3 support at a minimum

02:22

<e^ipi>

good question, no idea

02:22

<e^ipi>

the compilers don't

02:22

<Blackknight>

I totally removed the desktop

02:23

<sstallion>

jbk: speaking of which, I've finally puzzled out the DMA issues on ne, and came across something funny as hell in the specs

02:23

<e^ipi>

that seems a silly thing to do, you know you can just disable it right?

02:23

<sstallion>

ne2000 devices should be able to support vlans... cracks me up.

02:23

<Blackknight>

yeah but it wastes space

02:23

<jbk>

heh

02:23

<Blackknight>

I'm used to servers with ssh and that's it

02:23

<e^ipi>

at 12 cents per gigabyte, who cares?

02:24

<jbk>

well maybe he's using EMC disk

02:24

<jbk>

which is probably still around $30/gb

02:24

<sstallion>

jbk: done much with scatter/gather ?

02:24

<Blackknight>

nah, just vmware

02:24

<Blackknight>

we do have coraids at work

02:24

<jbk>

not really, but am familar with it

02:25

<Blackknight>

and congrats on being the only OS that supports iscsi 3

02:25

<sstallion>

jbk: I'm in the same boat. Have worked with it a bit in the past, but never wrote it from scratch. Wondering if I can make use of it for this.

02:38

<sstallion>

sstallion pokes gdamore

02:45

<Blackknight>

ok, img-update wants to update stuff that's not even installed

03:55

<coffman>

"for i in `pkginfo|grep staroffice|cut -d" " -f2 -`;do y|pkgrm $i;done"

03:55

<coffman>

coffman waits

04:21

<steleman>

ok

04:22

<steleman>

so i raised a CR for the <math.h> header files and it will be fixed

04:22

<steleman>

s/files/file/g

04:38

<victori_>

can you get a complete netstat connection count for global + zones?

04:38

<victori_>

netstat -an won't display connections open in a zone if done from global

04:40

<Jomyoot>

Where is a good place to read what I am missing by going "open"

04:40

<e^ipi>

what?

04:40

<Jomyoot>

do i miss the performance/goodies

04:40

<Jomyoot>

if i go opensolaris rather than solairis

04:40

<e^ipi>

you miss some legacy stuff, mostly

04:50

<victori_>

so is there any way to get a complete connection list from netstat for all the zones+global?

06:11

<nivox>

'morning to all...

07:21

<codestr0m>

victori_: are you trying to kill off old tcp connections or something?

07:21

<victori_>

codestr0m: no just to get a view of how many connections open total

07:21

<victori_>

since I have web/mail and global segmented

07:22

<codestr0m>

is this to just collect data or solve a problem?

07:23

<victori_>

just to collect data, overview of what is open

07:24

<codestr0m>

well. if you're running two front-end nodes are reverse proxies to a large batch of java backend nodes I could understand, but otherwise.. not sure your topology or why care.. let me know if you figure it out though

07:24

<codestr0m>

(as a side question.. are you going to kick the collected data off to a wicket app for presentation?)

07:25

<trochej>

Coffeeeeee

07:26

<codestr0m>

victori_: iirc you're using haproxy.. you may look there to get the stats you need since that may be where most of the connections are coming from.. (a lot of guessing on my part)

07:26

<victori_>

codestr0m: well I wanted to generally see how many tcp connections open from the OS's perspective.. postfix, spamd etc into account

07:26

<victori_>

imap*

07:27

<victori_>

codestr0m: not using ha-proxy but perlbal with patches

07:29

<victori_>

codestr0m: what data do you need?

07:29

<codestr0m>

aha.. ok. I was mistaken.. imap is evil and if a lot of users you may want to consider a failover situation.. spamd (I'm not sure this will be a remote connection) I'm still poking around with 2008.05 so not sure where all the things are hidden..

07:30

<codestr0m>

in linux I'm trying to remember, but I think this is kept in proc as a worst case..

07:30

<codestr0m>

not sure if netstat would give what you need

07:31

<victori_>

codestr0m: I am going to do a write up on what I learned. The Java way of hosting all your applications on one application server is stupid. JVM crashes or you get rocked by heap collection. Best to run 3 jvm instances and just load balance with a smart proxy. Have a background script kill any of the 3 jvm instances if they get past x amount of RSS ram

07:31

<trochej>

victori_: Uhm. Wouldn't it be better to limit the RSS with resources management?

07:32

<victori_>

trochej: ah not a limiting issue but to avoid full GCs, it is more efficient to just kill the JVM instance

07:32

<codestr0m>

victori_: umm.. I'd counter this, but only just a little.. and I haven't ran any big production apps on a node with zfs yet, but my gut feeling is I'd still prefer to run all bl nodes diskless and pxe boot

07:32

<victori_>

bl nodes?

07:33

<codestr0m>

victori_: if you're hitting full gc and it's causing a world stopper on your application that's 100% something you should 1) possibly tune jvm options for 2) look at fixing your app 3) increase the amount of heap available

07:33

<codestr0m>

bl == business logic

07:33

<smtms>

victori_, -Xmx512m doesn't do what you want?

07:33

<victori_>

oh and externalizing all your cache and sessions into memcache is a big win. You can do restarts without giving your users expired screens

07:33

<codestr0m>

smtms: he's using wicket.. and does server side page state == lots of ram

07:33

<WickedWicky>

we run ZFS quite happely on our UAT systems

07:34

<victori_>

smtms: ya it gets limited correct, however once your tenured generation gets filled up, GCs are expensive and it is just easier to kill and restart the JVM then let the GC wrestle with the garbage at that point

07:34

<codestr0m>

WickedWicky: how much disk activity and regardless.. for large clusters the power savings to pull the disks is always worth it

07:34

<victori_>

specially when your getting hammered on the web app

07:35

<codestr0m>

victori_: something isn't correct in your app if I had to make a blunt guess

07:35

<WickedWicky>

we're running Weblogic + Oracle on it, with 1,5TB+ data

07:35

<trochej>

victori_: RM serves exactly that reason: to better distribute resources among applications and to avoid killing machine by a rouge application WITHOUT killing it.

07:35

<victori_>

rm?

07:35

<trochej>

Resource Management

07:35

<trochej>

victori_: Read on it.

07:36

<trochej>

In Solaris you can control more things than with ulimits on Linux

07:36

<trochej>

Much more

07:36

<victori_>

trochej: oh no it has nothing to do with the system stalling to the halt but the JVM instance due to garbage collection when the tenured generation fills up

07:36

<codestr0m>

trochej: with rm you still can't magically expand the java heap and that's what he's working around

07:37

<trochej>

codestr0m: Uhm. Isn't jvm supposed to take care of this?

07:37

<WickedWicky>

yu dont /cant always simply extend the heap size

07:37

<trochej>

codestr0m: Yes, I didn't catch the beggining of the thread, my fault.

07:37

<WickedWicky>

oncwe you've reached -mxmax you're pretty much stuck with gc

07:37

<codestr0m>

victori_: what's the max size your tenured generation will grow to? are you (ab)using hibernate.. ?

07:37

<victori_>

codestr0m: I looked around, I have a file httpsessionstore plugin for jetty written, all my sessions are small. However once you get hammered with a lot of requests the GC just can't keep up. Best to run multiple JVMs

07:38

<victori_>

anyway if you were to have a single application server instance, you miss out on rolling updates and such. Taking down the service for a minor update sucks.

07:38

<codestr0m>

victori_: umm.. multiple jvms across multiple physical machines and I fully agree.. same box and I say something isn't designed correctly or possibly can be fixed

07:38

<WickedWicky>

victori_: sounds like you're gonna need more servers with rmi enabled :P

07:39

<codestr0m>

WickedWicky: rmi is evil.. yuck

07:39

<victori_>

WickedWicky: it is holding up well, 3 jvm instances on a single machine

07:39

<WickedWicky>

it is but it can save lifes when you set it u properly

07:39

<WickedWicky>

yea but during garbage collection the JVM wont serve requesta, how is this "holding up well" ?

07:40

<codestr0m>

while this is interesting.. victori_ you still missed my question. of what's your max tenured size? are you using hibernate? (as in have you ran jstat and watched things.. ?

07:40

<victori_>

codestr0m: under steady traffic the jvm can be up forever; the GC can keep up. It is just during digg effects where it becomes problematic.

07:41

<victori_>

256k thread size/ 64meg permgen / 1024meg heap (when running single instance)

07:41

<victori_>

now I just do 3 instances with 384meg heap

07:41

<codestr0m>

victori_: have you pinpointed what's causing the rapid growth? I mean otherwise. you should have scalable or predictable growth.. as in if a single machine can't handle it. it simply can't handle it w/o adverse effects..

07:41

<smtms>

victori_, I can't imagine how 3 JVMs fare better than one

07:42

<WickedWicky>

he's trying to work around the JVM not serving requests when GC kicks in

07:42

<victori_>

correct

07:42

<victori_>

and I get the benefit of rolling updates

07:42

<codestr0m>

victori_: there's more than just permgen and heap.. run jstat. give whatever gc that's filling up some ridiculous amount and profile your app locally if you can..

07:42

<victori_>

perlbal keeps track of response times and sends clients to the fastest possible instance.

07:43

<victori_>

no sticky-session hacks

07:43

<smtms>

victori_, killing a JVM has no bad effects for your users?

07:43

<victori_>

everything nicely distributed

07:43

<victori_>

correct

07:43

<codestr0m>

victori_: you've moved all state into memcache?

07:43

<victori_>

app cache/hibernate 2ndlevel cache and httpsessionstore all in memcache.

07:44

<victori_>

pretty much, works wonderfully

07:44

<victori_>

if your sessions are larger than 500kb your not doing it right in wicket

07:44

<codestr0m>

that's good to hear.. I suggested almost exactly this and got stupid arguments over a year ago

07:45

<victori_>

I absolutely love the setup I have now, before this I did not know if I could scale out site

07:45

<codestr0m>

victori_: well. by /doing it right/ I would generally agree.. however, one of the clients allowed sessions to never time out with a js screensaver.. the sessions would grow and grow for days. it was evil

07:47

<codestr0m>

victori_: btw.. did you document this and is all the bits in public or are some of your patches just local?

07:47

<victori_>

perlbal = best proxy I have used so far, the fact it keeps track of response times and sends requests down to the fastest backend. It is also able to retry on http 500 responses.

07:47

<victori_>

codestr0m: not documented anywhere. I will have a write up + patches posted on my blog

07:47

<victori_>

jetty-memcache will be contributed to jetty7's trunk

07:47

<codestr0m>

cool. if you can ping me with the link that would be most appreciated

07:48

<codestr0m>

is this wicket 1.3 or 1.4.. ?

07:48

<victori_>

1.3

07:55

<e^ipi>

victori_: doesn't haproxy do that too?

07:55

<e^ipi>

or am i on crack?

07:56

<victori_>

does it? I though it was just sticky sessions with cookies or round robin, with fail support if a backend is down

07:57

<victori_>

even if it does, perlbal is configurable via plugins and it has internal redirects.

07:57

<e^ipi>

*shrug*

07:57

<e^ipi>

i know very little about webby stuff

07:58

<victori_>

I played with haproxy, perlbal gave better results in my testing

08:02

<trochej>

Coffee

08:14

<archmangle>

hi all! Does anyone here know if Solaris10 Zones support ipv6 correctly?

08:21

<bishamonten>

Does anyone here know if Solaris10 Zones support ipv6, i.e if there are any major issues with IPv6 support in solaris containers?

08:23

<trochej>

bishamonten: I'd suspect so

08:25

<bishamonten>

trochej, I would think the same too. I'm currently having an argument with a colleague who insists that it's 'broken', but won't specify how. As far as I can see it's fine.

08:25

<bishamonten>

But, deeper research always helps.

08:28

<_mary_kate_>

bishamonten: solaris won't assign a link-local address to the zone automatically

08:28

<_mary_kate_>

bishamonten: this breaks router discovery in a rather non-obvious way

08:30

<_setuid_H>

Hi is there any leader of the PKG project?

08:30

<e^ipi>

comay?

08:31

<_setuid_H>

e^ipi: that was for me?

08:31

<bishamonten>

_mary_kate_: Thanks. Would the workaround for this be to statically assign the link-local address? If not, is there another more acceptable workaround?

08:31

<_mary_kate_>

bishamonten: that is the workaround

08:31

<_mary_kate_>

well, i don't think it's a workaround so much as the way you're meant to do it

08:33

<bishamonten>

_mary_kate_: * whew * Thanks :-) That helps!

08:50

<bishamonten>

Has anyone here run Linux in Solaris BrandZ virtual machines? Is this reasonably functional at this point in time?

08:50

<_mary_kate_>

it does everything you would expect from RHEL 3 with a 2.4 kernel

08:51

<_mary_kate_>

(there's some 2.6 work going on, but not useful yet, i don't think)

08:52

<bishamonten>

_mary_kate_: Would I be able to install a debian (or debian-like) linux in a BrandZ zone, or am I limited to a RHEL?

08:52

<_mary_kate_>

3.1 works, 4.0 might work, testing/stable/the next release definitely won't

08:52

<_mary_kate_>

er, testing/unstable

08:53

<bishamonten>

_mary_kate_: that's good enough for me. I'm intending to install an Ubuntu version in BrandZ on Solaris10.

08:54

<_mary_kate_>

only a very old ubuntu would work

08:54

<_mary_kate_>

i think they added the 2.6 dependency before debian

08:54

<trochej>

bishamonten: You'd get more luck with stable DEbian.

08:55

<bishamonten>

_mary_kate_: that's a little concerning, not a major train smash though.

08:55

<bishamonten>

brb.

08:56

<bishamonten>

trochej: This would be an option.

09:02

<trochej>

bishamonten: brandz emulates linux syscalls. It pretty well emulates 2.4 kernel line, but 2.6 is a work in progress IIRC.

09:04

<bishamonten>

trochej: would you say there are functional 2.6 kernels with a degree of buginess or there are no functional 2.6 kernel lines supported?

09:04

<gerard13>

hello all, anybody knows if blastwave users list is active yet?

09:05

<trochej>

bishamonten: IIRC, you'd have to get sources for the 2.6 brandz branch and compile it yourself

09:06

<sartek>

gerard13: ask in #blastwave - prolly more answers

09:29

<ahmed-tux>

goodmorning

09:31

<asyd>

\_o<

09:31

<trochej>

Coffeee

09:32

<rnwibowo>

hallo

09:33

<Mojo_risin>

hi. i'm having an error building a particular C++ file, which refers to stdexcept, can I ask for help or this is too off topic?

09:33

<Mojo_risin>

i'm using forte and sun studio

09:33

<_mary_kate_>

Mojo_risin: if this is studio, make sure you use CC -library=stlport4 to get a conformant C++ library

09:33

<_mary_kate_>

(but be careful, this changes the C++ ABI)

09:34

<Mojo_risin>

the error is this one: http://rafb.net/p/wnAGvJ17.html

09:35

<Mojo_risin>

_mary_kate_: i don't know if I can do that because this has to be compatible with software compiled by 3rd party

09:47

<Mojo_risin>

_mary_kate_: if i don't use -library=iostream i get this error:

09:47

<Mojo_risin>

http://rafb.net/p/Be87Ls50.html

10:54

<bishamonten>

trochej: thanks for the clue.

10:56

<trochej>

Np

10:58

<bishamonten>

One more question, and I appreciate that this one should be backed by heavy research on my part, but: Would you know if opensolaris/solaris is anywhere close to a coherent package management system in the vein of apt-get or the freebsd ports system?

11:00

<trochej>

bishamonten: Depends on what you're looking for.

11:01

<trochej>

bishamonten: IE. patching and backing out patches works in Solaris/OpenSolaris using sysvr packages

11:01

<trochej>

apt-get doesn't do that

11:01

<trochej>

bishamonten: On the other hand, ips is a work in progress to bring goodies od automatic deps tracking, online mirrored repositories and such.

11:02

<bishamonten>

trochej: The first requirement would be for security updates and patches provided by opensolaris community, Solaris sysvr provides that, as you say. The other, lesser re requirement is dependency management of mainstream packages, in the way apt-get does it.

11:02

<bishamonten>

trochej: "ips" ... I will look that up.

11:07

<trochej>

bishamonten: IPS is the package management from OpenSolaris 2008.08 and upcoming 11 (previously project indiana).

11:08

<bishamonten>

trochej: So, pretty much still beta. I guess I can't bank on it just yet.

11:08

<trochej>

bishamonten: I wouldn't either.

11:08

<bishamonten>

trochej: * sigh * :-(

11:32

<Oktane>

is it recommended practice to update from 2008.05 b86 to a more recent build if i just wanted to run a headless box serving nfs? how's the reliability/stability of the new builds compared to the initial one?

11:38

<bishamonten>

trochej: do you have an idea of how long Solaris Virtualisation has been around versus somethign like VMware ESX?

11:38

<_mary_kate_>

bishamonten: do you mean zones (containers) or xVM (xen)?

11:39

<bishamonten>

_mary_kate_: Containers.

11:39

<_mary_kate_>

since solaris 10

11:39

<bishamonten>

_mary_kate_: So, around 2 years?

11:39

<_mary_kate_>

3

11:40

<_mary_kate_>

for customers, longer in development and beta testing

11:40

<bishamonten>

_mary_kate_: Even better. I'd estimate 5 to 6 years total. how long would you guesstimate VMware ESX then?

11:41

<_mary_kate_>

i don't know anything about vmware

11:41

<evocallaghan>

Anyone know if SXCE b97 is comming out in the next 24h before I make my trip ?

11:42

<evocallaghan>

I want to download the latest version before I make my tip and 97 has some changed I need

11:52

<botox>

hello

11:52

<botox>

i am assuming there is a pain free method of upgrading between sxce builds?

11:52

<botox>

if so, can someone point me in the right direction

11:53

<botox>

i dont want to have to download another dvd if i can avoid it :)

11:53

<evocallaghan>

botox:Hi, check out live upgrade

11:53

<trochej>

liveupgrade

11:53

<botox>

is that just a command i can run or something larger?

11:53

<_mary_kate_>

you still have to download the dvd, but you don't have to do a proper install

11:53

<botox>

ok

11:54

<evocallaghan>

lu*

11:54

<botox>

thanks for that

11:54

<botox>

i have another odd issue. my mirrored zfs pool (2 70gb fc-al drives).

11:54

<botox>

now,

11:54

<botox>

one of them failed

11:54

<botox>

weirdly, it lists 2 of the same drive in the zpool status

11:54

<botox>

there is only currently one drive plugged in

11:55

<evocallaghan>

`pfexec fmadm faulty`

11:55

<botox>

a replacement is coming in the post.. i assume i can just scrub the pool, then add the replacement drive as part of the mirror?

11:55

<evocallaghan>

Should tell you what to do

11:55

<botox>

evocallaghan: that for me?

11:55

<evocallaghan>

yes

11:56

<_mary_kate_>

botox: you shouldn't need to scrub. just replace the disk and use 'zpool replace'

11:56

<_mary_kate_>

it'll resilver automatically

11:56

<botox>

_mary_kate_: will this also remove the fact that it has the current working drive listed twice?

11:56

<_mary_kate_>

i don't know why it would do that. can you paste your zpool status at rafb.net/paste?

11:57

<botox>

_mary_kate_: sadly not at the moment, having trouble getting into the box.. just tried.. in a few hours i can though so i will try to beckon you later ;)

11:59

<evocallaghan>

I guess i'll start my download of SXCE 'just' a few hours before I leave. With some hope, 97 will come out tonight. fingers crossed !

12:00

<botox>

if i remember rightly, the pool is simply c01... listed.

12:00

<botox>

rpool

12:00

<botox>

MIRROR

12:00

<botox>

but the same drive listed twice, with one of the drives marked as

12:00

<botox>

degraded

12:01

<botox>

but, will paste when i get access

12:04

<botox>

do we know when another release of opensolaris might be announced?

12:04

<botox>

not the sxce's.. another actual release..

12:13

<bad_image>

Hello, is it possible to install OpenSolaris to VmWare? http://dlc.sun.com/osol/opensolaris/2008/05/os200805.iso doesn't work and outputs "bad PBR image"

12:19

<botox>

yes it is

12:19

<botox>

http://opensolaris.org/os/article/.../

12:20

<bad_image>

botox, ok, so what could be wrong when I get bad PBR image?

12:20

<botox>

check vmware version

12:20

<botox>

you need

12:20

<botox>

Now check "Sun Solaris" and select "Solaris 10 (experimental)" or if you are lucky enough to have a 64-bit machine "Solaris 10 64-bit (experimental)".

12:20

<botox>

to select that.

12:20

<bad_image>

botox, thank you

12:21

<botox>

my pleasure

13:10

<Blackknight>

good morning

13:15

<Blackknight>

ImportError: ld.so.1: python2.4: fatal: libpq.so.5: open failed: No such file or directory

13:15

<Blackknight>

anybody know how to fix that?

13:18

<sartek>

nevada?

13:18

<Blackknight>

open solaris, I just compiled the pygresql module

13:18

<sartek>

pkg search -r libpq.so.5

13:19

<Blackknight>

postgres is installed

13:19

<Blackknight>

problem is LD_LIBRARY_PATH doesn't find it

13:19

<sartek>

ahm

13:20

<sartek>

trygvis: pfexec crle -l /lib:/usr/lib:/usr/postgres/8.2/lib

13:20

<sartek>

oops

13:20

<sartek>

Blackknight: try that

13:21

<jbk>

bah

13:21

<jbk>

don't do that

13:21

<jbk>

rebuild the library

13:21

<jbk>

and add '-R /usr/postgres/8.2/lib' to the link command

13:22

<jbk>

or

13:22

<jbk>

now that i think about it

13:22

<jbk>

see if elfedit exists

13:22

<jbk>

on your system

13:22

<jbk>

if so

13:22

<jbk>

lemme dig up the command line

13:24

<jbk>

run 'elfdump -d /path/to/python.sofile | grep RUNPATH'

13:24

<jbk>

if anything shows up, take that value and append ':/usr/postgres/8.2/lib' to it

13:25

<jbk>

(think of 'RUNPATH' as a library-specific LD_LIBRARY_PATH that's part of the shared library file, so you want to take the existing value (if any) and add '/usr/postgres/8.2/lib' to it

13:25

<jbk>

take that new value

13:26

<jbk>

and run elfedit -e 'dyn:runpath NEWRUNPATHVALUE' /path/to/python/sofile

13:26

<jbk>

copy the original version first of course

13:26

<jbk>

http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the has a more involved discussion

13:29

<jbk>

fyi, the way to avoid having to do all that is adding the -R /library:/search/path option to the link command -- it'll combine all the -R values into the runpath

13:29

<jbk>

(that also works on linux, just usually needs a few more flags, so you don't have to muck with /etc/ld.so.conf)

13:30

<Blackknight>

ok, thanks

13:31

<Blackknight>

I'm not sure how to change the link command, it's part of the setup.py

13:32

<Blackknight>

/usr/lib/python2.4/site-packages/pgdb.pyc is the module

13:41

<jbk>

Blackknight: it should create a .so file

13:41

<jbk>

somewhere in there

13:41

<oussema>

hi all

13:41

<oussema>

can anyone tell me how to add a user to sudoers ?

13:42

<oussema>

is there a file named sudoers to edit ?

13:42

<SunTzuTech>

did you ask google?

13:42

<oussema>

yeahp

13:45

<Blackknight>

[root@opensolaris] ~ > elfdump -d /usr/lib/python2.4/site-packages/_pg.so | grep RUNPATH

13:45

<Blackknight>

[4] RUNPATH 0xb4b /usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib

13:45

<Blackknight>

there it is

13:45

<Blackknight>

but /usr/postgres/8.3/lib isn't there, hehe

13:46

<jbk>

so run elfedit -e 'dyn:runpath /usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib:/usr/postgres/8.3/lib' /usr/lib/python2.4/site-packages/_pg.so

13:46

<oussema>

so SunTzuTech ?

13:46

<jbk>

and if you run elfdump again, and it should be good

13:46

<oussema>

i tried googling but i didnt get it on the first page

13:47

<Blackknight>

that worked, thanks

13:47

<oussema>

and am really lazy to go beyond that

13:47

<Blackknight>

question is why do I need to change it in the first place?

13:48

<im_alone>

i can't have a Sun M9000 server ( x4 cores, x2 threads per core, sparc64 vii ) ):

13:48

<Blackknight>

guess that's what happens with packages in non-standard locations

13:48

<delewis>

im_alone: nice boxes.

13:48

<Blackknight>

oussema, visudo?

13:49

<rmesta>

rmesta is back (gone 06:16:26)

13:49

<Blackknight>

kind of wish I could get sqlite to work

13:51

<oussema>

BlackKnight : it didnt work

13:51

<Blackknight>

hmm

13:51

<Blackknight>

I know in ubuntu all I had to do was edit that file

13:52

<Blackknight>

does apache have a file for SMF?

13:55

<oussema>

is it normal that opensolaris does not add a new home when i create a new user ,

13:56

<im_alone>

oussema, a new user doesn't implicate to have its home

13:56

<timsf>

useradd with the -m flag will make the directory for you.

13:56

<im_alone>

# mkdir /home/<user> ; chown <user>.<group of user> /home/<user> it's all

13:57

<oussema>

RESOLVED thank you

14:14

<uski`work>

Hi, is there a way to disable swap entirely during the installation? i.e. I want opensolaris to work without a swap or dump volume and to use a read-only flash storage for the system. It looks like this is not possible according to http://opensolaris.org/jive/thread.jspa?messageID=262129 but I was wondering if things changed since then

14:16

<uski`work>

Hmmm also, where can I get SXCE96? In the topic I read that it is available but I could only find the build 95

14:17

<uski`work>

nevermind,found build 96.... sorry

14:28

<bad_image>

uski`work, Try the swapoff command

14:28

<seph_>

Hi. I'm trying to install a minimal opensolaris server, and I'm not quite sure what package list that amounts to. I don't see anything like solaris10's core package. Is there a meta package that would do what I want? (I'm installing into /a on a nevada machine, mostly cribbing from http://blogs.sun.com/edp/entry/moving_from_nevada_and_live and pkgcreatezone)

14:30

<seph_>

slim_install sounds right, but I think it's got a lot of stuff I don't want in it. (like X, this is for a headless server)

14:43

<pavelj>

good evening every1

14:43

<oussema>

any body knows how to assign sudoing right to a user ?

14:43

<oussema>

evening pavel

14:44

<th>

oussema: why not use pfexec?

14:45

<pavelj>

sudo suxxx!!! use rbac!

14:45

<Berny>

hi th :-)

14:45

<th>

hey Berny

14:45

<pavelj>

an easy way to learn how is www.c0t0d0s0.org

14:46

<rorx>

hmm, I'm getting a "connect retrieve manifest error" when issuing the third command.. pfexec pkg install entire@0.5.11-0.86

14:47

<pavelj>

hm?

14:47

<evocallaghan>

rorx:Upgrade your ipkg version

14:48

<rorx>

actually the error is "cannot retrieve manifest entire@0.5.11%2C5.11-8.86%3A20080604T12543Z

14:48

<oussema>

pvelj: i dont have sudo

14:48

<rorx>

evocallaghan: isn't that the second command?

14:48

<oussema>

and i couldnt figure out how to use pfexec

14:48

<oussema>

if i want to create file /test

14:48

<pavelj>

isn't rbac already inside?

14:49

<oussema>

should i execute : pfexec -P ALL touch /test root ?

14:49

<oussema>

what's rbac

14:49

<oussema>

am totally new on solaris

14:49

<oussema>

am used to linux

14:49

<delewis>

obviously.

14:49

<oussema>

:-)

14:50

<oussema>

to be honest ,i am just using opensolaris to try the zfs and zone feateures

14:50

<oussema>

it's much easier to handle RAID5 with opensolaris

14:50

<oussema>

through ZONE

14:52

<pavelj>

try to to run the roleadd

14:52

<evocallaghan>

delewis:Hey!

14:52

<evocallaghan>

Have not seen you for ages !

14:52

<im_alone>

and RAID6?

14:59

<pavelj>

dude

15:00

<pavelj>

hey ppl, i've just discovered the SunVTS

15:00

<pavelj>

anyone with experience using it?

15:01

<pavelj>

anyone?

15:13

<RElling1>

pavelj: yes, it has been around for a very long time... we use it in the factory

15:13

<RElling1>

well, timing is everything...

15:13

<Blackknight>

and patience

15:14

<Blackknight>

I was gonna give seph the command to remove gnome, hehe

16:15

<RavenSlay3r>

1) Is it possible to setup an iSCSI target in OpenSolaris?

16:16

<RavenSlay3r>

2) I already have a ZFS CIFS share - can I make THAT my iSCSI target too?

16:17

<ahmed-tux>

hello

16:21

<im_alone>

RavenSlay3r, it's easy, to create a big file filled of zeros and to mount loop it for iSCSI target

16:22

<e^ipi>

RavenSlay3r: yes, and not afaik

16:23

<RavenSlay3r>

hmmm.... might not solve my problem then..

16:24

<RavenSlay3r>

need vBox to have FAST access to shared data...

16:24

<e^ipi>

nothing about vbox is fast

16:24

<RavenSlay3r>

e^ipi: I finally got Solaris file-sharing working - thanks for all your help with that! :) , the vbox networking is slow though.

16:25

<postwait>

Is it possible to use ZFS CIFS stuff without an AD on your network?

16:25

<RavenSlay3r>

e^ipi: compiling my project on the laptop take 10 min., in vbox on the Ultra-40 it took 3min. - now if it could do that with data on the LAN i would be VERY happy!

16:27

<RavenSlay3r>

postwait: yes - it works with Windows Workgroups nicely, once you beat it into submission :)

16:29

<RavenSlay3r>

postwait: http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode

16:29

<postwait>