Map Network Drive FAILS

Jun 18, 2007

I have to transfer files from the network computers on the server and make a db .

I have read bugs.php.net 1

and bugs.php.net 2

all the computers from my network are apple.

when I make MAP NETWORK DRIVE and make the php.ini include_path changes, i don't get nothing.

View 0 Replies


ADVERTISEMENT

Software RAID 1, If One Drive Fails I Can't Boot Just From The Other

Sep 22, 2007

I've software RAID installed with one SATA and one ATA/IDE drive. It is a combined controller so I had to add noprobe=/dev/hdc to the kernel boot line. Now the disks are named /dev/sda and /dev/sdb. There are four partitions, /dev/sda1 and /dev/sdb1 are the /dev/md0 root partition and then /dev/sda2 and /dev/sdb2 are the swap partition.

First when I removed one drive I just came to the grub command line..

Then I tried to do this in grub to make both drives bootable:
grub>device (hd0) /dev/sda
grub>root (hd0,0)
grub>setup (hd0)
grub>device (hd1) /dev/sdb
grub>root (hd1,0)
grub>setup (hd1)
grub>quit

Now it looks like normal when I get to grub apart from that the background of the boot screen is black instead of blue and then the computer just restarts when it is supposed to start/boot the system.

View 0 Replies View Related

Map Network Drive By Using Samba

Jun 30, 2005

This is a little samba guide from my own experiences of how to map a network drive under windows 2000 to a Linux server. I am not technical expert and this guide is the result from my trail and error.

What's Samba?

Samba allows Linux computers to share files and printers across a network connection. By using its SMB protocol, your Linux box can appear in Windows Network Neighborhood or My Network Places just like any other windows machine. You can share files this way, as well as printers. By using samba on my home network, for example, my Windows machines have access to a printer directly hooked up to my Linux box, and my Linux box has access to a printer directly hooked up to one of my Windows machines. In addition, everyone can access everyone else's shared files. You can see how samba can be very useful if you have a network of both Windows as well as Linux machines.

My OSs

Windows 2000
RHEL 3 (Redhat Enterprise Linus)

My goal

Map a network drive to Linux servers, so that I can access the Linux files under windows 2000.

Installation

Most Linux should have Samba already installed. But if it hasn't install, you can find at in http://rpmfind.net or using up2date command "up2date -i samba". You can also get it at http://www.samba.org

Then you can install it by tying the following Command:

Install:

rpm -i samba.rpm

Upgrade:

rpm -U samba.rpm

Configuration

Samba conf file is located at /etc/samba/smb.conf, allows you to specify which resources on the Linux machine you wish to share and who they can be accessed by.

Samba provide a full version conf if it's fresh install. But most of the times, we don't really need all of these options. So I provide my own conf here, which is rather simple, but it makes things work.

[global]
workgroup = WORKGROUP
server string = LinuxBOX
hosts allow = your_windows_machine_IP
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[Downloads]
comment = Downloads
path = /path_to_your_sharefolder
browseable = yes
writable = yes
public = yes
read only = no

[homes]
comment = My Home Directory
browseable = yes
writable = yes
public = yes
read only = no

[printers]
path = /var/spool/samba
public = yes
guest ok = yes
printable = yes
browseable = yes
writable = yes
read only = no

Just replace workgroup to your windows workgroup name, your_windows_machine_IP and /path_to_your_sharefolder. If you don't need printers sharing, you don't need to have printer section.

Setup Samba Users

Since we're using user level security, we need to setup samba users. This can be easily done by using Webmin. You can go to Server --> Samba --> Convert Unix users to Samba users, you can just covert all your existing Linux users and set them password under the icon "Edit Samba users and passwords" later.

If you don't use webmin, you can also type the following command:

cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

smbpasswd username

Replace username with each of your user's usernames. You will then be prompted to enter a password for this user account.

Samba Service

Now, it's time to start your samba server:

service smb start
service smb stop
service smb restart

Once the computer is restarted or shutdown, the samba service won't start up again in next boot up. I use webmin to make it startup at boot time.

Windows 2000 Configuration

1. Under windows 2000, you can got to windows explorer --> Tools --> map a network drive
2. select drive letter
3. enter the path (e.g. your_server_ipDownloads)
4. click connect using different user name
5. enter your samba usernaem and password that you just set
6. You can connect to your Linux machine now!

This method work for me. If there is any correction or improvements, please let me know.

View 0 Replies View Related

Apache :: Network Hard Drive Mapping

Apr 2, 2014

So I have question regarding apache on windows and hard drives.

I have a virtual rack what i connected all my servers upto, Then I mapped all my servers hard drives together so they can all communicate and share data from each other.

But I have apache installed on 1 server hard drive C:/

Can I run apache from that mapped hard drive on the other servers ? Or would that cause problems ?

Also they are all windows 2008 running the latest apache from here.

View 19 Replies View Related

Yum Update Fails , Easyapache Also Fails [cent Os]

Apr 21, 2007

when I try to run yum update it throws an error

