• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

URGENT: /etc/init.d/psa missing - anything can be done..

cowenpa

New Pleskian
Can't find psa so can't access Plesk

Was told that have to reimage the server which sounds dramatic - is there no other way to get Plesk working again?

Have posted history of commands run to see if something could have caused it

992 rpm -qf /etc/init.d/psa was done after it was missing and it is there but won't work - get

[root@s15353667 psa]# /etc/init.d/psa start
Starting xinetd service... done
Starting named service... failed
Starting mysqld service... failed
Starting postgresql service... failed
Starting psa-spamassassin service... not installed
Plesk: Starting Mail Server... already started
Starting mail handlers tmpfs storage
Starting Plesk... done


and in the browser get :
ERROR: PleskFatalException StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead Additionally, an exception has occurred while trying to report this error: PleskFatalException StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead 0: common_func.php3:108 psaerror(string 'StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead') 1: common_func.php3:66 getProductLoginVersion() 2: SP.php:101 ssoGetSpName() 3: SP.php:393 SsoSpConfig->load() 4: SP.php:215 SsoSpConfig->__construct() 5: SP.php:223 SsoSpConfig::getInstance() 6: SP.php:447 SsoSpConfig() 7: RelyingParty.php:19 isSsoEnabled() 8: login.php3:10

We have been trying to get backup working but have no current backup of the psa file

If do have to reimage then what is the best procedure to follow to get the domains and emails and databases and scripts working again on new server..

We have another server - could I somehow migrate the users onto that server and then reimage and migrate back?

Ideally have a way to get the psa working without

Version is 9.2.2 CentOS 5 92090714.19

Commands in history:

781 yum remove proftpd
782 wget --passive-ftp ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.2.tar.gz
783 tar xvfz proftpd-1.3.2.tar.gz
784 cd proftpd-1.3.2/
785 ./configure --sysconfdir=/etc
786 ./configure --sysconfdir=/usr/local/etc
787 ./configure --sysconfdir=/etc
788 vi config.log
789 gcc
790 yum install gcc
791 ./configure --sysconfdir=/etc
792 yum install g++
793 yum install gcc*
794 yum install gcc-c++
795 ./configure --sysconfdir=/etc
796 make
797 ll
798 ./make
799 pwd
800 ././config.status
801 ./config.h
802 Make
803 make
804 yum install gcc*
805 make
806 ./configure make
807 yum install make
808 make
809 make install
810 cd ..
811 rm -fr proftpd-1.3.2*
812 ln -s /usr/local/sbin/proftpd /usr/sbin/proftpd
813 vi /etc/init.d/proftpd
814 chmod 755 /etc/init.d/proftpd
815 vi /etc/proftpd.conf
816 vi /etc/proftpd.conf
817 vi /etc/proftpd.conf
818 chkconfig --levels 235 proftpd on
819 /etc/init.d/proftpd start
820 vi /etc/init.d/proftpd
821 /etc/init.d/proftpd start
822 vi /etc/proftpd.conf
823 /etc/proftpd.conf
824 ftpasswd
825 ifconfig
826 /etc/init.d/proftpd stop
827 /etc/init.d/proftpd start
828 cd /var/backups/
829 ll
830 cd ..
831 ll
832 chown nobody:nobody backups
833 ll
834 adduser --h
835 adduser -d /var/backups/ -G nobody -M -p Computers99%
836 adduser -d/var/backups/ -Gnobody -M -pComputers99%
837 adduser -d/var/backups/ -Gnobody -M -pComputers99% backups
838 users
839 users backups
840 users
841 login
842 vipw
843 vi /etc/group
844 vipw
845 shutdown --h
846 ifconfig
847 passwd backups
848 pwd
849 cd /var/backups/
850 cat test > text.txt
851 ll
852 exit
853 history
854 history | grep psa
855 cat /usr/local/psa/version
856 exit
857 history
858 yum install proftpd
859 cd /usr/local/sbin/
860 pwd
861 ll
862 ll proftpd
863 cat proftpd
864 cd proftpd
865 vi /etc/psa/psa.conf
866 pwd
867 ll
868 cd /usr/local/bin/
869 ll
870 grep PRODUCT_ROOT_D /etc/psa/psa.conf | cut -d\ -f 2
871 vi /usr/local/psa/etc/plesk.pp
872 /usr/local/psa/etc/plesk.pp
873 find / -name *plesk*
874 history
875 history | psa
876 history | grep psa
877 history
878 history | more
879 psa
880 ll
881 cd ../sbin/
882 ll
883 cat tw_cli
884 pwd
885 ll
886 vi /etc/psa/psa.conf
887 vi /etc/psa/psa.conf
888 shutdown --h
889 shutdown -r -t now
890 shutdown -r -tnow
891 shutdown -r
892 shutdown -r -t "now"
893 shutdown -t now -r
894 shutdown -t 2 -r
895 shutdown -r time now
896 shutdown -r now
897 ping backup350.onlinehome-server.info
898 ping backup350.onlinehome-server.info
899 yum install vsftp
900 yum install proftp
901 vsftpd start
902 proftpd
903 yum install proftpd
904 chkconfig --level 3 proftpd on
905 service proftpd start
906 proftpd
907 yum uninstall proftpd
908 yum remove proftpd
909 yum install proftpd
910 chkconfig --level 3 proftpd on
911 service proftpd start
912 whereis proftp
913 whereis proft
914 whereis proftpd
915 service proftp\ start
916 service proftp start
917 /usr/sbin/proftpd start
918 /usr/sbin/proftpd --h
919 /usr/sbin/proftpd
920 vi /etc/proftpd.conf
921 whereis proftpd.conf
922 vi /usr/local/etc/proftpd.conf
923 vi /etc/inetd.conf
924 whereis inetd.conf
925 find / -name "inetd.conf"
926 /etc/init.d/psa status
927 /etc/psa status
928 /etc/psa/
929 /etc/psa/psa status
930 psa status
931 /etc/init.d/psa start
932 /usr/local/psa
933 /usr/local/psa/bin/
934 /usr/local/psa/bin/admin
935 /usr/local/psa/bin/
936 /etc/init.d/psa
937 /etc/init.d/
938 cd /etc/init.d
939 ls
940 cd ..
941 cd ..
942 ls
943 cd bin/
944 cd /
945 cd usr/local/psa/
946 ls
947 cd bin/
948 service
949 service status
950 service --status-all
951 history
952 history
953 history | grep psa
954 cd /etc
955 ls
956 cd psa
957 ls
958 less psa.conf
959 psa
960 cd ..
961 cd init.d
962 ls
963 history | grep psa
964 history | init.d
965 history | grep init.d
966 psa status
967 fsck
968 xfs_check
969 xfs_check(8)
970 xfs_check
971 xfs_check --help
972 clear
973 ls
974 exit
975 cd /etc
976 cd init.d
977 psa status
978 ls
979 /etc/init.d/psa status
980 cd /
981 /etc/init.d/psa status
982 cd /
983 find . -name psa
984 /usr/local/psa status
985 find . -name psa
986 ./etc/psa status
987 ./root/psa status
988 /var/lib/psa status
989 /var/local/psa
990 cd /etc/init.d
991 ls
992 rpm -qf /etc/init.d/psa
993 ls
994 psa start
995 ./psa status
996 less ~/.bash_history
997 service httpd start
998 cd /etc/psa/
999 ll
1000 du
1001 df
1002 history

Thanks

Paul
 
Back
Top