My Linux Trouble Thread :S

Status
Not open for further replies.

alib_i

Cyborg Agent
im back after a long time ... :) i was busy with a few things ..
and now after i installed linux, i spend weeks trying to learn and understand it ..
and this is my FIRST POST FROM LINUX box :)

i have quite a lot of problems with my fedora installation ... i dont want to create a new thread for everything ..
so lets start ..

I have Fedora Core 4. I've been using it for last 2 weeks and I'm a complete n00b FYI :).
All my windows (FAT32) drives are mounted in individual folders in /mnt folder. ( 4 folders in all -- c,d,e,f )

1:arrow:
when i do a "ls -lh" in "/", then i get
Code:
drwxr-xr-x    2 root root 4.0K Aug 26 04:06 bin
drwxr-xr-x    3 root root 4.0K Aug 17 00:03 boot
drwxr-xr-x   10 root root 5.1K Aug 28 19:54 dev
drwxr-xr-x   88 root root  12K Aug 28 19:54 etc
drwxr-xr-x    3 root root 4.0K Aug 17 15:22 home
drwxr-xr-x   11 root root 4.0K Aug 28 04:03 lib
drwx------    2 root root  16K Aug 17 04:35 lost+found
drwxr-xr-x    5 root root 4.0K Aug 28 19:54 media
drwxr-xr-x    2 root root    0 Aug 28 19:53 misc
drwxr-xr-x    6 root root 4.0K Aug 25 23:35 mnt
drwxr-xr-x    2 root root    0 Aug 28 19:53 net
drwxr-xr-x    3 root root 4.0K Aug 18 15:31 opt
dr-xr-xr-x  122 root root    0 Aug 29  2005 proc
drwxr-x---   26 root root 4.0K Aug 28 23:23 root
drwxr-xr-x    2 root root  12K Aug 28 04:03 sbin
drwxr-xr-x    1 root root    0 Aug 29  2005 selinux
drwxr-xr-x    2 root root 4.0K May 23 09:58 srv
drwxr-xr-x   10 root root    0 Aug 29  2005 sys
drwxrwxrwt   30 root root 4.0K Aug 28 23:25 tmp
drwxr-xr-x   15 root root 4.0K Aug 27 00:32 usr
drwxr-xr-x   25 root root 4.0K Aug 17 00:27 var
but when log in through ftp using same username .. getting to "/" folder ..
the "dir" command gives ..
Code:
227 Entering Passive Mode (10,109,7,7,128,19).
150 Opening ASCII mode data connection for file list
drwxr-xr-x  25 root     root         4096 Aug 30 19:01 .
drwxr-xr-x  25 root     root         4096 Aug 30 19:01 ..
-rw-r--r--   1 root     root            0 Aug 30 19:01 .autofsck
drwxr-xr-x  10 root     root         5140 Aug 30 19:02 dev
drwxr-xr-x  88 root     root        12288 Aug 30 19:02 etc
drwxr-xr-x   5 root     root         4096 Aug 29 08:01 home
drwxrwxrwx   2 root     root         4096 Aug 30 18:04 junk
drwxr-xr-x  11 root     root         4096 Aug 29 22:36 lib
drwxr-xr-x   2 root     root            0 Aug 30 19:01 misc
drwxr-xr-x   2 root     root            0 Aug 30 19:01 net
drwxr-xr-x   3 root     root         4096 Aug 18 10:01 opt
dr-xr-xr-x 123 root     root            0 Aug 31 00:31 proc
drwxr-x---  26 root     root         4096 Aug 30 19:51 root
drwxr-xr-x   2 root     root         4096 May 23 04:28 srv
drwxr-xr-x  10 root     root            0 Aug 31 00:31 sys
drwxrwxrwt  28 root     root         4096 Aug 30 19:40 tmp
drwxr-xr-x  15 root     root         4096 Aug 26 19:02 usr
drwxr-xr-x  25 root     root         4096 Aug 30 17:41 var
226 Transfer complete.
where are /media, /mnt folders.
i want to access my mounted folders from ftp .. but /mnt is not there
i uninstalled my (default) vsftp and installed proftpd ( with gproftpd )
the problem persists


