无码视频在线观看,99人妻,国产午夜视频,久久久久国产一级毛片高清版新婚

  • 始創(chuàng)于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊(cè)有禮 登錄
    • 掛牌上市企業(yè)
    • 60秒人工響應(yīng)
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補(bǔ)償
    全部產(chǎn)品
    您的位置: 網(wǎng)站首頁(yè) > 幫助中心>文章內(nèi)容

    解決Ubuntu 9.10安裝PostgreSQL 8.4不能啟動(dòng)問(wèn)題

    發(fā)布時(shí)間:  2012/8/13 16:22:07

    今天想在Ubuntu 9.10安裝PostgreSQL 8.4學(xué)習(xí)下,執(zhí)行完下面命令后

    linuxidc@pentest:~$ sudo apt-get install postgresql-8.4 postgresql-client-8.4 postgresql-contrib-8.4

    返回如下:

    update-alternatives: 使用 /usr/share/postgresql/8.4/man/man1/postmaster.1.gz 來(lái)提供 /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz),于 自動(dòng)模式 中。
    -
     

    * Starting PostgreSQL 8.4 database server                                                 * The PostgreSQL server failed to start. Please check the log output:
    2010-01-25 00:03:24 CST FATAL:  could not create shared memory segment: ?????
    2010-01-25 00:03:24 CST DETAIL:  Failed system call was shmget(key=5433001, size=36880384, 03600).
    2010-01-25 00:03:24 CST HINT:  This error usually means that PostgreSQL’s request for a shared memory segment exceeded your kernel’s SHMMAX parameter.  You can either reduce the request size or reconfigure the kernel with larger SHMMAX.  To reduce the request size (currently 36880384 bytes), reduce PostgreSQL’s shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 103).
    If the request size is already small, it’s possible that it is less than your kernel’s SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
    The PostgreSQL documentation contains more information about shared memory configuration.
    [fail]
    invoke-rc.d: initscript postgresql-8.4, action “start” failed.
    dpkg:處理 postgresql-8.4 (–configure)時(shí)出錯(cuò):
    子進(jìn)程 已安裝的 post-installation 腳本 返回了錯(cuò)誤號(hào) 1
    dpkg:依賴關(guān)系問(wèn)題使得 postgresql-contrib-8.4 的配置工作不能繼續(xù):
    postgresql-contrib-8.4 依賴于 postgresql-8.4;然而:
    軟件包 postgresql-8.4 還沒(méi)有被配置。
    dpkg:處理 postgresql-contrib-8.4 (–configure)時(shí)出錯(cuò):
    依賴關(guān)系問(wèn)題 – 仍未被配置
    沒(méi)有寫入 apport 報(bào)告,因?yàn)殄e(cuò)誤信息指示它是從上一個(gè)失敗導(dǎo)致的。
    在處理時(shí)有錯(cuò)誤發(fā)生:
    postgresql-8.4
    postgresql-contrib-8.4
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    解決方法很簡(jiǎn)單:

    linuxidc@pentest:~$ sudo sysctl -w kernel.shmmax=2147483648
    kernel.shmmax = 2147483648
    linuxidc@pentest:~$ sysctl -a |grep shmmax
    error: permission denied on key ‘kernel.cad_pid’
    kernel.shmmax = 2147483648
    error: permission denied on key ‘fs.binfmt_misc.register’
    error: permission denied on key ‘net.ipv4.route.flush’
    error: permission denied on key ‘net.ipv6.route.flush’
    linuxidc@pentest:~$ sudo /etc/init.d/postgresql-8.4 start
    * Starting PostgreSQL 8.4 database server                                         [ OK ]


    本文出自:億恩科技【mszdt.com】

    服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營(yíng)性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營(yíng)性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營(yíng)性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:0371-60135900
  • 虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:0371-60135900
  • 專注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號(hào)
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號(hào)總部企業(yè)基地億恩大廈  法律顧問(wèn):河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號(hào)
      1
     
     
     
     

    0371-60135900
    7*24小時(shí)客服服務(wù)熱線