Getting error on Mandriva 2009 perfect server step

Discussion in 'HOWTO-Related Questions' started by dcihon, Apr 18, 2009.

  1. dcihon

    dcihon New Member

    Unfortunately, on Mandriva Dovecot is started before ntpd, so we change it like this:

    cd /etc/rc3.d
    mv S99ntpd S98ntpd
    mv S54dovecot S99dovecot

    after this step I get
    mv: cannot stat 'S54dovecot': No such file or directory

    Thanks
    Dan
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    cd /etc/rc3.d
    ls -la
    ?
     
  3. dcihon

    dcihon New Member

    [root@cihon1 rc3.d]# ls -la
    total 8
    drwxr-xr-x 2 root root 4096 2009-04-18 13:50 ./
    drwxr-xr-x 10 root root 4096 2009-04-18 12:43 ../
    lrwxrwxrwx 1 root root 12 2009-04-18 12:57 K09dm -> ../init.d/dm*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 K49netconsole -> ../init.d/netconsole*
    lrwxrwxrwx 1 root root 19 2009-04-18 11:14 S03ip6tables -> ../init.d/ip6tables*
    lrwxrwxrwx 1 root root 18 2009-04-18 11:14 S03iptables -> ../init.d/iptables*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:15 S10network -> ../init.d/network*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:11 S13partmon -> ../init.d/partmon*
    lrwxrwxrwx 1 root root 15 2009-04-18 11:20 S14acpid -> ../init.d/acpid*
    lrwxrwxrwx 1 root root 14 2009-04-18 11:11 S17alsa -> ../init.d/alsa*
    lrwxrwxrwx 1 root root 15 2009-04-18 11:15 S18sound -> ../init.d/sound*
    lrwxrwxrwx 1 root root 19 2009-04-18 11:11 S26udev-post -> ../init.d/udev-post*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:24 S29numlock -> ../init.d/numlock*
    lrwxrwxrwx 1 root root 13 2009-04-18 11:14 S40atd -> ../init.d/atd*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 S50network-up -> ../init.d/network-up*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 S50resolvconf -> ../init.d/resolvconf*
    lrwxrwxrwx 1 root root 16 2009-04-18 12:57 S50syslog -> ../init.d/syslog*
    lrwxrwxrwx 1 root root 17 2009-04-18 12:57 S51portmap -> ../init.d/portmap*
    lrwxrwxrwx 1 root root 17 2009-04-18 12:57 S52ct_sync -> ../init.d/ct_sync*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 S52nfs-common -> ../init.d/nfs-common*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 S53messagebus -> ../init.d/messagebus*
    lrwxrwxrwx 1 root root 15 2009-04-18 12:57 S53netfs -> ../init.d/netfs*
    lrwxrwxrwx 1 root root 22 2009-04-18 12:57 S54avahi-daemon -> ../init.d/avahi-daemon*
    lrwxrwxrwx 1 root root 19 2009-04-18 12:57 S54haldaemon -> ../init.d/haldaemon*
    lrwxrwxrwx 1 root root 18 2009-04-18 12:57 S54keytable -> ../init.d/keytable*
    lrwxrwxrwx 1 root root 15 2009-04-18 12:57 S54mandi -> ../init.d/mandi*
    lrwxrwxrwx 1 root root 19 2009-04-18 12:57 S54saslauthd -> ../init.d/saslauthd*
    lrwxrwxrwx 1 root root 19 2009-04-18 11:15 S55memcached -> ../init.d/memcached*
    lrwxrwxrwx 1 root root 14 2009-04-18 11:15 S55sshd -> ../init.d/sshd*
    lrwxrwxrwx 1 root root 15 2009-04-18 12:57 S90crond -> ../init.d/crond*
    lrwxrwxrwx 1 root root 19 2009-04-18 11:14 S90dc_server -> ../init.d/dc_server*
    lrwxrwxrwx 1 root root 13 2009-04-18 11:14 S91smb -> ../init.d/smb*
    lrwxrwxrwx 1 root root 15 2009-04-18 11:14 S91ucarp -> ../init.d/ucarp*
    lrwxrwxrwx 1 root root 15 2009-04-18 12:57 S92httpd -> ../init.d/httpd*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:14 S95anacron -> ../init.d/anacron*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:15 S95kheader -> ../init.d/kheader*
    lrwxrwxrwx 1 root root 17 2009-04-18 11:15 S95mailman -> ../init.d/mailman*
    lrwxrwxrwx 1 root root 17 2009-04-18 12:57 S99dovecot -> ../init.d/dovecot*
    lrwxrwxrwx 1 root root 33 2009-04-18 13:50 S99ispconfig_server -> /etc/rc.d/init.d/ispconfig_server*
    lrwxrwxrwx 1 root root 11 2009-04-18 12:43 S99local -> ../rc.local*
    lrwxrwxrwx 1 root root 16 2009-04-18 12:57 S99mysqld -> ../init.d/mysqld*
    lrwxrwxrwx 1 root root 15 2009-04-18 12:57 S99named -> ../init.d/named*
    lrwxrwxrwx 1 root root 20 2009-04-18 12:57 S99nfs-server -> ../init.d/nfs-server*
    lrwxrwxrwx 1 root root 14 2009-04-18 12:57 S99ntpd -> ../init.d/ntpd*
    lrwxrwxrwx 1 root root 17 2009-04-18 12:57 S99postfix -> ../init.d/postfix*
    lrwxrwxrwx 1 root root 17 2009-04-18 12:57 S99proftpd -> ../init.d/proftpd*
     
  4. falko

    falko Super Moderator

    Did you accidentally execute the command twice? Because there's already a link called S99dovecot.
     
  5. dcihon

    dcihon New Member

    Not that I am aware of.
    I did all of the commands and the server is up and running.
    Is there a way to check that it is set up ok?
     
  6. falko

    falko Super Moderator

    Run this
    Code:
    cd /etc/rc3.d
    mv S99ntpd S98ntpd
    and it should be ok.
     
  7. dcihon

    dcihon New Member

    That worked.
    Should I do the same thing for rc4.d and rc5.d?
     
  8. falko

    falko Super Moderator

    If it's in the tutorial, then yes.
     

Share This Page