S4Y-vServer online, Seiten nicht erreichbar

pstumm

Registered User
Hallo zusammen,

merkwürdige Dinge geschehen mit meinem kleinen vServer (209014). Bisher lief immer alles einwandfrei und ich wüßte auch nicht, dass ich was an der Konfi geändert hätte, oder das sonstwas vorgefallen ist.

Seit zwei Wochen fängt er jetzt an, regelmäßig am Rad zu drehen. Ich komme zwar noch per SSH und FTP drauf, aber über's Web ist keine der Seiten erreichbar. Nach einem manuellen Reboot funktioniert es wieder, bis dann irgendwann wieder nix geht.

Woran könnte das liegen, hat da jemand nen Tipp für mich, oder bin ich einfach zu blöd?
 
Ok, die neueste Entwicklung zeigt, dass auch ein Reboot nix mehr bringt, die Seiten sind über's Web nicht mehr erreichbar.
 
Hallo pstumm,
willkommen an Board.

Grundsätzlich gibt es viele Gründe, warum ein vServer etwas hängt.
Meist ist es Speichermangel.
Das erkennst Du in /proc/user_beancounters, wenn irgendwo failcnt auffällig hoch geht.

Meist ist ein Reboot unnötig (ist ja kein Windows) sondern es reicht den Apache oder evtl. MySQL neu zustarten.
Gerade diese beiden fressen in der Grundinstallation den meisten Speicher. Falls Du also keine eigenen Programme/Dienste/Server nachinstalliert hast, versuch diese beiden mal runter zu drehen.
Dazu nutze bitte die Boardsuche (z.B. 'apache performance').

huschi.
 
Mein Bohnenzähler zeigt nix auffälliges:

Code:
Version: 2.5                                                                   
       uid  resource           held    maxheld    barrier      limit    failcnt
    209014: kmemsize        2819024    3076955   14112423   15523665          0
            lockedpages           0          0        689        689          0
            privvmpages       28421      29841     205810     226391          0
            shmpages            144        144      27954      27954          0
            dummy                 0          0          0          0          0
            numproc              50         55        172        172          0
            physpages         14051      15847          0 2147483647          0
            vmguarpages           0          0      64968 2147483647          0
            oomguarpages      14324      15847      64968 2147483647          0
            numtcpsock           43         43        344        344          0
            numflock              3          6        550        605          0
            numpty                4          6         32         32          0
            numsiginfo            1          4       1024       1024          0
            tcpsndbuf         35520      91020    3295117    4704141          0
            tcprcvbuf        204864     221936    3295117    4704141          0
            othersockbuf       8880      31068    1647558    3056582          0
            dgramrcvbuf           0       4268    1647558    1647558          0
            numothersock         41         46        344        344          0
            dcachesize       227848     286389    3077965    3170304          0
            numfile             626        715       5504       5504          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            11         11        128        128          0
MOD: CODE-Tags nutzten. Dann sieht das alles besser aus.


Ich würde ja auch nix sage, aber bisher hat sich das Gerät vorbildlich verhalten *g* Irgendwie lässt er über die närrischen Tage anscheinend nach...
 
Last edited by a moderator:
Nach nem Reboot ist auch erstmal alles auf 0. Du mußt ihn ansehen, wenn der Apache mal wieder weg ist.

huschi.
 
Ähm... es hat sich durch den Reboot leider nix geändert... die Seiten sind nach wie vor nicht erreichbar *g* von daher wird sich da wohl nix mehr tun
 
Das hier hat er mir für heute in die error_log geschreibselt...