Quote:

Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
retrygrab() failed for:
http://mirror.centos.org/centos/3/ad...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info
[Errno 4] IOError: <urlopen error >

when I run /etc/easyapache it too fails

Quote:

root@server1 [~]# /scripts/easyapache
Testing connection speed...(this could take a while)............Done
Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done
Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done
Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done
Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done
Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done
5 usable mirrors located
Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done
Creating directory buildapache
Verifying archive integrity... All good.
Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... .................................................................
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
initfpsuexec: using apache 1.x support
Waiting for httpd to restart..............finished.

root 7208 0.8 0.5 46200 5772 ? S 02:06 0:00 /usr/local/apache/bin/httpd -DSSL

httpd started ok

View 7 Replies View Related

Data Lost , But Still Have Old Home Drive , How To Copy To New Drive

Jan 26, 2007

1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost

3- replaced the old home drive as "/old drive"

4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing

5- what i need , to trasfer, copy this sites from " /old drive " to "home"

but data center said

The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.

The command to copy files in the UNIX environment is the "cp" command.

The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.

View 14 Replies View Related

Drive Corrupt, Recovery From 2nd Drive Mount

Feb 16, 2007

Primary drive (centos/cpanel) is corrupt

The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure

I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:

mkdir /backup
mount /dev/sdb1 /backup

However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.

View 14 Replies View Related

How To Copy My Current Drive Contents To A New Drive

Dec 28, 2007

I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.

What software will do this? I was told trueimage, but its very pricy, is there anything else?

View 8 Replies View Related

Drive Corrupt - Should I Ask For New Drive Or Reimage

Jul 9, 2007

I have a dedicated box and I started getting Input/output errors today.

I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?

View 6 Replies View Related

Mirror Drive A > Drive B

Feb 6, 2007

I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.

I have 3 questions.

1. Is this idea practical (will it work)?
2. What is a good software program to use fto handle the mirroring?
3. Any considerations, warnings, technical advice in regard to this method?

View 4 Replies View Related

Network Liquidators / Network Hardware

Oct 14, 2009

any experiences to report about purchasing used / refurb gear from either Network Liquidators (nweq.com) or Network Hardware (networkhardware.com)?

View 12 Replies View Related

FTP Fails

Jun 25, 2008

I sold a website to this guy and i need to ftp it on his server. He gave me the access and it's correct but i get this message:

Status: Connecting to XXXXXXXXX
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.0.3)
Command: USER xxxxxx
Response: 331 Please specify the password.
Command: PASS **********
Response: 230 Login successful.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: EPRT
Response: EPSV
Response: MDTM
Response: PASV
Response: REST STREAM
Response: SIZE
Response: TVFS
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/var/www/html"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Error: Disconnected from server
Error: Failed to retrieve directory listing

View 9 Replies View Related

Dns Fails Me

Jul 29, 2007

adding my hostname as a domain so that i can get a email admin@hostname.

so i pretty much messed up my dns configs by deleting my main domain and adding it back.

i guess i removed the dns entries of the nameservers together. (main domain meaning globalwebmanager.com, nameservers are ns1 and ns2.globalwebmanager.com, and yes i deleted the entire zone)
[url]shows many errors like LAME nameservers, SPOF, no SOA records.
if you need any details just ask.

how do you fix open dns errors. i tried adding the line recursion no; in /etc/named.conf
and the yum update i did wasn't the culprit right?

View 14 Replies View Related

YUM Update Fails

Jun 11, 2009

Whenever I try to run yum update on Cent OS I get this error:

