Can't create a directory local in solaris
In solaris 10 intel version, i tried to create folder name "local" under "usr" as I want to install mysql under "usr\local".
But when i created, the error message is showing like this:
:/usr>mkdir local
mkdir: Failed to make directory "local"; Read-only file system
any idea?
How to fix and please help me.
Thanks.
As Robert said, the /usr file system is mounted as a loopback in the non-global zone, so any subdirectories to /usr will be mounted via loopback in the zone, and thus read-only. Check man zonecfg, Sun also has a long document online concerning containers and zones. Just google "zfs administration guide" and "zfs containers". Your other option is create the zone as a whole root zone, rather than a sparse root zone, which is what you have now.
Similar Messages
-
[Solved]Can t create new directory on other drives
Hi
I use arch linux 64 bit.
My system can mount other drives like usb hdd and manjaro and windows but
can t create new directory on them even as root.
my system information is :
/etc/fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=88e6666f-6762-4f20-9944-82429dd5bc2f / ext4 rw,relatime,data=ordered 0 1
UUID=263ad1bd-2e85-4330-905c-c730193e959b swap swap defaults 0 0
/etc/group:
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon
mem:x:8:
kmem:x:9:
wheel:x:10:root,hasan
ftp:x:11:
mail:x:12:
uucp:x:14:
log:x:19:root
utmp:x:20:
locate:x:21:
rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:
lock:x:54:
uuidd:x:68:
dbus:x:81:
network:x:90:
video:x:91:
audio:x:92:
optical:x:93:
floppy:x:94:
storage:x:95:hasan
scanner:x:96:
power:x:98:hasan
nobody:x:99:
users:x:100:
systemd-journal:x:190:
avahi:x:84:
polkitd:x:102:
lightdm:x:620:
git:x:619:
vboxusers:x:108:hasan
What can I do?
thanks
Last edited by hosseini (2014-02-08 20:47:13)hasan@hasan ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=2018728k,nr_inodes=504682,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sda1 on /media/WIN7 type ntfs (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks)
/dev/sda2 on /media/MANJARO type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
I want create new directory on them. I just use enlightenment .
Last edited by hosseini (2014-02-08 19:33:17) -
How can I create a system backup in Solaris 10?
Hello,
sorry about my English.
I need to create a image of entire disk or a system backup. I think use "ufsdump" but I'm not sure. Can I create a backup of whole disk with "ufsdump" command? Are there any application to do it.?
I've got a Solaris 10.
Thank.
Alejandro.If you want to create an image of the entire disk, then `dd' is an option. But you can also use ufsdump to create an image of a filesystem running on that disk, but you need to do that for every filesystem on the disk and please keep a copy of you vtoc for the future if you need to restore everything.
On the other hand you make me thing about someone who wants to clone machines and then a Flash Archive can also be an option. Please keep in mind to ask the question in the future instead of conformation of your answer ;-) -
How can I create a directory on my server using FTP in applescript?
Hi
I have created a script which successfully uploads files to my server using FTP and a curl command.
The one thing I haven't worked out how to do is how to create a directory on my server using applescript. At the moment I have to manually create the correct directory for the script to work, but would like to be able to automate everything.
Would this be possible?
Thanks
NickThanks Bernard.
I have tried that and still get the error message:
"curl: Can't open '--ftp-create-dirs'!
curl: try 'curl --help' or 'curl --manual' for more information
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (9) Server denied you to change to the given directory"
The other relevant parts of the script are:
set ftp_url to "ftp.****.org.uk/artists/" & artistName2 & "/assets/"
set ftp_username to "*****@*****.org.uk"
set ftp_password to "****"
set ftp_entire to ftp_username & ":" & ftp_password & " ftp://" & ftp_url
set outPath to outputFolder & fileCounter & ".jpg"
and then...
do shell script ("curl -T --ftp-create-dirs " & outPath & " -u " & ftp_entire)
Like I said, all works fine when the directories are already in place. I have permissions for the artists folder set to "777", i.e. writable. Because the script is trying to create two directories at once, i.e. "artistName2" and then "assets" under it, I wondered if this was significant, but then I tried with just one new directory, and still got the error. -
Can I create a directory database in Numbers, like I have done in Access?
I have a database in Access that I converted to numbers for the data, but I want to create a directory with merge fields so that its easier to read and pretty to look at. Can this be done in Numbers or Pages? or is there another program comparable to Microsoft Access that I need to get. Is there freeware that would do the trick? thanks.
thanks for offering your help. I have about 120 contacts in one database with about 20 fields for each contact: name, phn, birthday, anniv, email, address, hobbies, heritage, etc. I guess about 5 or 6 contacts would fit on a page.
I also have another database that is quite smaller. only about 68 contacts, with just 9 or 10 fields per contact. Last Name, First Name, Unit, Home Phone, Cell Phone, EMail Address, Alt Email, Alt Cell Phone, Additional. I would like the option to add fields as this document grows.
I searched online for some database management software but it seems that you need to know programing. I inherited the access database listed first so I only had to tweek things, copy and paste fields, I did not have to create it from scratch. Am I looking for the wrong type of program? Is there a program out there that makes simple directories? Or is there an easy way to create a merge document (In Pages or Numbers) to have multiple contacts on one page. Like a label? I am able to create a merge form letter, but can not figure out how to get multiple contacts on a page. I am not planning to give up on my Mac. I am committed to is as I have spent a few thousand dollars to get this, But I just need to know how to get started.
Thanks again for your help. Toni -
Can't create Open Directory domain
Using Server 3 I can't get Open Directory to work. I keep getting an error
"xxx was successfully configured as a directory server, but an error occurred."
Any ideas as to what's going on? I checked my DNS settings and they seem fine.Hello, To whom may be concerned about this problem.
I had the same problem with my mac mini, So what I did to fix it , I delete the Server App with AppCleaner(google it) and then I turn off my computer and re-install the Operating System to my excisting OS ( this why I repair whatever was broken within the file system. You would NOT loose any Data becuase you are just re-installing) and then I download the app again , and it works.
Also you may contact Apple Server Support in the Application there is a link !
Hope this will help somebody. -
How can I create a directory chooser?
hi there
is there any way to create a directory chooser? because it is the directory that I am more interested in, but with JFileChooser, I must select a file to get a directory. help please, and thank you.Just a followup regarding directory choosers.
I previously attempted to use the JFileChooser.DIRECTORIES_ONLY selection to make a directory chooser, but found that this didn't allow the user to descend into the wanted directory, then select it.
The following code shows my attempt to resolve this. BTW, this works because the assumption has been made that when a directory is descended into, its name will appear in the file name field.
JFileChooser browser = new JFileChooser(System.getProperty("user.dir"));
browser.removeChoosableFileFilter(browser.getAcceptAllFileFilter());
browser.addChoosableFileFilter(new DirectoriesOnlyFilter());
//This method will set the dialog type to custom via setDialogType(CUSTOM_DIALOG);
if (browser.showDialog(this, "Select") != JFileChooser.APPROVE_OPTION)
return;
File location = browser.getSelectedFile();
if (!location.exists())
String dirName = location.getName();
//Find the requested directory by looking at the parent directory
location = location.getParentFile();
if (location.exists() && location.getName().equals(dirName))
//User has descended into the wanted directory -
else
//Cannot resolve the requested directory
else if (location.isDirectory())
//The user has clicked, without descending, onto a directory in the chooser
//This is the directory that the user wants
else
//Oops - File found. This should only happen in one of two cases:
//1) If there is a file with the same name as the directory it is in
//2) If the user has typed in a file name into the field
class DirectoriesOnlyFilter extends javax.swing.filechooser.FileFilter
public DirectoriesOnlyFilter()
public boolean accept(File file)
return file.isDirectory();
public String getDescription()
return "Directories";
}Hope this helps.
Rob -
How can i create work directory for Tomcat4 which is installed on Mandrake
Hello Everybody,
I installed Tomcat4 with the help of JPackage on Madrake Linux. It is working fine. But Unfortunatly my work folder in tomcat4 is deleted. I restarted my Tomcat, But the work folder not created. my application is not working. I need help from u people. Is there any other options to create work folder. I installed the tomcat4 from jpackage.
Thanks in advance, Naveen Kumar Madugula4) Advanced Configuration - Multiple Tomcat 4 Instances
In many circumstances, it is desirable to have a single copy of a Tomcat 4
binary distribution shared among multiple users on the same server. To make
this possible, you must configure a CATALINA_BASE environment variable (in
addition to CATALINA_HOME as described above) that points to a directory
that is unique to your instance.
When you do this, Tomcat 4 will calculate all relative references for files in
the following directories based on the value for CATALINA_BASE instead of
CATALINA_HOME:
* conf - Server configuration files (including server.xml)
* logs - Log and output files
* shared - For classes and resources that must be shared across all web
applications
* webapps - Automatically loaded web applications
* work - Temporary working directories for web applications
* temp - Directory used by the JVM for temporary files (java.io.tmpdir)
If you do not set CATALINA_BASE to an explicit value, it will be initialized
to the same value as is set for CATALINA_HOME (which means that the same
directory is used for all relative path resolutions).
more -> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt -
Can't create connection to local database
I'm trying to create a connection to a local database but I'm having problems.
Currently we use SQL Plus to do work on the local database. With that we don't need to specify a host string we just leave it blank and it connects with no problems. SQL Developer is now requiring a host string, what are we supposed to use?I added this to the tnsnames.ora to try to help
ORCL.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Port = 1521)
(CONNECT_DATA = (SID = ORCL)
You want something simpler, more like this.
ORCL.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
Trying to connect after that I get an error saying
ORA-12541 TNS no listener.
I made sure the listener service is started but I
don't know what else I need to do with the listener.In a command window, type lsnrctl status. It should show what port the listener is running on and what services it is supporting. You should modify your tnsnames.ora to match
Post the output here if you need more guidance.
Message was edited by:
smitjb -
Can't create local mailbox in Mail
Hey guys,
I've had this problem with my new MBP where I can't create a mailbox locally on my Mac. This is usually done inside the Mail program by: Mailbox -> New Mailbox -> On My Mac.
The error I get is: Mailbox Creation Failed. Unable to create path ~/Library/Mail/Mailboxes/test.mbox.
Here's the error message that is shown in my console log:
2006-08-12 23:04:18.244 Mail[5431] couldn't create partial directory path /Users/blah/Library/Mail/Mailboxes/test.mbox
Does anyone have any ideas on how to fix this problem? Thanks in advance!
Macbook Pro Mac OS X (10.4.7) 2.16ghz, 2gb RAM, 100gb 7200rpm HD, glossy screenHi Chewy.
For some reason, ~/Library/Mail/Mailboxes sometimes is actually a file instead of a folder, thus causing the problem you're experiencing. Verify/repair your disk first, as described here:
The Repair functions of Disk Utility: what's it all about?
After having fixed all filesystem issues, if any, proceed as follows:
1. Quit Mail.
2. In the Finder, go to ~/Library/Mail/.
3. Locate Mailboxes. If it's a file instead of a folder, move it to the Trash.
Note: For those not familiarized with the ~/ notation, it refers to the user's home folder. -
Create nested directory on FTP folder if they don't exist while uploading file
How can I create nested directory on FTP folder if they don't exist. A local file is suppose to exactly uploaded in the same directory structure level in ftp folder. My question is -
1. Is there any C# opensource/free library that take care of creation of all sub-directories from file-path, if they don't exist on ftp and upload the file in one shot.
2. How much it will be feasible to make all these uploads along with some database update, archive, quarantine task in asynchronous? All succeeding tasks are sequentially depends in their order.i.e. ftp upload >> database update>> archive
from local >> quarantine the folder
This really requires parallel & asynchronous operation for heavy upload/transfer and going to be done by a Windows-Service.Hello,
Your Subject:
>Sender File adpter --don't raise alerts when file does not exist in folder
is contradictory to your question.
>if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
> Is there any way i can avoid raising an alert if file does not exist in the source folder.
I know you want to say "Don't Raise alerts when file does not exist in folder". Correct me if I am wrong.
Some times it happens, when we write the right thing but it means something else and this is the reason many experts have replied, "how to raise an alert". So if you remove the word "Sender File adapter" from your subject then it will be easy to understand the exact meaning.
Regards,
Sarvesh -
V24/Win7. I can't create a subfolder in Inbox.
RMB on Inbox lets me create a new folder, RMB on the folder does not list an option for creating a subfolder
Is this an IMAP account? Then your email provider may limit the number of subfolders levels you can create.
Can you create subfolders underneath Local Folders? -
Hello,
I am trying to create just a new local database. That is, so that it will reside on my computer.
The only thing I know is how to connect an existing db and I don't have any DB-related softwares on my computer [just eclipse for java].
How can I create a new local db?
Thank you.Java doesn't create databases.
And the creation of a database is specific to the database (and vendor) that you are using.
Perhaps the real question is that you don't have any databases at all. So you first need to select one. -
Create a directory on the server based on the username logged in the client
hello everybody,
All my files which are transferred from client to server are stored in a directory called "workspace".Before the user sends the files, he is authenticated.How can I create a directory on the user name who is logged in on the server???
Say, user1 has logged in and tries to send files to server.Now, I'd like to create a sub-directory user1 under work space so that all the files which he uploads will be stored under his name.When the user1 is logged in the first time, a directory will be created on his name else all files will be stored under his directory.
I'm using JDBC with my-sql.
ANy ideas??
Thanks for your time.Well, it wouldn't matter what DB you are using....
You have the user name, correct?
You have the File object refering to the main directory, correct?
File userDir = new File(mainDir, username);
if(!userDir.exists()) {
if(!userDir.mkdirs()) {
throw new IOException("Can't make directory " + userDir.getAbsolutePath());
// use userDir to write any files... -
Sabnzbd and transmission can't write to directory [solved]
After a recent update, sabnzbd is unable to write files to its directory.
When I start sabnzbd, I get an error saying that it can't create a directory
# systemctl status sabnzbd
sabnzbd.service - SABnzbd binary newsreader
Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled)
Active: active (running) since Thu 2013-02-28 01:23:19 EST; 4s ago
Main PID: 13203 (python2)
CGroup: name=systemd:/system/sabnzbd.service
`-13203 python2 /opt/sabnzbd/SABnzbd.py -l0
Feb 28 01:23:19 server systemd[1]: Starting SABnzbd binary newsreader...
Feb 28 01:23:19 server systemd[1]: Started SABnzbd binary newsreader.
Feb 28 01:23:20 server sh[13203]: 2013-02-28 01:23:20,467::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
Feb 28 01:23:20 server sh[13203]: 2013-02-28 01:23:20,470::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
Feb 28 01:23:20 server sh[13203]: 2013-02-28 01:23:20,472::ERROR::[misc:1345] Cannot change permissions of /home/net/Data/Download/sabnzb/incomplete
Feb 28 01:23:20 server sh[13203]: 2013-02-28 01:23:20,475::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/nzb
Feb 28 01:23:20 server sh[13203]: 2013-02-28 01:23:20,479::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
It seems like a permissions issue, but I can't seems to get a handle on it.
I have chowned /home/net/Data/Download/sabnzb/ to sabnzbd:sabnzbd
chmod and umask to 777
Set the permisions in the UI to 777
All the latest chatter on the AUR package page is about systemd, which I (as far as I know) is not the issue and wiki page is flagged as out of date. Most of the wiki page is about getting it to run as a different user anyway, and I had this running just fine as the default user.
I recently moved my install to a bigger hard drive, so this may be related to that, rather than the upgraded package.
If anyone could point me in the right direction, I would appreciate it.
Last edited by ridley (2013-03-09 22:42:07)I took Beg's advice and looked at the ownership of the home directory. Turns out that everything was owned by root:root, but the permissions were wide open.
drwxrwxrwx 46 net users 4096 Jan 5 15:30 Audiobook
drwxrwxrwx 13 root root 4096 Feb 24 22:39 Backup
drwxrwxrwx 13 root root 4096 Feb 24 16:42 Documents
drwxrwxrwx 16 root root 4096 Feb 24 16:50 Download
drwxrwxrwx 25 root root 4096 Feb 24 16:59 Ebook
drwxrwxrwx 53 root root 12288 Mar 2 10:02 Incoming
drwxrwxrwx 67 root root 4096 Feb 17 17:22 Movie
drwxrwxrwx 36 root root 4096 Nov 18 17:38 Music
drwxrwxrwx 7 root root 4096 Apr 8 2012 Pictures
drwxrwxrwx 59 root root 4096 Feb 19 19:54 TV
so I chowned it (recursively) to net:users.
Then I chrooted the download directory to sabnzbd:sabnzbd
I looked at sabnzbd.service and it is running it as sabnzbd:sabnzbd
[Unit]
Description=SABnzbd binary newsreader
After=network.target
[Service]
Type=simple
ExecStart=/bin/sh -c "python2 /opt/sabnzbd/SABnzbd.py -l0"
User=sabnzbd
Group=sabnzbd
[Install]
WantedBy=multi-user.target
But when I try to
[root@server ~]# systemctl restart sabnzbd
[root@server ~]# systemctl status sabnzbd
sabnzbd.service - SABnzbd binary newsreader
Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled)
Active: active (running) since Sat 2013-03-02 11:42:55 EST; 5s ago
Main PID: 10578 (python2)
CGroup: name=systemd:/system/sabnzbd.service
`-10578 python2 /opt/sabnzbd/SABnzbd.py -l0
Mar 02 11:42:55 server systemd[1]: Starting SABnzbd binary newsreader...
Mar 02 11:42:55 server systemd[1]: Started SABnzbd binary newsreader.
Mar 02 11:42:55 server sh[10297]: 2013-03-02 11:42:55,463::WARNING::[__init__:169] Signal 15 caught, saving and exiting...
Mar 02 11:42:56 server sh[10578]: 2013-03-02 11:42:56,885::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
Mar 02 11:42:56 server sh[10578]: 2013-03-02 11:42:56,888::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
Mar 02 11:42:56 server sh[10578]: 2013-03-02 11:42:56,889::ERROR::[misc:1345] Cannot change permissions of /home/net/Data/Download/sabnzb/incomplete
Mar 02 11:42:56 server sh[10578]: 2013-03-02 11:42:56,891::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/nzb
Mar 02 11:42:56 server sh[10578]: 2013-03-02 11:42:56,893::ERROR::[misc:366] Cannot create directory /home/net/Data/Download/sabnzb/incomplete
I still get the same error
I tried running the program as user 'net' and had the same problem
Transmission has the same error as well
Couldn't create "/home/net/Data/Incoming": Permission denied (fdlimit.c:348)
So permissions are wide open and owned by the proper users, but sabnzbd and transmission can't write, but samba can.
What does that mean?
Maybe you are looking for
-
Hi I am trying to install my new monitor and it will not recoginize it---I am using vista---and dont know how to change the default monitor setting.........Is it possible to switch back and forth ???? I am not computer savay either--- which doesnt h
-
Report generation with two tables having no join
Hi, I would like to know if i can generate a report to view data from purchase and sales tables at one time even if they are not directly linked. Regards, Bhavna
-
HT204088 How to view all of my apple transactions charged to my credit card
I've been seeing various charges to my itunes account each month, but I'm unable to locate "all transactions" history on my account. Help please.
-
Limit for a Transactional RFC to be executed
Hi all, I would like to know if there is a profile parameter in SAP NW 7.0 that defines the limit the time an transactional RFC can keep running? If there is no profile parameter for that my question is can a transactional RFC running forever without
-
ERP 6.0 EHP4 Java Hotspot Error
Dear Gurus, While installing SAP 6.0 EHP4 I have faced an error as : Java Hotspot (TM) 64-Bit Server VM (build 1.4.2_16-b05,mixed mode) in import abap step. after I got the error above, I also installed j2sdk1.4.2_25-x64 to overcome the error.But th