<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10807</bug_id>
          
          <creation_ts>2007-02-08 23:20:39 +0300</creation_ts>
          <short_desc>postgresql не стартует</short_desc>
          <delta_ts>2008-06-13 12:16:20 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>postgresql8.0-server</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Zolochevskiy">azol</reporter>
          <assigned_to name="Ivan Fedorov">ns</assigned_to>
          <cc>algor</cc>
    
    <cc>enp</cc>
    
    <cc>ldv</cc>
    
    <cc>misha</cc>
    
    <cc>mithraen</cc>
    
    <cc>thresh</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45180</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2007-02-08 23:20:39 +0300</bug_when>
    <thetext># /etc/init.d/postgresql start
Adjusting environment for postgresql:                                                      
[ DONE ]
Creating default database: /bin/su: unrecognized option 
`--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data&apos;
usage: su [-|-l] [-c &quot;command&quot;] [-s &quot;shell&quot;] [username]
                                                                                      
[FAILED]

опечаточка где-то?

[root@alt ~]# rpm -q postgresql8.0-server
postgresql8.0-server-8.0.11-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45773</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-02-23 10:44:50 +0300</bug_when>
    <thetext>Денис, проверь, плс.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47550</commentid>
    <comment_count>2</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2007-04-01 00:46:29 +0400</bug_when>
    <thetext>Так а чего тут проверять то?

Бага есть и в 8.0 и в 8.1 и в 8.2 - покажу на примере

# ls -ld /var/lib/p*
ls: /var/lib/p*: No such file or directory
# rpm -qa |grep postgresql
# apt-get install postgresql8.1-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  postgresql-common postgresql8.1
The following NEW packages will be installed:
  postgresql-common postgresql8.1 postgresql8.1-server
0 upgraded, 3 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/5571kB of archives.
After unpacking 14.5MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing...                 ####################################### [100%]
1: postgresql8.1             ####################################### [ 33%]
2: postgresql8.1-server      ####################################### [ 66%]
groupadd: group psqluser exists
Done.

# service postgresql start
Adjusting environment for postgresql:                               [ DONE ]
Creating default database: /bin/su: unrecognized option 
`--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data&apos;
usage: su [-|-l] [-c &quot;command&quot;] [-s &quot;shell&quot;] [username]
                                                                    [FAILED]


вот так вот :(
как я понимаю в /etc/init.d/postgresql не отрабатывает

action &quot;Creating default database:&quot; /bin/su -s /bin/sh -l po
stgres -c &quot;/usr/bin/initdb --pgdata=\&quot;$PG_CHROOT_DIR$PGDATA\&quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48989</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-04-17 20:42:55 +0400</bug_when>
    <thetext>postgresql8.2-server-8.2.3-alt4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48991</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-04-17 20:44:31 +0400</bug_when>
    <thetext>*** Bug 11394 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48994</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-04-17 20:54:47 +0400</bug_when>
    <thetext>*** Bug 11425 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49804</commentid>
    <comment_count>6</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2007-05-03 16:22:42 +0400</bug_when>
    <thetext># /usr/sbin/vzctl exec 105 service postgresql start
Adjusting environment for postgresql: [ DONE ]
Creating default database: /bin/su: unrecognized option
`--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data&apos;
usage: su [-|-l] [-c &quot;command&quot;] [-s &quot;shell&quot;] [username]
[FAILED]

# /usr/sbin/vzctl exec 105 rpm -qa | grep postgresql
postgresql8.1-8.1.8-alt3
postgresql8.1-server-8.1.8-alt3
postgresql-common-1.0-alt3
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49813</commentid>
    <comment_count>7</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2007-05-03 22:04:25 +0400</bug_when>
    <thetext>postgresql8.2 работает правильно?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49814</commentid>
    <comment_count>8</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-05-03 23:58:21 +0400</bug_when>
    <thetext>юзайте 8.2 - там поправлено.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50136</commentid>
    <comment_count>9</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2007-05-12 19:48:30 +0400</bug_when>
    <thetext>8.2.4-alt2 - ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50137</commentid>
    <comment_count>10</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2007-05-12 19:49:07 +0400</bug_when>
    <thetext>8.2.4-alt2 - ok</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>