---> Package udev.i386 0:095-14.20.el5_3 set to be updated
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 145, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps
for po, dep in self._checkFileRequires():
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires
if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):
File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides
return self._computeAggregateDictResult("getProvides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles
self._sql_pkgKey2po(rep, cur, pkgs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po
pkg = self._packageByKey(repo, ob['pkgKey'])
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey
po = self.pc(repo, cur.fetchone())
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__
self._read_db_obj(db_obj)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
[root@liquidwind jeeves]#

View 1 Replies View Related

Tomcat Fails

Mar 12, 2008

Not sure why, suddenly tomcat is failing

tomcat has failed, please contact the sysadmin (result was "tomcat is not running").

I got that before and after running a forced cpanel upgrade.

I restarted via command line as well.



Its amazing that "tomcat has failed please contact the sysadmin" search yielded no results in wht here.

View 0 Replies View Related

Spamd Fails

Feb 25, 2008

root@server [~]# service exim restart
Shutting down clamd: [ OK ]
Shutting down exim: [ OK ]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting clamd: [ OK ]
Starting exim-26: [ OK ]
Starting exim: [ OK ]
Starting exim-smtps: [ OK ]
Starting antirelayd: [ OK ]
Starting spamd: [1814] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[1814] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[1814] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use

spamd: could not create INET socket on 127.0.0.1:783: Address already in use

I tried forced exim update, restarted xinetd, nothing works.

View 2 Replies View Related

Ruby Fails

Mar 6, 2008

I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:

[Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi"
[Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)

I have cpanel 11 / centos 5 / php w/ suexec

View 10 Replies View Related

Yum Update Fails

Jan 5, 2007

Well when I try to run the yum update, it fails


Code:
root@server1 [~]# yum update
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
retrygrab() failed for:
[url]
Executing failover method
failover: out of servers to try
Error getting file [url]
[Errno 4] IOError: <urlopen error >

I stopped all firewalls before trying it.

View 5 Replies View Related

Restore Db Fails

Aug 31, 2007

root@server [~]# mysql -u divingho_dhadmin -p divingho_divinghols < /home/divingho/mysql/divinghols.sql
Enter password:
ERROR 1044 (42000) at line 11: Access denied for user 'divingho_dhadmin'@'localhost' to database 'divinghols'

The username is right, the password I use is correct. I even deleted, recreated the mysql database and username, still giving the same error. The path to sql file is right and only 68k in size.

Using mysql 4.1

View 10 Replies View Related

Numproc Fails

Feb 5, 2007

Code:

root@ns1 [~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
399: kmemsize 8763665 8781966 59228160 60948480 0
lockedpages 0 0 1536 1536 0
privvmpages 89928 89967 262144 270008 0
shmpages 3279 3279 129024 129024 0
dummy 0 0 0 0 0
numproc 97 97 500 500 317
physpages 44790 44795 0 2147483647 0
vmguarpages 0 0 65536 2147483647 0
oomguarpages 44790 44795 65536 2147483647 0
numtcpsock 60 60 1880 1880 0
numflock 12 12 1128 1236 0
numpty 1 1 64 64 0
numsiginfo 0 0 1536 1536 0
tcpsndbuf 565708 565708 10321920 16220160 0
tcprcvbuf 983040 983040 10321920 16220160 0
othersockbuf 34632 35076 6756480 12582912 0
dgramrcvbuf 0 0 1572864 1572864 0
numothersock 30 30 2160 2160 0
dcachesize 452941 455297 13639680 14499840 0
numfile 4946 4955 16384 16384 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 298 298 2000 2000 0
root@ns1 [~]#

what can i do to stop nomproc fails (black zone)

i'm using virtuozzo,cpanel with 256ram and 1024 burst

View 4 Replies View Related

Nameservers Fails

Sep 9, 2007

to configure the domain names on my machine.

Take a look on the report of DNS:

[url]

"FAIL - Lame nameservers"
"FAIL - Missing nameservers 2"
"FAIL - Single Point of Failure"
"FAIL - SOA Record"

View 14 Replies View Related

Apache LB Fails And Gives A 503

Apr 4, 2013

Im using Mod_JK 1.2.27
Apache 2.2.21
Linux RHEL 5.7
Boss 7

I keep getting 503 errors-Service Temporarily Unavailable on the browser Even though I can hit the servlets and JSPs on there just fine if I hit the JBoss server individually. I get these errors in the mod_jk.log file [Thu Apr 04 01:54:34 2013] [6068:3860842240] [debug] ajp_send_request::jk_ajp_common.c (1520): (worker1) request body to send 0 - request body to resend 0

[Code].....

View 1 Replies View Related

DNSreprt For My Accounts Fails!

Sep 29, 2006

Yesteeday I have re-installed my OS and my boss did the configurations.

he had an accident and I really need help.

The accounts are restored but the dnsreport for my domain shodes the below failures.


Open DNS servers :

ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:

Server XXX.XXX.XX.XXX reports that it will do recursive lookups. [test]
Server XXX.XXX.XX.XXX reports that it will do recursive lookups. [test]
================

Missing (stealth) nameservers :

FAIL: You have one or more missing (stealth) nameservers. The following nameserver(s) are listed (at your nameservers) as nameservers for your domain, but are not listed at the parent nameservers (therefore, they may or may not get used, depending on whether your DNS servers return them in the authority section for other requests, per RFC2181 5.4.1). You need to make sure that these stealth nameservers are working; if they are not responding, you may have serious problems! The DNS Report will not query these servers, so you need to be very careful that they are working properly.

ns1.localdomain.
ns2.localdomain.

This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).

==================
Missing nameservers 2 :

ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
ns1.mydomain.com.
ns2.mydomain.com

==============
Single Point of Failure : ....

View 2 Replies View Related

No HDD's Stats In WHM, Apache Fails

Jan 30, 2007

My current "manager" it his all "great time" couldnt fix irt whole day so I am looking for experienced manager to check and fix my problem, let me know how much you charge per 1h and what's your experience,

View 2 Replies View Related

Sending Email Fails

Feb 17, 2007

I'm using a leased linux server that uses cpanel and webhost manager.

I'm trying to set up email accounts and receiving is working just fine, but when I try to send, it isn't working at all. The way i'm setting up my account on thunderbird is

server name: mail.domain.com

port: 25 (also tried 26)

Security and Authentication: use name and password is checked. User name is user@domain.com.

use secure Connection: No

is there some setting in my WHM that I need to change to use my outgoing email

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved