Koozali.org: home of the SME Server

Removing installed contribs before update to SME8

Offline jim7jim

  • ***
  • 61
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #15 on: July 08, 2013, 04:26:10 PM »
OK, I'll try the upgrade again. I did do a check on the CD and it passed. Prior to this, I also installed SME 8 on a test server using this CD and it appeared to work fine.

Thanks again for your help!

Offline jim7jim

  • ***
  • 61
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #16 on: July 09, 2013, 02:52:34 PM »
I stuck the hard drive where I attempted to upgrade to v8 into a desktop I used to evaluate and test SME 8 before the upgrade. I ran the upgrade again from CD and this time it finished saying it had upgraded. Last time I think it locked up before it hit this point. When I boot and login the server now shows it's version 8.

However, I'm still getting the same errors on boot. I don't understand if I don't have any custom templates why httpd.conf is trying to load a module that doesn't exist in SME 8 (mod_imap.so)? Also, I don't understand if mod_imap.so is part of Apache package (httpd-2.0.52-49.ent.centos4.i386 : Apache HTTP Server), then why was mod_imap.so removed during the upgrade?

The boot errors as I reported earlier are still:

udevd[565]: add_to_rules: Invalid KERNEL operation
udevd[565]: add_to_rules: invalid rule 'etc/udev/rules.d/51-by-id.rules:1'


and

httpd: Syntax error on line 88 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_imap.so into server: /etc/httpd/modules/mod_imap.so: cannot open shared object file: No such file or directory

Am I correct in saying that if I remark out line 88 that calls mod_imap.so that this setting won't stick if/when http.conf is regenerated? I've had trouble in the past grasping the template system. Does anyone know what the udevd Invalid KERNEL means? I've searched by not found much on that.

Is there any hope that installing a fresh copy of SME 8 from CD and then doing a workstation restore from v7.6 would work?

Offline pcdoc

  • *
  • 56
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #17 on: July 09, 2013, 03:13:01 PM »
I would be inclined to do that, but do the restore after you re-install any contribs you are using.

That has worked well for me in the past.

What extra's did you have installed on the 7.6 system?
There are 10 types of people in this world,
   Those that know binary, and those who don't!

Offline jim7jim

  • ***
  • 61
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #18 on: July 09, 2013, 03:26:41 PM »
The only ones I was sure of were smeserver-vacation and smeserver-userpanel. These are supposed to be compatible with SME 8. But since the upgrade is not working, maybe there's something else on there I'm not aware of or forgot.

It was suggested I run: /sbin/e-smith/audittools/newrpms

But this lists hundreds of packages. These packages are not base SME?

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Removing installed contribs before update to SME8
« Reply #19 on: July 09, 2013, 04:13:00 PM »
It's probably time to raise a bug

http://forums.contribs.org/index.php/topic,48877.msg243443.html#msg243443
http://forums.contribs.org/index.php?topic=48981.0

I doubt the mod_imap.so is as serious as
Code: [Select]
udevd[565]: add_to_rules: Invalid KERNEL operation
udevd[565]: add_to_rules: invalid rule 'etc/udev/rules.d/51-by-id.rules:1

This needs to be reported
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #20 on: July 09, 2013, 09:20:38 PM »
pcdoc & jim7jim

I would be inclined to do that, but do the restore after you re-install any contribs you are using.

That is not the recommended procedure.
A restore is done to a fresh installation of sme server, and then contribs are reinstalled. As configuration data is restored, you should not need to setup those reinstalled contribs again.

I agree that the issue of error messages after upgrade to sme8, should go straight to the bugtracker.
Also you cannot ignore the output of the newrpms command, it should list potentially problematic or incompatible rpms, of which you only now inform us that there are many. You must clean up your server before upgrading or you are likely to have issues (which you are having). It sounds to me like your server has been heavily modified from standard, so you just have to work through those issues.

Please advise the bug reference number here
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jim7jim

  • ***
  • 61
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #21 on: July 09, 2013, 09:44:44 PM »

Offline purvis

  • *****
  • 567
  • +0/-0
Re: Removing installed contribs before update to SME8
« Reply #22 on: July 10, 2013, 01:57:06 PM »
I have almost always found using an  upgrade approach to an operating system has left me with nothing but problems.
Seems always the shortcut was never a shortcut.
A new install of an OS is always the best then restore to that from a pervios system where you can.
Also, I always use different disk that are brand new.
The time I find is always less to do this rather hunting down errors or misconfigurations.
Good Luck.