Koozali.org: home of the SME Server

USB - Becoming a serious problem now!

Offline piedie

  • ***
  • 58
  • +0/-0
USB - Becoming a serious problem now!
« on: November 20, 2007, 03:00:21 PM »
Hi there!

My usb-printer doesnt work, wheter I try cups or LPRng. And my USB-stick don't work. (At least it is not recognized in Contrib USB Disks). So I am thinking that my USB is not working (anymore).

What way would there be to check this? BIOS settings are correct, and I do have +5V on the connectors. 'Mount' gives me this: usbfs on /proc/bus/usb type usbfs (rw) (I do not know if it has nothing to with it, just found it).

In /media/ there is only one folder: cdrecorder. Nothing else.

Any idea how to check/fix this? Thank you!
« Last Edit: November 27, 2007, 11:11:12 AM by piedie »

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB
« Reply #1 on: November 20, 2007, 03:20:58 PM »
When I typed yum info installed *usb* I see that usbutils is installed, and also libusb.

I got the feeling that at least usbutils do not have anything to do with SME (d/l by accident from wrong server I guess). Could this be the problem? What way to remove this? When I tried yum remove usbutils, i got a LOT of dependencies, so I skipped uninstalling it, not wanting to break anything. Help would be greatly appreciated!

Offline shell

  • ****
  • 117
  • +0/-0
Re: USB
« Reply #2 on: November 21, 2007, 10:22:55 PM »
Hi Piedie,

