error messages after ispconfig_server start

Discussion in 'Installation/Configuration' started by guidovanh, Mar 15, 2006.

  1. guidovanh

    guidovanh Member

    I reformatted and reinstalled Linux (SuSE X) and ISPConfig 220.
    After setting up one of my websites and starting ispconfig_server start, I see a long error message:
    Code:
    linux:/share/install_ispconfig # /etc/init.d/ispconfig_server start
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    Starting ISPConfig system...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    /root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 2728) already running
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
    FreshClam is already running!
    ISPConfig system is now up and running!
    You have new mail in /var/spool/mail/guido
    linux:/share/install_ispconfig #
    "Onbekend bestand of map" means: Unknown file or directory

    Every 30 minutes I receive a mail notification:
    Code:
    Warning: service ftpd not running (server: linux)!
    What do I have to do to solve this problems?
     
    Last edited: Mar 15, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

    This happens because you're still in the install_ispconfig directory which doesn't exist anymore. Go to another directory, and you'll see the warnings are gone. :)

    Is your FTP server running? Please post the output of
    Code:
    netstat -tap
     
  3. guidovanh

    guidovanh Member

    Code:
    linux:/etc/init.d # /etc/init.d/ispconfig_server start
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    linux:/etc/init.d # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN      4156/mysqld
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN      4368/smbd
    tcp        0      0 *:sunrpc                *:*                     LISTEN      3960/portmap
    tcp        0      0 *:www-http              *:*                     LISTEN      4943/httpd
    tcp        0      0 *:hosts2-ns             *:*                     LISTEN      25467/ispconfig_htt
    tcp        0      0 192.168.2.100:domain    *:*                     LISTEN      25620/named
    tcp        0      0 localhost:domain        *:*                     LISTEN      25620/named
    tcp        0      0 *:ipp                   *:*                     LISTEN      4197/cupsd
    tcp        0      0 localhost:953           *:*                     LISTEN      25620/named
    tcp        0      0 localhost:smtp          *:*                     LISTEN      25546/master
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN      4368/smbd
    tcp        0      0 192.168.2:printer_agent 66.249.93.99:www-http   ESTABLISHED 4880/firefox-bin
    tcp        0      0 192.168.2.1:netbios-ssn 192.168.2.111:accelenet ESTABLISHED 11831/smbd
    tcp        0      0 localhost:glbp          localhost:953           TIME_WAIT   -
    tcp        0      0 localhost:xnm-ssl       localhost:953           TIME_WAIT   -
    tcp        0      0 localhos:xnm-clear-text localhost:953           TIME_WAIT   -
    tcp        0      0 192.168.2.1:netbios-ssn 192.168.2.5:fhc         ESTABLISHED 12761/smbd
    tcp        0      0 *:domain                *:*                     LISTEN      25620/named
    tcp        0      0 *:ssh                   *:*                     LISTEN      4703/sshd
    tcp        0      0 localhost:953           *:*                     LISTEN      25620/named
    tcp        0      0 localhost:smtp          *:*                     LISTEN      25546/master
    linux:/etc/init.d #  
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which FTP daemon have you installed, proftpd?

    Please try to run:

    /etc/init.d/proftpd start
     
  5. guidovanh

    guidovanh Member

    When I installed ISPConfig, the setup tells me that it had found an FTP daemon. I remember the name vsftpd. But I am not sure. Where can I find this?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Does the file /etc/xinetd.d/vsftp exist? What's in it?
     
  7. guidovanh

    guidovanh Member

    No, in /etc/xinetd.d/ is no file vsftp or something similar.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Does /etc/init.d/vsftp or /etc/init.d/vsftpd exist?
     
  9. guidovanh

    guidovanh Member

    No, in /etc/init.d is neither vsftp nor vsftpd.
    Maybe vsftpd is not installed?? Why does ISPConfig setup say that it found vsftpd? :)
     
  10. guidovanh

    guidovanh Member

    When I start YaST and search for ftp, YaST will find vsftpd installed yet (it is marked).
    What do I have to do now?
     
  11. guidovanh

    guidovanh Member

    When I start to search ftp, vsftpd is found in /etc/pam.d
    /etc/pam.d/vsftpd start results in a "Access denied".
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Please post the output of
    Code:
    ls -la /etc/xinetd.d/
     
  13. guidovanh

    guidovanh Member

    Here is the result:
    Code:
    linux:/etc/pam.d # ls -la /etc/xinetd.d/
    totaal 96
    drwxr-xr-x   2 root root  608 2006-03-14 21:46 .
    drwxr-xr-x  85 root root 7856 2006-03-15 19:16 ..
    -rw-r--r--   1 root root  293 2002-10-22 14:02 chargen
    -rw-r--r--   1 root root  313 2002-10-22 14:02 chargen-udp
    -rw-r--r--   1 root root  256 2005-09-12 23:08 cups-lpd
    -rw-r--r--   1 root root  293 2002-10-22 14:02 daytime
    -rw-r--r--   1 root root  313 2002-10-22 14:02 daytime-udp
    -rw-r--r--   1 root root  285 2002-10-22 14:02 echo
    -rw-r--r--   1 root root  304 2002-10-22 14:02 echo-udp
    -rw-r--r--   1 root root  358 2005-09-09 17:59 fam
    -rw-r--r--   1 root root  880 2005-09-09 19:11 imap
    -rw-r--r--   1 root root  428 2005-09-13 04:45 nagios-nrpe
    -rw-r--r--   1 root root  492 2006-01-31 17:57 netstat
    -rw-r--r--   1 root root  191 2005-09-09 20:50 qpopper
    -rw-r--r--   1 root root  207 2005-09-13 02:40 rsync
    -rw-r--r--   1 root root  337 2005-09-13 04:23 sane-port
    -rw-r--r--   1 root root  312 2002-10-22 14:02 servers
    -rw-r--r--   1 root root  314 2002-10-22 14:02 services
    -rw-r--r--   1 root root  277 2005-07-20 12:43 swat
    -rw-r--r--   1 root root  536 2005-09-09 18:06 systat
    -rw-r--r--   1 root root  492 2005-09-09 18:28 tftp
    -rw-r--r--   1 root root  319 2002-10-22 14:02 time
    -rw-r--r--   1 root root  313 2002-10-22 14:02 time-udp
    -rw-r--r--   1 root root 2338 2006-03-13 07:53 vnc
    linux:/etc/pam.d #  
     
  14. falko

    falko Super Moderator ISPConfig Developer

  15. guidovanh

    guidovanh Member

    In the given document I read to add some lines for security reasons. Did I have to do that? After the command
    Code:
    /etc/init.d/proftpd start
    I stopped.

    I think /etc/init.d/proftpd is the config file which I have to put into the settings of ISPConfig, isn't it?
     
  16. falko

    falko Super Moderator ISPConfig Developer

    They are optional, but they don't hurt. ;)

    Yes.
     
  17. guidovanh

    guidovanh Member

    Where do I have to define the users who may use FTP for their website? In ISPConfig or in the FTP program?
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Add an (email) user in ISPConfig. If the administrator checkbox is activated the user will have FTP access to the complete website. Then use this username and password in your FTP client.
     
  19. guidovanh

    guidovanh Member

    I am sorry, but I don't understand it.
    On website www.domain.com I created a user with the administrator checkbox activated.
    What are the correct settings for the FTP client? ftp.domain.com ?? or IP-address?
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Either you use your domain domain.com or www.domain.com or the IP address. If you want to use ftp.domain.com, dont forget to make a DNS A-Record for ftp.domain.com pointing to your server IP.
     

Share This Page