Code:
/usr/sbin/sendmail: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
[Mon Feb 27 02:19:08 2006] [warn] (23)Too many open files in system: get socket to connect to listener
[Mon Feb 27 02:20:12 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:20:13 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:22:10 2006] [crit] [client 66.154.102.123] (23)Too many open files in system: /srv/www/web3/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Feb 27 02:22:10 2006] [error] [client 66.154.102.123] (23)Too many open files in system: file permissions deny server access: /usr/share/apache2/error/noindex.html
[Mon Feb 27 02:22:10 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:22:10 2006] [crit] [client 66.154.102.16] (23)Too many open files in system: /srv/www/web3/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Feb 27 02:22:10 2006] [error] [client 66.154.102.16] (23)Too many open files in system: file permissions deny server access: /usr/share/apache2/error/noindex.html
[Mon Feb 27 02:22:48 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:23:32 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:46:41 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:47:10 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:47:10 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:47:22 2006] [error] [client 212.199.108.236] File does not exist: /srv/www/web6/html/favicon.ico
[Mon Feb 27 02:47:26 2006] [error] [client 212.199.108.236] File does not exist: /srv/www/web6/html/favicon.ico
[Mon Feb 27 02:47:28 2006] [error] [client 212.199.108.236] File does not exist: /srv/www/web6/html/favicon.ico
[Mon Feb 27 02:48:55 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:49:14 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:50:18 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:51:04 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:51:07 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:00:03 2006] [error] [client 212.227.20.195] File does not exist: /srv/www/web4/html/mysqldump
[Mon Feb 27 03:17:19 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:17:23 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:17:28 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:17:33 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:17:49 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:17:57 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
sh: error while loading shared libraries: libreadline.so.4: cannot open shared object file: Error 23
[Mon Feb 27 03:24:02 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:24:03 2006] [warn] (23)Too many open files in system: get socket to connect to listener
[Mon Feb 27 03:24:05 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:25:44 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:27:24 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 03:29:10 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[client 81.169.145.11] script '/srv/www/web5/html/bonpago/modules.php' not found or unable to stat
[Mon Feb 27 12:25:33 2006] [warn] child process 28864 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 27367 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 22178 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23302 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 15139 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 15492 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 24133 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 25477 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 30180 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23269 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 17344 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 19622 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 32195 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 5728 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23141 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 28864 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 27367 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 22178 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23302 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 15139 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 15492 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 24133 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 25477 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 30180 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23269 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 17344 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 19622 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 32195 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 5728 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:34 2006] [warn] child process 23141 still did not exit, sending a SIGTERM
[Mon Feb 27 12:25:35 2006] [notice] caught SIGTERM, shutting down
[Mon Feb 27 12:26:11 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)

[Mon Feb 27 12:26:12 2006] [notice] Apache/2.0.49 (SuSE Linux 9/Server4You) configured -- resuming normal operations

[Mon Feb 27 13:07:00 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Feb 27 13:07:01 2006] [warn] NameVirtualHost 62.75.209.14:80 has no VirtualHosts
[Mon Feb 27 13:07:01 2006] [notice] Apache/2.0.49 (SuSE Linux 9/Server4You) configured -- resuming normal operations
[Mon Feb 27 13:10:37 2006] [error] [client 83.77.50.251] File does not exist: /srv/www/web4/html/ducknet24/templates/mt_business/images/mt_menu_back.jpg, referer: http://www.service-world24.de/
[Mon Feb 27 13:10:50 2006] [error] [client 81.62.218.128] File does not exist: /srv/www/web4/html/ducknet24/templates/mt_business/images/mt_menu_back.jpg, referer: http://www.service-world24.de/index.php?option=content&task=view&id=16&Itemid=38
[Mon Feb 27 13:10:51 2006] [error] [client 81.62.218.128] File does not exist: /srv/www/web4/html/ducknet24/templates/mt_business/images/mt_menu_back.jpg, referer: http://www.service-world24.de/index.php?option=content&task=view&id=16&Itemid=38
[Mon Feb 27 13:10:54 2006] [error] [client 81.62.218.128] File does not exist: /srv/www/web4/html/ducknet24/templates/mt_business/images/mt_menu_back.jpg, referer: http://www.service-world24.de/index.php?option=content&task=category&sectionid=3&id=67&Itemid=37
[Mon Feb 27 13:13:21 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:25:12 2006] [error] [client 217.225.27.90] Directory index forbidden by rule: /srv/www/web2/html/livingproject/
[Mon Feb 27 13:25:12 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:25:17 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:26:09 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:26:11 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:26:12 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:26:17 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 13:31:02 2006] [error] [client 81.169.145.11] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 13:33:50 2006] [error] [client 84.165.4.127] File does not exist: /srv/www/web2/html/_vti_bin
[Mon Feb 27 13:33:50 2006] [error] [client 84.165.4.127] File does not exist: /srv/www/web2/html/MSOffice
[client 81.199.84.191] script '/srv/www/confixx/html/gesperrt/modules.php' not found or unable to stat
[client 81.199.84.191] script '/srv/www/confixx/html/gesperrt/modules.php' not found or unable to stat
[client 81.199.84.191] script '/srv/www/confixx/html/gesperrt/modules.php' not found or unable to stat
[Mon Feb 27 13:49:20 2006] [error] [client 84.150.189.173] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 14:37:47 2006] [error] [client 84.145.150.57] File does not exist: /srv/www/web5/html/bonpago/favicon.ico
[Mon Feb 27 14:38:08 2006] [error] [client 84.145.150.57] File does not exist: /srv/www/web5/html/bonpago/favicon.ico
[Mon Feb 27 14:42:26 2006] [error] [client 68.142.251.20] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 14:48:11 2006] [error] [client 193.170.250.75] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 15:01:48 2006] [error] [client 81.169.145.11] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 15:09:21 2006] [error] [client 165.228.128.11] File does not exist: /srv/www/confixx/html/gesperrt/phpBB2, referer: http://www.kabund.de/phpBB2/profile.php?mode=register&agreed=true
[Mon Feb 27 15:16:10 2006] [error] [client 81.169.145.11] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 15:49:17 2006] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Feb 27 15:50:52 2006] [error] [client 141.40.102.21] File does not exist: /srv/www/web5/html/bonpago/favicon.ico
[Mon Feb 27 15:53:24 2006] [error] [client 80.145.56.214] File does not exist: /srv/www/web3/html/_vti_bin
[Mon Feb 27 15:53:24 2006] [error] [client 80.145.56.214] File does not exist: /srv/www/web3/html/MSOffice
[Mon Feb 27 16:10:43 2006] [error] [client 81.169.145.11] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 16:22:05 2006] [error] [client 83.65.31.118] File does not exist: /srv/www/confixx/html/gesperrt/phpBB22
[Mon Feb 27 16:22:05 2006] [error] [client 83.65.31.118] File does not exist: /srv/www/confixx/html/gesperrt/phpBB22, referer: http://www.kabund.de/phpBB22/index.php
[Mon Feb 27 16:22:05 2006] [error] [client 83.65.31.118] File does not exist: /srv/www/confixx/html/gesperrt/phpBB22, referer: http://www.kabund.de/phpBB22/index.php
[Mon Feb 27 16:22:05 2006] [error] [client 83.65.31.118] File does not exist: /srv/www/confixx/html/gesperrt/phpBB22, referer: http://www.kabund.de/phpBB22/index.php
[Mon Feb 27 16:31:12 2006] [error] [client 84.168.176.158] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:31:28 2006] [error] [client 84.168.176.158] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:31:44 2006] [error] [client 84.168.176.158] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:31:50 2006] [error] [client 84.168.176.158] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:31:52 2006] [error] [client 84.168.176.158] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:36:25 2006] [error] [client 217.225.27.90] File does not exist: /srv/www/web2/html/favicon.ico
[Mon Feb 27 16:42:21 2006] [error] [client 217.86.95.40] File does not exist: /srv/www/web3/html/favicon.ico
[Mon Feb 27 16:53:38 2006] [error] [client 81.169.145.11] File does not exist: /srv/www/web5/html/bonpago/robots.txt
[Mon Feb 27 17:13:20 2006] [notice] caught SIGTERM, shutting down
[Mon Feb 27 17:13:42 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)

