thank you very much sir, for the suggestion. It work.
i had successfully created the builder files.

now, I have to configure logging to a single local file
for this, according to book, I have to create a /etc/rsyslog.d/0-swift.conf 
with contents local0.* /var/log/swift/all.log

I run the following command:
root@arun-Aspire-5742:/etc/swift# sudo cat 'local0.*/var/log/swift/all.log' > 
/etc/rsyslog.d/0-swift.conf
cat: local0.*/var/log/swift/all.log: No such file or directory


but I got error

Please help me in this regard

---

Thanks
Pragya Jain




>________________________________
> From: Amanda Plimpton <ama...@swiftstack.com>
>To: pragya jain <prag_2...@yahoo.co.in> 
>Sent: Sunday, 18 August 2013 5:16 AM
>Subject: Re: problem in creating builder files in swift
> 
>
>
>Dear Pragya Jain,
>
>Joe may correct me or have additional insight but looking at the log you 
>provided the last last line of "pkg_resources.
>DistributionNotFound: dnspython>=1.10.0" is saying that the system was looking 
>a dnspython version that was equal to or greater than 1.10.0. I also see that 
>earlier in the log it showed "Setting up python-dnspython (1.9.4-0ubuntu3)". 
>If you upgrade the 1.9.4 version to a 1.10.0 version that error should no 
>longer occur.
>
>
>Thank you,
>Amanda
>
>
>
>
>On Sat, Aug 17, 2013 at 12:52 AM, pragya jain <prag_2...@yahoo.co.in> wrote:
>
>hello, sir!
>>
>>I install the python package dnspython using  'apt-get install' command
>>Then, I try to create builder file
>>But, again, I get the  same error
>>
>>please help me in this regard
>>
>>root@arun-Aspire-5742:~# cd /opt/swift/etc
>>root@arun-Aspire-5742:/opt/swift/etc# sudo apt-get install python-dnspython
>>Reading package lists... Done
>>Building dependency tree       
>>Reading state information... Done
>>The following NEW packages will be installed:
>>  python-dnspython
>>0 upgraded, 1 newly installed, 0 to remove and 590 not upgraded.
>>Need to get 99.2 kB of archives.
>>After this operation, 548 kB of additional disk space will be used.
>>Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main python-dnspython all 
>>1.9.4-0ubuntu3 [99.2 kB]
>>Fetched 99.2
 kB in 3s (30.7 kB/s)                      
>>Selecting previously unselected package python-dnspython.
>>(Reading database ... 150833 files and directories currently installed.)
>>Unpacking python-dnspython (from .../python-dnspython_1.9.4-0ubuntu3_all.deb) 
>>...
>>Setting up python-dnspython (1.9.4-0ubuntu3) ...
>>
>>root@arun-Aspire-5742:/opt/swift/etc# cd /etc/swift
>>
>>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder account.builder 
>>create 18 3 24
>>Traceback (most recent call last):
>>  File "/usr/local/bin/swift-ring-builder", line 4, in <module>
>>    import pkg_resources
>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in 
>><module>
>>    parse_requirements(__requires__), Environment()
>>
>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py",
 line 584, in resolve
>>    raise DistributionNotFound(req)
>>pkg_resources.DistributionNotFound: dnspython>=1.10.0
>>root@arun-Aspire-5742:/etc/swift# 
>>
>>
>>
>>
>>
>>
>>>________________________________
>>> From: pragya jain <prag_2...@yahoo.co.in>
>>>To: Joe Arnold <j...@swiftstack.com> 
>>>Cc: "cont...@swiftstack.com" <cont...@swiftstack.com> 
>>>Sent: Saturday, 17 August 2013 12:30 AM
>>>
>>>Subject: Re: problem in creating builder files in swift
>>> 
>>>
>>>
>>>Thanks for the reply, Sir!
>>>But, I don't know how to come over this problem
>>>and, what commands should I use to remove this error?
>>>
>>>Please help me in this regard.
>>>
>>>---
>>>Pragya Jain
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>________________________________
>>>> From: Joe Arnold <j...@swiftstack.com>
>>>>To: pragya jain <prag_2...@yahoo.co.in> 
>>>>Cc: "cont...@swiftstack.com" <cont...@swiftstack.com> 
>>>>Sent: Friday, 16 August 2013 10:16 PM
>>>>Subject: Re: problem in creating builder files in swift
>>>> 
>>>>
>>>>
>>>>Hi Pragya,
>>>>It appears that you are missing a python package based on the error 
>>>>message. Try digging into the error message around dnspython not found. 
>>>>We're always moving the code base ahead, so that may be something new (or 
>>>>gasp!) something that was overlooked in the book.
>>>>
>>>>
>>>>Thanks!
>>>>-Joe Arnold
>>>>--CEO, SwiftStack Inc.
>>>>http:// SwiftStack.com
>>>>
>>>>
>>>>On Friday, August 16, 2013, pragya jain  wrote:
>>>>
>>>>hello,
>>>>>
>>>>>
>>>>>I am installing and configuring swift using the commands given in the book 
>>>>>"software defined storage with openstack swift" by Joe Arnold.
>>>>>
>>>>>I am working on Ubuntu 12.04
>>>>>I had downloaded swift, install it, configure files, prepare the drives, 
>>>>>mount and reboot
>>>>>Then, I again give 'mount' command and following results are recieved.
>>>>>
>>>>>
>>>>>arun@arun-Aspire-5742:~$ mount
>>>>>/dev/sda4 on / type ext4 (rw,errors=remount-ro)
>>>>>proc on /proc type proc (rw,noexec,nosuid,nodev)
>>>>>sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
>>>>>none on /sys/fs/fuse/connections type fusectl (rw)
>>>>>none on /sys/kernel/debug type debugfs (rw)
>>>>>none on /sys/kernel/security type securityfs (rw)
>>>>>udev on /dev type devtmpfs (rw,mode=0755)
>>>>>devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
>>>>>tmpfs on /run type
 tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