2 :arrow:
My apache (thankfully) shows /mnt folder
but (not so thankfully) doesnt show anything inside it.
i've mounted c,d,e,f -- 4 drives in it .. and i'm using them peacefully in my system
but when i view them from apache .. ie *<myip>/mntlink/
( i've made a symbolic link for /mnt called mntlink inside /var/www/html/ folder )
it's empty .. it doesnt even show the folders c,d,e,f ( which are there even if i dont mount anything inside them )

3 :arrow:
My samba server/client has gone crazy.
Code:
$ smbclient -L 10.my.friends.ip
Password:
Domain=[GERMS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        work            Disk
        pictures        Disk
        G$              Disk      Default share
        printout        Disk
        F$              Disk      Default share
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
session request to 10.my.friends.ip failed (Called name not present)
session request to 10 failed (Called name not present)
Domain=[GERMS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
$ smbclient -L 10.another.friends.ip
Password:
Domain=[RAVEMZ] OS=[Unix] Server=[Samba 3.0.2a]

        Sharename       Type      Comment
        ---------       ----      -------
        dump            Disk      Home Directories
        Share           Disk      lemme check
        Cam Pics        Disk
        htdocs          Disk
        VocabWiz        Disk
        Video Songs     Disk
        IPC$            IPC       IPC Service (<###> Samba Server 3.0.2a)
        ADMIN$          IPC       IPC Service (<###> Samba Server 3.0.2a)
Domain=[RAVEMZ] OS=[Unix] Server=[Samba 3.0.2a]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        <edited>                  
        <his workgroup      list>
        <and respective     masters>
(i've edited the output just sake of security .. well not a big deal although :p)
as you can see ..
samba client doesnt connect to a windows computer .. it shows the sharelist but cannot start a session
it connects to another samba server.
i'm getting this connection problem with windows server in all computers in my lan .. not just one comp

4 :arrow:
pressing ctrl+alt+F1 should open command line terminal .. isnt it.
but in mine .. the screen simply goes blank .. and i dont see anything
pressing ctrl+alt+del does restart .. but why cant i see the cmdline terminal ?

any help ?
deep,gnurag,tuxfan,sourav .. somebody !! help me

[ I hope i'm not reposting an already discussed problem .. I've tried to search both google and this forum ]

------
alibi
 

ujjwal

Padawan
This is just a guess, but perhaps SELinux (Security Enhanced Linux) which is used by Fedora Core 4 could be causing the problem. You could try this, open /etc/selinux/config, and change "SELINUX=enabled" to "SELINUX=disabled". However, I don't have much idea about selinux, so I cant even be sure whether it could be causing the problem. As I said, this is a guess :) however my slackware box without SELinux runs a vsftpd server and can access the /mnt directory.

If this doesn't work, do post the /etc/vsftpd.conf file, maybe there is something to be found there.
 
OP
alib_i

alib_i

Cyborg Agent
thanks ujjwal ..
I tried that .. but didnt really help.

but just for information ..
that 1st problem .. about ftp is now solved.
dont ask me how ... i didnt do anything. it started working on its own.
im quite amazed

only thing i could understand was that .. when i do a
Code:
/etc/init.d/proftpd restart
the problem comes back.
restarting the computer brings the behaviour to normal.

-----
alibi
 

GNUrag

FooBar Guy
alib_i said:
1:arrow:
when i do a "ls -lh" in "/", then i get
Code:
drwxr-xr-x    2 root root 4.0K Aug 26 04:06 bin
drwxr-xr-x    3 root root 4.0K Aug 17 00:03 boot
drwxr-xr-x   10 root root 5.1K Aug 28 19:54 dev
...
...
...
drwxr-xr-x   25 root root 4.0K Aug 17 00:27 var
...
...
...
So, this one got solved? But is working intermittently?

alib_i said:
2 :arrow:
My apache (thankfully) shows /mnt folder
but (not so thankfully) doesnt show anything inside it.
i've mounted c,d,e,f -- 4 drives in it .. and i'm using them peacefully in my system
but when i view them from apache .. ie *<myip>/mntlink/
( i've made a symbolic link for /mnt called mntlink inside /var/www/html/ folder )
it's empty .. it doesnt even show the folders c,d,e,f ( which are there even if i dont mount anything inside them )

Go through your apache's configuration file and locate DocumentRoot directive:
Code:
DocumentRoot /var/www/
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
Make sure that FollowSymLinks directive is there. Otherwise apache wont follow symlinks and treat them as ordinary directories.

alib_i said:
3 :arrow:
My samba server/client has gone crazy.
Code:
$ smbclient -L 10.my.friends.ip
Password:
Domain=[GERMS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

...
...
        <edited>                  
        <his workgroup      list>
        <and respective     masters>
(i've edited the output just sake of security .. well not a big deal although :p)
as you can see ..
samba client doesnt connect to a windows computer .. it shows the sharelist but cannot start a session
it connects to another samba server.
i'm getting this connection problem with windows server in all computers in my lan .. not just one comp

If you are aiming to start an FTP like connection to your SAMBA server then do this:
1) smbclient -U administrator -L 192.168.0.1
This should list you the shares present on the window system.
2) smbclient -U administrator //192.168.0.1/share
This should give you the samba smb: \> prompt and you'll be able to perform all the GET, PUT operations you would perform on a normal FTP server.


alib_i said:
4 :arrow:
pressing ctrl+alt+F1 should open command line terminal .. isnt it.
but in mine .. the screen simply goes blank .. and i dont see anything
pressing ctrl+alt+del does restart .. but why cant i see the cmdline terminal ?
Probably your graphics card is not able to handle the load while switching the graphical modes. This shouldn't happen if you have a fairly new and fast system.
 
OP
alib_i

alib_i

Cyborg Agent
@gnurag
im sorry for not replying for so long ..
i'll was rather busy .. i'll check your suggestions as soon as i boot into linux

@rav ..
so u identified me :p

-----
alibi
 
OP
alib_i

alib_i

Cyborg Agent
Logged into Linux after long time.
Coming to topic.

Problem 1 (ftp) , 2(apache) solved. Amazingly the mail culprit was SELinux thing, which ujjwal had suggested long ago. Disableing SELinux solved both.

Problem 4 (ctrl+alt+F1) .. understood .. there is some problem in my video driver. It cannot digest sudden changes in refresh rate and mode .. That must be it.

Problem 3 .. well I'm still looking into it.

Thanx for your replies Deep and ujjwal ( pretty late :D )

-----
alibi
 
Status
Not open for further replies.
Top Bottom