[Mon Feb 27 17:13:43 2006] [notice] Apache/2.0.49 (SuSE Linux 9/Server4You) configured -- resuming normal operations
[Mon Feb 27 17:21:00 2006] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Feb 27 18:11:12 2006] [warn] child process 15875 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 16224 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 17667 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 28242 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 28250 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 28251 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 7523 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 13542 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 24514 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 24739 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 24772 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 30180 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 4992 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 3369 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [warn] child process 3649 still did not exit, sending a SIGTERM
[Mon Feb 27 18:11:12 2006] [notice] caught SIGTERM, shutting down
[Mon Feb 27 18:11:35 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Mon Feb 27 18:11:36 2006] [notice] Apache/2.0.49 (SuSE Linux 9/Server4You) configured -- resuming normal operations

[Mon Feb 27 18:27:05 2006] [notice] SIGHUP received.  Attempting to restart
[Mon Feb 27 18:27:05 2006] [warn] NameVirtualHost 62.75.209.14:80 has no VirtualHosts
[Mon Feb 27 18:27:06 2006] [notice] Apache/2.0.49 (SuSE Linux 9/Server4You) configured -- resuming normal operations

Sollte mir das jetzt was sagen? *kopfkratz*

EDIT: http://www.huschi.net/10_101_de.html für [warn] NameVirtualHost 62.75.209.14:80 has no VirtualHosts, oder?
 
