📄 faq.mht
字号:
<P class=3Dstyle9><A=20
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A name=3Dfaq5></A><SPAN class=3Dstyle13>Q:How is =
remote server=20
login's user name and password set in Magic C++? =
</SPAN><SPAN=20
class=3Dstyle8><BR></SPAN><SPAN =
class=3Dstyle9><STRONG>A:=20
</STRONG><BR>There're two methods: <BR>To adopt the=20
authentication mechanism of the server operation =
system please=20
directly set the user name/password of the server's =
telnet=20
function. This requires the root user to startupthe =
server.=20
<BR>To adopt the authentication mechanism of Magic C++ =
please=20
set user name and password yourself by typing =
<BR>./magicd =E2=80=93a=20
<username>, <password> </SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A name=3Dfaq6></A><SPAN class=3Dstyle13>Q: When =
initiating=20
server service process got the error message =E2=80=9C =
can't bind=20
local address=E2=80=9D, what to do?</SPAN> <BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG></SPAN><SPAN=20
class=3Dstyle9><BR>change the port to initiate your =
server=20
service process, for example, changing to port 2005by =
typing=20
<BR>./magicd =E2=80=93p 2005 <BR>***Pease note that =
the server=20
configuration in Magic C++ IDE need to be updated at =
the same=20
time to work properly </SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A id=3Dfaq27 name=3Dfaq27></A><SPAN =
class=3Dstyle13>Q: After=20
executing ./configure I got error message 'Check your =
system=20
clock', what to do?</SPAN><BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG><BR>These error =
messages=20
indicate that the source files's time stamps are later =
than=20
your system clock. Please execute <BR>touch *<BR>under =
/your/path/to/magicd to update the time stamps then=20
execute<BR>./configure<BR>again to install </SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A name=3Dfaq7></A><SPAN class=3Dstyle13>Q: How to =
make sure=20
the service process is working normally?</SPAN> =
<BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG> <BR>Please make =
sure first=20
that the client machine can communicate wit the server =
via Ftp=20
and Telnet normally <BR>Then you can do either of the=20
following: <BR>via Magic C++ IDE <BR>Start Magic C++ =
IDE, make=20
and configure server settings, <BR>Set the user =
name/password=20
of remote login and useRemote Development=20
Authentication->Test to test. <BR>Set the user=20
name/password for ftp, and useFTP =
Authentication->Test to=20
test <BR>via command line interface <BR>Connect via =
telnet to=20
the port of Magic C++ service process with the command =
<BR>telnet <ip address> <port number> , =
follow the=20
prompt to enter user name/password to test. =
<BR>Connect via=20
ftp to the server using the command <BR>ftp<ip =
address>=20
, and follow the prompt to enter user name/password to =
test=20
</SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A id=3Dfaq28 name=3Dfaq28></A><SPAN =
class=3Dstyle13>Q: HTML man=20
page can't work under IBM AIX, HP-UX, Sun Solaris, =
what to=20
do?</SPAN><BR><SPAN class=3Dstyle9><STRONG>A:=20
</STRONG></SPAN><SPAN class=3Dstyle9><BR>Please =
execute 'catman'=20
command with root priviledge to establish an index for =
man=20
page help before using the HTML man page function in =
Magic C++=20
IDE.</SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><SPAN class=3Dstyle22></SPAN><A id=3Dfaq35 =
name=3Dfaq35></A><SPAN=20
class=3Dstyle13>Q: When initiating server service =
process got=20
the error message '[20050413 17:05:13]|tools.c|100|Bad =
file=20
number', what to do?</SPAN> <BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG> <BR>Please check =
the=20
permission setting of files under directory=20
magicd-3.0.0/log/</SPAN></P>
<P class=3Dstyle9>Here are the commands:<BR># cd=20
magicd-3.0.0/log<BR># chmod 666 *.log</P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A id=3Dfaq36 name=3Dfaq36></A><SPAN =
class=3Dstyle13>Q: How to=20
startup the server component if I can't change user to =
root=20
since I have no such rights?</SPAN> <BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG> <BR>You can startup =
magicd=20
with -a option to specify the username and=20
password.</SPAN></P>
<P class=3Dstyle9>***NOTICE***<BR>Startup magicd with =
-a option=20
will active the authentication ability provides by =
Magic C++,=20
at this situation you must specify the telnet port of=20
redirection terminal corresponding to the server=20
component(RDA)(default is 2004) in Magic C++ =
IDE.<BR>1. Open=20
the Remote Server Manager (under file menu) =
File->Remote=20
Server Manager.<BR>2. Open the Server Property dialog =
for your=20
server.<BR>3. Under the "Advance" tab, set your Telnet =
port to=20
2004(magicd working port) instead of 23(the standard =
telnet=20
port).</P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A id=3Dfaq69 name=3Dfaq69></A><SPAN =
class=3Dstyle13>Q: How to=20
startup the server component automatically while the =
server=20
system boot up?</SPAN> <BR><SPAN=20
class=3Dstyle9><STRONG>A:</STRONG> <BR><STRONG>For =
Linux server=20
OS:</STRONG></SPAN></P>
<P class=3Dstyle9>Please append this statement at the =
end of=20
file /etc/rc.d/rc.local</P>
<P class=3Dstyle9>/path/to/magicd-3.0.0/bin/magicd</P>
<P class=3Dstyle9>( replace /path/to by your =
installation=20
directory of magicd )</P>
<P class=3Dstyle24>For Sun Solaris:</P>
<P class=3Dstyle9>1. change directory to =
/etc/rc3.d<BR>#cd=20
/etc/rc3.d<BR># pwd<BR>/etc/rc3.d<BR># ls<BR>README=20
S16boot.server S76snmpdx S84appserv<BR>S13kdc.master =
S34dhcp=20
S77dmi S89sshd<BR>S14kdc S50apache S80mipagent=20
S90samba<BR>S15nfs.server S52imq S81volmgt </P>
<P class=3Dstyle9>the filename format of services is =
like=20
S**service where ** is a digital ID( S means Startup=20
)<BR><BR>2. create a startup profile for magicd with =
ID=20
91<BR>#vi S91magicd </P>
<P class=3Dstyle9>and input content as=20
=
below:<BR>#!/bin/sh<BR>/path/to/magicd-3.0.0/bin/magicd<BR>(=20
replace /path/to by your installation directory of =
magicd=20
)<BR></P>
<P class=3Dstyle9>3. change file permission<BR>#chmod =
755=20
S91magicd<BR><BR>4. reboot the system and check the =
magicd=20
process</P>
<P class=3Dstyle9>#ps -ef|grep magicd<BR>root 330 1 0 =
22:18:53 ?=20
0:00 /home/test/magicd-2.5.0/bin/magic<BR>d<BR>test =
480 359 0=20
22:25:05 pts/2 0:00 grep magicd</P>
<P class=3Dstyle9><STRONG>Other server OS: =
</STRONG></P>
<P class=3Dstyle9>Please refer their system =
administrator=20
manuals.</P>
<P><A name=3Dfaq8></A><SPAN class=3Dstyle13>Q: When =
initiating=20
debugger got the error message 'Enum updated file =
failed',=20
what to do?</SPAN><BR><SPAN =
class=3Dstyle9><STRONG>A:</STRONG>=20
</SPAN></P>
<P><SPAN class=3Dstyle9>If you use =
<STRONG>bash</STRONG> shell=20
please make sure the environment variable called=20
<STRONG>PROMPT_COMMAND</STRONG> must be empty. =
Restartup=20
magicd to take effect.</SPAN><BR><SPAN =
class=3Dstyle9>Typical=20
environment variables look=20
=
like:<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>BASH=3D/bin/bash<B=
R>PROMPT_COMMAND=3D<BR>PS1=3D'[\u@\h=20
\W]\$ =
'<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</SPAN></P>
<P> </P>
<P><SPAN class=3Dstyle9><A name=3DPROMPT></A>This =
problem can also=20
be caused by abnormal command prompt of your =
Unix/Linux shell=20
environment. <BR>The proper command prompt is like=20
this:<BR>[mc@linux90 mc]#<BR>Magic C++ doesn't support =
these=20
command prompts:<BR>(1)command prompt is multi-line =
texts=20
which including a newline character.<BR>(2)command =
prompt is=20
colorful texts<BR>(3)command prompt contains a counter =
for=20
commands or time information, so it will change after =
command=20
executing, for example <FONT=20
face=3D"Verdana, Helvetica, sans-serif" =
size=3D2><BR><STRONG>"Tue=20
Aug 09 19:34:31=20
root#</STRONG></FONT><STRONG>"<BR></STRONG>(4)command =
prompt=20
is empty<BR>Magic C++ can't work normally with these =
above=20
command prompts. Please reconfigure command prompt as =
proper=20
format with Magic C++ supports by add command in the =
shell=20
profile of your account as below:</SPAN></P>
<P class=3Dstyle9>set prompt=3D"new_cmd_prompt" ( for =
csh )<BR>set=20
PS1=3D"new_cmd_prompt" ( for bash, sh )</P>
<P><SPAN class=3Dstyle9>This problem can also be =
caused by=20
abnormally startup of magicd, the server component of =
Magic=20
C++. <BR>Please notice:<BR>(1) Do not startup magicd =
from=20
terminal window at x-windows desktop.<BR>(2) Do not =
startup=20
magicd by putty.exe via SSH protocol. Please startup =
magicd by=20
cmd.exe which provides by windows or other tools via =
TELNET=20
protocol. If you can only use SSH connection please =
use SSH=20
tools other than putty.exe. </SPAN></P>
<P><A =
href=3D"file:///E:/colin/MC_1105/faq.htm#Top">Back to=20
Top</A></P>
<P><A id=3Dfaq23 name=3Dfaq23></A><SPAN =
class=3Dstyle13><A=20
href=3D"file:///E:/colin/MC_1105/faq.htm#faq23">Q: =
While=20
initiating debugger got error message ' Starting debug =
redirection terminal...failed!', how to solve this=20
problem?</A></SPAN><BR><SPAN =
class=3Dstyle9><STRONG>A:</STRONG>=20
</SPAN></P>
<P><SPAN class=3Dstyle9>This problem may be caused by =
abnormal=20
command prompt of your Unix/Linux shell environment. =
Please=20
refer here for more information. <BR><A=20
=
href=3D"file:///E:/colin/MC_1105/faq.htm#PROMPT">Abnormal=20
command prompt which Magic C++ doesn't =
support.</A></SPAN></P>
<P><SPAN class=3Dstyle9>If it doesn't help to solve =
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -