Break ton Neck from Alex Yde on Vimeo.
Celestial Lights from Ole C. Salomonsen on Vimeo.
[josephw@myhost ~]$ strace -f -o strace.out ls / bin dev home lib media mnt proc sbin space sys usr boot etc initrd lost+found misc opt root selinux srv tmp var [josephw@myhost ~]$ less strace.out 6368 execve("/bin/ls", ["ls", "/"], [/* 17 vars */]) = 0 6368 uname({sys="Linux", node="dss03.spry.com", ...}) = 0 6368 brk(0) = 0x8cc5000 6368 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 6368 open("/etc/ld.so.cache", O_RDONLY) = 3 6368 fstat64(3, {st_mode=S_IFREG|0644, st_size=36486, ...}) = 0 6368 old_mmap(NULL, 36486, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8f000 6368 close(3) = 0 6368 open("/lib/tls/librt.so.1", O_RDONLY) = 3 ....output trimmed....
[josephw@myhost ~]$ ps aux |grep http apache 6457 0.0 0.5 18764 5456 ? S Oct31 0:00 /usr/sbin/httpd apache 6498 0.0 0.5 18764 5464 ? S Oct31 0:00 /usr/sbin/httpd apache 6500 0.0 0.5 18768 6000 ? S Oct31 0:00 /usr/sbin/httpd apache 6505 0.0 0.5 18768 6080 ? S Oct31 0:00 /usr/sbin/httpd apache 6507 0.0 0.5 18764 5464 ? S Oct31 0:00 /usr/sbin/httpd
[root@myhost ~]# strace -f -o strace.out -p 6457 & [root@myhost ~]# tail -f strace.out ....output trimmed.... 21361 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/sse2", 0xbfeca780) = -1 ENOENT (No su ch file or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686", 0xbfeca780) = -1 ENOENT (No such fi le or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/sse2", 0xbfeca780) = -1 ENOENT (No such fi le or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls", 0xbfeca780) = -1 ENOENT (No such file or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/sse2", 0xbfeca780) = -1 ENOENT (No such f ile or directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686", 0xbfeca780) = -1 ENOENT (No such file o r directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) 21361 stat64("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/sse2", 0xbfeca780) = -1 ENOENT (No such file o r directory) 21361 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so", O_RDONLY) = 3 ....output trimmed....
....output trimmed.... 6457 lstat64("/usr/local/www/test", 0xbffb3104) = -1 ENOENT (No such file or directory) ....output trimmed.... 6457 read(18, 0xbffb3270, 512) = -1 ECONNRESET (Connection reset by peer) 6457 close(18) = 0 6457 read(5, 0xbffb347f, 1) = -1 EAGAIN (Resource temporarily unavailable) 6457 semop(7307267, 0x1c9740, 1 <unfinished ...>
/var/www/cacti/include/config.php en indiquant le bon utilisateur (cactiuser) et le mot de passe
7) Modifier le fichier /etc/httpd/conf.d/cacti.conf pour permettre l'accès au serveur depuis d'autres machines/réseau
8) Démarrer le serveur web :
/etc/init.d/httpd start