Postgresql service 8.2 on Solaris 10 Update 4

Hi
I have solaris 10 update 4 installed. PostgreSQL with SMF is shipped with Solaris 10 update 4.
I could see two services installed on the OS.
svcs postgresql
disabled 14:58:36 svc:/application/database/postgresql:version_81
maintenance 15:40:42 svc:/application/database/postgresql:version_82
I followed the steps to start postgres service given on Sun website...
PostgreSQL 8.2:
1. As root, su to postgres:
# su - postgres
2. Create PostgreSQL DB cluster:
$ /usr/postgres/8.2/bin/initdb -D /var/postgres/8.2/data
3. As root, use the SMF's svcadm command to start PostgreSQL:
# /usr/sbin/svcadm enable postgresql:version_82
now I could see one serive enabled.
svcs postgresql
disabled 14:58:36 svc:/application/database/postgresql:version_81
online 15:40:42 svc:/application/database/postgresql:version_82
But, when I disabled the service & restarted it using...
svcadm disable svc:/application/database/postgresql:version_82
svcadm enable svc:/application/database/postgresql:version_82
I see the serivce in the maintenance mode.
disabled 14:58:36 svc:/application/database/postgresql:version_81
maintenance 15:40:42 svc:/application/database/postgresql:version_82
Server.log shows following error:-
FATAL: syntax error in file "/var/postgres/8.2/data/postgresql.conf" line 104, near token "MB"
Can anyone help me know the reason?
Thanx in advance
Niraj

Hi
I have solaris 10 update 4 installed. PostgreSQL with SMF is shipped with Solaris 10 update 4.
I could see two services installed on the OS.
svcs postgresql
disabled 14:58:36 svc:/application/database/postgresql:version_81
maintenance 15:40:42 svc:/application/database/postgresql:version_82
I followed the steps to start postgres service given on Sun website...
PostgreSQL 8.2:
1. As root, su to postgres:
# su - postgres
2. Create PostgreSQL DB cluster:
$ /usr/postgres/8.2/bin/initdb -D /var/postgres/8.2/data
3. As root, use the SMF's svcadm command to start PostgreSQL:
# /usr/sbin/svcadm enable postgresql:version_82
now I could see one serive enabled.
svcs postgresql
disabled 14:58:36 svc:/application/database/postgresql:version_81
online 15:40:42 svc:/application/database/postgresql:version_82
But, when I disabled the service & restarted it using...
svcadm disable svc:/application/database/postgresql:version_82
svcadm enable svc:/application/database/postgresql:version_82
I see the serivce in the maintenance mode.
disabled 14:58:36 svc:/application/database/postgresql:version_81
maintenance 15:40:42 svc:/application/database/postgresql:version_82
Server.log shows following error:-
FATAL: syntax error in file "/var/postgres/8.2/data/postgresql.conf" line 104, near token "MB"
Can anyone help me know the reason?
Thanx in advance
Niraj

