chkconfig: command not found
bigCat Posted in Linux - 0 Comment原来切换root的时候用su的缘故,身份且过来了环境变量还没切过来
赶紧exit了用 su - 来切换,就不会出现chkconfig: command not found了
原来切换root的时候用su的缘故,身份且过来了环境变量还没切过来
赶紧exit了用 su - 来切换,就不会出现chkconfig: command not found了
(dv) Dedicated-Virtual platform
Here are some paths to commonly used programs and locations on your (dv) server. Most of them are only available via SSH with root access. Before manipulating any of these files, it is highly suggested that you back up a copy of any file(s) you modify.
* Perl: /usr/bin/perl
* Python: /usr/bin/python
* php: /usr/bin/php
* php.ini: /etc/php.ini
* my.cnf: /etc/my.cnf
* httpd.conf: /etc/httpd/conf/httpd.conf
* Apache error log: /var/log/httpd/error_log
* Qmail log: /usr/local/psa/var/log/maillog
* MySQL error log: /var/log/MySQLd.log
* Sendmail: /usr/sbin/sendmail *
NOTE:
This is actually a symlink to /var/qmail/bin/sendmail, but will work for CGI scripts that require a sendmail path, such as formmail's formmail.pl.
Document root:
* /home/httpd/vhosts/mt-example.com/httpdocs [older (dv) 2.0 servers]
* /var/www/vhosts/mt-example.com/httpdocs [newer (dv) 2.0 and 3.x servers]
Raw access logs:
* /home/httpd/vhosts/mt-example.com/statistics/logs [older (dv) 2.0 servers]
* /var/www/vhosts/mt-example.com/statistics/logs [newer (dv) 2.0 and 3.x servers]
User email files:
* /var/qmail/mailnames/
System messages (shows things like login attempts, restart requests for services etc.):
* /var/log/messages