>>>>>none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
>>>>>none on /run/shm type tmpfs (rw,nosuid,nodev)
>>>>>gvfs-fuse-daemon on /home/arun/.gvfs type fuse.gvfs-fuse-daemon 
>>>>>(rw,nosuid,nodev,user=arun)
>>>>>
>>>>>
>>>>>
>>>>>Then, I proceed further for creating the builder files
>>>>>
>>>>>
>>>>>arun@arun-Aspire-5742:~$ cd /etc/swift
>>>>>arun@arun-Aspire-5742:/etc/swift$ su -
>>>>>Password: 
>>>>>
>>>>>root@arun-Aspire-5742:~# cd /etc/swift
>>>>>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder account.builder 
>>>>>create 18 3 24
>>>>>Traceback (most recent call last):
>>>>>  File "/usr/local/bin/swift-ring-builder", line 4, in <module>
>>>>>    import pkg_resources
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in 
>>>>><module>
>>>>>    working_set.require(__requires__)
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in 
>>>>>require
>>>>>    needed = self.resolve(parse_requirements(requirements))
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
 resolve
>>>>>    raise DistributionNotFound(req)
>>>>>pkg_resources.DistributionNotFound: dnspython>=1.10.0
>>>>>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder 
>>>>>container.builder create 18 3 24
>>>>>Traceback (most recent call last):
>>>>>  File "/usr/local/bin/swift-ring-builder", line 4, in <module>
>>>>>    import pkg_resources
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in 
>>>>><module>
>>>>>    working_set.require(__requires__)
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in 
>>>>>require
>>>>>    needed = self.resolve(parse_requirements(requirements))
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in 
>>>>>resolve
>>>>>    raise DistributionNotFound(req)
>>>>>pkg_resources.DistributionNotFound: dnspython>=1.10.0
>>>>>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder
 object.builder create 18 3 24
>>>>>Traceback (most recent call last):
>>>>>  File "/usr/local/bin/swift-ring-builder", line 4, in <module>
>>>>>    import pkg_resources
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in 
>>>>><module>
>>>>>    working_set.require(__requires__)
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in 
>>>>>require
>>>>>    needed = self.resolve(parse_requirements(requirements))
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in 
>>>>>resolve
>>>>>    raise DistributionNotFound(req)
>>>>>pkg_resources.DistributionNotFound: dnspython>=1.10.0
>>>>>root@arun-Aspire-5742:/etc/swift# 
>>>>>root@arun-Aspire-5742:/etc/swift# swift-ring-builder
>>>>>Traceback (most recent call last):
>>>>>  File "/usr/local/bin/swift-ring-builder", line 4, in <module>
>>>>>    import
 pkg_resources
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in 
>>>>><module>
>>>>>    working_set.require(__requires__)
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in 
>>>>>require
>>>>>    needed = self.resolve(parse_requirements(requirements))
>>>>>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in 
>>>>>resolve
>>>>>    raise DistributionNotFound(req)
>>>>>pkg_resources.DistributionNotFound: dnspython>=1.10.0
>>>>>
>>>>>
>>>>>
>>>>>I am doubtful that these results are not correct and there is some problem 
>>>>>in creating builder files.
>>>>>Please help me in this regard how should I proceed further?
>>>>>
>>>>>
>>>>>Thanks
>>>>>
>>>>>
>>>>>Regards 
>>>>>
>>>>>Pragya Jain
>>>>>
>>>>
>>>>-- 
>>>>CEO, SwiftStack Inc.
>>>>http://swiftstack.com
>>>>+1-415-999-0282
>>>>
>>>>
>>>>
>>>
>>>
>
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to