Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2007, 00:16
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default directories in /home/admispconfig/ispconfig renamed?

Hello,

Today I logged into my server as normal to run a few commands, and I discovered that the directories that reside within /home/admispconfig/ispconfig have been renamed to impossible names. The only two files in there are named "n" and "tempı?w?l". The interesting part is that neither one of them can be renamed (I'm assuming because of the question marks), and the file(directory?) "n" cannot be cat'ed either.

The first thing that entered my mind was perhaps the server was hacked, but after checking through the logs and running chkrootkit which I compiled myself right before I used, I am still clueless. Everything else appears to be in order as well.

The system is running Debian Sarge 3.1 and has ISPConfig 2.2.11 installed.

Any help would be appreciated.
Spudchat
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2007, 08:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

I've not seen this yet. Do you know when this happened. Maybe you can have a look at the lofile from the ISPConfig httpd server if you find any strange activity.

The logfiles are in:

/root/ispconfig/httpd/logs/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th March 2007, 15:17
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

All the log files look normal and are from the address of my router. The only thing I can think of is that directory is where some of the webmail componets were stored, which I used frequently up to a couple of days ago when I began to use kmail. Still though, I have no idea how that happened. Fortunately I have backups of everything important, so if a reinstall is needed it won't be too bad, I'll only lose some stats.

Spudchat
Reply With Quote
  #4  
Old 15th March 2007, 15:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

If only directories in /home/admispconfig/ispconfig are not okay, you can try to download the latest ISPconfig version and install it, it will upgrade your ISPConfig installation and will most likely repair the problem without data loss or the need to reinstall everything.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 15th March 2007, 17:13
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

I'm glad you said that . As I was sitting in class the same thing dawned on me and I raced home to ask, but it was allready answered. Everything else runs fine on the server, and appears to be unaltered. Like I said, I am running 2.2.11 allready. So my question now becomes, would the installer let me do that since it detects the version and performs an automatic update?

Thanks for your help and timely replies
Spudchat
Reply With Quote
  #6  
Old 15th March 2007, 17:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Yes, you can update 2.2.11 with 2.2.11
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 15th March 2007, 19:04
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hmm, when I tried, it took an unusually long amount of time, and I received a few error messages I never had before. Here are the errors:

Code:
/usr/bin/install -c .libs/libclamav.so.2.0.1 /home/admispconfig/ispconfig/tools/clamav/lib/libclamav.so.2.0.1
/usr/bin/install: cannot remove `/home/admispconfig/ispconfig/tools/clamav/lib/libclamav.so.2.0.1': Read-only file system
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.90.1/libclamav'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.90.1/libclamav'
make: *** [install-recursive] Error 1
ERROR: Could not install ClamAV
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `uudeview': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: clamav.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
Getting closer to a fix.

Thanks,
Spudchat

EDIT:

I remembered reading about this problem when others had it, so I searched the forum and found this thread:
http://www.howtoforge.com/forums/sho...ght=PHP+binary . I read it and checked my gcc version, as I am also using an x86 32bit processor. My gcc version is "gcc version 3.3.5 (Debian 1:3.3.5-13)".

EDIT 2:

I thought I might try again and install it, but now when I try it seems that it would like me to perform an installation as my /root/ispconfig directory was removed .

Last edited by Spudchat; 15th March 2007 at 19:27.
Reply With Quote
  #8  
Old 16th March 2007, 09:41
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Your problem is a read-only /home file system.
Quote:
/usr/bin/install: cannot remove `/home/admispconfig/ispconfig/tools/clamav/lib/libclamav.so.2.0.1': Read-only file system
You may have had an unexpected shutdown and have not run 'fsck' yet.

Most of the times a reboot will help. This will automatically do an fsck. Check afterwards with
Code:
mount
is /home is mounted as read/write. Normally only cdrom filesystems are read-only.
Reply With Quote
  #9  
Old 16th March 2007, 17:15
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

I checked into that allready, but the permissions on the directory are:

drwxr-xr-x 4 admispconfig admispconfig 4096 2006-08-31 13:22 admispconfig

and all of the other files and directories inside have the same (or looser) permissions. "mount" returns the following line concerning my /home :

/dev/hdb2 on /home type ext3 (rw,usrquota,grpquota)

The machine has also been up for quite sometime,

11:16:05 up 35 days, 18:35, 1 user, load average: 1.04, 1.02, 1.00

Thanks,
Spudchat
Reply With Quote
  #10  
Old 16th March 2007, 17:37
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
 
Default

Have you executed the install / update as root?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing ISPConfig on a Debian System xyhfna Installation/Configuration 17 6th February 2007 14:09
Installation Problem irpr Installation/Configuration 21 13th December 2006 11:55
Problems with Apache and Updating Jubalint Installation/Configuration 2 21st May 2006 19:50
ISPConfig installation stops harzlmann Installation/Configuration 4 10th May 2006 08:19
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 02:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.