Similar Messages

  • During Postgresql configuration initdb freezes on solaris 10 x86

    Hi,
    I’ve installed Solaris 10 10/08 x86 in a VMware environment. The install went successfully, but when I tried to configure postgresql 8.2 to run the OS freezes when I run initdb.
    I followed the instructions from the man pages, created all the environment variables and configured all the necessary permissions. Below is the output when I run initdb in debug mode.
    initdb -d
    Running in debug mode.
    VERSION=8.2.9
    PGDATA=/var/postgres/8.1/data
    share_path=/usr/postgres/8.2/share
    PGPATH=/usr/postgres/8.2/bin
    POSTGRES_SUPERUSERNAME=postgres
    POSTGRES_BKI=/usr/postgres/8.2/share/postgres.bki
    POSTGRES_DESCR=/usr/postgres/8.2/share/postgres.description
    POSTGRES_SHDESCR=/usr/postgres/8.2/share/postgres.shdescription
    POSTGRESQL_CONF_SAMPLE=/usr/postgres/8.2/share/postgresql.conf.sample
    PG_HBA_SAMPLE=/usr/postgres/8.2/share/pg_hba.conf.sample
    PG_IDENT_SAMPLE=/usr/postgres/8.2/share/pg_ident.conf.sample
    The files belonging to this database system will be owned by user "postgres".
    This user must also own the server process.
    The database cluster will be initialized with locale C.
    creating directory /var/postgres/8.1/data ... ok
    creating subdirectories ... ok
    selecting default max_connections ...
    It always run to the “selecting default max_connections ...” line and locks up the OS. I can’t do anything after that. I have to restart the VM. Has anyone experience this issue before? Any help would be greatly appreciated.

    Hi,
    Based on feedback from another site, and some more research it seems that this is a bug. You can view more information at http://bugs.opensolaris.org/view_bug.do?bug_id=6579274. It looks like this bug has been resolve and will be in the next Solaris update. I'm not sure if it was fixed in the current patch set, as I don't have a support account. From the patch report (http://sunsolve.sun.com/patchRedirnew.do?type=report&item=10_x86_patch_report), it seems that the related bug, 6529185, was fixed.
    So, if you have a support account then you can download the latest patches and see if it was patched. I wanted to try Solaris 10 out before purchasing a support account, so I've resolved to use a release earlier than 10/08. I hope this helps
    Regards

  • Anyone else having issues with location services since the 7.1 update? Ever since I updated i've been seeing the location services on my status bar at all times.

    Anyone else having issues with location services since the 7.1 update? Ever since I updated i’ve been seeing the location services icon on my status bar at all times. I noticed that google was the app that was using it a lot, but after I turned the feature off for google my phone started using the “traffic”, “frequent locations” and “cell network search”. When I turn the feature off for all of those things it’s no longer a problem. So just wondering if anyone else is having this issue or if anyone has a solution?

    The "solution" is probably to increase your knowledge.  You've done good things.  Perhaps this article will educate you a bit more about location services.
    Basically, they can be very useful, but can cause a lot of iPhone use.  A major example is "Remind me to ... when I leave home."
    http://support.apple.com/kb/HT5594

  • Service Bus 1.0 cumulative update

    Hello,
    in order to install the 26/02/2013 version of the Microsoft Office Developer Tools for Visual Studio 2012, you need to install first the Service Bus 1.0 Cumulative Update 1.
    The thing is that I can not install this update, I always get an error:
    DownloadManager Information: 0 : Using cached file at C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe instead of downloading from http://go.microsoft.com/fwlink/?LinkId=285191&CLCID=0x409
    DownloadManager Information: 0 : Starting EXE command for product 'Service Bus 1.0 Cumulative Update 1'. Commandline is: 'C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe
    /quiet'. Process Id: 6308
    DownloadManager Information: 0 : Install exit code for product 'Service Bus 1.0 Cumulative Update 1' is '-1'
    DownloadManager Error: 0 : Install return code for product 'Service Bus 1.0 Cumulative Update 1' is Failure
    DownloadManager Information: 0 : Product Service Bus 1.0 Cumulative Update 1 done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    if I run C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe
    I get : "an unexpected internal error has occured."
    I am running Windows 8.
    Somebody having the same issue?
    Thx
    Gilles
    http://gilleslauwers.wordpress.com

    I am pretty sure that Gilles tries to install it on a Windows 7 machine. I am running into the same problem and I am not able to use the visual studio workflow manager tools even if I try to use the workflow manager client only.
    I was able to generate log files (below):
    But can you please tell me how to maintain a developer host if even the simple task of updating the product dosen't work?!?
    WF (german):
    [08/07/13 20:29:23] Installation wird ausgeführt.
    [08/07/13 20:29:23] Mindestens eines der Produktpakete wurde gefunden.
    [08/07/13 20:29:23] preReqUpdateDisplayName is :
    [08/07/13 20:29:23]
    [08/07/13 20:29:23] preReqUpdateDisplayName is :
    [08/07/13 20:29:23]
    [08/07/13 20:29:23] Assistent-Modus eingeschaltet.
    Die folgenden Produkte werden optimiert:
    Workflow Manager Client 1.0
    Attempting to open cached Msi package for product code: {7E04AA1F-E2E3-427F-B679-9E2592CBC3C1}
    Successfully opened cached Msi package.
    Workflow Manager 1.0
    Attempting to open cached Msi package for product code: {04A7199E-565D-4654-88A3-80A9A7BADDD9}
    Successfully opened cached Msi package.
    [08/07/13 20:29:28] Dienststeuerungs-Manager wird geöffnet...
    [08/07/13 20:29:28] Vorgang erfolgreich abgeschlossen.
    [08/07/13 20:29:28] Dateien werden kopiert...
    [08/07/13 20:29:28] Das Zielverzeichnis \Microsoft\E-Business Servers Updates\Updates\Uninstall2799754 wird geprüft und erstellt.
    [08/07/13 20:29:28] Das Verzeichnis \Microsoft\E-Business Servers Updates\Updates\Uninstall2799754 ist nicht vorhanden.
    [08/07/13 20:29:28] Das Verzeichnis  ist nicht vorhanden.
    [08/07/13 20:29:28] Das Verzeichnis  wird erstellt ...
    [08/07/13 20:29:28] Vorgang fehlgeschlagen.
    [08/07/13 20:29:28] Das Paket  Workflow Manager Client 1.0 wurde installiert.
    [08/07/13 20:29:28] Datei AppServerV1-WorkflowManagerClientx64patch30.msp wird kopiert ...
    [08/07/13 20:29:28] Fehler beim Kopieren der Datei AppServerV1-WorkflowManagerClientx64patch30.msp
    [08/07/13 20:29:32] Fehler beim Kopieren der Datei AppServerV1-WorkflowManagerClientx64patch30.msp
    [08/07/13 20:29:32] Vorgang fehlgeschlagen. Fehlercode lautet 3.
    SB (german too):
    [08/07/13 20:34:07] Installation wird ausgeführt.
    [08/07/13 20:34:07] Mindestens eines der Produktpakete wurde gefunden.
    [08/07/13 20:34:07] preReqUpdateDisplayName is :
    [08/07/13 20:34:07]
    [08/07/13 20:34:07] Assistent-Modus eingeschaltet.
    Die folgenden Produkte werden optimiert:
    Service Bus 1.0
    Attempting to open cached Msi package for product code: {F438C511-5A64-433E-97EC-5E5343DA670A}
    Successfully opened cached Msi package.
    [08/07/13 20:34:13] Dienststeuerungs-Manager wird geöffnet...
    [08/07/13 20:34:13] Vorgang erfolgreich abgeschlossen.
    [08/07/13 20:34:13] Dienst Service Bus Gateway wird geöffnet...
    [08/07/13 20:34:13] Vorgang erfolgreich abgeschlossen.
    [08/07/13 20:34:13] Dienst Service Bus Message Broker wird geöffnet...
    [08/07/13 20:34:13] Vorgang erfolgreich abgeschlossen.
    [08/07/13 20:34:13] Dateien werden kopiert...
    [08/07/13 20:34:13] Das Zielverzeichnis \Microsoft\E-Business Servers Updates\Updates\Uninstall2799752 wird geprüft und erstellt.
    [08/07/13 20:34:13] Das Verzeichnis \Microsoft\E-Business Servers Updates\Updates\Uninstall2799752 ist nicht vorhanden.
    [08/07/13 20:34:13] Das Verzeichnis  ist nicht vorhanden.
    [08/07/13 20:34:13] Das Verzeichnis  wird erstellt ...
    [08/07/13 20:34:13] Vorgang fehlgeschlagen.
    [08/07/13 20:34:13] Das Paket  Service Bus 1.0 wurde installiert.
    [08/07/13 20:34:13] Datei AppServerV1-ServiceBuspatch30.msp wird kopiert ...
    [08/07/13 20:34:13] Fehler beim Kopieren der Datei AppServerV1-ServiceBuspatch30.msp
    [08/07/13 20:34:16] Vorgang fehlgeschlagen. Fehlercode lautet 3.

  • HT3743 How do i restore my iphone from "no Service". I tried to update my iphone 3G TO iOS 6.0. But it got stuck and now my itunes is displaying Error message: "there is no sim card installed in the iphone you are attempting to activate" Kindly suggest

    How do i restore my iphone from "no Service". I tried to update my iphone 3G TO iOS 6.0. But it got stuck and now my itunes is displaying Error message: "there is no sim card installed in the iphone you are attempting to activate" and my iphone is without service. While i am trying to activate my ihone on wifi also it doesnt saying servers are temporary unavailable try after sometime. Kindly suggest

    It sounds a lot like your phone was hacked or jailbroken to unlock it prior to your trying to update it.
    If that is the case, it is nowpermanently bricked.

  • TS3694 How do i restore my iphone from "no Service". I tried to update my iphone 3G TO iOS 6.0. But it got stuck and now my itunes is displaying Error message: "there is no sim card installed in the iphone you are attempting to activate" Kindly suggest

    How do i restore my iphone from "no Service". I tried to update my iphone 3G TO iOS 6.0. But it got stuck and now my itunes is displaying Error message: "there is no sim card installed in the iphone you are attempting to activate" and my iphone is without service. While i am trying to activate my ihone on wifi also it doesnt saying servers are temporary unavailable try after sometime. Kindly suggest

    tariqrehmani wrote:
    How do i restore my iphone from "no Service". I tried to update my iphone 3G TO iOS 6.0. ...
    The iPhone 3G is Not Compatible with iOS 6...
    It also appears that your phone may have been Hacked and / or Jailbroken...
    If this is the case... you are out of luck... Because...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    Why Jailbreak is Not Supported  >  http://support.apple.com/kb/HT3743

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • HT1222 What if my phone is not in service than how can I update iOS 7?

    What if my iPhone is not in service than how can I update iOS 7?

    Explain "not in service" please.

  • Installed Win 7 64 Service Pack 1 and ThinkVan update stops working

    I have a T510 i7, Win 7 Prof.   64,   bit and this morning I installed Service Pack 1 from Window Update, and now when I use ThinkVantage to check for Lenovo updates, I press Next....and then  at 9% I get the message
    ...........an error occured whilst gathering user information"
    Can anyone give any help please

    you need to install the new version of sys update http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-73695
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • Iphone 4 has no service after replacing screen and updating, phone company says sim is fine. any ideas? thanks

    iphone 4 has no service after replacing screen and updating, phone company says sim is fine. any ideas? thanks

    We had this happen with a ipad mini, took it back to person who worked on it, after a week with trying to get it working again, he replaced it. I will agree with the other replies take it back to repair place there must be something inside the phone that if you don't do repair excalty right it messes up all phone functions. Also I would give the repair person a time frame to either get it working or replace it.

  • Does Solaris publish a feature / function mapping of container services between Docker and Solaris ?

    Docker is getting huge attention but most consider it not ready for production.  Does Solaris publish a feature / function mapping of container services between Docker and Solaris ?
    Solaris containerization has been battle tested in production for many, many years.

    You need to understand how IPMP is used within Sun Cluster. Start reading at
    http://docs.sun.com/app/docs/doc/819-2968/6n57jmghj?a=view and
    http://docs.sun.com/app/docs/doc/819-2969/6n57kl141?a=view
    for a brief description. In a nutshell - the IPMP group is providing availability on the interface level for each node, so that a single NIC failure is not resulting into a service loss.
    The IP adresses you configure directly (ie. via /etc/hostname.* setup) are always considered local to a given node.
    In order to configure highly available IP adresses, which move between nodes and which should be used for the application you make highly available, you must use the SUNW.LocgicalHostaname or SUNW.SharedAdress resource types. Have a look at
    http://docs.sun.com/app/docs/doc/819-2974/6n57pdjtt?a=view on how to configure them.
    Greets
    Thorsten

  • Service Number is not getting updated in the Purchase Requisition

    Hi All,
    When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction. I am passing all the services related parameters in the FM.
    Please clarify this.
    Thanks for the help.
    Vinoth

    Hi Vinoth,
    Are you getting any error in the return table?Can you show your coding?
    Regards,
    ravi

  • Service Number is not getting updated in the PR called by BAPI

    Hi ,
    When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction.
    I am passing all the services related parameters in the FM.
    Thanks for the help.
    F.F

    Hi Amar,
    need your help. i am facing the same issue.
    how did you resolved it . please let us know.
    Thanks,
    Santosh

  • No service on iphone 3gs after updating to 6.1.6

    After updating my iPhone 3gs to 6.1.6, am having a "No Service" problem. I can't even activate my iPhone.

    You can try resetting your iPhone by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

  • No service after iOS 5.1 update

    Okay so it looks like i'm hit too.
    I bought a referb(haha)  3GS(16gb newer model) from AT&T and it came with IOS 5.0 pre-installed, everything worked fine updated to 5.0.1 as soon as I got it activated.
    I then upgraded my phone to a 4 and decided to give my 3GS to my brother (who also has a 3GS, just an 8gb version), before I was going to do that, I decided to restore and update, after resetting all settings and updating to 5.1, I put in his SIM into the phone but itunes says that there is no SIM inserted into the phone and I'm not able to activate it.  Same for wifi activation, (says server is busy).  I've tried another AT&T SIM from another iphone 3GS and the same thing, No service, no SIM, busy server.  So I thought It'd try and restore the iphone, I put it into DFU mode, hooked it up to itunes, hit restore and it gives me an error 3194. 
    Oddly enough I don't get this error on my laptop if I restore from there.  Either way, my 3GS is no longer working after the 5.1 update.  I was told by my friend who works at the apple store that 5.1 does break a few iphones for one of two reasons, but he didn't think the problem with my phone were either of them.
    Uhh.. Any thoughts on this?
    Also, sorry if this was posted on the wrong board.

    UPDATE: I attempted to bypass activation using the emergency call 112 to get into the homescreen, but the call failed, in fact, even 911 will not go through and give me a call failed. (before you yell at me for dialing 911, I'm a firemedic )

Maybe you are looking for

  • Calendar app iOS7 needs updating

    The calendar app in iOS7 is terrible, you need the preview view like in iOS6. See what events you have on in the month ahead (I know in iOS7 you can click the search button but its not the same and not easy to view) Bring back the preview view ASAP a

  • How to set Default DateTime values in Crystal Reports 2008

    Hi All, I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59

  • Thunderbird does not display images in messages

    I've done the recommendation for changing mailnews.message_display.disable_remote_image to "user set" "boolean" and "false" but still don't get images. I'm using Thunderbird 24.3.0, and use Firefox 28.0 as my default browser. I can't find anything el

  • Printing a listing from an array of objects

    I know I'm missing something simple here but for the life of me I can't spot it. The code below should print a list of student names to the screen. At the moment it only prints the last name entered into the array. I will kick myself when I see the a

  • Available update not available

    For the past month I have had (1) update showing in iTunes menu, but when I go to the "apps" area, there are no updates listed. But still the (1) update on the lower bar. How do I find what this missing item is? Its driving me nuts. This has happened