باید باشه httpd..واسه آپاچی هستش..نمیشه که نباشه
دقت کن همون دستور بالارو بزن و چیزی اضافه یا کم نزنی
نداره، همون دستور شما رو کپی هم کردم، جواب نداد!!
بعدش نوشتم cd /etc
بعدش ls رو زدم
ببین، فقط اینها توش هست:
root@accounting-server:/etc# ls
acpi initramfs-tools ppp
adduser.conf inittab pppstatus
adjtime inputrc pptpd.conf
aliases iproute2 profile
alternatives iptables protocols
apache2 iptables-cache python
apm issue python2.4
apparmor.d issue.net python2.5
apt kernel-img.conf radclient
asterisk kvm radclient-ng
at.deny ldap radiusclient
bash.bashrc ld.so.cache radiusclient-ng
bash_completion ld.so.conf rc0.d
bash_completion.d ld.so.conf.d rc1.d
bind locale.alias rc2.d
bindresvport.blacklist locale.gen rc3.d
ca-certificates localtime rc4.d
ca-certificates.conf logcheck rc5.d
calendar login.defs rc6.d
chatscripts logrotate.conf rc.local
complete.tcsh logrotate.d rc.local-cache
console lsb-base rcS.d
console-tools lynx-cur reportbug.conf
cron.d magic reporter.conf
cron.daily magic.mime reporter.conf-cache
cron.hourly mailcap resolv.conf
cron.monthly mailcap.order resolv.conf-orig
crontab mailname restartd.conf
cron.weekly mail.rc restartd.conf-cache
csh manpath.config rmt
csh.cshrc mc rpc
csh.login mime.types rsyslog.conf
csh.logout minicom screenrc
dbconfig-common mke2fs.conf scsi_id.config
debconf.conf modprobe.d securetty
debian_version modules security
default motd selinux
defoma motd.tail sensors.conf
deluser.conf _mrtg.cfg services
dhcp3 mrtg.cfg sestatus.conf
dictionaries-common mrtg.cfg.local sgml
dpkg mrtg-squid-snmp.cfg shadow
emacs mrtg-squid-snmp-mib.txt shadow-
emacs22 mtab shells
email-addresses mtools.conf skel
environment Muttrc snmp
exim4 Muttrc.d squid3
first_installation_date mysql ssh
fonts nanorc ssl
fstab network sysctl.conf
gai.conf networks sysctl.d
groff nsswitch.conf syslog.conf
group ODBCDataSources sysstat
group- odbc.ini terminfo
gshadow odbcinst.ini texmf
gshadow- openoffice timezone
gssapi_mech.conf openvpn ts.conf
hdparm.conf opt ucf.conf
host.conf pam.conf udev
hostname pam.d ufw
hosts pango updatedb.conf
hosts.allow passwd urldump
hosts.deny passwd- vga
hotplug pear vim
ibs_backup.conf perl w3m
identd.conf php5 wgetrc
identd.key plux-1.0.14 X11
idmapd.conf plux-ifup xml
inetd.conf postgresql zaptel.conf
init.d postgresql-common
خب پس نصبش کن
yum install -y httpd
apt-get
نسخه لینوکس که روش ibn نصب شده رو نمیدونی ؟
- - - ادامه - - -
make install
root@accounting-server:~# make install httpd
make: *** No rule to make target `install'. Stop.
نسخه لینوکس:
Plux GNU/Linux is copy righted by Parspooyesh
ورژن IBSng:
B1.34-T137
وقتی make install
رو هم می زنم:
root@accounting-server:~# make install -y httpd
make: invalid option -- 'y'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
This program built for i486-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
بعدش بدون y نوشتم:
root@accounting-server:~# make install httpd
make: *** No rule to make target `install'. Stop.
- - - ادامه - - -
اینجا رو ببینید:
- - - ادامه - - -
http://uplod.ir/te0q11m8vzhr/7.jpg.htm
خب شما داری از همون نسخه لینوکسی استفاده میکنی که اتوماتیک روی اون IBSng نصبه.
دستور زیر رو بزن
service iptables stop
service iptables start
بعد از این selinux رو چک کن که disable باشه..( امیدوارم اینا روی این نسخه از لینوکس جواب بده )
cd /etc/selinux
ls -l
vi config
کلید Insert را بزن مقدار SELINUX رو disabled کن. Esc را بزن و بعدش دستور :wq را رو تایپ کن تا save بشه.
لینوکس رو کاستومایز کردن که دیگه مشتری درگیر نصبه ibs روی نسخه های لینوکس نباشه...
من همینقدر مخم قد میده...دیگه شرمنده بیشتر از این نمیدونم کجاشو باید دستکاری کرد که بتونی وارد فایروالش بشی و بتونی دستوراتتو اجرا کنی
راستی
etc/selinux وجود داره:SELINUX=permissive
مقدار هاش
SELINUXTYPE=default
SETLOCALDEFS=0
- - - ادامه - - -
ممنون
خیلی هم لطف کردی وقت گذاشتی
موفق باشی
خب دوباره تست کن سرویس هارو
service IBSng stop
service IBSng start
ببین باز میشه IBS?
باز هم استارت نمیشه، اما شکل نوشته ها تغییر کرد:
root@accounting-server:/etc/selinux# service IBSng stop
Stopping IBSng-tg: Successful
Stopping IBSng: Failed
root@accounting-server:/etc/selinux# service IBSng start
Starting IBSng Core:
Reading Configuration file ...
Importing modules ...
forking ...
IBSng started with pid=8378
Calling Initializer routins ...
Shutting down on error
IBSng Failed to start!
Traceback (most recent call last):
File "ibs.py", line 137, in start
File "ibs.py", line 62, in mainThreadInitialize
File "/usr/local/IBSng/core/main.py", line 145, in init
online_payment_main.init()
File "/usr/local/IBSng/core/online_payment/online_payment_main.py", line 14, in init
from core.online_payment.en.en_gateway import ENGateway
File "/usr/local/IBSng/core/online_payment/en/en_gateway.py", line 12
bank_res_codes = {
^
IndentationError: unindent does not match any outer indentation level
Starting IBSng-tg: IBSng-tg started successfully!
root@accounting-server:/etc/selinux#
راستی، این خط یعنی چی؟
IndentationError: unindent does not match any outer indentation level
- - - ادامه - - -
این error از اول باهاش بوده:
IndentationError: unindent does not match any outer indentation level
شما می دونید به چی بر میگرده؟