Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Ubuntu 11.04
PostPosted: Fri Apr 29, 2011 5:50 pm 
Offline
Senior Member

Joined: Sat May 02, 2009 12:44 am
Posts: 92
Just upgraded from 10.10 to 11.04, looks fine, but I have one issue: postfix can no longer perform rDNS queries. Must be related to postfix chroot mode. Does anyone know how to fix this?


Top
   
 Post subject:
PostPosted: Sat Apr 30, 2011 6:49 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
I'm using virtualbox to check Nasty Narwhal before upgrading, and noticed that apache's mod_rewrite is not enable by default. Use the command:

a2enmod rewrite

(a2enmod = apache2 enable module) followed by a restart to enable it.

James


Top
   
 Post subject: Re: Ubuntu 11.04
PostPosted: Sat Apr 30, 2011 8:06 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
neo wrote:
Just upgraded from 10.10 to 11.04, looks fine, but I have one issue: postfix can no longer perform rDNS queries. Must be related to postfix chroot mode. Does anyone know how to fix this?


There may be an answer here later as well:

http://groups.google.com/group/mailing. ... b79bc60c5/

James


Top
   
 Post subject:
PostPosted: Sat Apr 30, 2011 9:04 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
The upgrade process ran smooth as silk, no problems encountered during the upgrade or in regression testing.

James


Top
   
 Post subject:
PostPosted: Sat Apr 30, 2011 10:12 pm 
Offline
Senior Member

Joined: Sat May 02, 2009 12:44 am
Posts: 92
Are you saying you don't have the problem I described?
I found Ubuntu already has confirmed high priority bug for this:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/764096


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 3:11 am 
Offline
Senior Member

Joined: Sat May 02, 2009 12:44 am
Posts: 92
I found it!

/etc/init.d/postfix:

replace these two lines:
Code:
rm -f lib/libnss_*so*
tar cf - /lib/libnss_*so* 2>/dev/null |tar xf -

with these two:
Code:
rm -f lib/x86_64-linux-gnu/libnss_*so*
tar cf - /lib/x86_64-linux-gnu/libnss_*so* 2>/dev/null |tar xf -

My fix is specific for x64 architecture, change it if you use x86.
It should be possible to create architecture independent fix, but I don't know how.


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 10:15 am 
Offline
Senior Member

Joined: Sat Sep 25, 2010 2:25 am
Posts: 75
Website: http://www.ruchirablog.com
Location: Sri Lanka
zunzun wrote:
I'm using virtualbox to check Nasty Narwhal before upgrading

James


now thats nasty! :twisted:


Top
   
 Post subject: pycompile issue
PostPosted: Sun May 01, 2011 3:19 pm 
Offline
Junior Member
User avatar

Joined: Sun Oct 02, 2005 11:54 am
Posts: 43
Website: http://www.garyscott.net
Location: Goleta, CA
I am upgrading Ubuntu to 11.04 and during the dist-upgrade I get this.

