Problem in stalling PostgreSQL.

I install a soource code version PostgreSQL in my Solaris 9 computer. I meet following proble:
$/usr/bin/initdb -D /var/lib/pgsql/data/mydata
ld.so.1: /usr/bin/initdb: fata1: libc.so.1: version 'SUNW_1.22' not found ( required by file /usr/bin/initdb)
I need helps for you. Thanks.

What port are you trying to use? Is SELinux on or off? Paste some of your source!

Similar Messages

  • Performance problems when running PostgreSQL on ZFS and tomcat

    Hi all,
    I need help with some analysis and problem solution related to the below case.
    The long story:
    I'm running into some massive performance problems on two 8-way HP ProLiant DL385 G5 severs with 14 GB ram and a ZFS storage pool in raidz configuration. The servers are running Solaris 10 x86 10/09.
    The configuration between the two is pretty much the same and the problem therefore seems generic for the setup.
    Within a non-global zone I’m running a tomcat application (an institutional repository) connecting via localhost to a Postgresql database (the OS provided version). The processor load is typically not very high as seen below:
    NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU                            
        49 postgres  749M  669M   4,7%   7:14:38  13%
         1 jboss    2519M 2536M    18%  50:36:40 5,9%We are not 100% sure why we run into performance problems, but when it happens we experience that the application slows down and swaps out (according to below). When it settles everything seems to turn back to normal. When the problem is acute the application is totally unresponsive.
    NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU
        1 jboss    3104M  913M   6,4%   0:22:48 0,1%
    #sar -g 5 5
    SunOS vbn-back 5.10 Generic_142901-03 i86pc    05/28/2010
    07:49:08  pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf
    07:49:13    27.67   316.01   318.58 14854.15     0.00
    07:49:18    61.58   664.75   668.51 43377.43     0.00
    07:49:23   122.02  1214.09  1222.22 32618.65     0.00
    07:49:28   121.19  1052.28  1065.94  5000.59     0.00
    07:49:33    54.37   572.82   583.33  2553.77     0.00
    Average     77.34   763.71   771.43 19680.67     0.00Making more memory available to tomcat seemed to worsen the problem or at least didn’t prove to have any positive effect.
    My suspicion is currently focused on PostgreSQL. Turning off fsync boosted performance and made the problem less often to appear.
    An unofficial performance evaluation on the database with “vacuum analyze” took 19 minutes on the server and only 1 minute on a desktop pc. This is horrific when taking the hardware into consideration.
    The short story:
    I’m trying different steps but running out of ideas. We’ve read that the database block size and file system block size should match. PostgreSQL is 8 Kb and ZFS is 128 Kb. I didn’t find much information on the matter so if any can help please recommend how to make this change…
    Any other recommendations and ideas we could follow? We know from other installations that the above setup runs without a single problem on Linux on much smaller hardware without specific tuning. What makes Solaris in this configuration so darn slow?
    Any help appreciated and I will try to provide additional information on request if needed…
    Thanks in advance,
    Kasper

    raidz isnt a good match for databases. Databases tend to require good write performance for which mirroring works better.
    Adding a pair of SSD's as a ZIL would probably also help, but chances are its not an option for you..
    You can change the record size by "zfs set recordsize=8k <dataset>"
    It will only take effect for newly written data. Not existing data.

  • HELP!!! Problems in using PostgreSQL in jdk1.4.2

    Hi,
    Can anybody help me with my problem. i am using jdk1.4.2 and have a database connection with PostgreSQL Driver. I have connection to the Driver using the following code.
    Class.forName("org.postgresql.Driver");
    Connection conn = DriverManager.getConnection("jdbc:postgresql:SchoolA","janeve.george","l0ngl1veme");
    Statement stmt = conn.createStatement();
    But an exception is thrown when the code in bold is executed. The exception is as follows:
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at org.postgresql.Driver.makeConnection(Driver.java:382)
    at org.postgresql.Driver.connect(Driver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at Sample.main(Sample.java:7)
    But when i go to java profile i get the following:
    D:\Personals\Java Programs>javap java.sql.Savepoint
    Compiled from null
    interface java.sql.Savepoint{
    public abstract int getSavepointId();
    throws java/sql/SQLException
    public abstract java.lang.String getSavepointName();
    throws java/sql/SQLException
    I have downloaded Driver for PostgreSQL for jdk1.4 but still there is this problem.
    There is no problem when i use the jdbc:odbc Bridge for any other Database. Please Solve this problem of mine.
    Regards,
    Janeve

    http://forum.java.sun.com/thread.jspa?threadID=735750&messageID=4227871

  • Wifi problem - connection stalls. MSI GE620DX

    Hi,
    Bought this laptop May 2011. OS Windows 7 Home Premium, Intel Centrino Wireless-N 130 wifi adapter (from Windows device manager).
    I have had the same Wifi problem from the beginning. The Wifi connection stalls every 5-20 seconds or so. The wifi stays connected but basically it is just like it is losing packets for some seconds. Like if I'm streaming a video (Internet or LAN, the exactly same thing) with VLC, the video starts to play nicely but after 5-10 seconds it starts to skip frames and stops for 1-4 seconds and then continues again. (But Youtube for example usually works better, because it buffers the video and can handle these network errors.)
    Other services behave exactly similarly, like file transfer. It is relatively slow to begin with but also varies in speed. If I transfer from another computer in the same LAN (other computer with wired connection) the speed is about 600-700 kB/s. Web browsing sometimes needs a refresh on the browser to get the page to load. I tried pinging my router, results were: Sent = 2730, Received = 2589, Lost = 141.  Round trip fastest = 1 ms, slowest = 2407 ms, average = 7 ms.
    So, you understand this is quite frustrating at times.
    I initially thought the problem is just some incompability with my router and this MSI laptop Wifi. But I now have experience with four different networks in four different locations and the results are always very similar. So I am quite sure the fault is with the MSI. With wired connection there's no problems at all but that is not always possible and basically the Wifi should just work.
    I have tried different driver version but absolutely no difference. The latest driver was just updated from Windows Update and no difference in performance. I have also tried to let both the Intel PROSet/Wireless software and Windows to manage the Wifi connections, but again, no difference what so ever.
    I'm kinda thinking it's a hardware problem.
    Any advice or should I just contact MSI for repairs? Thanks in advance.

    Thanks Buluunee!
    After your advice I decided to once again reinstall, starting by uninstalling the driver and also Proset. Once uninstalled both, I just installed the driver (or actually Windows found it automatically, altough I thought I had removed it). Now, without the Proset, this seems to be working!
    There was something odd happening after a reboot, wifi connected but didn't get IP address. Another device worked fine on the same network. I had an extra router and this is working nicely even after some shutdowns. So, it seems this was after all a softaware problem.

  • App downloads problems - downloading stalls.....

    i am getting this almost every time i download an app. i try to download an app (it always happens when downloading an update) and the download stalls. after an initial message saying that the download is not available, it gets stuck with a black app icon and the word "waiting" below the app icon.
    i've tried restoring the phone, resetting network settings. nothing helps.
    if i do a hard restart while the app download is stalled, the app gets deleted completely and i have to re-download it again.
    if i download an update for an app on my computer, then sync the phone to the computer, after the app download has already stalled on the phone, the app does not get updated. i still have to do a hard restart of the iphone4, which deletes the app, forcing me to completely re-download it.

    I came across this issue on my iPad and iPhone today. I did some research and it was suggested that you need to change your region to wherever in the world you originally purchased the app.
    This worked for me.
    I had tried signing in and out, deleting apps and resetting my devices; because I had never used any Apple ID except for my own personal one, I thought that those options would sort it. I changed my region to the uk (where the apps were purchased) and now they have updated with no other issues.
    I hope this helps

  • Problems in stalling OSX

    Hi there! I have a 13" macbook. My hard drive failed so I got a new one, and went to install OSX on it. It's an Apple OSX Install Disc, 1 & 2, and it takes me to the installer, asks me to select language then tells me "This software cannot be installed on this computer." Restart or Startup Disk.
    Why is it doing this? Please advise... I miss my MacBook!
    Thanks in advance!
    Sarah

    You may have to format the drive before the install will proceed.
    To do this:
    Insert Install Disc 1 and boot the computer with the C key held down.
    From the Installer menu, choose *Disk Utility*.
    In the left-hand column, select your hard drive--the one with the Manufacturer name & capacity.
    Click the Partition tab.
    Under *Volume Scheme*, choose 1 partition.
    Click the Options button in the lower left corner and choose GUID partition scheme.
    Under *Volume Information*, set the "Name" as *Macintosh HD" and the "Format" as *Mac OS Extended (Journaled)*.
    Once this is done, give the install another try. If you need clarification on anything, let me know.
    ~LYssa
    Click Apply.

  • Problems with postgresql contrib

    Hi.
    I've installed Arch on my computer but I'm having a problem now with postgresql and a missing library. I'm developing some add ons to Openbravo and I need to use postgresql and UUID that is provided by uuid-ossd.so lib that according to the docs on Openbravo and other sites is from postgresql-contrib package. The problem is that I've installed the contrib package on my Arch and there is nothing there regarding uuid!
    I've tryed with the contrib package from pacman and even one from AUR but can't manage to have uuid-ossd.so lib .
    How can I solve this problem? Any other package that provides this missing lib for postgresql?
    Thanks,
    Mike

    I'd suggest building PostgreSQL from source, and making sure you include the contrib you want before you compile. It's really quite easy, and gives you better control over your PG install, especially when major updates happen. (eg, 7.4 to 8.0)
    Last edited by fukawi2 (2009-01-26 22:20:56)

  • 9i installation problem on a Win 2000 P4 PC

    Hi,
    Although I am new to Oracle, with the help of documentation I successfully managed to install it on a Window 2000 PC without any major problems except for the one described below.
    The problem is this:
    When the PC was part of a campus domain (e.g., claflin.edu) I got "end-of-file on communication channel" and "internal error. hostdef extension doesn't exist" errors repeatedly many times during installation but I didn't get any when the PC was taken off the network and added to a workgroup.
    Is there something I need to do to make it work on a network? Has anyone seen this same behavior on Win 2000 or is it something unique in my case?
    By the way, I am also running the personal web server (PWS) in the same PC.
    Any help will be greatly appreciated.
    Thanks
    Kuha M.

    Hi Eric,
    Ther should not be any problem in stalling NWDS SP9. Your case the problem may be
    1)Insufficient Disk Space
    2)Outdated vesrion of JDK
    3) you might not have been downloded full fledged NWDS SP9 installer.
    4)May be while installing NWDS it is not able to locate JDK in Directory.
    if you check all these, i hope it will work!!!.
    Regards,
    RK

  • Problems installing second hard drive and second DVD recorder

    I have tried about every combination of tricks to install a second hard drive.  I want to add a 250GB, WD IDE hard drive to my 3000J 115 7387A32 on the IDE channel.  I have set up the bios then added the drive and the reverse but cannot get computer to boot in either case.  It locks on the first screen where is says hit Enter to.... Enter makes the text go away, but nothing after. I am trying to install it as a single drive on the secondary IDE channel. 
    I know the HD is good as I removed it from another computer.  It does have Win XP on it.  I will format it using Vista IF I can get it installed.
    Basically, I am having the same problems within stalling the second DVD, which is SATA.

    Your initial hard drive should be jumpered as Master. When you install a second hard drive it must be jumpered Slave. There should be a diagram on the case of the HD showing the jumper locations.
    Power Macintosh G3 and G4: IDE Master and Slave Support and Configuration
    http://docs.info.apple.com/article.html?artnum=24342
    Power Mac G4: Installing Internal Storage Devices
    http://support.apple.com/kb/HT1815
     Cheers, Tom

  • Configuration of PostgreSQL in Solaris 10

    I really having problems in configuring postgreSQL in my desktop...
    When i execute the initdb command it display this error:
    The user must own the server process.
    thanx

    you have to be user postgres to use that command. if you are your regular user or root it won't work.
    so become root and type:
    su - postgres
    then type your command initdb (with whatever appropriate arguments) and it should work and initialize your database cluster.

  • [n95 v31.0.017]Certain mp3s cause problems

    With latest fw (31.0.17) I noticed that music player many times stall while checking
    for new music.
    First I didn't know why, I even reuploaded same firmware, but the problem persisted.
    After extensive testing, I found out that certain mp3s do that. They are however perfectly playable by
    other players (e.g. winamp, amarok, corePlayer...), but seems to cause multiple problems on the phone.
    Problematic file to test:
    http://www.mediafire.com/?mpoxfexbzgn
    Upload this file with vfat safe chars (the problem is not in the filename, I have other music tracks that do the same and doesn't contain special chars like this one).
    Possible steps to reproduce problems:
    1 - stalled file manager:
    - open file manager
    - browse to uploaded file
    - open it
    File manager should remain half-blank, you have to kill it.
    2 - stalled music player
    - open music player
    - from first screen choose Options → Refresh
    Music player will endlessly scan for new music.
    I never had problems with older firmware, I urge nokia to fix this ugly bug.

    I don't have an N95, but I suspect it is the id3 tags causing the problem.  They are encoded using ID3 v2.4, which isn't well supported on hardware players.  As you list Amarok in the list of players you've tried successful I'm going to assume it is the culprit, as editing tags with Amarok always results in v2.4 being used. This behavior is hardcoded, with no user configurable way to change it.
    I've run into the exact same problem with my current mp3 device, and as it seems you run Linux, I can suggest installing kid3 (KDE is not necessary).  It has a 1-click feature to convert v2.4 tags into v2.3, which has far wider support amongst hardware players.  You'll find similar software to kid3 for Windows and OSX if Linux isn't your bag, but you will have to hunt for that yourself    
    Message Edited by chilledrat on 28-Feb-2009 01:41 AM

  • Is there a solution to Rapidweaver Stacks Cache size problems?

    Is there a solution to Rapidweaver Stacks Cache size problems?
    My website http://www.optiekvanderlinden.be , has about 100 pages and is about 250MB in size. Every time I open RapidWeaver with the Stacks-plugin, the user/library/cache/com.yourhead.YHStacksKit folder grows to several Gigabytes in size. If I don't  manually empty the com.yourhead.YHStacksKit Cache daily, AND empty the Trash before i turn off my mac, my Mac still has problems and stalls at startup the next day. Sometimes up to 5 minutes and more before he really boots. If i have a been working on such a large site for a few weeks without deleting that cache, than my iMac doesn't start up anymore, and the only thing left to do is completely reinstall the iOs operating system. This problem doesn't happen the days i use all my other programs but don't use Rapidweaver.
    Does anyone know a solution and / or what is the cause of this?

    once more,
    i just launched my project in Rapidweaver, and WITHOUT making any changes to my pages, the cache/com.yourhead.YHStacksKit folder filled itself with 132 folders (total 84Mb), most of them containing images of specific pages etc. The largest folder in the cache is the one with the images of a page containing a catalogue of my company, this folder is 7Mb. It seems by just starting up a project, immediately different folders are created containing most of the images in my project, and some folders with a log.txt file. Still i don't see the reason why it is filling op a huge Cache even without making changes to the project. I have 2 different sites, so 2 different projects, and i get this with both of them.

  • Mac Mini boot up problem.

    Recently, I started to come across a rather annoying problem. Whenever I start my mac mini, boot menu comes up as if "alt" key was pressed. I choose HD and then mac mini boots normally. I suspected an imminent HD failure and  checked the HD for errors with OSX built in disk utility and third party SMART utility. Nothing seems to be wrong with volume and smart tests are OK. While the OSX is running, I don't see any unusual problems like stalls, beach ball or so. Any ideas appreciated.
    Mac mini 3,1 OSX SL 10.6.8.

    No, I doubt it's a hard drive failure although that cannot be ruled out yet. I would first consider doing a reinstallation of OS X:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.
    Let's see if that fixes the problem. Any chance you have another keyboard you can try? In case this doesn't help.
    BTW, are you really a physicist? If so what specialty?

  • Video Stalling/Stopping?

    When I watch the videos, they stop most of the time and never
    restart. For example, in video 3, the video hangs where narrator is
    discussing _workspace. I let it run and it never restarts. I try to
    move backwards and forwards in the video and it never plays. I
    finally made it thru 1st two videos after many retries. I am on DSL
    line at home, and something bigger at work, but still have issues.
    Anyone else have problems with stalling? Is DSL too slow
    too?

    I'm on a T1 line at work and am having the same start/stop
    problem with the videos. We definitely need to be able to download
    these videos so that this problem can be avoided. There were so
    many interruptions and dropouts on the HTTP Service video that it
    took me almost an hour to get through it. Needless to say, this
    made for a somewhat excruciating and painful learning experience.
    Mike

  • My first Mac and so far I love it!

    I just bought a MacBook with OS 10.4.8, and so far I am absolutely besotted with it...I mean, as much as you can love something that's an inanimate object. I have had PCs since I got my very first computer when I started grad school, and I was generally satisfied with them...but when I recently had to call my PC manufacturer to come and install a new motherboard on a less-than-six month old computer...THEN wasted another four hours after that fighting with the antivirus people trying to get that issue resolved...WELL, enough was enough, and off to the Apple store I went.
    I'm still on a learning curve for OS as compared to Windows but I've been using Windows for so long I'm giving myself time to adjust. I'm also still working on getting my @X&*( wireless router to work...but that was a problem before I ever got the Mac.
    I love the size of my MacBook (so small! so light!) and have been busily downloading music, etc., for an upcoming flight to Seattle. It runs as fast as my desktop (without the pesky bootup problems and never ending battle with the security), I've had no problems with the sound, I bought the Microsoft OfficeMac (so there are some familiar landmarks). I tend to run a lot of applications at the same time when I'm on my computer, and so far I have had very few problems with stalling or freezing.
    So...PC to Mac converts, are there any "wish I'd known that with my first Mac" tips you can pass along?
    Thank you!
    A "happy" camper
    MacBook   Mac OS X (10.4.8)   My very first Mac

    Welcome aboard. As for tips, remember to try out Expose and Dashboard. Just press the buttons F9 - F12.

Maybe you are looking for