Search results

  1. G

    GLIBC 2.26 building error

    Hello hackers! I am updating glibc on centos7,I have made gcc newest to be gcc-12.2.0. while making glibc2.26, I met following error: ../sysdeps/nptl/pthread.h:744:47: error: argument 1 of type ‘struct __jmp_buf_tag *’ declared as a pointer [-Werror=array-parameter=] 744 | extern int...
  2. G

    Minix ssh problem

    Hello guys! I am using minix on virtual box, I have started sshd service with port 22 password configured, however,I can't connect it by using ssh command. What's wrong? I don't know whether firewall exists or not. I will appreciate any support. Thank you!
  3. G

    Openstack nova issue

    Hello! I am using openstack to deploy cloud computers. Everything goes well ,I'am able to access openstack dashboard, until nova services started. adminrc is ready! openstack command is ok!(user list,service list,project list ,.....) since nova services started,I can't access the openstack...
  4. G

    C standard input output Problem

    hello! considering these lines: char input[100] printf("len of hello:%ld\n",strlen("hello")); printf("input a line:"); scanf("%s",input); What's bothering me is that I have to input one line first ,then it prints the hint line "input a line",I do not know reasons. please help me! Thank you!
  5. G

    C kore started while can't access

    Hello! I am using C kore framework. I created an hello app by kodev create hello,and kodev build,run netstat command shows it is working on 127.0.0.1:8888 but I can't access it on browser chrome and firefox. tcpdump shows my hello server reset the request. I do not know how to deal with...
  6. G

    GNU Make problem

    1 include ../Make.defines 2 .PHONY:all doit 3 srcs:=$(wildcard *.c) 4 obj:=$(patsubst %.c,%.o,$(srcs)) 5 BIN:=$(patsubst %.c, %, $(srcs)) 6 7 numbers:=1 2 3 4 8 doit: 9 @echo 'test=============' 10 $(foreach f ,$(srcs),$(shell echo $f)) Help! Why doesn't line10 generate...
  7. G

    bash shell test comman

    8 var1='hello' 9 var2='' 10 if [ -n $var1 ];then 11 echo $? 12 echo "the string '$var1' is not empty" 13 else 14 echo "the string '$var1' is empty" 15 fi 16 17 if [ -n $var2 ];then 18 echo "the string '$var2' is not empty" 19 else 20 echo "the string '$var2' is empty" 21...
  8. G

    nginx file downloading

    Help! rate:200kb/s file downloading from my nginx server. url: blabla.com/filename.tar.gz version: 1.20.2 Why not Mb/s or faster? Configuration default! Thank you !
  9. G

    Does a holefile take up disk space?

    I touched a holefile using the truncate function,the length of file is 1G. however,df command does not show as old space usage - 1G, it does not chang at all. Could anybody make it clear? Thank you!
  10. G

    SSH Security of Centos System

    I've closed port 22 by firewall-cmd,why hackers could hack into my server through port 22? They are trying<_<.My control panel shows that! And someone succeeded! How can I stop these guys? Best Wishes!
  11. G

    Identical laptop's ip seen from Different servers

    I use my laptop log in different vps by ssh,while the last ip in /var/log/secure differs a lot, Could sb help me? Thank you!
  12. G

    Why parent and son not mixed?

    int main(){ 4 pid_t pid = fork(); 5 int i; 6 setbuf(stdout,NULL); 7 if(pid == 0){ 8 for(i = 0;i < 10;i++){ 9 printf("AA"); 10 } 11 sleep(1); 12 exit(0); 13...
Top