problem about opensolaris-Collection of common programming errors


  • illuminÉ
    package-management development opensolaris
    Tried to install/make checkinstall 1.6.2 (http://asic-linux.com.mx/~izto/checkinstall/download.php) from source on OpenIndiana 151a8/hipster.The software is geared at package generation. You actually run it instead of installing after you’ve compiled some software from source, at it uses the installation to also output a package (rpm, deb or slackware). Which seemed interesting to me at first to store the stuff as I install it for reinstalling or archiving. First make:locale/checkinstall-zh_CN.p

  • user189271
    solaris opensolaris openindiana lacp
    I am running OpenIndiana (oi_151a8) and have two NICs aggregated using LACP connected to a Cisco WS-C3560G-48TS. Both the server and the switch show the aggregate link as up. But while link layer traffic is visible (‘snoop’ shows ARP requests etc), I can not pass any IP traffic (ping, ssh all fail). The really strange thing is that the aggregate link can obtain a DHCP address, which provides the correct gateway, name servers etc. My initial thoughts were that there was a problem with the VLAN co

  • 0x808080
    blackberry opensolaris
    I have some files stored on this blackberry that I would like to load onto our OpenSolaris machine. When I plug the blackberry into the machine via USB it does not mount like a conventional USB thumbdrive would. It mounted so easily in Windows…To the best of my knowledge it is on usb9/1 and is identified as a blackberry to the machineI tried rmmount to no avail, and /rmdisk is empty…Thanks!

  • quentin
    networking opensolaris bridge stp
    how can i completely disable STP in a Opensolaris bridge.This bridge is connected to a Cisco Access Port and will disable the uplink port when the first BPDU arrives.bridged[3651]: [ID 581644 daemon.warning] unexpected BPDU on rge1 from 0:xx:xx:xx:xx:b; forwarding disabledI already disabled the transmission of BPDU Messages to the Switch by:dladm set-linkprop -p stp=0 rge1This solved only the problem that the access switch port goes in “error-disable” mode.Thomas

  • MetallicPriest
    c gcc opensolaris solaris-10
    The built in atomic operations were introduced in gcc-4.1.2. However, I am using gcc on OpenIndiana which only has gcc 3.4.3. Now my question is how to use atomic operations in gcc 3.4.3? Moreover I have tried to use gcc 4.6.1 in OpenIndiana but it doesnt work, as it complains about some runtime libraries. If anyone has successfully used it, kindly let me know.

  • Jas
    solaris opensolaris
    I installed opensolaris I saw that it has /usr/jdk/jdk1.6 however it had no bin/javac only javamy default java -version is jdk1.6 just after opensolaris installation however as I have no javac I downloaded jdk1.6 for solaris and after executing the jdk1.6xx.sh i did cd to the folder of jdk and then inside bin directory I ran javac however its giving me NoClassDefFoundError java/lang/Object. (same thing happened to me on a regular solaris installation). anyone can tell me how am i supposed to hav

  • Jeremy1026
    chef opensolaris recipe smartos
    I’m using Chef to automate deployment of various SmartOS zones. I’m trying to figure out what the correct way of determining if a network interface has a public or private address and keeping track of that. For generic Apache Listen and NameVirtualHost directives the following is sufficient:ips = [] links = %x{dladm show-vnic -o link | grep -v LINK}.strip.split(“\n”) links.each do |link|ips << %x{ifconfig #{link} | grep inet | awk ‘{ print $2 }’}.strip endFor ipfilter rules I need to hav

  • Nick Faraday
    boot disk-usage rm opensolaris
    While trying to mount a NFS share (exported from an OpenIndiana server) on a client box, the OI server crashed. I got the black screen of death, what looked like a log dump, then the system restated. It never came back up and I get the following error msg after I halt the boot:svc.startd[9] Could not log for svc:/network/dns/mulitcast:default: write(30) failed with No space left on device?I don’t have anything else on the boot drive other than the OS so… I’m not sure what could be filling up

  • Gilles
    files opensolaris core-dump
    I and gaining an ever expanding list of of core.mountd.12009999475 type files in my root directory? What are these? Can I just delete them?What causes them to be created?

  • mlambie
    linux vmware-esxi nfs opensolaris zfs
    Currently we use an iSCSI SAN as storage for several VMware ESXi servers. I am investigating the use of an NFS target on a Linux server for additional virtual machines. I am also open to the idea of using an alternative operating system (like OpenSolaris) if it will provide significant advantages.What Linux-based filesystem favours very large contiguous files (like VMware’s disk images)? Alternatively, how have people found ZFS on OpenSolaris for this kind of workload?(This question was original

  • Sysadminicus
    centos nfs tcpip opensolaris zfs
    I have a CentOS 5 VMWare server connecting to an OpenSolaris 2009.06 machine over NFS that holds the disk images. My virtual machines seem to be bound by slow IO so I’d like to do everything I can to optimize the connection. I’m not sure of the best way to measure the throughput on a production system, but some unscientific tests using dd bs=1024k count=400 show local (OpenSolaris) writes of ~1.6GB/s and remote (CentOS) writes ~50MB/s. I imagine these are lower than what I’m actually getting sin

  • Phillip Oldham
    linux webserver amazon-ec2 opensolaris comparison
    Are there any advantages to using OpenSolaris, other than ZFS, rather than using a common linux distribution such as CentOS or Ubuntu?I ask because I’m interested in using OpenSolaris on AWS to take advantage of ZFS-snapshots for backing up to S3 — specifically for MySQL backups. I’d like to know if OpenSolaris has clear advantages over CentOS for running webservers in the cloud.

  • George Bailey
    solaris opensolaris dump
    What is the purpose of rpool/dump? Is is useful or necessary? When is it a good idea to re-size it? When is it a good idea to disable and remove it?

  • ewwhite
    zfs opensolaris debugging nexenta
    I have a Sun x4540 that was recently converted to NexentaStor Enterprise Edition from an earlier OpenSolaris. The system disks were wiped and the zpools were exported and reimported. I’m hosting roughly 30 virtual machines to VMWare vSphere over NFS and 10GbE to several hosts.Since that time, the system has been crashing almost every two weeks. The crash would trigger an ASR with the ILOm and the system would reboot on its own after 5-10 minutes. I have core files in the root directory as such:-

  • George Bailey
    solaris zfs opensolaris dump
    The ZFS dump device is used only for debugging problems. In this case, I have decided the risk vs reward is such that I should delete the dump device to make room for other storage.I am able to disable save-core (copy from dump device to /var/crash) using dumpadm -n, but when I run zfs destroy rpool/dump, I still get cannot destroy ‘rpool/dump’: dataset is busy, indicating that dumpadm -n was insufficient. How can I disable and remove this dedicated dump device?

  • 2 revs, 2 users 100%anon
    solaris opensolaris hidden-features
    What are useful commands, tools, or tricks that one would find on Solaris or OpenSolaris that aren’t available on a typical Linux distribution?

  • ewwhite
    zfs opensolaris nexenta deadlock
    I’ve an x4540 Sun storage server running NexentaStor Enterprise. It’s serving NFS over 10GbE CX4 for several VMWare vSphere hosts. There are 30 virtual machines running. For the past few weeks, I’ve had random crashes spaced 10-14 days apart. This system used to open OpenSolaris and was stable in that arrangement. The crashes trigger the automated system recovery feature on the hardware, forcing a hard system reset.Here’s the output from mdb debugger:panic[cpu5]/thread=ffffff003fefbc60: Deadloc

  • Mat
    crash solaris opensolaris
    I have access to a remote Solaris terminal which crashes occasionally, and I have to ask someone with physical access to boot the machine up, which it does successfully. I would like to know which tools/files should I look at to find out the cause of the crash so that I can make the necessary configuration changes and avoid it in the future.

  • illuminÉ
    lxde qt opensolaris
    OI is latest 151a7. Fresh install, total newbie, installed ss-dev, gcc-dev, sunstudio, a few other packages I thought were relevant based on what I read. Just want to compile LXDE from source because when I look at installing from components ( http://lxde.org/download ) well not all the newer QT based stuff is there plus I get errors configuring so it’s not even easier. So I use http://lxde.git.sourceforge.net/git/gitweb-index.cgi instead i.e. let’s start with lxde-common-qt. Clone that. autogen

  • smokris
    opensolaris nexenta
    I’ve got a working NexentaCore Platform 2.0rc2 (OpenSolaris b104) machine, which I’m trying to bring up-to-date using apt-clone upgrade — NCP 3.0a4 (OpenSolaris b124).The upgrade process appears to complete successfully, however the machine reboots right after I select the new checkpoint in the GRUB menu.When I boot the new checkpoint with “-v”, I see the following messages right before the screen flickers out for reboot:WARNING: failed to resolve ‘scsa,probe’ driver alias, defaulting to ‘null

  • smokris
    zfs opensolaris grub nexenta
    I have a Nexenta system that’s been running fine for the last few years. Recently one of the system disks failed — the syspool was part of a ZFS mirror.If I configure the system’s BIOS to boot from the working drive, the text GRUB (“GRUB” followed by a space) appears on the screen, and the system doesn’t respond.If I boot from a Nexenta installation CDROM and try to set the root as follows:root (hd1,0,a)…I get the following message from GRUB:Filesystem type unknown, partition type 0xbfHowev

  • Mark Lakewood
    java mysql jdbc opensolaris
    Im building a java application that uses JDBC to connect to MySQL. I have an ant script that compiles my code and then packages it, along with log4j, junit, libshout-java and the mysql jdbc driver into one executable jar. This all works fine on ubuntu 9.10, and my code connects to mysql and away we go.However my production env will be solaris (my dev box is ubuntu) and when I came to build and run this on there i had the following errors.17 [main] DEBUG com.radiobusi.ShoutGen.ParseConfig – [SQL

Web site is in building