Last edited by a moderator:
pstumm said:
[Mon Feb 27 02:20:13 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
[Mon Feb 27 02:22:10 2006] [error] [client 66.154.102.123] (23)Too many open files in system: file permissions deny server access: /usr/share/apache2/error/noindex.html
[Mon Feb 27 02:22:10 2006] [error] (23)Too many open files in system: apr_accept: (client socket)
Diese Fehler sehen gar nicht gut aus. Aber ich bin gerade etwas Müde um darüber nachzudenken.

[Mon Feb 27 17:21:00 2006] [error] server reached MaxClients setting, consider raising the MaxClients setting
Mmmmmh. Zu wenig Clients. Aber dennoch konzentrier Dich erstmal auf den anderen Fehler.

EDIT: http://www.huschi.net/10_101_de.html für [warn] NameVirtualHost 62.75.209.14:80 has no VirtualHosts, oder?
Jupp! Cool, endlich muß nicht ich das Ding bringen... :)

huschi.
 
Huschi said:
Diese Fehler sehen gar nicht gut aus. Aber ich bin gerade etwas Müde um darüber nachzudenken.

Jupp... Treffer in's Schwarze... aber ein pstree bringt nicht viele Erkenntnisse:

Code:
init-+-cron
     |-httpd2-prefork-+-2*[httpd2-prefork]
     |                `-pipelog.pl
     |-klogd
     |-mysqld_safe---mysqld---mysqld---2*[mysqld]
     |-saslauthd
     |-18*[sendmail]
     |-sshd---sshd-+-bash---su---bash---pstree
     |             `-sshd
     |-syslogd
     `-xinetd

Und ein top auch nicht wirklich.... zumindest erkenne ich nix darauf.

Code:
top - 16:12:04 up 17:54,  1 user,  load average: 0.21, 0.33, 0.32
Tasks:  41 total,   2 running,  39 sleeping,   0 stopped,   0 zombie
Cpu(s):   3.2% user,   0.7% system,   0.0% nice,  96.1% idle
Mem:   6196584k total,  6090320k used,   106264k free,  1678436k buffers
Swap:  8225200k total,  4894596k used,  3330604k free,  1351128k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
 6466 wwwrun    14   0 10044 8816 6136 S 12.6  0.1   1:31.93 httpd2-prefork     
    1 root       8   0    84   72   52 R  0.0  0.0   0:00.53 init               
23556 root       9   0   616  592  520 S  0.0  0.0   0:02.37 syslogd            
23648 root       9   0   672  388  384 S  0.0  0.0   0:00.00 klogd              
23840 root       9   0  1384 1296 1036 S  0.0  0.0   0:00.04 saslauthd          
25381 root       8   0   852  784  724 S  0.0  0.0   0:00.26 xinetd             
25891 root       8   0   680  628  596 S  0.0  0.0   0:00.16 cron               
25925 root       9   0  1088  896  892 S  0.0  0.0   0:00.02 mysqld_safe        
26434 root       9   0  1608 1440 1340 S  0.0  0.0   0:02.11 sshd               
27366 mysql      9   0  5936 4424 2304 S  0.0  0.1   0:01.36 mysqld             
27374 mysql      3   0  5936 4424 2304 S  0.0  0.1   0:01.90 mysqld             
27375 mysql      9   0  5936 4424 2304 S  0.0  0.1   0:04.75 mysqld             
27490 root       9   0  7364 5536 5468 S  0.0  0.1   0:03.17 httpd2-prefork     
16612 root      17  15  5280 4788 2444 S  0.0  0.1   0:05.65 sendmail           
29733 root      17  15  5368 4900 2456 S  0.0  0.1   0:05.97 sendmail           
28247 root      17  15  5260 4764 2444 S  0.0  0.1   0:05.03 sendmail           
20291 root      17  15  4816 4308 2424 S  0.0  0.1   0:03.29 sendmail

Vielleicht erkenne ich es auch nur nicht *g* :confused:

Huschi said:
Jupp! Cool, endlich muß nicht ich das Ding bringen... :)

huschi.

:D na ja, die Kenntnisse sind zwar noch nicht prall, aber ich bin ja Willens ;)

EDIT: Da hatte ich jetzt noch eine Idee, aber weitergebracht hat sie mich auch nicht. Wollte halt wissen, wie viele Prozesse der Kernel max. zulässt, aber es sind mehr als genug *g*

Code:
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) unlimited
cpu time             (seconds, -t) unlimited
max user processes            (-u) 28416
virtual memory        (kbytes, -v) unlimited
 
Last edited by a moderator:
pstumm said:
aber ein pstree bringt nicht viele Erkenntnisse:
Code:
     |-18*[sendmail]
Viele Erkenntnisse nicht, aber 18 mal sendmail ist auch nicht gerade normal.

Und anscheinend läuft der Apache ja jetzt.
Gehen die Fehler weiterhin so weiter?

huschi.
 
Hmm, ich habe es jetzt mal die Tage beobachtet und es ist etwas seltsam. Momentan ist er zwar langsam, aber er läuft.

Vielleicht liegt es auch hieran :D

Code:
mailx version nail 10.5 4/27/03.  Type ? for help.
"/var/spool/mail/root": 63548 messages 14502 new 63548 unread
 
pstumm said:
Vielleicht liegt es auch hieran :D
Evtl. liegt es einfach daran, daß Du Deine root-Mails nicht ließt.
Denn wenn Du dies tätest, wärst Du evtl. schon viel früher dem Spammer auf die Spur gekommen.

huschi.
 
Ok, das Problem ist jetzt erkannt und ich habe mir gedacht, nimmste halt Spamassassin und Mitler, haustes auf den Server drauf und alle Probleme sind gelöst.

Was lernen wir daraus?

Überlass' das Denken den Pferden, denn die haben größere Köpfe!

Ok... also, die Installation hat fehlerfrei funktioniert, woran ich nur scheitere ist die sendmail.cf. Ja ja, ich weiß :D

Das Problem ist, dass es auf meiner Distri keine sendmail.mc gibt, also habe ich mir mal die Dokumentationen angesehen. Und jetzt blicke ich da nicht mehr durch.

Bei mir läuft SuSE Linux 9.3. Wenn ich das richtig verstanden habe, wird Suse ja mit der linux.mc u.a. konfiguriert. Ferner habe ich noch die SuSEconfig.sendmail gefunden und natürlich auch die sendmail.cf.

Ich habe alles der Reihe nach probiert. Also, ich habe gem. der Installationsanweisung, die ja auch hier gepostet ist, SpamAssassin und Mitler installiert. Es stand noch die Aufgabe aus, die sendmail.mc (die es bei mir ja nicht gibt) um diesen INPUT-Eintrag zu ergänzen, der gefordert ist.

Code:
INPUT_MAIL_FILTER(`spamassassin',
S=local:/var/spamd/spamass-milter.sock, 
F=,T=C:15m;S:4m;R:4m;E:10m')
dnl define(`confINPUT_MAIL_FILTERS', `clmilter,spamassassin')

Tja, ähm *hust*... wo packe ich den denn jetzt rein? Hab's mit der linux.mc versucht und anschließend kompiliert und auch mit der SuSEconfig.sendmail und anschließend per SuSEconfig kompiliert... Ergebnis war immer das Gleiche. Sendmail hat sich als Dienst beendet und wollte nicht mehr laufen. Zeitgleich hatte er mir eine neue sendmail.cf.SuSEconfig erstellt, aber die sendmail.cf hatte er auch noch drin. Auf welche greift er denn jetzt zu? Fragen über Fragen...

Öhm.... Hilfe? :confused:

EDIT:

Ok, habe noch was gefunden.... mal probieren, wenn es nicht funktioniert, melde ich mich nochmal *g*
 
Last edited by a moderator:
SpamAssassin und milter laufen jetzt, allerdings erhalte ich noch Fehlermeldungen und nach einem Reboot des Servers starten die Dienste nicht neu, obwohl ich die entsprechenden Startscripts erstellt habe...

Das hier steht jetzt noch in der mail.err:

Code:
Mar  6 03:00:22 vs209014 spamd[29316]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin.pm line 1467 
Mar  6 03:00:23 vs209014 spamd[29316]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin.pm line 1467 
Mar  6 03:00:23 vs209014 spamd[29316]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.vs209014.vserver.de.29316 for /root/.spamassassin/auto-whitelist.lock: Permission denied 
Mar  6 03:00:23 vs209014 spamd[29316]: Can't call method "finish" on an undefined value at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/Plugin/AWL.pm line 397, <GEN17> line 69.

Fehlt jetzt hier noch spamd die Berechtigung? Oder habe ich Dateirechte falsch gesetzt?

EDIT:

Komme ich hiermit vielleicht weiter?:

chown spamd:spamd -R /root/.spamassassin
 
Last edited by a moderator:
pstumm said:
nach einem Reboot des Servers starten die Dienste nicht neu
Du mußt sie auch mit dem richtigen Runlevel verknüpfen:
Runlevel-Editoren auf der Commando-Zeile

mkdir /root/.spamassassin: Permission denied
Entweder läuft Dein SA als root, oder Du hast ein falsches Temp-/Basis-Verzeichnis angegeben. lock-Files sollten entweder unter /var/... oder /tmp/ angelegt werden.

chown spamd:spamd -R /root/.spamassassin
Nein, auf keinen Fall!

huschi.
 
So, jetzt läuft es einigermaßen, bis auf diese Fehlermeldung:

Code:
Can't call method "finish" on an undefined value at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/Plugin/AWL.pm line 397, <GEN9> line 43.

In dem zugehörigen AWL.pm steht an besagter Stelle folgendes:

eval { $whitelist->finish(); };

Könnte mir hier mal jemand nen Tipp geben, was ich jetzt noch falsch gemacht habe?
 
Hier wird dem Objekt '$whitelist' unterstellt, daß es initialisiert wurde. (Was es an dieser Stelle aber nicht ist.) Da das Ganze in einem eval steht, ist dies lediglich als Warnung zu sehen. Das Programm wird dadurch bei weitem nicht beendet.

Der Fehler beruht evtl. auf eine eingestellte Whitelist, die SA aber z.B. nicht öffnen kann. (z.B. aufgrund von Zugriffsrechten auf Datei oder Verzeichnisse oder evtl. auch gar nicht vorhanden.)

huschi.
 
Soooo, ich glaube, wir können einen zufriedenen Schlußstrich ziehen. Dank Huschi, Huschi, Huschi, Google, und den restlichen Forenbeiträgen hier habe ich nicht nur die Probleme mit dem Server an sich behoben, sondern auch gleich noch was gegen die Spamflut getan... das Ding rennt wie die Wutz :D

Zudem bin ich wesentlich schlauer, als noch am Anfang :)

Vielen Dank für die Hilfe!
 
Erstmal: Glückwunsch!
Dann noch ein Schulterklopfer.

Und zum guten Schluß:
Wie hast Du die zwei letzten Probleme gelößt?
Ich will schließlich wissen, ob meine Lösungsansätze richtig waren oder nicht.
Sonst lerne ich ja nichts mehr.

huschi.
 
Back
Top