Code:
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up python2.7-minimal (2.7.1-5ubuntu2) ...
Linking and byte-compiling packages for runtime python2.7...
E: pycompile:240: Requested versions are not installed
dpkg: error processing python2.7-minimal (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies



Google has yet to reveal an answer so I am stuck for now.


Top
   
 Post subject: Re: pycompile issue
PostPosted: Sun May 01, 2011 3:49 pm 
Offline
Junior Member
User avatar

Joined: Tue Apr 28, 2009 8:57 pm
Posts: 38
Location: Pale Blue Dot
kali25 wrote:
I am upgrading Ubuntu to 11.04 and during the dist-upgrade I get this.

Code:
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up python2.7-minimal (2.7.1-5ubuntu2) ...
Linking and byte-compiling packages for runtime python2.7...
E: pycompile:240: Requested versions are not installed
dpkg: error processing python2.7-minimal (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies



Google has yet to reveal an answer so I am stuck for now.


I think it's related to bug 689306.

Short answer: you have to update python2.6 before upgrade to python2.7.


Top
   
 Post subject: Re: pycompile issue
PostPosted: Sun May 01, 2011 4:36 pm 
Offline
Junior Member
User avatar

Joined: Sun Oct 02, 2005 11:54 am
Posts: 43
Website: http://www.garyscott.net
Location: Goleta, CA
advocatux wrote:
Short answer: you have to update python2.6 before upgrade to python2.7.



Thanks for the effort, I found this page too and too cryptic for me. I am running Python 2.6.6
Code:
gary@leroy:~$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.



Which seems to be the newest of the 2.6 line. http://www.python.org/download/releases/

Everything is still running it seems so I will have to wait till it affects others. If I find a resolution I will post.


Top
   
 Post subject: Found the solution!
PostPosted: Sun May 01, 2011 4:54 pm 
Offline
Junior Member
User avatar

Joined: Sun Oct 02, 2005 11:54 am
Posts: 43
Website: http://www.garyscott.net
Location: Goleta, CA
So I don't know why this works but here is how I got past my problem.

https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/689306
Quote:
The quick fix is to edit /usr/share/python/debpython/version.py manually and change line 26 to

SUPPORTED = [(2, 6), (2, 7)]]


Top
   
 Post subject:
PostPosted: Thu May 05, 2011 9:05 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
I'm glad you all had a great experience. Mine really sucked.

I had no problem last week upgrading 10.10 -> 11.04 on a backup VPS with another vendor, using their simple console.

On my Linode VPS, followint suggestions, I used LISH. I could enter D, Y, N, OK on prompts to consider new or old .conf files. However, on the grub-pc page, I could not enter any marks in the [ ] spaces, and I did no want to continue without installing grub's. After a few tries, LISH crahed and disconnected. I ssh'd in and had to do something like `dpkg -configure -a` which brought up the grub-pc again. I guess this is an ncurses screen, and I still could not get past this page?

Since it seemed my system was close to being hosed, I decided to simply use my Backups (which I have for extra fees) and restore my old 10.10 from this morning's backups. It took a few correspondences with Support to get the info that I had to basically Shutdown -> Delete my Ubuntu and Swap -> Backup -> Restore. This restore on my smallest Linode (16 GB I believe) is taking unbelievably long. At this rate, it will be some hours until I can try to log in and check it out.

I think in the future on Linode, it makes sense to temporarily buy a new Linode2, "Restore" a backup from my Linode1 -> Linode2, try to upgrade Linode2 and back that up -> Restore (as above) backup from Linode2 -> Linode1, then delete the Linode2 account. Is this what other people here do?

_________________
http://www.ingber.com


Top
   
 Post subject:
PostPosted: Thu May 05, 2011 9:57 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
I just was referred to
http://library.linode.com/troubleshooti ... _upgrading
where I see that the method prompted in my 10.10 login, which I followed, `do-release-upgrade` has failed for others on Linode.

_________________
http://www.ingber.com


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 12:50 am 
Offline
Senior Member

Joined: Sat May 02, 2009 12:44 am
Posts: 92
ingber wrote:
I think in the future on Linode, it makes sense to temporarily buy a new Linode2, "Restore" a backup from my Linode1 -> Linode2, try to upgrade Linode2 and back that up -> Restore (as above) backup from Linode2 -> Linode1, then delete the Linode2 account. Is this what other people here do?

If you decide to go that route, the last steps are unnecessary, if the upgrade on your Linode2 works, you can just delete your Linode1.


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 4:54 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
neo wrote:
ingber wrote:
I think in the future on Linode, it makes sense to temporarily buy a new Linode2, "Restore" a backup from my Linode1 -> Linode2, try to upgrade Linode2 and back that up -> Restore (as above) backup from Linode2 -> Linode1, then delete the Linode2 account. Is this what other people here do?

If you decide to go that route, the last steps are unnecessary, if the upgrade on your Linode2 works, you can just delete your Linode1.


if linode1 has been running, that could end up with lost stats, data, etc.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group