I also have the usbutils and the usbdiskmanager installed (can't remember if usbutils was there standard or is installed as part of the usbdiskmanager server manager panel) but all is working fine here with those installed.

I tend to plug in the usb key and then dmesg at the console to get an indication of the response of sme to the device - ie was it seen, where the device has been seen, etc and this may be useful to you for fault finding

ie: plug in USB key, open console (putty or at server)

Code: [Select]
dmesg

gives me:
Code: [Select]
usb 1-6: new high speed USB device using address 2
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: General   Model: USB Flash Disk    Rev: 0.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdc: 1967616 512-byte hdwr sectors (1007 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 1967616 512-byte hdwr sectors (1007 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.

So my device is recognised as sdc1.

Then i would make the mount point (if not already made)

Code: [Select]
mkdir /mnt/usb

yours could be mounted to /media/usb or even an ibay if you want.

to mount this then:
Code: [Select]
mount /dev/sdc1 /mnt/usb

Hope this helps.  I note when plugged in the Add option becomes available in the server manager panel - and that the reference to the usb key doesn't remove itself when the device is unplugged.

Cheers, Shell

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB
« Reply #3 on: November 27, 2007, 10:48:53 AM »
Well, I do not get that. When dmesg i got about 8 pages of info, these were the lines with the word usb in them.

But no sign of a working usb-port yet.

Code: [Select]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
HUB0 XVRA XVRB XVRC USB0 USB2 AZAD MMAC MMCI UAR1 PS2K
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB
« Reply #4 on: November 27, 2007, 11:10:46 AM »
Okay, I got stupid (again). But I guess that that is how we learn is it not? But I really could use some good advice now!

Looking at this USB situation again, I was looking through the Software Installer in the Server Manager, checking out my installed packages. I then saw usbutils RHEL etcetera, and I thought that it didn't belong to SME Server. (I heard the stories about non SME software on the servers, and that that was bad.) So because of that, I removed it by clicking on the Remove-button.

Now nothing works anymore!!!

- Server does not boot, the screen is really * up, as if I am looking to a snowstorm. Through the snow I can read something about a panicking kernel.
- Manager, users and web doesn't work anymore. Well, nothing works anymore.

What is this? And what is the best way to fix it?
And why does this keep happening to me? How can uninstalling one piece of software screw up an entire system? That is so strange and dangerous for n00b users....
« Last Edit: November 27, 2007, 11:19:52 AM by piedie »

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB - Becoming a serious problem now!
« Reply #5 on: November 27, 2007, 11:31:24 AM »
I am now downloading the smeserver-7.2-i386.iso to maybe try an upgrade to fix the system, but keep the files and users. Good idea?

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB - Becoming a serious problem now!
« Reply #6 on: November 27, 2007, 02:53:11 PM »
It is unbelievable: over 50 rpms were deleted. I'll post a list later. I am trying to reinstall them now, but the repositories in yum don't seem to work. I am trying to install rpms from cdrom now. I did an upgrade by the way, and files etc. are still present.

I renamed .rpmsave to their original names. Lots of stuff works now. Fileserver works, the name is now also correct. I cannot acces server manager or any ibay-website yet. (Server is in server-only mode) E-mail however works when i connect using emailsoftware like thunderbird.

I seem to miss some rpms, is there an easy way to find out?
« Last Edit: November 27, 2007, 02:58:06 PM by piedie »

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: USB - Becoming a serious problem now!
« Reply #7 on: November 27, 2007, 03:03:10 PM »
Yes - "upgrading" using the SME 7.2 iso will hopefully allow you to recover your system.

As of SME 7.1.1 some portions of your SME server will install or update directly from the Centos repositories, so you will definitely have some non-SME rpms.  The problems that people ran into between 7.1 and 7.1.3 occurred if they accidentally obtained a new kernel from the CentOS repositories rather than from the SME repo due to having yum configured to include the CentOS repos without being configured to exclude kernel updates from those same repos.

'yum' maintains dependency information for all packages - and removing software with yum or with the software installer will then remove all dependencies. Below is a partial list of the output from manually running yum remove usbutils at the command line; my assumption is that all of these packages are not required for usbutils to work, but in each instance the version listed is required for the package itself to work correctly with usbutils.
Code: (Partial output of yum remove usbutils) [Select]
e-smith-dynamicdns-tzo  noarch     1.4.0-3.el4.sme  installed          18 k
 e-smith-dynamicdns-yi   noarch     1.4.0-3.el4.sme  installed          18 k
 e-smith-email           noarch     4.16.0-22.el4.sme  installed         214 k
 e-smith-flexbackup      noarch     1.10.0-3.el4.sme  installed          31 k
 e-smith-formmagick      noarch     1.4.0-5.el4.sme  installed         112 k
 e-smith-grub            noarch     1.0.0-6.el4.sme  installed          80 k
 e-smith-horde           noarch     1.13.0-21.el4.sme  installed          86 k
 e-smith-hosts           noarch     1.14.0-10.el4.sme  installed          72 k
 e-smith-ibays           noarch     1.2.0-5.el4.sme  installed          69 k
 e-smith-imap            noarch     1.4.0-9.el4.sme  installed          22 k
 e-smith-imp             noarch     1.13.0-10.el4.sme  installed          64 k
 e-smith-ingo            noarch     1.1-6.el4.sme    installed          31 k
 e-smith-ldap            noarch     4.12.0-7.el4.sme  installed          46 k
 e-smith-lib             noarch     1.18.0-18.el4.sme  installed         309 k
 e-smith-lib-compspec    noarch     1.0.0-2.el4.sme  installed         2.7 k
 e-smith-manager         noarch     1.14.0-8.el4.sme  installed          94 k
 e-smith-mysql           noarch     1.12.0-14.el4.sme  installed          29 k
 e-smith-netatalk        noarch     1.14.0-6.el4.sme  installed          23 k
 e-smith-ntp             noarch     1.16.0-12.el4.sme  installed          57 k
 e-smith-nutUPS          noarch     1.2.0-15.el4.sme  installed         2.5 k
 e-smith-oidentd         noarch     1.2.0-3.el4.sme  installed          20 k
 e-smith-openssh         noarch     1.12.0-10.el4.sme  installed          34 k
 e-smith-packetfilter    noarch     1.18.0-6.el4.sme  installed          46 k
 e-smith-php             noarch     1.12.0-4.el4.sme  installed          24 k
 e-smith-pop3            noarch     1.2.0-3.el4.sme  installed          23 k
 e-smith-portforwarding  noarch     1.2.0-5.el4.sme  installed          49 k
 e-smith-pptpd           noarch     1.12.0-10.el4.sme  installed          28 k
 e-smith-proftpd         noarch     1.12.0-10.el4.sme  installed          32 k
 e-smith-proxy           noarch     4.14.0-8.el4.sme  installed          33 k
 e-smith-qmail           noarch     1.10.0-14.el4.sme  installed          44 k
 e-smith-qmailanalog     noarch     1.12.0-2.el4.sme  installed          27 k
 e-smith-quota           noarch     1.10.0-5.el4.sme  installed          77 k
 e-smith-radiusd         noarch     1.0.0-16.el4.sme  installed          67 k
 e-smith-rpm             noarch     1.3.2-06         installed         192 k
 e-smith-samba           noarch     1.14.0-33.el4.sme  installed          61 k
 e-smith-starterwebsite  noarch     1.0.0-2.el4.sme  installed          30 k
 e-smith-test            noarch     1.2.0-2.el4.sme  installed          26 k
 e-smith-tinydns         noarch     1.0.0-7.el4.sme  installed          40 k
 e-smith-turba           noarch     1.7.0-16.el4.sme  installed          38 k
 e-smith-viewlogfiles    noarch     1.8.0-5.el4.sme  installed          31 k
 elinks                  i386       0.9.2-3.3.5.2    installed         2.0 M
 fastforward             i386       0.51-04.el4.sme  installed         165 k
 fetchmail               i386       6.2.5-6.0.1.el4  installed         1.4 M
 flexbackup              noarch     1.2.1-1.el4.sme  installed         254 k
 freeradius              i386       1.0.1-3.RHEL4.5  installed         3.8 M
 gcc                     i386       3.4.6-8          installed          12 M
 gd                      i386       2.0.28-5.4E      installed         448 k
 gettext                 i386       0.14.1-13        installed         3.1 M
 ghostscript             i386       7.07-33          installed          24 M
 ghostscript-fonts       noarch     5.50-13          installed         1.4 M
 gifsicle                i386       1.48-1.el4.rf    installed         250 k
 glibc-devel             i386       2.3.4-2.36       installed         4.1 M
 glibc-headers           i386       2.3.4-2.36       installed         2.0 M
 glibc-kernheaders       i386       2.4-9.1.100.EL   installed         2.1 M
 gnupg                   i386       1.2.6-9          installed         4.1 M
 grub                    i386       0.95-13sme01     installed         974 k
 hal                     i386       0.4.2-6.EL4      installed         347 k
 horde                   noarch     3.1.4-1.el4.sme  installed          19 M
 hotplug                 i386       3:2004_04_01-7.8  installed         157 k
 httpd                   i386       2.0.52-32.3.ent.centos4  installed         2.3 M
 httpd-suexec            i386       2.0.52-32.3.ent.centos4  installed          11 k
 imp-h3                  noarch     4.1.4-1.el4.sme  installed          14 M
 ingo-h3                 noarch     1.1.3-2.el4.sme  installed         3.7 M
 initscripts             i386       7.93.29.EL-1.el4.sme  installed         3.3 M
 iptables                i386       1.2.11-3.1.RHEL4  installed         370 k
 isdn4k-utils            i386       3.2-18.p1.1      installed         8.9 M
 kbd                     i386       1.12-2.el4.4     installed         2.1 M
 kernel                  i686       2.6.9-42.0.2.EL  installed          27 M
 kernel                  i686       2.6.9-22.0.2.EL  installed          24 M
 kernel                  i686       2.6.9-22.0.1.EL  installed          24 M
 kernel                  i686       2.6.9-34.0.2.EL  installed          26 M
 kernel                  i686       2.6.9-55.0.12.EL  installed          28 M
 kernel                  i686       2.6.9-34.0.1.EL  installed          26 M
 kernel                  i686       2.6.9-34.EL      installed          26 M
 kernel                  i686       2.6.9-11.EL      installed          24 M
 kernel                  i686       2.6.9-55.0.9.EL  installed          28 M
 kernel-smp              i686       2.6.9-55.0.9.EL  installed          29 M
 kernel-smp              i686       2.6.9-34.EL      installed          28 M
 kernel-smp              i686       2.6.9-55.0.12.EL  installed          29 M
 kernel-smp              i686       2.6.9-34.0.1.EL  installed          28 M
 kernel-smp              i686       2.6.9-34.0.2.EL  installed          28 M
 kernel-smp              i686       2.6.9-42.0.2.EL  installed          29 M
 kernel-utils            i386       1:2.4-13.1.99    installed         1.5 M
 kmod-appletalk          i686       1.0-2.2.6.9_55.0.12.EL  installed         527 k
 kmod-ppp                i686       1.0.2-2.2.6.9_55.0.12.EL  installed         380 k
 kmod-slip               i686       1.0-2.2.6.9_55.0.12.EL  installed         171 k
 krb5-libs               i386       1.3.4-49         installed         1.0 M
 kudzu                   i386       1.1.95.22-1      installed         870 k
 libc-client             i386       2002e-14         installed         997 k
 libdbi-dbd-mysql        i386       0.6.5-10.RHEL4.1  installed          28 k
 libpcap                 i386       14:0.8.3-10.RHEL4  installed         392 k
 libungif                i386       4.1.3-1.el4.2    installed          75 k
 libungif-progs          i386       4.1.3-1.el4.2    installed         320 k
 libuser                 i386       0.52.5-1.el4.1   installed         1.2 M
 libxml2-python          i386       2.6.16-10        installed         1.3 M
 lm_sensors              i386       2.8.7-2.40.3     installed         1.5 M
 lockdev                 i386       1.0.1-6.2        installed          19 k
 lynx                    i386       2.8.5-18.2       installed         4.6 M
 mc                      i386       1:4.6.1-0.8.5    installed         4.2 M
 mdadm                   i386       1.12.0-2.el4.sme  installed         221 k
 minicom                 i386       2.00.0-19        installed         582 k
 mkbootdisk              i386       1.5.2-1          installed         6.7 k
 mkinitrd                i386       4.2.1.10-1.1.el4.sme  installed         128 k
 mod_auth_external       i386       2.2.8-4.el4.sme  installed          38 k
 mod_auth_tkt            i386       2.0.0rc2-1.el4.sme  installed         184 k
 mod_perl                i386       1.99_16-4.5      installed         3.7 M
 mod_ssl                 i386       1:2.0.52-32.3.ent.centos4  installed         170 k
 module-init-tools       i386       3.1-0.pre5.3.4   installed         609 k
 mrtg                    i386       2.10.15-1        installed         2.6 M
 mutt                    i386       5:1.4.1-12.0.3.el4  installed         2.9 M
 mysql                   i386       4.1.20-2.RHEL4.1.0.1  installed         5.2 M
 mysql-server            i386       4.1.20-2.RHEL4.1.0.1  installed          21 M
 mysqlclient10           i386       3.23.58-4.RHEL4.1  installed         409 k
 net-snmp                i386       5.1.2-11.EL4.10.0.1  installed         1.9 M
 net-snmp-libs           i386       5.1.2-11.EL4.10.0.1  installed         4.6 M
 net-snmp-perl           i386       5.1.2-11.EL4.10.0.1  installed         379 k
 net-snmp-utils          i386       5.1.2-11.EL4.10.0.1  installed         299 k
 netatalk                i386       3:2.0.3-6.el4.sme  installed         2.9 M
 nmap                    i386       2:3.93-0.2.el4.rf  installed         2.6 M
 ntp                     i386       4.2.0.a.20040617-6.el4  installed         2.2 M
 nut                     i386       2.2.0-3.3.el4    installed         2.4 M
 nut-client              i386       2.2.0-3.3.el4    installed         146 k
 oidentd                 i386       2.0.8-1.el4.rf   installed         127 k
 openldap                i386       2.2.13-7.4E      installed         474 k
 openldap-servers        i386       2.2.13-7.4E      installed         7.5 M
 openssh                 i386       3.9p1-8.RHEL4.20  installed         821 k
 openssh-clients         i386       3.9p1-8.RHEL4.20  installed         630 k
 openssh-server          i386       3.9p1-8.RHEL4.20  installed         361 k
 openssl                 i686       0.9.7a-43.16     installed         2.4 M
 pam                     i386       0.77-66.21       installed         4.3 M
 passwd                  i386       0.68-10.1        installed          21 k
 pciutils                i386       2.1.99.test8-3.4  installed         130 k
 pcmcia-cs               i386       3.2.7-3.5        installed         1.3 M
 pear-date               noarch     1.4.3-4.el4.sme  installed         328 k
 pear-db                 noarch     1.7.6-4.el4.sme  installed         653 k
 pear-file               noarch     1.2.0-4.el4.sme  installed          61 k
 pear-log                noarch     1.8.7-2.el4.sme  installed         135 k
 pear-mail               noarch     1.1.9-03es       installed          67 k
 pear-mail_mime          noarch     1.3.0-4.el4.sme  installed          70 k
 perl-Authen-PAM         i386       0.16-1.2.el4.rf  installed         122 k
 perl-Authen-SASL        noarch     2.10-1.el4.rf    installed          62 k
 perl-Crypt-OpenSSL-Bignum  i386       0.04-1.el4.rf    installed         133 k
 perl-Crypt-OpenSSL-RSA  i386       0.25-1.el4.rf    installed         120 k
 perl-DBD-MySQL          i386       2.9004-3.1.centos4  installed         234 k
 perl-GSSAPI             i386       0.24-1.el4.rf    installed         258 k
 perl-IO-Socket-SSL      noarch     1.07-1           installed          94 k
 perl-LDAP               noarch     0.34-1.el4.rf    installed         786 k
 perl-Mail-DKIM          noarch     0.26-1.el4.rf    installed         169 k
 perl-Mail-DomainKeys    noarch     1.0-1.el4.rf     installed          31 k
 perl-Net_SSLeay.pm      i386       1.25-4.el4.at    installed         497 k
 php                     i386       4.3.9-3.22.9     installed         3.2 M
 php-domxml              i386       4.3.9-3.22.9     installed          86 k
 php-gd                  i386       4.3.9-3.22.9     installed         286 k
 php-imap                i386       4.3.9-3.22.9     installed          83 k
 php-ldap                i386       4.3.9-3.22.9     installed          39 k
 php-mbstring            i386       4.3.9-3.22.9     installed         1.4 M
 php-mysql               i386       4.3.9-3.22.9     installed          40 k
 php-pear                i386       4.3.9-3.22.9     installed         1.2 M
 pine                    i386       4.64-3.el4.rf    installed          11 M
 postgresql-libs         i386       7.4.17-1.RHEL4.1  installed         372 k
 ppp                     i386       2.4.4-1.3.el4.sme  installed         759 k
 pptpd                   i386       1.3.4-1.el4.sme  installed         152 k
 prelink                 i386       0.3.3-0.EL4      installed         1.5 M
 procps                  i386       3.2.3-8.6        installed         316 k
 proftpd                 i386       1.3.1-1.el4.rf   installed         5.1 M
 python                  i386       2.3.4-14.4       installed          20 M
 python-elementtree      i386       1.2.6-5.el4.centos  installed         337 k
 python-urlgrabber       noarch     2.9.8-2          installed         471 k
 pyxf86config            i386       0.3.19-1         installed         138 k
 pyzor                   noarch     0.4.0-11.el4     installed         301 k
 qmail                   i386       1.03-13.el4.sme  installed         814 k
 quota                   i386       1:3.12-6.el4     installed         685 k
 rdiff-backup            i386       1.1.5-1          installed         1.8 M
 rhpl                    i386       0.148.5-1        installed         1.1 M
 rkhunter                noarch     1.2.9-3.el4.sme  installed         377 k
 rp-pppoe                i386       3.5-22.2.RHEL4.1  installed         218 k
 rpm                     i386       4.3.3-22_nonptl  installed         1.6 M
 rpm-python              i386       4.3.3-22_nonptl  installed         214 k
 rssh                    i386       2.3.2-1.2.0.el4.sme  installed          55 k
 samba                   i386       3.0.10-1.4E.12.2  installed          24 M
 samba-client            i386       3.0.10-1.4E.12.2  installed         6.2 M
 samba-common            i386       3.0.10-1.4E.12.2  installed          13 M
 sarg                    i386       1.4.1-5.2.el4.rf  installed         297 k
 screen                  i386       4.0.2-5          installed         715 k
 shadow-utils            i386       2:4.0.3-61.RHEL4  installed         1.3 M
 slocate                 i386       2.7-13.el4.6     installed          71 k
 smeserver-audittools    noarch     0.0.2-5.el4.sme  installed          11 k
 smeserver-clamav        noarch     1.2.0-15.el4.sme  installed          28 k
 smeserver-lazy_admin_tools  noarch     0.9.1-2          installed         161 k
 smeserver-mediawiki     noarch     1.6.10-6         installed         3.3 M
 smeserver-qpsmtpd       noarch     1.2.1-47.el4.sme  installed          51 k
 smeserver-spamassassin  noarch     1.4.0-16.el4.sme  installed         7.0 k
 smeserver-support       noarch     1.6.0-40.el4.sme  installed          73 k
 smeserver-webshare      noarch     1.0.0-7dmay      installed         242 k
 smeserver-yum           noarch     1.2.0-37.el4.sme  installed          68 k
 smolt                   noarch     0.9.8.1-5.el4.sme  installed         351 k
 spamassassin            i386       3.2.3-44.el4     installed         2.7 M
 squid                   i386       7:2.5.STABLE14-1.4E  installed         3.1 M
 stunnel                 i386       4.05-3           installed         255 k
 stunnel-tls             i386       3.22-4.el4.sme   installed          55 k
 sudo                    i386       1.6.7p5-30.1.3   installed         336 k
 sysklogd                i386       1.4.1-26_EL      installed         111 k
 sysstat                 i386       5.0.5-15.0.1.el4  installed         279 k
 system-config-keyboard  noarch     1.2.5-1          installed         129 k
 system-config-mouse     noarch     1.2.9-1          installed         195 k
 tcpdump                 i386       14:3.8.2-10.RHEL4  installed         697 k
 tcsh                    i386       6.13-9.el4.1     installed         1.5 M
 turba-h3                noarch     2.1.4-2.el4.sme  installed         5.1 M
 udev                    i386       039-10.15.EL4    installed         1.7 M
 ulogd                   i386       1.24-2.el4.sme   installed         363 k
 urw-fonts               noarch     2.2-6.1          installed         5.7 M
 usermode                i386       1.74-2           installed         471 k
 utempter                i386       0.5.5-5          installed          39 k
 util-linux              i386       2.12a-16.EL4.25  installed         3.5 M
 vconfig                 i386       1.8-4            installed         167 k
 vixie-cron              i386       4:4.1-49.EL4     installed         125 k
 wget                    i386       1.10.2-0.40E     installed         1.4 M
 which                   i386       2.16-4           installed          30 k
 xinetd                  i386       2:2.3.13-4.4E.1  installed         228 k
 xlhtml                  i386       0.5-2.el4.sme    installed         130 k
 xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.31    installed         403 k
 xorg-x11-font-utils     i386       6.8.2-1.EL.31    installed         214 k
 xorg-x11-libs           i386       6.8.2-1.EL.31    installed         6.6 M
 xorg-x11-xfs            i386       6.8.2-1.EL.31    installed         101 k
 yum                     noarch     2.4.3-4.el4.centos  installed         1.3 M
 yum-plugin-fastestmirror  noarch     0.2.4-3.c4       installed          25 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove     264 Package(s)
Total download size: 0
Is this ok [y/N]:

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: USB - Becoming a serious problem now!
« Reply #8 on: November 27, 2007, 03:22:11 PM »
Here is the beginning of the output from yum remove usbutils (I can't put it all in one post as the output exceeds the maximum post size of 2000 characters)

Code: [Select]
yum remove usbutils

...

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 usbutils                i386       0.11-7.RHEL4.1   installed          80 k
Removing for dependencies:
 BlockHosts              noarch     1.0.0-1          installed          55 k
 FuzzyOcr                noarch     3.5.1-3.el4.sme  installed         134 k
 MAKEDEV                 i386       3.15.2-3         installed         643 k
 SysVinit                i386       2.85-34.4        installed         163 k
 VFlib2                  i386       2.25.6-25        installed         556 k
 acpid                   i386       1.0.3-2          installed          27 k
 apr-util                i386       0.9.4-21         installed         103 k
 at                      i386       3.1.8-80_EL4     installed          75 k
 authconfig              i386       4.6.10-rhel4.3   installed         978 k
 bind-libs               i386       20:9.2.4-27.0.1.el4  installed         1.4 M
 bind-utils              i386       20:9.2.4-27.0.1.el4  installed         250 k
 chkfontpath             i386       1.10.0-2         installed          12 k
 coreutils               i386       5.2.1-31.6       installed         7.0 M
 cups                    i386       1:1.1.22-0.rc1.9.20.2.el4_5.2  installed         3.8 M
 cups-libs               i386       1:1.1.22-0.rc1.9.20.2.el4_5.2  installed         184 k
 curl                    i386       7.12.1-11.el4    installed         435 k
 cyrus-sasl              i386       2.1.19-14        installed         2.6 M
 cyrus-sasl-md5          i386       2.1.19-14        installed         100 k
 dbus                    i386       0.22-12.EL.9     installed         1.1 M
 dbus-glib               i386       0.22-12.EL.9     installed          69 k
 dbus-python             i386       0.22-12.EL.9     installed         399 k
 dhclient                i386       7:3.0.1-59.EL4   installed         434 k
 dhcp                    i386       7:3.0.1-59.EL4   installed         1.2 M
 distcache               i386       1.4.5-6          installed         226 k
 dot-forward             i386       0.71-4.el4.sme   installed          39 k
 dovecot                 i386       1.0-1.2.rc15.el4.sme  installed         2.6 M
 dstat                   noarch     0.6.6-1.el4.rf   installed         238 k
 e-smith                 noarch     4.2.0-9.el4.sme  installed          18 k
 e-smith-apache          noarch     1.2.0-16.el4.sme  installed          44 k
 e-smith-backup          noarch     1.14.0-16.el4.sme  installed         107 k
 e-smith-base            i386       4.18.0-75.el4.sme  installed         603 k
 e-smith-cups            noarch     0.3.0-2.sme6     installed          77 k
 e-smith-cvm-unix-local  noarch     1.2.0-2.el4.sme  installed          210
 e-smith-dnscache        noarch     1.0.0-8.el4.sme  installed          32 k
 e-smith-domains         noarch     1.4.0-8.el4.sme  installed          42 k
 e-smith-dynamicdns-dyndns  noarch     1.4.0-3.el4.sme  installed          19 k
 e-smith-dynamicdns-dyndns.org  noarch     1.4.0-4.el4.sme  installed          19 k
 e-smith-dynamicdns-tzo  noarch     1.4.0-3.el4.sme  installed          18 k

...(see above)

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB - Becoming a serious problem now!
« Reply #9 on: November 27, 2007, 03:23:45 PM »
Thank you.

Personally I think that this is a serious problem for unexperienced linux-users. I really think that the dev team should take a look at this. If uninstalling WinRAR for instance would break MS Windows, because winrar depends om some windows-components, I do not think that as many people would own a PC these days. There are probably a lot of advantages to this for experienced users, but maybe a big warning would help. Or the ability to uninstall something in the Manager, without deleting other packs. Or maybe in SME Server it shouldn't be allowed to uninstall components vital for SME Server. But, okay, that is a very different discussion. I also had this problem at hand before, so I was a little less scared now.


Got it running again, but some things don't work. Is there an easy way to 'complete' my system again? And what RPM creates the server-manager, and the ibay internet access? httpd?

Yum didn't work okay, but after a reboot it know appears to work. I entered 'yum update' and he is very very busy!

Offline piedie

  • ***
  • 58
  • +0/-0
Re: USB - Becoming a serious problem now!
« Reply #10 on: November 27, 2007, 04:00:50 PM »
After yum update (download about 51 MB) i still cannot access the ibays-websites or the webmail etc. I think something is not installed or doesn't have the right properties. What to do. Also no server-manager!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: USB
« Reply #11 on: November 27, 2007, 04:23:38 PM »
piedie

Quote
And why does this keep happening to me?

Because you keep doing stupid things, and you appear to have not learnt from your previous mistake(s).
Deleting or uninstalling files because you think it is a good idea, is definitely a bad idea.

You are trying to fix problems without really understanding or correctly diagnosing the problem, and you end up doing wrong or inappropriate things.

Your noob experience (or lack of it) is definitely a contributing factor, but you are doing some stupid actions on your part.

There have been recommendations in these forums and in bugzilla NOT to use yum to uninstall packages as there can be serious ramifications, (ie removal of dependency packages) as you have experienced.
The safe way to remove packages is to use
rpm -e packagename
as I believe you have been told previosuly, yet you insisted on using yum to do so again !!!

I hope you learn this time.
Stop fiddling !

If in doubt (and at present it seems you should be in doubt about most things sme) then ask first.

...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: USB - Becoming a serious problem now!
« Reply #12 on: November 27, 2007, 04:30:30 PM »
piedie

Quote
There are probably a lot of advantages to this for experienced users, but maybe a big warning would help. Or the ability to uninstall something in the Manager, without deleting other packs. Or maybe in SME Server it shouldn't be allowed to uninstall components vital for SME Server.

There is a big warning. Manage idividual packages is NOT enabled by default.
When you go to enable it you receive this message:

The software installer can manage groups of related package or individual packages. By default, only groups of packages are presented. If you wish to manage individual packages, enable this option. This should only be done by experienced administrators.


Notice the words "This should only be done by experienced administrators."

Look at the bug tracker as there are bugs re recent updates and server manager, perhaps you have now run into one of those.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: USB - Becoming a serious problem now!
« Reply #13 on: November 27, 2007, 04:41:11 PM »
piedie

You could install sme7.2 from CD then do yum update (plus signal event post-upgrade and reboot) onto a test system, and then compare the installed rpms with your live system.
Then manually install any missing rpms on your live system (if any are still missing) using
rpm -Uvh packagename
followed by
signal-event post-upgrade
reboot

If you are still having problems after that then there may be template errors or problems, so remove all your custom templates and do
signal-event post-upgrade
reboot

You will possibly need to reinstall contribs.

I suggest you create a New Feature Request (NFR) report at bugzilla and request that
yum remove
functionality be disabled, due to the problems it creates if wrongly used. Search bugzilla first as I recall there was some talk about this.

...